CComPtrBase::QueryInterface
Visual Studio 2012
Call this method to return a pointer to a specified interface.
template < class Q > HRESULT QueryInterface(Q** pp ) const throw( );
This method calls IUnknown::QueryInterface.
In debug builds, an assertion error will occur if pp is not equal to NULL.