User32ChangeDisplaySettings Method
Changes the settings of the default display device to the specified graphics mode.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
- refDevMode DevMode
-
A pointer to a DevMode structure that describes the new graphics mode.
If refDevMode is ,
all the values currently in the registry will be used for the display setting.
Passing for the refDevMode parameter and 0 for the flags parameter is the
easiest way to return to the default mode after a dynamic mode change.
- flags ChangeDisplaySettingsFlags
-
Indicates how the graphics mode should be changed.
DisplaySettingsChange
A
DisplaySettingsChange value that specifies the operation result.