CComPtr::QueryInterface
template <class Q**>
HRESULT QueryInterface( Q**** pp ) const
Return value
A standard HRESULT value. Can be one of the following values:
**S_OK **The interface was retrieved successfully.
**E_NOINTERFACE **The object referred to by the pointer contained in this smart pointer does not implement the requested interface.
Parameters
Q
[in] Type of the interface.
pp
[out] Pointer to the resulting interface pointer.
Remarks
Calls QueryInterface on the internal pointer in a type-safe manner.