Compartilhar via


ActivationFactory::QueryInterface Method

 

The latest version of this topic can be found at ActivationFactory::QueryInterface Method.

Retrieves a pointer to the specified interface.

Syntax

STDMETHOD(  
   QueryInterface  
)(REFIID riid, _Deref_out_ void **ppvObject);  

Parameters

riid
An interface ID.

ppvObject
When this operation is complete, a pointer to the interface specified by parameter riid.

Return Value

S_OK if successful; otherwise, an HRESULT that describes the failure.

Requirements

Header: module.h

Namespace: Microsoft::WRL

See Also

ActivationFactory Class