Platform SDK: Transaction Server

IXaTransLookup::Lookup

Called by the resource manager or the resource manager proxy to get a pointer to the ITransaction interface on the calling thread.

HRESULT Lookup (
ITransaction ** ppTransaction);

Parameters

ppTransaction [out]
The ITransaction interface which the calling thread is on.

Return Values

S_OK
Success.

XACT_E_NOTRANSACTION
The calling thread is not associated with any transaction.

E_INVALIDARG
One or more of the parameters are not valid.

XACT_E_ABORTED
The transaction which the thread was on has aborted, possibly due to timeout or unilateral abort.