// wdm.h
typedef struct _KTMOBJECT_CURSOR {
GUID LastQuery;
ULONG ObjectIdCount;
GUID ObjectIds[1];
} KTMOBJECT_CURSOR, *PKTMOBJECT_CURSOR;
View the official Windows Driver Kit DDI referenceNo description available.
The KTMOBJECT_CURSOR structure receives enumeration information about KTM objects when a component calls ZwEnumerateTransactionObject.
LastQueryAfter 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.
ObjectIdCountAfter ZwEnumerateTransactionObject returns, this member contains the number of GUIDs that the ObjectIds array contains.
ObjectIdsA caller-allocated array of GUID-typed elements. After ZwEnumerateTransactionObject returns, this array contains GUIDs that identify enumerated objects.
The KTMOBJECT_CURSOR structure is used at the beginning of buffers that callers pass to the ZwEnumerateTransactionObject routine.