GetModuleHandle (kernel32)
Last changed: -130.76.64.15

.
Summary

C# Signature:

[DllImport("kernel32.dll", CharSet=CharSet.Auto)]
public static extern IntPtr GetModuleHandle(string lpModuleName);

Boo Signature:

[DllImport("kernel32", CharSet : CharSet.Auto)]
static def GetModuleHandle(lpModuleName as string) as IntPtr:
     pass

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

IntPtr ModKernel32 = GetModuleHandle("Kernel32.dll");

Alternative Managed API:

Do you know one? Please contribute it!

Documentation