/* * 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 { /// /// 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. /// internal enum SPI : uint { /// /// 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. /// GETDESKWALLPAPER = 0x73, /// /// 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). /// GETSTICKYKEYS = 0x3A, /// /// 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. /// GETWORKAREA = 0x30, /// /// 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. /// SETDESKWALLPAPER = 0x14, /// /// 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). /// SETSTICKYKEYS = 0x3B, /// /// 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. /// SETWORKAREA = 0x2F, } }