Share via


SimpleActivationFactory::GetRuntimeClassName Method

 

The latest version of this topic can be found at SimpleActivationFactory::GetRuntimeClassName Method.

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

Syntax

STDMETHOD(  
   GetRuntimeClassName  
)(_Out_ HSTRING* runtimeName);  

Parameters

runtimeName
When this operation completes, the runtime class name.

Return Value

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

Remarks

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.

Requirements

Header: module.h

Namespace: Microsoft::WRL

See Also

SimpleActivationFactory Class