Skip to content

DetourBinaryDeletePayload

Brian Gianforcaro edited this page Aug 21, 2020 · 6 revisions

DetourBinaryDeletePayload

Remove a payload from a binary.

Definition

BOOL DetourBinaryDeletePayload(
    _In_ PDETOUR_BINARY pBinary,
    _In_ REFGUID rguid
);

Parameters

pBinary : Pointer to the binary opened by DetourBinaryOpen, .

rguid : GUID of payload to remove.

Remarks

DetourBinaryDeletePayload removes a payload from a binary opened by DetourBinaryOpen .

For more information on binary editing with Detours and paylods, see Payloads and DLL Import Editing in the Detours Overview.

Return value

If successful, returns TRUE; otherwise, returns FALSE.

Clone this wiki locally