IInternalUnknown::QueryInternalInterface

Returns a pointer to a specified internal interface. This function must call IUnknown::AddRef on the pointer it returns.

HRESULT QueryInternalInterface(
  REFIID riid,           //Identifier of the requested internal interface
  void **ppv            //Address of output variable that receives 
                       //the interface pointer requested in riid
);
 

Parameters

riid
[in] Identifier of the internal interface being requested.
ppv
[out] Address of pointer variable that receives the interface pointer requested in riid. Upon successful return, *ppv contains the requested interface pointer to the object. If the object does not support the interface specified in riid, *ppv is set to NULL.

Return Values

S_OK if the interface is supported, E_NOINTERFACE if not.

Remarks

The IUnknown::QueryInternalInterface method is similar to the IUnknown::QueryInterface method, except that the COM Proxy Manager, when aggregated, will not expose some interfaces through IUnknown::QueryInterface. Instead, those internal interfaces must be exposed through IUnknown::QueryInternalInterface.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in urlmon.h.

See Also

IInternalUnknown, IUnknown::QueryInterface