TXFS_LIST_TRANSACTION_LOCKED_FILES structure (winioctl.h)

[Microsoft strongly recommends developers utilize alternative means to achieve your application’s needs. Many scenarios that TxF was developed for can be achieved through simpler and more readily available techniques. Furthermore, TxF may not be available in future versions of Microsoft Windows. For more information, and alternatives to TxF, please see Alternatives to using Transactional NTFS.]

Contains a list of files locked by a transacted writer.

Syntax

typedef struct _TXFS_LIST_TRANSACTION_LOCKED_FILES {
  GUID      KtmTransaction;
  DWORDLONG NumberOfFiles;
  DWORDLONG BufferSizeRequired;
  DWORDLONG Offset;
} TXFS_LIST_TRANSACTION_LOCKED_FILES, *PTXFS_LIST_TRANSACTION_LOCKED_FILES;

Members

KtmTransaction

The KTM transaction to enumerate locked files for in this RM.

NumberOfFiles

The number of files involved for the specified transaction on this resource manager.

BufferSizeRequired

The length of the buffer required to hold the complete list of files at the time of this call. This is not guaranteed to be the same length as any other subsequent call.

Offset

The offset from the beginning of this structure to the beginning of the first TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY structure.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header winioctl.h (include Windows.h)

See also

FSCTL_TXFS_LIST_TRANSACTION_LOCKED_FILES

TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY