This topic has not yet been rated - Rate this topic

CmGetBoundTransaction routine

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.

Syntax


PVOID CmGetBoundTransaction(
  _In_  PLARGE_INTEGER Cookie,
  _In_  PVOID Object
);

Parameters

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.

Return value

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.

Remarks

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.

Requirements

Version

Available in Windows Vista and later versions of Windows.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Contained in Ntoskrnl.lib.

IRQL

<= APC_LEVEL

See also

CmRegisterCallback
CmRegisterCallbackEx
RegistryCallback

 

 

Send comments about this topic to Microsoft

Build date: 5/2/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.