Skip to content

DetourBinaryPurgePayloads

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

DetourBinaryPurgePayloads

Remove all payloads from a binary.

Definition

BOOL DetourBinaryPurgePayloads(
    _In_ PDETOUR_BINARY pBinary
);

Parameters

pBinary : Pointer to binary, opened by DetourBinaryOpen, to be purged.

Remarks

DetourBinaryPurgePayloads removes all payloads from a binary opened by DetourBinaryOpen.

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

Return value

If successful, returns TRUE; otherwise, returns FALSE.

Clone this wiki locally