6 DetourBinaryDeletePayload
Brian Gianforcaro редактировал(а) эту страницу 2020-08-22 00:25:06 -07:00

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 payloads, see Payloads and DLL Import Editing in the Detours Overview.

Return value

If successful, returns TRUE; otherwise, returns FALSE.