SetTransactionInformation function (ktmw32.h)

Sets the transaction information for the specified transaction.

Syntax

BOOL SetTransactionInformation(
  [in]           HANDLE TransactionHandle,
  [in, optional] DWORD  IsolationLevel,
  [in, optional] DWORD  IsolationFlags,
  [in, optional] DWORD  Timeout,
  [in, optional] LPWSTR Description
);

Parameters

[in] TransactionHandle

A handle to the transaction. The handle must have the TRANSACTION_SET_INFORMATION permission to set the transaction information.

[in, optional] IsolationLevel

Reserved; specify zero.

[in, optional] IsolationFlags

Reserved.

[in, optional] Timeout

The timeout value, in milliseconds, for this transaction.

[in, optional] Description

The user-defined description of this transaction.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is 0 (zero). To get extended error information, call the GetLastError function.

The following list identifies the possible error codes:

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header ktmw32.h
Library Ktmw32.lib
DLL Ktmw32.dll

See also

CreateTransaction

GetTransactionInformation

Kernel Transaction Manager Functions