GetProcessImageFileName function kernel32
Retrieves the name of the executable file for the specified process.
DWORD K32GetProcessImageFileNameW(
[in] HANDLE hProcess,
[out] LPWSTR lpImageFileName,
[in] DWORD nSize
);
Implementation
int GetProcessImageFileName(
int hProcess, Pointer<Utf16> lpImageFileName, int nSize) =>
_K32GetProcessImageFileName(hProcess, lpImageFileName, nSize);