IInternalUnknown::QueryInternalInterface method
Retrieves pointers to the supported internal interfaces on an object.
Syntax
HRESULT QueryInternalInterface( [in] REFIID riid, [out] void **ppv );
Parameters
- riid [in]
-
The identifier of the internal interface being requested.
- ppv [out]
-
The address of a pointer variable that receives the interface pointer requested in the riid parameter. Upon successful return, *ppv contains the requested interface pointer to the object. If the object does not support the interface, *ppv is set to NULL.
Return value
This method returns S_OK if the interface is supported, and E_NOINTERFACE otherwise.
Remarks
This method is similar to the IUnknown::QueryInterface method, except that the COM proxy manager, when aggregated, will not expose some interfaces through QueryInterface. Instead, those internal interfaces must be exposed through QueryInternalInterface.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IInternalUnknown is defined as 00000021-0000-0000-C000-000000000046 |
See also