59 lines
3 KiB
C#
59 lines
3 KiB
C#
/*
|
|
* Copyright (c) 2024 ETH Zürich, IT Services
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
namespace SafeExamBrowser.WindowsApi.Constants
|
|
{
|
|
/// <remarks>
|
|
/// See https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-systemparametersinfow.
|
|
/// See http://www.pinvoke.net/default.aspx/Enums/SPI.html?diff=y.
|
|
/// </remarks>
|
|
internal enum SPI : uint
|
|
{
|
|
/// <summary>
|
|
/// Retrieves the full path of the bitmap file for the desktop wallpaper. The pvParam parameter must point to a buffer
|
|
/// that receives a null-terminated path string. Set the uiParam parameter to the size, in characters, of the pvParam buffer.
|
|
/// The returned string will not exceed MAX_PATH characters. If there is no desktop wallpaper, the returned string is empty.
|
|
/// </summary>
|
|
GETDESKWALLPAPER = 0x73,
|
|
|
|
/// <summary>
|
|
/// Retrieves information about the StickyKeys accessibility feature. The pvParam parameter must point to a STICKYKEYS structure
|
|
/// that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(STICKYKEYS).
|
|
/// </summary>
|
|
GETSTICKYKEYS = 0x3A,
|
|
|
|
/// <summary>
|
|
/// Retrieves the size of the work area on the primary display monitor. The work area is the portion of the screen
|
|
/// not obscured by the system taskbar or by application desktop toolbars. The pvParam parameter must point to a
|
|
/// RECT structure that receives the coordinates of the work area, expressed in virtual screen coordinates. To get
|
|
/// the work area of a monitor other than the primary display monitor, call the GetMonitorInfo function.
|
|
/// </summary>
|
|
GETWORKAREA = 0x30,
|
|
|
|
/// <summary>
|
|
/// Sets the desktop wallpaper. The value of the pvParam parameter determines the new wallpaper. To specify a wallpaper bitmap,
|
|
/// set pvParam to point to a null-terminated string containing the name of a bitmap file. Setting pvParam to "" removes the
|
|
/// wallpaper. Setting pvParam to SETWALLPAPER_DEFAULT or null reverts to the default wallpaper.
|
|
/// </summary>
|
|
SETDESKWALLPAPER = 0x14,
|
|
|
|
/// <summary>
|
|
/// Sets the parameters of the StickyKeys accessibility feature. The pvParam parameter must point to a STICKYKEYS structure
|
|
/// that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(STICKYKEYS).
|
|
/// </summary>
|
|
SETSTICKYKEYS = 0x3B,
|
|
|
|
/// <summary>
|
|
/// Sets the size of the work area. The work area is the portion of the screen not obscured by the system taskbar
|
|
/// or by application desktop toolbars. The pvParam parameter is a pointer to a RECT structure that specifies the
|
|
/// new work area rectangle, expressed in virtual screen coordinates. In a system with multiple display monitors,
|
|
/// the function sets the work area of the monitor that contains the specified rectangle.
|
|
/// </summary>
|
|
SETWORKAREA = 0x2F,
|
|
}
|
|
}
|