TRANSACTION_NOTIFICATION structure

The TRANSACTION_NOTIFICATION structure contains information that KTM provides about a transaction notification.

Syntax

typedef struct _TRANSACTION_NOTIFICATION {
  PVOID         TransactionKey;
  ULONG         TransactionNotification;
  LARGE_INTEGER TmVirtualClock;
  ULONG         ArgumentLength;
} TRANSACTION_NOTIFICATION, *PTRANSACTION_NOTIFICATION;

Members

  • TransactionKey
    A value that the resource manager specified for the EnlistmentKey parameter to the ZwCreateEnlistment routine.

  • TransactionNotification
    One of the TRANSACTION_NOTIFY_XXX values that are defined in Ktmtypes.h. This value specifies the type of transaction notification that KTM sent to the caller.

  • TmVirtualClock
    The virtual clock value at the time that KTM prepared the notification for delivery to the resource manager. (Resource managers cannot modify this value. To modify the virtual clock value, use a ResourceManagerNotification callback routine.)

  • ArgumentLength
    The length, in bytes, of any additional notification-specific arguments that are appended to the TRANSACTION_NOTIFICATION structure. For information about notification-specific arguments, see the following Remarks section.

Remarks

The TRANSACTION_NOTIFICATION structure is used as input to the ZwGetNotificationResourceManager routine.

The following table identifies the notifications that provide additional arguments.

Notification Additional argument

TRANSACTION_NOTIFY_RECOVER or TRANSACTION_NOTIFY_RECOVER_QUERY

TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT structure

 

Requirements

Version

Available in Windows Vista and later operating system versions.

Header

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

See also

ResourceManagerNotification

TRANSACTION_NOTIFICATION_RECOVERY_ARGUMENT

ZwCreateEnlistment

ZwGetNotificationResourceManager

 

 

Send comments about this topic to Microsoft