Partager via


IPrepareInfo2::GetPrepareInfo

 

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 GetPrepareInfo method is called by the resource manager to get the transaction prepare information.

Syntax

  
    HRESULT GetPrepareInfo(   ULONG cbPrepInfo,  
byte * pPrepInfo);  

Parameters

cbPrepInfo
[in] The size of pPrepInfo, which is determined by calling IPrepareInfo2::GetPrepareInfoSize.

pPrepInfo
[out] The caller-allocated buffer to receive the prepare information.

Return Values

S_OK
Success.

E_INVALIDARG
The value of pPrepInfo is NULL.

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

See Also

ITransactionEnlistmentAsync