TmGetTransactionId function (wdm.h)
The TmGetTransactionId routine retrieves a transaction object's unit of work (UOW) identifier.
C++
void TmGetTransactionId(
[in] PKTRANSACTION Transaction,
[out] PUOW TransactionId
);
[in] Transaction
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.
[out] TransactionId
A pointer to a location that receives the transaction object's UOW identifier.
None
For information about when to use KTM's TmXxx routines instead of ZwXxx routines, see Using TmXxx Routines.
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later operating system versions. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | Any level |