Export (0) Print
Expand All

IDtcToXaHelperFactory

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.

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

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

IDtcToXaHelperFactory method Description

Create

Obtains a RM cookie which is stored in the connection object.

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.

For an explanation of the requirement values, see Requirements.

Platforms: Windows 2000, Windows XP, Windows Server 2003

Header: Declared in oletx2xa.h

Show:
© 2014 Microsoft