There was an error while loading. Please reload this page.
Find a payload within a binary.
_Writable_bytes_(*pcbData) _Readable_bytes_(*pcbData) _Success_(return != NULL) PVOID DetourBinaryFindPayload( _In_ PDETOUR_BINARY pBinary, _In_ REFGUID rguid, _Out_ DWORD * pcbData );
pBinary : Pointer to the binary opened by DetourBinaryOpen .
DetourBinaryOpen
rguid : GUID of the specified payload.
GUID
pcbData : Pointer to the variable that receives the size of the specified payload in bytes.
DetourBinaryFindPayloadFinds a specific payload within a binary opened by DetourBinaryOpen.
DetourBinaryFindPayload
For more information on binary editing with Detours and payloads, see Payloads and DLL Import Editing in the Detours Overview.
If successful, returns TRUE; otherwise, returns FALSE.
TRUE
FALSE