IDtcToXaHelperFactory

 

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

Resource manager proxies can use the IDtcToXaHelperFactory interface to map between OLE Transactions and XA protocol when the XA is being used as the native protocol for distributed transactions. ODBC is an example of an RM proxy. The following sections use ODBC as a specific example to facilitate the understanding of what needs to be done in the resource manager proxy to map OLE Transaction to the XA protocol.

When to Implement

You do not need to implement this interface. It is implemented by the core object of the DTC Proxy.

When to Use

Use this interface to map between OLE Transactions and the XA protocol using the one-pipe connection model.

Methods in Vtable Order

IDtcToXaHelperFactory method Description
Create Obtains a RM cookie which is stored in the connection object.

Remarks

Either call the DtcGetTransactionManager function with a riid of IID_IDtcToXaHelperFactory when initially connecting to DTC or call QueryInterface on any interface on the DTC proxy core object with a riid of IID_IDtcToXaHelperFactory.

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

See Also

IDtcToXaMapper
IDtcToXaHelper
IDtcToXaHelperSinglePipe