IGetDispenser::GetDispenser

Used by procedures that have an interface on a transaction object and need an interface on the MS DTC proxy core object.

HRESULT GetDispenser (
REFIID 
riid,
void ** 
ppvObject);

Parameters

riid [in]
IID of the requested interface on the MS 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.