-
Notifications
You must be signed in to change notification settings - Fork 1k
DetourGetSizeOfPayloads
Brian Gianforcaro edited this page Aug 22, 2020
·
5 revisions
Return the size of all payloads within a module.
DWORD DetourGetSizeOfPayloads(
_In_ HMODULE hModule
);
hModule : The module for which the size of the payloads is to be returned.
If successful, returns the size in bytes of the payloads within a module; otherwise, returns zero.
The function sets one of the following error codes, as appropriate. The
error code may be retrieved after the function has returned by calling
GetLastError
.
ERROR_INVALID_HANDLE : The module handle was invalid.