Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The TmGetTransactionId routine retrieves a transaction object's unit of work (UOW) identifier.
Syntax
VOID TmGetTransactionId(
[in] PKTRANSACTION Transaction,
[out] PUOW TransactionId
);
Parameters
[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.
Return value
None
Remarks
For information about when to use KTM's TmXxx routines instead of ZwXxx routines, see Using TmXxx Routines.
Requirements
| 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 |