IPrepareInfo::GetPrepareInfoSize

 

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 GetPrepareInfoSize method is called by the resource manager to determine the size in bytes of the prepare information that needs to be logged.

Note

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

Syntax

  
HRESULT GetPrepareInfoSize(   ULONG * pcbPrepInfo);  

Parameters

pcbPrepInfo
[out] A pointer to the size in bytes of the prepare information. The actual prepare information is available by a call to IPrepareInfo::GetPrepareInfo.

Return Values

S_OK
Success.

E_INVALIDARG
The value of pcbPrepInfo 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