Condividi tramite


xa_recover

 

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

Called by the XA-based transaction manager or any XA application to obtain a list of prepared transaction branches.

Implemented by: MSDTC
Object This is a helper function, not a method on an object.
Interface Source N/A
Called by: XA-based transaction manager.

Syntax

  
int __cdecl xa_recover  (  __out_ecount(count) XID *xids_array,  long count,  int  rmid,  long flags);  

Parameters

xids_array
[out] Specifies the array into which recovered XIDs should be placed.

count
Specifies the maximum number of XIDs to be returned.

rmid
[in] Resource Manager ID.

flags
[in] Flags defined in [XAOpen – DTP] Chapter 4.4.

Return Values

Return code defined in Chapter 4.5 of [XAOpen – DTP].

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 xa.h