-
Notifications
You must be signed in to change notification settings - Fork 1k
DetourEnumerateModules
Galen Hunt edited this page Nov 2, 2016
·
5 revisions
Enumerate the PE binaries in a process.
HMODULE DetourEnumerateModules( _In_opt_ HMODULE hModuleLast );
hModuleLast : The handle of the last module enumerated. Pass NULL to start enumeration for the beginning of the process.
Handle to the next module loaded in a process.
DetourEnumerateModules
enumerates all of the PE binaries loaded into a
process. Once a module has been enumerated, its entry point can be
located with the DetourGetEntryPoint API,
its exports can be enumerated with the
DetourEnumerateExports API, and its
payloads can be found using the
DetourFindPayload API.