函数参考


_WinAPI_GetModuleInformation

Retrieves information about the specified module.

#Include <WinAPIEx.au3>
_WinAPI_GetModuleInformation ( $hProcess, $hModule )

参数

$hProcess Handle to the process that contains the module. The handle must have the $PROCESS_QUERY_INFORMATION or
$PROCESS_QUERY_LIMITED_INFORMATION access right and the $PROCESS_VM_READ access right.
$hModule Handle to the module. If this parameter is 0, the function retrieves information only about the
executable file ("SizeOfImage" and "EntryPoint" members of the $tagMODULEINFO structure).

返回值

Success $tagMODULEINFO structure that contains information about the module.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

This function does not retrieve information for modules that were loaded with the $LOAD_LIBRARY_AS_DATAFILE flag.
For more information, see _WinAPI_LoadLibraryEx().

相关

详情参考

在MSDN中搜索