Επεξεργασία

Κοινή χρήση μέσω


IAppVisibility interface (shobjidl_core.h)

Provides functionality to determine whether the display is showing Universal Windows Platform apps.

Inheritance

The IAppVisibility interface inherits from the IUnknown interface. IAppVisibility also has these types of members:

Methods

The IAppVisibility interface has these methods.

 
IAppVisibility::Advise

Registers an advise sink object to receive notification of changes to the display.
IAppVisibility::GetAppVisibilityOnMonitor

Queries the current mode of the specified monitor.
IAppVisibility::IsLauncherVisible

Gets a value that indicates whether the Start screen is displayed.
IAppVisibility::Unadvise

Cancels a connection that was previously established by using Advise.

Remarks

Use the IAppVisibility interface to determine when a display is showing Universal Windows Platform apps. This is useful for accessibility tools and other applications.

Use the IsLauncherVisible method to determine when the Start screen is visible.

Don't implement the IAppVisibility interface. Instead, call the CoCreateInstance function with CLSID_AppVisibility.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See also

IAppVisibilityEvents

IUnknown

MONITOR_APP_VISIBILITY