Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function retrieves information about the specified module in the MODULEINFO structure.
BOOL GetModuleInformation(HANDLE hProcess,HMODULE hModule,LPMODULEINFO lpmodinfo,DWORD cb);
Parameters
- hProcess
[in] Handle to the process that contains the module. - hModule
[in] Handle to the module. - lpmodinfo
[out] Pointer to the MODULEINFO structure that receives information about the module. - cb
[in] Specifies the size, in bytes, of the MODULEINFO structure.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
To get extended error information, call GetLastError.
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Psapi.h.
Link Library: Coredll.lib.
See Also
Send Feedback on this topic to the authors