Export (0) Print
Expand All

ITransactionImportWhereabouts

ITransactionImportWhereabouts interface is used when propagating transactions from one process to another or one system to another. The resource manager uses this interface to retrieve an opaque address called the whereabouts from its transaction manager. The whereabouts describes the location of the transaction manager. The resource manager sends the whereabouts to the RM proxy. The RM proxy sends the whereabouts to its transaction manager. The whereabouts lets the transaction manager on the RM proxy's system to locate the transaction manager on the resource manager's system. This permits the two transaction managers to communicate with one another and thereby propagate a transaction from one system to the other.

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

Use this interface to retrieve an opaque address called the whereabouts from its transaction manager.

ITransactionImportWhereabouts methods Description

GetWhereaboutsSize

Returns the length in bytes of the whereabouts of the local transaction manager.

GetWhereabouts

Returns the whereabouts of the local transaction manager.

You can either call the DtcGetTransactionManager function with a riid of IID_ITransactionImportWhereabouts when initially connecting to DTC or Call QueryInterface on any interface on the DTC proxy core object with a riid of IID_ITransactionImportWhereabouts.

For an explanation of the requirement values, see Requirements.

Platforms: Windows 2000, Windows XP, Windows Server 2003

Header: Declared in txcoord.h

Show:
© 2014 Microsoft