IoGetTransactionParameterBlock function (ntddk.h)

The IoGetTransactionParameterBlock routine returns the transaction parameter block for a transacted file operation.

Syntax

PTXN_PARAMETER_BLOCK IoGetTransactionParameterBlock(
  [in] PFILE_OBJECT FileObject
);

Parameters

[in] FileObject

A pointer to a file object for the file.

Return value

The IoGetTransactionParameterBlock routine returns a pointer to the TXN_PARAMETER_BLOCK structure if the file operation is transacted, otherwise it returns NULL.

Requirements

Requirement Value
Minimum supported client Windows Vista and later
Target Platform Universal
Header ntddk.h (include Ntddk.h, Ntifs.h, Fltkernel.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any level

See also

TXN_PARAMETER_BLOCK