CComQIPtr::QueryInterface

template <class Q>
HRESULT QueryInterface( Q**
pp ) const;

Return value

A standard HRESULT value. Can be one of the following values:

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.

CComQIPtr OverviewClass Members