GetModuleFileNameEx function kernel32

int GetModuleFileNameEx(
  1. int hProcess,
  2. int hModule,
  3. Pointer<Utf16> lpFilename,
  4. int nSize

Retrieves the fully qualified path for the file containing the specified module.

DWORD K32GetModuleFileNameExW(
  HANDLE  hProcess,
  HMODULE hModule,
  LPWSTR  lpFilename,
  DWORD   nSize


int GetModuleFileNameEx(
        int hProcess, int hModule, Pointer<Utf16> lpFilename, int nSize) =>
    _K32GetModuleFileNameEx(hProcess, hModule, lpFilename, nSize);