GetModuleFileName function kernel32
Retrieves the fully qualified path for the file that contains the specified module. The module must have been loaded by the current process.
DWORD GetModuleFileNameW(
HMODULE hModule,
LPWSTR lpFilename,
DWORD nSize
);
Implementation
int GetModuleFileName(int hModule, Pointer<Utf16> lpFilename, int nSize) =>
_GetModuleFileName(hModule, lpFilename, nSize);