CComObjectGlobal::QueryInterface

HRESULT QueryInterface( REFIID iid, void** ppvObject ) ;

Return Value

A standard HRESULT value.

Parameters

iid

[in] The GUID of the interface being requested.

ppvObject

[out] A pointer to the interface pointer identified by iid, or NULL if the interface is not found.

Remarks

Retrieves a pointer to the requested interface pointer. QueryInterface only handles interfaces in the COM map table. 

CComObjectGlobal OverviewClass Members

See Also   CComObjectRootEx::InternalQueryInterface, BEGIN_COM_MAP