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. 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.
CComCachedTearOffObject Overview | Class Members
See Also CComCachedTearOffObject::AddRef, CComCachedTearOffObject::Release