Condividi tramite


IDtcLuRecoveryInitiatedByDtc::GetWork

 

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 GetWork method requests LU recovery work from the Microsoft Distributed Transaction Coordinator (MSDTC).

Syntax

HRESULT GetWork(

[in,out] DTCINITIATEDRECOVERYWORK *  pWork  ,

[in,out] void **  ppv

);

Parameters

pWork
[in,out] Receives a pointer to a DTCINITIATEDRECOVERYWORK struct that describes the work that the MSDTC wants done.

ppv
[in,out] Receives a pointer to the IDtcLuRecoveryInitiatedByDtcTransWork interface.

Return Values

This method returns the standard value E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED, as well as the following:

S_OK
Method completed successfully.

XACT_E_CONNECTION_REQUEST_DENIED
The connection request 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