GetTransactionManagerId function

Obtains an identifier for the specified transaction manager.

Syntax


BOOL WINAPI GetTransactionManagerId(
  _In_  HANDLE TransactionManagerHandle,
  _Out_ LPGUID TransactionManagerId
);

Parameters

TransactionManagerHandle [in]

A handle to the transaction manager.

TransactionManagerId [out]

A pointer to a variable that receives the identifier for the transaction manager.

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

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Ktmw32.h

Library

Ktmw32.lib

DLL

Ktmw32.dll

See also

Kernel Transaction Manager Functions
OpenTransactionManager

 

 

Community Additions

ADD
Show: