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
);
S_OK if the interface is supported, E_NOINTERFACE if not.
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.
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in urlmon.h.
IInternalUnknown, IUnknown::QueryInterface