Export (0) Print
Expand All

IMonitorModeEvents::MonitorModeChanged method

[This documentation is preliminary and is subject to change.]

Applies to: desktop apps only

Notifies a client that the mode of a display has changed.

Syntax


HRESULT MonitorModeChanged(
  [in]  HMONITOR hMonitor,
  [in]  METRO_MONITOR_MODE previousMode,
  [in]  METRO_MONITOR_MODE currentMode
);

Parameters

hMonitor [in]

The display that has a changing mode.

previousMode [in]

The previous mode of hMonitor, which may be MMM_UNKNOWN if the client was unaware of the display previously.

currentMode [in]

The current mode of hMonitor, which will not be MMM_UNKNOWN.

Return value

The return value is ignored.

Requirements

Minimum supported client

Windows 8 Release Preview

Minimum supported server

Windows Server 2012

Header

Shobjidl.h

IDL

Shobjidl.idl

Library

Twinapi.lib

See also

IMonitorModeEvents
METRO_MONITOR_MODE

 

 

Send comments about this topic to Microsoft

Build date: 6/4/2012

Community Additions

Show:
© 2015 Microsoft