CComCachedTearOffObject::QueryInterface
Retrieves a pointer to the requested interface.
STDMETHOD(QueryInterface)(
REFIID iid ,
void** ppvObject
);
Параметры
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.
Возвращаемое значение
A standard HRESULT value.
Заметки
If the requested interface is IUnknown, returns a pointer to the CComCachedTearOffObject's own IUnknown and increments the reference count. Otherwise, queries for the interface on your tear-off class using the InternalQueryInterface method inherited from CComObjectRootEx.
Требования
Header: atlcom.h
См. также
Основные понятия
CComCachedTearOffObject Members