Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this method to return a pointer to a specified interface.
template <
class Q
> HRESULT QueryInterface(Q** pp ) const throw( );
Parameters
Q
The object type whose interface pointer is required.pp
Address of output variable that receives the requested interface pointer.
Return Value
Returns S_OK on success, or E_NOINTERFACE on failure.
Remarks
This method calls IUnknown::QueryInterface.
In debug builds, an assertion error will occur if pp is not equal to NULL.
Requirements
Header: atlcomcli.h