[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
GetModuleFileName( hInst ) -> <cFileName>
------------------------------------------------------------------------------
PARAMETER:
<hInst> is the Instance handle of the module whose filename is requested
RETURNS:
<cFileName> is the full path and filename of the module
DESCRIPTION:
The GetModuleFileName function retrieves the full path and filename of the
executable file from which the specified module was loaded.
EXAMPLE:
+--------------------------------------------------------------+
| /* Get the exe's Filename */ |
| ? GetModulefileName( GetInstance()) -> c:\myProc.exe |
+--------------------------------------------------------------+
SOURCE:
SOURCE\WINAPI\WINEXEC.C
See Also:
GetModulehandle
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson