GetModuleBaseName用法

 

The GetModuleBaseName function retrieves the base name of the specified module.
DWORD GetModuleBaseName(
HANDLE hProcess, // handle to process
HMODULE hModule, // handle to module
LPTSTR lpBaseName, // base name buffer
DWORD nSize // maximum characters to retrieve
);
Parameters
hProcess
[in] Handle to the process that contains the module.
hModule
[in] Handle to the module.
lpBaseName
[out] Pointer to the buffer that receives the base name of the module. If the base name is longer than maximum number of characters specified by the nSize parameter, the base name is truncated.
nSize
[in] Specifies the maximum number of characters to copy to the lpBaseName buffe

posted @ 2020-06-15 17:12  温暖了寂寞  阅读(880)  评论(0编辑  收藏  举报