Nevron.Interop.Win32 Namespace / NKernel32 Class / FindResource Method


FindResource Method (NKernel32)
Syntax
'Declaration
 
<System.Security.SuppressUnmanagedCodeSecurityAttribute()>
Public Shared Function FindResource( _
   ByVal moduleHandle As System.IntPtr, _
   ByVal name As System.String, _
   ByVal type As System.String _
) As System.IntPtr
 
'Usage
 
Dim moduleHandle As System.IntPtr
Dim name As System.String
Dim type As System.String
Dim value As System.IntPtr
 
value = NKernel32.FindResource(moduleHandle, name, type)

Parameters

moduleHandle
name
type
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also