Skip to content

DetourBinaryResetImports

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

DetourBinaryResetImports

Remove all edits by Detours of the binary's import table.

Definition

BOOL DetourBinaryResetImports(
    _In_ PDETOUR_BINARY pBinary
);

Parameters

pBinary : Pointer to the binary opened by DetourBinaryOpen.

Return value

If successful, returns TRUE; otherwise, returns FALSE.

Remarks

DetourBinaryResetImports removes all Detours edits made to the import table of a binary opened by DetourBinaryOpen.

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

Related Samples

Setdll.

Clone this wiki locally