Skip to content

DetourBinaryClose

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

DetourBinaryClose

Close a binary opened for editing.

Definition

BOOL DetourBinaryClose(
    _In_ PDETOUR_BINARY pBinary
);

Parameters

pBinary : Pointer to the binary opened by DetourBinaryOpen.

Return value

If successful, returns TRUE; otherwise, returns FALSE.

Remarks

DetourBinaryClose closes the binary opened for editing by DetourBinaryOpen.

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

Related Samples

Dumpi, Impmunge, Setdll.

Clone this wiki locally