Exemplo n.º 1
0
 internal static extern IntPtr GetProcAddress(
     [In] SafeLibraryHandle hModule,
     [In, MarshalAs(UnmanagedType.LPStr)] string lpProcName);
Exemplo n.º 2
0
 internal static extern bool GetModuleHandleEx(
     [In] uint dwFlags,
     [In] SafeLibraryHandle lpModuleName, // can point to a location within the module if GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS is set
     [Out] out IntPtr phModule);