MONITOR_APP_VISIBILITY enumeration (shobjidl_core.h)

Specifies whether a display is showing desktop windows instead of Windows Store apps.

Syntax

typedef enum MONITOR_APP_VISIBILITY {
  MAV_UNKNOWN = 0,
  MAV_NO_APP_VISIBLE = 1,
  MAV_APP_VISIBLE = 2
} ;

Constants

 
MAV_UNKNOWN
Value: 0
The display state is not known.
MAV_NO_APP_VISIBLE
Value: 1
The display is showing desktop windows.
MAV_APP_VISIBLE
Value: 2
The display is not showing desktop windows.

Remarks

The MONITOR_APP_VISIBILITY enum is used by the GetAppVisibilityOnMonitor method.

Requirements

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

See also

IAppVisibility