The resource manager uses the IResourceManager2 interface to enlist in distributed transactions. Following a failure, the resource manager uses this interface to determine the outcome of in-doubt transactions. The IResourceManager2 interface differs from the IResourceManager interface in that there is no need to query for the prepare information during the prepare phase of two-phase commit. Instead, the resource manager can directly log the XID returned by the Enlist2 method call during the prepare phase. During recovery, the resource manager can also use the same XID to query the outcome of the transaction by calling on the Reenlist2 method.
You do not need to implement this interface. It is implemented by the resource manager object of the DTC proxy.
Use this interface to enlist in distributed transactions or determine the outcome of in-doubt transactions.
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 txdtc.h