TmGetTransactionId - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

VOID TmGetTransactionId(
  [in]  PKTRANSACTION Transaction,
  [out] PUOW          TransactionId
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-tmgettransactionid)

TmGetTransactionId function

Description

The TmGetTransactionId routine retrieves a transaction object's unit of work (UOW) identifier.

Parameters

Transaction [in]

A pointer to a transaction object. To obtain this pointer, your component must call ObReferenceObjectByHandle and supply the object handle that a previous call to ZwCreateTransaction or ZwOpenTransaction provided.

TransactionId [out]

A pointer to a location that receives the transaction object's UOW identifier.

Remarks

For information about when to use KTM's TmXxx routines instead of ZwXxx routines, see Using TmXxx Routines.

See also

ObReferenceObjectByHandle

ZwCreateTransaction

ZwOpenTransaction

ZwQueryInformationTransaction