public static extern bool GetModuleHandleEx(
     [MarshalAs(UnmanagedType.U4)] GetModuleHandleExFlags dwFlags,
     IntPtr lpModuleName,
     out SafeModuleHandle phModule);
Exemplo n.º 2
0
 private Module(SafeModuleHandle handle)
 {
     this.handle = handle;
 }
 public static extern int GetModuleFileName(
     SafeModuleHandle hModule,
     [Out] StringBuilder lpFilename,
     [MarshalAs(UnmanagedType.U4)] int nSize);