SimpleActivationFactory::GetRuntimeClassName Method

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Gets the runtime class name of an instance of the class specified by the Base class template parameter.

STDMETHOD(  
   GetRuntimeClassName  
)(_Out_ HSTRING* runtimeName);  

Parameters

runtimeName
When this operation completes, the runtime class name.

S_OK if successful; otherwise, an HRESULT that indicates the error.

If __WRL_STRICT__ is defined, an assert error is emitted if the class specified by the Base class template parameter isn't derived from RuntimeClass, or isn't configured with the WinRt or WinRtClassicComMix RuntimeClassType enumeration value.

Header: module.h

Namespace: Microsoft::WRL

SimpleActivationFactory Class

Show: