Funktionreferenz


_WinAPI_GetModuleInformation


Retrieves information about the specified module

#include <WinAPIProc.au3>
_WinAPI_GetModuleInformation ( $hProcess [, $hModule = 0] )

Parameter

$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 [optional] 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).

Rückgabewert

Success: $tagMODULEINFO structure that contains information about the module.
Failure: Sets the @error flag to non-zero, call _WinAPI_GetLastError() to get extended error information.

Bemerkungen

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

Verwandte Funktionen

_WinAPI_LoadLibraryEx

Siehe auch

Suche nach GetModuleInformation in der MSDN Bibliothek.