IGetDispenser

 

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.

When to Implement

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

When to Use

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

Methods in Vtable Order

IGetDispenser method Description
GetDispenser Receives an interface on the DTC proxy core object.

Remarks

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

Requirements

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

See Also

ITransactionDispenser