Skip to content

Latest commit

 

History

History
105 lines (82 loc) · 3.73 KB

ni-winioctl-fsctl_txfs_list_transactions.md

File metadata and controls

105 lines (82 loc) · 3.73 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist f1_keywords dev_langs topic_type api_type api_location api_name
NI:winioctl.FSCTL_TXFS_LIST_TRANSACTIONS
FSCTL_TXFS_LIST_TRANSACTIONS
Returns a list of all the transactions currently involved in the specified resource manager.
FSCTL_TXFS_LIST_TRANSACTIONS
FSCTL_TXFS_LIST_TRANSACTIONS control
FSCTL_TXFS_LIST_TRANSACTIONS control code [Files]
fs.fsctl_txfs_list_transactions
winioctl/FSCTL_TXFS_LIST_TRANSACTIONS
fs\fsctl_txfs_list_transactions.htm
fs
ff319bf0-2bd4-4824-bf97-b9b6eab90915
12/05/2018
FSCTL_TXFS_LIST_TRANSACTIONS, FSCTL_TXFS_LIST_TRANSACTIONS control, FSCTL_TXFS_LIST_TRANSACTIONS control code [Files], fs.fsctl_txfs_list_transactions, winioctl/FSCTL_TXFS_LIST_TRANSACTIONS
winioctl.h
Windows.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
FSCTL_TXFS_LIST_TRANSACTIONS
winioctl/FSCTL_TXFS_LIST_TRANSACTIONS
c++
APIRef
kbSyntax
HeaderDef
WinIoCtl.h
FSCTL_TXFS_LIST_TRANSACTIONS

FSCTL_TXFS_LIST_TRANSACTIONS IOCTL

-description

Note

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.

Returns a list of all the transactions currently involved in the specified resource manager. If the function fails with ERROR_MORE_DATA, it returns the length of the buffer required to hold the complete list of transactions at the time of this call.

BOOL DeviceIoControl(
  (HANDLE) hDevice,                 // handle to device
  FSCTL_TXFS_LIST_TRANSACTIONS,     // dwIoControlCode
  NULL,                             // lpInBuffer
  0,                                // nInBufferSize
  (LPVOID) lpOutBuffer,             // output buffer
  (DWORD) nOutBufferSize,           // size of output buffer
  (LPDWORD) lpBytesReturned,        // number of bytes returned
  (LPOVERLAPPED) lpOverlapped       // OVERLAPPED structure
);

-ioctlparameters

-input-buffer

-input-buffer-length

-output-buffer

-output-buffer-length

-in-out-buffer

-inout-buffer-length

-status-block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful.

Otherwise, Status to the appropriate error condition as a NTSTATUS code.

For more information, see NTSTATUS Values.

-remarks

FSCTL_TXFS_LIST_TRANSACTIONS is a synchronous operation.

The number of transactions returned from one call to the next can change depending on the number of active transactions at any given point in time. If this call returns a request for a larger buffer, that size may or may not be adequate for the next call, based on the number of active transactions at the time of the next call.

ReFS:  This code is not supported.

-see-also