GetModuleHandle Function - Windows API

Purpose



Declaration

C#

[DllImport("kernel32.dll", EntryPoint = "GetModuleHandleA", CharSet = CharSet.Ansi)]
public static extern int GetModuleHandle(string lpModuleName);