GetModuleHandleEx function kernel32
Retrieves a module handle for the specified module and increments the module's reference count unless GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT is specified. The module must have been loaded by the calling process.
BOOL GetModuleHandleExW(
[in] DWORD dwFlags,
[in, optional] LPCWSTR lpModuleName,
[out] HMODULE *phModule
);
Implementation
int GetModuleHandleEx(
int dwFlags, Pointer<Utf16> lpModuleName, Pointer<IntPtr> phModule) =>
_GetModuleHandleEx(dwFlags, lpModuleName, phModule);