Partager via


IDtcLuRecoveryFactory::Create

 

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 Create method gets a reference to the IDtcLuRecovery interface.

Syntax

  
HRESULT Create (   [in, size_is(  
cbLuPair  
)] byte *   
pucLuPair  
,   [in] DWORD  
cbLuPair  
,   [out] IDtcLuRecovery **   
ppRecovery  
);  
  

Parameters

pucLuPair
[in, size_is(cbLuPair)] The LU pair for which to obtain the reference to the IDtcLuRecovery interface.

cbLuPair
[in] The size of the LU pair.

ppRecovery
[out] The pointer in which to store the reference to the IDtcLuRecovery interface.

Return Values

This method returns the standard values E_INVALIDARG and E_OUTOFMEMORY, 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