IInspectable::GetTrustLevel method (inspectable.h)

Gets the trust level of the current Windows Runtime object.

Syntax

HRESULT GetTrustLevel(
  [out] TrustLevel *trustLevel
);

Parameters

[out] trustLevel

Type: TrustLevel*

The trust level of the current Windows Runtime object. The default is BaseLevel.

Return value

Type: HRESULT

This method always returns S_OK.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header inspectable.h

See also

IInputPaneInterop

IInspectable

winrt::get_trust_level