-
Notifications
You must be signed in to change notification settings - Fork 1k
DetourTransactionAbort
Galen Hunt edited this page Nov 2, 2016
·
5 revisions
Abort the current transaction.
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.