Export (0) Print
Expand All

GetCurrentClockTransactionManager function

Obtains a virtual clock value from a transaction manager.

Syntax


BOOL WINAPI GetCurrentClockTransactionManager(
  _In_   HANDLE TransactionManagerHandle,
  _Out_  PLARGE_INTEGER TmVirtualClock
);

Parameters

TransactionManagerHandle [in]

A handle to the transaction manager to obtain a virtual clock value for.

TmVirtualClock [out]

The latest virtual clock value for the transaction manager. See LARGE_INTEGER.

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:

ERROR_ACCESS_DENIED
ERROR_INVALID_HANDLE
ERROR_INSUFFICIENT_RESOURCES
ERROR_TRANSACTION_ALREADY_ABORTED

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Ktmw32.h

Library

Ktmw32.lib

DLL

Ktmw32.dll

See also

CommitComplete
Kernel Transaction Manager Functions
PrepareComplete
PreprepareComplete
ReadOnlyEnlistment
RollbackComplete
RollbackEnlistment
SinglePhaseReject

 

 

Community Additions

ADD
Show:
© 2014 Microsoft