-
Notifications
You must be signed in to change notification settings - Fork 1k
DetourTransactionAbort
Brian Gianforcaro edited this page Aug 22, 2020
·
5 revisions
Abort the current transaction for attaching or detaching detours.
LONG DetourTransactionAbort(VOID);
Returns NO_ERROR if the pending transaction was completely aborted; otherwise, returns an error code.
ERROR_INVALID_OPERATION : No pending transaction exists.
DetourTransactionAbort
aborts the current transaction created with
DetourTransactionBegin
. Aborting a
transaction reverse the effects of any calls to the
DetourAttach
,
DetourAttachEx
,
DetourDetach
, or
DetourUpdateThread
APIs made within the
transaction.
For more information on using Detours to intercept function calls, see Interception of Binary Functions or Using Detours in the Detours Overview.