IGetDispenser::GetDispenser
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
Used by procedures that have an interface on a transaction object and need an interface on the DTC proxy core object.
Syntax
HRESULT GetDispenser( REFIID riid, void ** ppvObject);
Parameters
riid
[in] IID of the requested interface on the DTC proxy core object.
ppvObject
[out] Pointer to the pointer to the requested interface.
Return Values
S_OK
Success.
E_INVALIDARG
The value of ppvObject is NULL.
E_UNEXPECTED
An unexpected error occurred.
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