Retrieves the fully qualified path for the file that contains the specified module. The module must have been loaded by the current process.To locate the file for a module that was loaded by another process, use the GetModuleFileNameEx function.Syntax C++Copy
C++Copy
DWORD WINAPI GetModuleFileName(
_In_opt_ HMODULE hModule,
_Out_ LPTSTR lpFilename,
_In_ DWORD nSize
);