Share via


IDtcLuRecoveryInitiatedByDtcTransWork::GetOurCompareStates

 

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 GetOurCompareStates method gets information that is needed to compare states with the Microsoft Distributed Transaction Coordinator (MSDTC).

Syntax

HRESULT GetOurCompareStates (

[in,out] unsigned char *  pOurTransId  ,

[out] DTCLUCOMPARESTATE *  pCompareState

);

Parameters

pOurTransId
[in,out] A pointer to the transaction ID.

pCompareState
[out] A pointer to a DTCLUCOMPARESTATE struct that contains information needed to compare states.

Return Values

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

S_OK
Method completed successfully.

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