-
Notifications
You must be signed in to change notification settings - Fork 1k
DetourBinaryWrite
Brian Gianforcaro edited this page Aug 22, 2020
·
5 revisions
Write an updated binary to a file.
BOOL DetourBinaryWrite(
_In_ PDETOUR_BINARY pBinary,
_In_ HANDLE hFile
);
pBinary : Pointer to the binary to be written to a file.
hFile : Handle of the file to receive the contents of the binary.
If successful, returns TRUE
; otherwise, returns FALSE
.
DetourBinaryWrite
writes the updated binary, opened by
DetourBinaryOpen
, to a file.
For more information on binary editing with Detours, see Payloads and DLL Import Editing in the Detours Overview.