The GetTransactionInfo method retrieves information about the transaction represented by its TransactionImpl (section 3.8) instance.

 HRESULT GetTransactionInfo(
   [out] XACTTRANSINFO* pinfo
 );

pinfo: A pointer to the caller-allocated XACTTRANSINFO structure in which the method returns information about the transaction.

Return Values: The method MUST return S_OK (0x00000000) to indicate success or an implementation-specific error HRESULT on failure.<32>

When the server processes this call, it MUST follow these guidelines: