IMetroMode interface

Applies to: desktop apps only

Provides functionality to determine whether the display is showing Metro style apps.

Members

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

  • Methods

Methods

The IMetroMode interface has these methods.

Method Description
Advise

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

GetMonitorMode

Queries the current mode of the specified monitor.

IsLauncherVisible

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

Unadvise

Cancels a connection that was previously established by using Advise.

 

Remarks

Use the IMetroMode interface to determine when a display is showing Metro style apps. This is useful for accessibility tools and other applications.

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

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

METRO_MONITOR_MODE

IMonitorModeEvents

 

 

Send comments about this topic to Microsoft

Build date: 7/3/2012