IAppVisibilityEvents::AppVisibilityOnMonitorChanged method
Notifies a client that the mode of a display has changed.
Syntax
HRESULT AppVisibilityOnMonitorChanged( [in] HMONITOR hMonitor, [in] MONITOR_APP_VISIBILITY previousMode, [in] MONITOR_APP_VISIBILITY currentMode );
Parameters
- hMonitor [in]
-
The display that has a changing mode.
- previousMode [in]
-
The previous mode of hMonitor, which may be MAV_UNKNOWN if the client was unaware of the display previously.
- currentMode [in]
-
The current mode of hMonitor, which will not be MAV_UNKNOWN.
Return value
The return value is ignored.
Requirements
|
Minimum supported client |
Windows 8 |
|---|---|
|
Minimum supported server |
Windows Server 2012 |
|
Header |
|
|
IDL |
|
|
Library |
|
See also
Show: