IResourceManager::GetDistributedTransactionManager
Returns an interface pointer on MS DTC from the resource manager object.
HRESULT GetDistributedTransactionManager (
REFIID |
riid, |
void ** |
ppvObject); |
Parameters
riid [in]
IID of the requested interface.
ppvObject [out]
Pointer to the pointer to the requested interface.
Return Values
S_OK
Success.
E_NOINTERFACE
Unable to provide the requested interface.
Comments
The IResourceManager interface was obtained by calling the Create method on IResourceManagerFactory interface. The IResourceManagerFactory interface can be obtained by calling QueryInterface on one of the other interfaces supported by the MS DTC object or by calling the DtcGetTransactionManager function.