GetModuleFileNameByHandleEx

The GetModuleFileNameByHandleEx function returns the module filename of a process.

function GetModuleFileNameByHandleEx(
  dwProcessID: DWord;
  dwModuleHandle: DWord
): String; stdcall;

Parameters

dwProcessID
[in] Process id or process handle of the target process.
dwModuleHandle
[in] Handle of the module.

Remarks

-

Return Values

If the function succeeds, the return value is filename of the module.

If the function fails, the return value is an empy string.

 

Requirements

Client Requires Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.
Header

Declared in uallKernel.pas