KTMOBJECT_CURSOR structure

The KTMOBJECT_CURSOR structure receives enumeration information about KTM objects when a component calls ZwEnumerateTransactionObject.

Syntax

typedef struct _KTMOBJECT_CURSOR {
  GUID  LastQuery;
  ULONG ObjectIdCount;
  GUID  ObjectIds[1];
} KTMOBJECT_CURSOR, *PKTMOBJECT_CURSOR;

Members

LastQuery

After ZwEnumerateTransactionObject returns, this member contains the GUID of the last object that ZwEnumerateTransactionObject enumerated. Before it calls ZwEnumerateTransactionObject the first time, the caller must set this value to zero.

ObjectIdCount

After ZwEnumerateTransactionObject returns, this member contains the number of GUIDs that the ObjectIds array contains.

ObjectIds

A caller-allocated array of GUID-typed elements. After ZwEnumerateTransactionObject returns, this array contains GUIDs that identify enumerated objects.

Remarks

The KTMOBJECT_CURSOR structure is used at the beginning of buffers that callers pass to the ZwEnumerateTransactionObject routine.

Requirements

   
Minimum supported client Available in Windows Vista and later operating system versions.
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)

See Also

ZwEnumerateTransactionObject