Condividi tramite


IXATransLookup::Lookup

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The Lookup method is called by the resource manager or the resource manager proxy to get a pointer to the ITransaction interface on the calling thread.

Syntax

  
HRESULT Lookup( ITransaction ** ppTransaction);  

Parameters

ppTransaction
[out] A reference to ITransaction, which is the interface on the calling thread.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK
Method completed successfully.

XACT_E_NOTRANSACTION
The calling thread is not associated with a transaction.

XACT_E_ABORTED
The transaction that the thread was on has aborted, possibly due to time-out or unilateral abort.

Requirements

For an explanation of the requirement values, see Requirements (Component Services).

Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista

Header: Declared in txdtc.h