Share via


CComObjectGlobal::QueryInterface

Retrieves a pointer to the requested interface pointer.

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

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.

Return Value

A standard HRESULT value.

Remarks

QueryInterface only handles interfaces in the COM map table.

Requirements

Header: atlcom.h

See Also

Reference

CComObjectGlobal Class

CComObjectRootEx::InternalQueryInterface

BEGIN_COM_MAP