Share via


IDtcLuConfigure::Add

 

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 Add method adds the specified configured LU pair to the Microsoft Distributed Transaction Coordinator (MSDTC).

Syntax

  
HRESULT Add (   [in, size_is(  
cbLuPair  
)] byte *   
pucLuPair  
,   [in] DWORD  
cbLuPair  
);  
  

Parameters

pucLuPair
[in, size_is(cbLuPair)] The LU pair to add to the MSDTC.

cbLuPair
[in] The size of the LU pair.

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_DUPLICATE_LU
The specified LU pair has already been added.

XACT_E_CONNECTION_DOWN
The connection to the MSDTC is down.

XACT_E_LOGFULL
The MSDTC log is full.

XACT_E_CONNECTION_REQUEST_DENIED
The request to create a connection to the MSDTC was denied.

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