RuntimeClass::GetTrustLevel Method

 

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 RuntimeClass::GetTrustLevel Method.

Gets the trust level of the current RuntimeClass object.

STDMETHOD(  
   GetTrustLevel  
)(_Out_ TrustLevel* trustLvl);  

trustLvl
When this operation completes, the trust level of the current RuntimeClass object.

Always S_OK.

An assert error is emitted if __WRL_STRICT__or __WRL_FORCE_INSPECTABLE_CLASS_MACRO__ isn't defined.

Header: implements.h

Namespace: Microsoft::WRL

RuntimeClass Class

Show: