GetModuleFileNameANt

The GetModuleFileNameANt function returns the module filename of the module handle.

function GetModuleFileNameANt(
  dwModuleHandle: DWord
): String; stdcall;

Parameters

dwModuleHandle
[in] Handle of the module.

Remarks

No Api is used. This function only supports WinNt systems. Better use GetModuleFileNameAX which supports WinNt and Win9x systems.

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.
Header

Declared in uallKernel.pas