IGetDispenser

 

Updated: July 19, 2016

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

This interface contains a single method IGetDispenser::GetDispenser. The GetDispenser method is used by procedures that are passed a transaction object as a parameter and need to obtain an interface on the DTC proxy core object.

For example, the RM proxy uses this method to implement its transaction enlistment interface. Application programs call the transaction enlistment interface and pass a transaction object. The RM proxy uses the GetDispenser method on the transaction object to locate the interfaces on the DTC proxy core object.

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

Processes use this interface to obtain an interface on the DTC proxy core object.

IGetDispenser methodDescription
GetDispenserReceives an interface on the DTC proxy core object.

You obtain a pointer to this interface by calling QueryInterface on the ITransaction interface for the transaction object with a riid of IID_IGetDispenser.

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

ITransactionDispenser

Community Additions

ADD
Show: