RuntimeClass::QueryInterface Method
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at RuntimeClass::QueryInterface Method.
Retrieves a pointer to the specified interface ID.
STDMETHOD( QueryInterface ) (REFIID riid, _Deref_out_ void **ppvObject);
Parameters
riid
An interface ID.
ppvObject
When this opereation completes, a pointer to the interface specified by the riid parameter.
S_OK if successful; otherwise, an HRESULT that indicates the error.
Header: implements.h
Namespace: Microsoft::WRL
Show: