Returns the fully qualified name for a module, given its handle.
function GetModuleFileName(Module: HMODULE; Buffer: PChar; BufLen: Integer): Integer;
int GetModuleFileName(HMODULE Module, const char * Buffer, int BufLen);
System
Call GetModuleFileName to obtain the fully qualified name of a module, given its handle. The version of GetModuleFileName defined in the System unit is available only on Linux. On Windows, use the Windows API with the same name instead.
Module is the handle of the module whose file name is required.
Buffer is a buffer that receives the file name.
BufLen is the number of bytes in Buffer.
GetModuleFileName returns the number of bytes written to Buffer.
GetModuleName
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|