SimpleActivationFactory::GetRuntimeClassName 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 SimpleActivationFactory::GetRuntimeClassName Method.
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
Show: