-
Notifications
You must be signed in to change notification settings - Fork 1k
DetourEnumerateModules
Brian Gianforcaro edited this page Aug 22, 2020
·
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, or NULL
if the enumeration
is complete.
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.
Disas, Einst, FindFunc, Tracebld, Tracelnk, Tracereg, Tryman,