CDataObject::QueryInterface

HRESULT CDataObject::QueryInterface(REFIID riid, void** ppv)

Get a new interface from the object

Defined in: DataSource.h

Return Value

Returns S_OK if succeeded, otherwise, returns E_NOINTERFACE

Parameters

riid

Interface ID to use

ppv

place to put the pointer

Comments

QueryInterface is the standard means by which client code acquires new interfaces to a COM object. CDataObject supports IUnknown and IDataObject