Export (0) Print
Expand All

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);

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:
© 2015 Microsoft