IDtcLuRecoveryInitiatedByLuWork::HandleTheirXLN
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 HandleTheirXln method initiates recovery operations for an LU pair.
Syntax
HRESULT HandleTheirXln(
[in] LONG
lRecoverySeqNum ,
[in] DTCLUXLN
Xln ,
[in] unsigned char *
pRemoteLogName ,
[in] DWORD
cbRemoteLogName ,
[in] unsigned char *
pOurLogName ,
[in] DWORD
cbOurLogName ,
[in] DWORD
dwProtocol ,
[out] DTCLUXLNRESPONSE *
pResponse
);
Parameters
lRecoverySeqNum
[in] The recovery sequence number of the LU. If this number is larger than the Microsoft Distributed Transaction Coordinator's (MSDTC's) current recovery sequence number for the LU, then the MSDTC will assume it needs to resynchronize.
Xln
[in] A DTCLUXLN struct that describes the log name exchange (XLN).
pRemoteLogName
[in] The remote log name.
cbRemoteLogName
[in] The size (in bytes) of the remote log name.
pOurLogName
[in] The local log name.
cbOurLogName
[in] The size (in bytes) of the local log name.
dwProtocol
[in] The protocol to be used for the XLN.
pResponse
[out] A pointer to a DTCLUXLNRESPONSE struct that describes the result of the XLN.
Return Values
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY and E_UNEXPECTED, as well as the following:
S_OK
Method completed successfully.
XACT_E_CONNECTION_DOWN
The connection is down.
Requirements
For an explanation of the requirement values, see Requirements (Component Services).
Platforms: Windows 2000, Windows XP, Windows Server 2003, Windows Vista
Header: Declared in txdtc.h