Platform SDK: Transaction Server |
The resource manager calls DtcGetTransactionManager to get a reference to the IUnknown interface on the Distributed Transaction Manager (DTM) object. Using this reference, the resource manager can call QueryInterface for the IResourceManagerFactory interface. The resource manager then calls the IResourceManagerFactory::Create method to get a reference to the IResourceManager interface of the resource manager object. The IResourceManager interface is used by a resource manager to enlist in new transactions and for performing recovery.
The Distributed Transaction Manager object obtained by calling DtcGetTransactionManager function.