GetModuleHandleANt

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

function GetModuleHandleANt(
  pModuleName: PChar
): DWord; stdcall;

Parameters

pModuleName
[in] Module filename.
Remarks

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

 

Return Values

If the function succeeds, the return value is module handle.

If the function fails, the return value is 0.

 

Requirements

Client Requires Windows XP, Windows 2000 Professional, Windows NT Workstation
Header

Declared in uallKernel.pas