CComObjectNoLock::QueryInterface

Retrieves a pointer to the requested interface.

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

Parameters

  • iid
    [in] The identifier of the interface being requested.

  • ppvObject
    [out] A pointer to the interface pointer identified by iid. If the object does not support this interface, ppvObject is set to NULL.

Return Value

A standard HRESULT value.

Requirements

Header: atlcom.h

See Also

Reference

CComObjectNoLock Class

Other Resources

CComObjectNoLock Members