Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RuntimeClass::QueryInterface Method

Retrieves a pointer to the specified interface ID.

STDMETHOD(
   QueryInterface
)
   (REFIID riid, 
   _Deref_out_ void **ppvObject);
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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.