FindResource (kernel32)
Last changed: -216.37.220.61

.
Summary

C# Signature:

[DllImport("kernel32.dll")]
static extern IntPtr FindResource(IntPtr hModule, IntPtr lpName,
   IntPtr lpType);

[DllImport( "kernel32.dll" )]
static extern IntPtr FindResource( IntPtr hModule, int lpName, int lpType );
[DllImport( "kernel32.dll" )]
static extern IntPtr FindResource( IntPtr hModule, int lpName, string lpType );
[DllImport( "kernel32.dll" )]
static extern IntPtr FindResource( IntPtr hModule, string lpName, int lpType );
[DllImport( "kernel32.dll" )]
static extern IntPtr FindResource( IntPtr hModule, string lpName, string lpType );

User-Defined Types:

None.

Notes:

The last 4 overrides are probably more useful than the first. They can be used without any casting.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation