다음을 통해 공유


IPrepareInfo::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.

Note

Do not use this method. Use IPrepareInfo2::GetPrepareInfo instead.

Syntax

  
HRESULT GetPrepareInfo(   byte * pPrepInfo);  

Parameters

pPrepInfo
[out] Pointer to the caller allocated buffer to receive the prepare information. The size of pPrepInfo is determined by calling IPrepareInfo::GetPrepareInfoSize.

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