IMonitorModeEvents::MonitorModeChanged method
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
Send comments about this topic to Microsoft
Build date: 7/3/2012