Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A helper function that retrieves the trust level of a C++/WinRT object. This is the same value returned from a call to IInspectable::GetTrustLevel.
Syntax
inline winrt::Windows::Foundation::TrustLevel get_trust_level(winrt::Windows::Foundation::IInspectable const& object);
Parameters
object
A C++/WinRT object to operate on.
Return value
The trust level of the object, in the form of a value of the TrustLevel enumeration.
Requirements
Minimum supported SDK: Windows SDK version 10.0.17134.0 (Windows 10, version 1803)
Namespace: winrt
Header: %WindowsSdkDir%Include<WindowsTargetPlatformVersion>\cppwinrt\winrt\base.h (included by default)