-
Notifications
You must be signed in to change notification settings - Fork 1k
DetourTransactionCommit
Commit the current transaction for attaching or detaching detours.
LONG DetourTransactionCommit(VOID);
Returns NO_ERROR if successful; otherwise, returns an error code.
ERROR_INVALID_DATA : Target function was changed by third party between steps of the transaction.
ERROR_INVALID_OPERATION : No pending transaction exists.
Other
: Error code returned by API within
DetourAttach
,
DetourAttachEx
, or
DetourDetach
that caused transaction
to fail.
DetourTransactionCommit
commits the current transaction created with
DetourTransactionBegin
. Committing a
transaction make all updates specified in any calls to the
DetourAttach
,
DetourAttachEx
,
DetourDetach
, or
DetourUpdateThread
APIs 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.
Commem, Cping, Dtest, Excep, FindFunc, Member, Simple, Slept, Traceapi, Tracebld, Tracelnk, Tracemem, Tracereg, Traceser, Tracetcp, Tryman.