// wdm.h
PVOID CmGetBoundTransaction(
[in] PLARGE_INTEGER Cookie,
[in] PVOID Object
);
View the official Windows Driver Kit DDI referenceNo description available.
The CmGetBoundTransaction routine returns a pointer to the transaction object that represents the transaction, if any, that is associated with a specified registry key object.
Cookie [in]The cookie value that the driver previously obtain by calling CmRegisterCallback or CmRegisterCallbackEx.
Object [in]The pointer value that the driver's RegistryCallback callback routine received in one of the REG_XXX_KEY_INFORMATION structures.
CmGetBoundTransaction returns a pointer to a transaction object, if the key object that the Object parameter specifies is associated with a transaction. Otherwise, the routine returns NULL.
The CmGetBoundTransaction routine is available on Windows Vista and later versions of Windows.
For more information about CmGetBoundTransaction and filtering registry operations, see Filtering Registry Calls.
For more information about transactions, see Kernel Transaction Manager Design Guide.