SystemParametersActionFlags Enumeration

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum SystemParametersActionFlags

Remarks

Members

GetBeep 1 Determines whether the warning beeper is on. The pvParam parameter must point to a Boolean variable that receives if the beeper is on, or if it is off.
SetBeep 2 Turns the warning beeper on or off. The uiParam parameter specifies for on, or for off.
GetMouse 3 Retrieves the two mouse threshold values and the mouse speed.
SetMouse 4 Sets the two mouse threshold values and the mouse speed.
Getborder 5 Retrieves the border multiplier factor that determines the width of a window's sizing border. The pvParam parameter must point to an Int32 variable that receives this value.
SetBorder 6 Sets the border multiplier factor that determines the width of a window's sizing border. The uiParam parameter specifies the new value.
GetKeyboardSpeed 10 Retrieves the keyboard repeat-speed setting, which is a value in the range from 0 (approximately 2.5 repetitions per second) through 31 (approximately 30 repetitions per second). The actual repeat rates are hardware-dependent and may vary from a linear scale by as much as 20%. The pvParam parameter must point to a Int32 variable that receives the setting
SetKeyboardSpeed 11 Sets the keyboard repeat-speed setting. The uiParam parameter must specify a value in the range from 0 (approximately 2.5 repetitions per second) through 31 (approximately 30 repetitions per second). The actual repeat rates are hardware-dependent and may vary from a linear scale by as much as 20%. If uiParam is greater than 31, the parameter is set to 31.
LangDriver 12 Not implemented.
IconHorizontalSpacing 13 Sets or retrieves the width, in pixels, of an icon cell. The system uses this rectangle to arrange icons in large icon view. To set this value, set uiParam to the new value and set pvParam to . You cannot set this value to less than SM_CXICON. To retrieve this value, pvParam must point to an Int32 that receives the current value.
GetScreensaveTimeout 14 Retrieves the screen saver time-out value, in seconds. The pvParam parameter must point to an Int32 variable that receives the value.
SetScreensaveTimeout 15 Sets the screen saver time-out value to the value of the uiParam parameter. This value is the amount of time, in seconds, that the system must be idle before the screen saver activates.
GetScreensaveActive 16 Determines whether screen saving is enabled. The pvParam parameter must point to a Boolean variable that receives if screen saving is enabled, or otherwise. Does not work for Windows 7: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724947(v=vs.85).aspx
SetScreensaveActive 17 Sets the state of the screen saver. The uiParam parameter specifies to activate screen saving, or to deactivate it.
GetGridGranularity 18 Retrieves the current granularity value of the desktop sizing grid. The pvParam parameter must point to an Int32 variable that receives the granularity.
SetGridGranularity 19 Sets the granularity of the desktop sizing grid to the value of the uiParam parameter.
SetDesktopWallpaper 20 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 null reverts to the default wallpaper.
SetDeskPattern 21 Sets the current desktop pattern by causing Windows to read the Pattern= setting from the WIN.INI file.
GetKeyboardDelay 22 Retrieves the keyboard repeat-delay setting, which is a value in the range from 0 (approximately 250 ms delay) through 3 (approximately 1 second delay). The actual delay associated with each value may vary depending on the hardware. The pvParam parameter must point to an Int32 variable that receives the setting.
SetKeyboardDelay 23 Sets the keyboard repeat-delay setting. The uiParam parameter must specify 0, 1, 2, or 3, where zero sets the shortest delay (approximately 250 ms) and 3 sets the longest delay (approximately 1 second). The actual delay associated with each value may vary depending on the hardware.
IconVerticalSpacing 24 Sets or retrieves the height, in pixels, of an icon cell. To set this value, set uiParam to the new value and set pvParam to null. You cannot set this value to less than SM_CYICON. To retrieve this value, pvParam must point to an Int32 that receives the current value.
GetIconTitleWrap 25 Determines whether icon-title wrapping is enabled. The pvParam parameter must point to a Boolean variable that receives if enabled, or otherwise.
SetIconTitleWrap 26 Turns icon-title wrapping on or off. The uiParam parameter specifies for on, or for off.
GetMenuDropAlignment 27 Determines whether pop-up menus are left-aligned or right-aligned, relative to the corresponding menu-bar item. The pvParam parameter must point to a Boolean variable that receives if left-aligned, or otherwise.
SetMenuDropAlignment 28 Sets the alignment value of pop-up menus. The uiParam parameter specifies for right alignment, or for left alignment.
SetDoubleClickWidth 29 Sets the width of the double-click rectangle to the value of the uiParam parameter. The double-click rectangle is the rectangle within which the second click of a double-click must fall for it to be registered as a double-click. To retrieve the width of the double-click rectangle, call GetSystemMetrics with the SM_CXDOUBLECLK flag.
SetDoubleClickHeight 30 Sets the height of the double-click rectangle to the value of the uiParam parameter. The double-click rectangle is the rectangle within which the second click of a double-click must fall for it to be registered as a double-click. To retrieve the height of the double-click rectangle, call GetSystemMetrics with the SM_CYDOUBLECLK flag.
GetIconTitleLogFont 31 Retrieves the logical font information for the current icon-title font. The uiParam parameter specifies the size of a LOGFONT structure, and the pvParam parameter must point to the LOGFONT structure to fill in.
SetDoubleclickTime 32 Sets the double-click time for the mouse to the value of the uiParam parameter. The double-click time is the maximum number of milliseconds that can occur between the first and second clicks of a double-click. You can also call the SetDoubleClickTime(Int32) function to set the double-click time. To get the current double-click time, call the GetDoubleClickTime function.
SetMousebuttonSwap 33 Swaps or restores the meaning of the left and right mouse buttons. The uiParam parameter specifies to swap the meanings of the buttons, or to restore their original meanings.
SetIconTitleLogFont 34 Sets the font that is used for icon titles. The uiParam parameter specifies the size of a LOGFONT structure, and the pvParam parameter must point to a LOGFONT structure.
GetFastTaskSwitch 35 This flag is obsolete. Previous versions of the system use this flag to determine whether ALT+TAB fast task switching is enabled. For Windows 95, Windows 98, and Windows NT version 4.0 and later, fast task switching is always enabled.
SetFastTaskSwitch 36 This flag is obsolete. Previous versions of the system use this flag to enable or disable ALT+TAB fast task switching. For Windows 95, Windows 98, and Windows NT version 4.0 and later, fast task switching is always enabled.
SetDragFullWindows 37 Sets dragging of full windows either on or off. The uiParam parameter specifies for on, or for off.
GetDragFullWindows 38 Determines whether dragging of full windows is enabled. The pvParam parameter must point to a Boolean variable that receives if enabled, or otherwise.
GetNonClientMetrics 41 Retrieves the metrics associated with the nonclient area of nonminimized windows. The pvParam parameter must point to a NONCLIENTMETRICS structure that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(NONCLIENTMETRICS).
SetNonClientMetrics 42 Sets the metrics associated with the nonclient area of nonminimized windows. The pvParam parameter must point to a NONCLIENTMETRICS structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(NONCLIENTMETRICS). Also, the lfHeight member of the LOGFONT structure must be a negative value.
GetMinimizedMetrics 43 Retrieves the metrics associated with minimized windows. The pvParam parameter must point to a MINIMIZEDMETRICS structure that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(MINIMIZEDMETRICS).
SetMinimizedMetrics 44 Sets the metrics associated with minimized windows. The pvParam parameter must point to a MINIMIZEDMETRICS structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(MINIMIZEDMETRICS).
GetIconMetrics 45 Retrieves the metrics associated with icons. The pvParam parameter must point to an ICONMETRICS structure that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(ICONMETRICS).
SetIconMetrics 46 Sets the metrics associated with icons. The pvParam parameter must point to an ICONMETRICS structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(ICONMETRICS).
SetWorkArea 47 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.
GetWorkArea 48 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.
SetPenWindows 49 Windows Me/98/95: Pen windows is being loaded or unloaded. The uiParam parameter is when loading and when unloading pen windows. The pvParam parameter is null.
GetFilterKeys 50 Retrieves information about the FilterKeys accessibility feature. The pvParam parameter must point to a FILTERKEYS structure that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(FILTERKEYS).
SetFilterKeys 51 Sets the parameters of the FilterKeys accessibility feature. The pvParam parameter must point to a FILTERKEYS structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(FILTERKEYS).
GetToggleKeys 52 Retrieves information about the ToggleKeys accessibility feature. The pvParam parameter must point to a TOGGLEKEYS structure that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(TOGGLEKEYS).
SetToggleKeys 53 Sets the parameters of the ToggleKeys accessibility feature. The pvParam parameter must point to a TOGGLEKEYS structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(TOGGLEKEYS).
GetMouseKeys 54 Retrieves information about the MouseKeys accessibility feature. The pvParam parameter must point to a MOUSEKEYS structure that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(MOUSEKEYS).
SetMouseKeys 55 Sets the parameters of the MouseKeys accessibility feature. The pvParam parameter must point to a MOUSEKEYS structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(MOUSEKEYS).
GetShowSounds 56 Determines whether the Show Sounds accessibility flag is on or off. If it is on, the user requires an application to present information visually in situations where it would otherwise present the information only in audible form. The pvParam parameter must point to a Boolean variable that receives if the feature is on, or if it is off. Using this value is equivalent to calling GetSystemMetrics (SM_SHOWSOUNDS). That is the recommended call.
SetShowSounds 57 Sets the parameters of the SoundSentry accessibility feature. The pvParam parameter must point to a SOUNDSENTRY structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(SOUNDSENTRY).
GetStickyKeys 58 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).
SetStickyKeys 59 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).
GetAccessTimeout 60 Retrieves information about the time-out period associated with the accessibility features. The pvParam parameter must point to an ACCESSTIMEOUT structure that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(ACCESSTIMEOUT).
SetAccessTimeout 61 Sets the time-out period associated with the accessibility features. The pvParam parameter must point to an ACCESSTIMEOUT structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(ACCESSTIMEOUT).
GetSerialKeys 62 Windows Me/98/95: Retrieves information about the SerialKeys accessibility feature. The pvParam parameter must point to a SERIALKEYS structure that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(SERIALKEYS).
SetSerialKeys 63 Windows Me/98/95: Sets the parameters of the SerialKeys accessibility feature. The pvParam parameter must point to a SERIALKEYS structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(SERIALKEYS).
GetSoundsEntry 64 Retrieves information about the SoundSentry accessibility feature. The pvParam parameter must point to a SOUNDSENTRY structure that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(SOUNDSENTRY).
SetSoundsEntry 65 Sets the parameters of the SoundSentry accessibility feature. The pvParam parameter must point to a SOUNDSENTRY structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(SOUNDSENTRY).
GetHighContrast 66 Retrieves information about the HighContrast accessibility feature. The pvParam parameter must point to a HIGHCONTRAST structure that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(HIGHCONTRAST). For a general discussion, see remarks. Windows NT: This value is not supported.
SetHighContrast 67 Sets the parameters of the HighContrast accessibility feature. The pvParam parameter must point to a HIGHCONTRAST structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(HIGHCONTRAST). Windows NT: This value is not supported.
GetKeyboardPref 68 Determines whether the user relies on the keyboard instead of the mouse, and wants applications to display keyboard interfaces that would otherwise be hidden. The pvParam parameter must point to a Boolean variable that receives if the user relies on the keyboard; or otherwise. Windows NT: This value is not supported.
SetKeyboardPref 69 Sets the keyboard preference. The uiParam parameter specifies if the user relies on the keyboard instead of the mouse, and wants applications to display keyboard interfaces that would otherwise be hidden; uiParam is otherwise. Windows NT: This value is not supported.
GetScreenReader 70 Determines whether a screen reviewer utility is running. A screen reviewer utility directs textual information to an output device, such as a speech synthesizer or Braille display. When this flag is set, an application should provide textual information in situations where it would otherwise present the information graphically. The pvParam parameter is a pointer to a Boolean variable that receives if a screen reviewer utility is running, or otherwise. Windows NT: This value is not supported.
SetScreenReader 71 Determines whether a screen review utility is running. The uiParam parameter specifies for on, or for off. Windows NT: This value is not supported.
GetAnimation 72 Retrieves the animation effects associated with user actions. The pvParam parameter must point to an ANIMATIONINFO structure that receives the information. Set the cbSize member of this structure and the uiParam parameter to sizeof(ANIMATIONINFO).
SetAnimation 73 Sets the animation effects associated with user actions. The pvParam parameter must point to an ANIMATIONINFO structure that contains the new parameters. Set the cbSize member of this structure and the uiParam parameter to sizeof(ANIMATIONINFO).
GetFontSmoothing 74 Determines whether the font smoothing feature is enabled. This feature uses font antialiasing to make font curves appear smoother by painting pixels at different gray levels. The pvParam parameter must point to a Boolean variable that receives if the feature is enabled, or if it is not.

Windows 95: This flag is supported only if Windows Plus! is installed. See GETWINDOWSEXTENSION.

SetFontSmoothing 75 Enables or disables the font smoothing feature, which uses font antialiasing to make font curves appear smoother by painting pixels at different gray levels. To enable the feature, set the uiParam parameter to TRUE. To disable the feature, set uiParam to FALSE.
SetDragWidth 76 Sets the width, in pixels, of the rectangle used to detect the start of a drag operation. Set uiParam to the new value. To retrieve the drag width, call GetSystemMetrics with the SM_CXDRAG flag.
SetDragHeight 77 Sets the height, in pixels, of the rectangle used to detect the start of a drag operation. Set uiParam to the new value. To retrieve the drag height, call GetSystemMetrics with the SM_CYDRAG flag.
SetHandheld 78 Used internally; applications should not use this value.
GetLowPowerTimeout 79 Retrieves the time-out value for the low-power phase of screen saving. The pvParam parameter must point to an Int32 variable that receives the value. This flag is supported for 32-bit applications only.
GetPowerOffTimeout 80 Retrieves the time-out value for the power-off phase of screen saving. The pvParam parameter must point to an Int32 variable that receives the value. This flag is supported for 32-bit applications only.
SetLowPowerTimeout 81 Sets the time-out value, in seconds, for the low-power phase of screen saving. The uiParam parameter specifies the new value. The pvParam parameter must be null. This flag is supported for 32-bit applications only.
SetPowerOffTimeout 82 Sets the time-out value, in seconds, for the power-off phase of screen saving. The uiParam parameter specifies the new value. The pvParam parameter must be null. This flag is supported for 32-bit applications only.
GetLowPowerActive 83 Determines whether the low-power phase of screen saving is enabled. The pvParam parameter must point to a Boolean variable that receives if enabled, or if disabled. This flag is supported for 32-bit applications only.
GetPowerOffActive 84 Determines whether the power-off phase of screen saving is enabled. The pvParam parameter must point to a Boolean variable that receives if enabled, or if disabled. This flag is supported for 32-bit applications only.
SetLowPowerActive 85 Activates or deactivates the low-power phase of screen saving. Set uiParam to 1 to activate, or zero to deactivate. The pvParam parameter must be null. This flag is supported for 32-bit applications only.
SetPowerOffActive 86 Activates or deactivates the power-off phase of screen saving. Set uiParam to 1 to activate, or zero to deactivate. The pvParam parameter must be null. This flag is supported for 32-bit applications only.
Setcursors 87 Reloads the system cursors. Set the uiParam parameter to zero and the pvParam parameter to null.
Seticons 88 Reloads the system icons. Set the uiParam parameter to zero and the pvParam parameter to null.
GetDefaultInputLang 89 Retrieves the input locale identifier for the system default input language. The pvParam parameter must point to an HKL variable that receives this value. For more information, see Languages, Locales, and Keyboard Layouts on MSDN.
SetDefaultInputLang 90 Sets the default input language for the system shell and applications. The specified language must be displayable using the current system character set. The pvParam parameter must point to an HKL variable that contains the input locale identifier for the default language. For more information, see Languages, Locales, and Keyboard Layouts on MSDN.
SetLangToggle 91 Sets the hot key set for switching between input languages. The uiParam and pvParam parameters are not used. The value sets the shortcut keys in the keyboard property sheets by reading the registry again. The registry must be set before this flag is used. the path in the registry is \HKEY_CURRENT_USER\keyboard layout\toggle. Valid values are "1" = ALT+SHIFT, "2" = CTRL+SHIFT, and "3" = none.
GetWindowsExtension 92 Windows 95: Determines whether the Windows extension, Windows Plus!, is installed. Set the uiParam parameter to 1. The pvParam parameter is not used. The function returns if the extension is installed, or if it is not.
SetMouseTrails 93 Enables or disables the Mouse Trails feature, which improves the visibility of mouse cursor movements by briefly showing a trail of cursors and quickly erasing them. To disable the feature, set the uiParam parameter to zero or 1. To enable the feature, set uiParam to a value greater than 1 to indicate the number of cursors drawn in the trail.
GetMouseTrails 94 Determines whether the Mouse Trails feature is enabled. This feature improves the visibility of mouse cursor movements by briefly showing a trail of cursors and quickly erasing them. The pvParam parameter must point to an Int32 variable that receives a value. If the value is zero or 1, the feature is disabled. If the value is greater than 1, the feature is enabled and the value indicates the number of cursors drawn in the trail. The uiParam parameter is not used.
GetSnapToDefButton 95 Determines whether the snap-to-default-button feature is enabled. If enabled, the mouse cursor automatically moves to the default button, such as "OK" or "Apply", of a dialog box. The pvParam parameter must point to a Boolean variable that receives if the feature is on, or if it is off.
SetSnapToDefButton 96 Enables or disables the snap-to-default-button feature. If enabled, the mouse cursor automatically moves to the default button, such as "OK" or "Apply", of a dialog box. Set the uiParam parameter to to enable the feature, or to disable it. Applications should use the ShowWindow function when displaying a dialog box so the dialog manager can position the mouse cursor.
SetScreensaverRunning 97 Windows Me/98: Used internally; applications should not use this flag.
GetMouseHoverWidth 98 Retrieves the width, in pixels, of the rectangle within which the mouse pointer has to stay for TrackMouseEvent to generate a WM_MOUSEHOVER message. The pvParam parameter must point to a UINT variable that receives the width.
SetMouseHoverWidth 99 Retrieves the width, in pixels, of the rectangle within which the mouse pointer has to stay for TrackMouseEvent to generate a WM_MOUSEHOVER message. The pvParam parameter must point to a UINT variable that receives the width.
GetMouseHoverHeight 100 Retrieves the height, in pixels, of the rectangle within which the mouse pointer has to stay for TrackMouseEvent to generate a WM_MOUSEHOVER message. The pvParam parameter must point to a UINT variable that receives the height.
SetMouseHoverHeight 101 Sets the height, in pixels, of the rectangle within which the mouse pointer has to stay for TrackMouseEvent to generate a WM_MOUSEHOVER message. Set the uiParam parameter to the new height.
GetMouseHoverTime 102 Retrieves the time, in milliseconds, that the mouse pointer has to stay in the hover rectangle for TrackMouseEvent to generate a WM_MOUSEHOVER message. The pvParam parameter must point to a UINT variable that receives the time.
SetMouseHoverTime 103 Sets the time, in milliseconds, that the mouse pointer has to stay in the hover rectangle for TrackMouseEvent to generate a WM_MOUSEHOVER message. This is used only if you pass HOVER_DEFAULT in the dwHoverTime parameter in the call to TrackMouseEvent. Set the uiParam parameter to the new time.
GetWheelScrollLines 104 Retrieves the number of lines to scroll when the mouse wheel is rotated. The pvParam parameter must point to a UInt32 variable that receives the number of lines. The default value is 3.
SetWheelScrollLines 105 Sets the number of lines to scroll when the mouse wheel is rotated. The number of lines is set from the uiParam parameter. The number of lines is the suggested number of lines to scroll when the mouse wheel is rolled without using modifier keys. If the number is 0, then no scrolling should occur. If the number of lines to scroll is greater than the number of lines viewable, and in particular if it is WHEEL_PAGESCROLL (#defined as UINT_MAX), the scroll operation should be interpreted as clicking once in the page down or page up regions of the scroll bar.
GetMenuShowDelay 106 Retrieves the time, in milliseconds, that the system waits before displaying a shortcut menu when the mouse cursor is over a submenu item. The pvParam parameter must point to a UInt16 variable that receives the time of the delay.
SetMenuShowDelay 107 Sets uiParam to the time, in milliseconds, that the system waits before displaying a shortcut menu when the mouse cursor is over a submenu item.
GetWheelscrollChars 108 Retrieves the number of characters to scroll when the horizontal mouse wheel is moved. The pvParam parameter must point to a UInt32 variable that receives the number of lines. The default value is 3.
SetWheelscrollChars 109 Sets the number of characters to scroll when the horizontal mouse wheel is moved. The number of characters is set from the uiParam parameter.
GetShowIMEui 110 Determines whether the IME status window is visible (on a per-user basis). The pvParam parameter must point to a Boolean variable that receives if the status window is visible, or if it is not.
SetShowIMEui 111 Sets whether the IME status window is visible or not on a per-user basis. The uiParam parameter specifies for on or for off.
GetMouseSpeed 112 Retrieves the current mouse speed. The mouse speed determines how far the pointer will move based on the distance the mouse moves. The pvParam parameter must point to an Int32 variable that receives a value which ranges between 1 (slowest) and 20 (fastest). A value of 10 is the default. The value can be set by an end user using the mouse control panel application or by an application using SETMOUSESPEED.
SetMouseSpeed 113 Sets the current mouse speed. The pvParam parameter is an Int32 variable between 1 (slowest) and 20 (fastest). A value of 10 is the default. This value is typically set using the mouse control panel application.
GetScreensaverRunning 114 Determines whether a screen saver is currently running on the window station of the calling process. The pvParam parameter must point to a Boolean variable that receives if a screen saver is currently running, or otherwise. Note that only the interactive window station, "WinSta0", can have a screen saver running.
GetDesktopWallpaper 115 Retrieves the full path of the bitmap file for the desktop wallpaper. The pvParam parameter must point to a StringBuilder 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 StringBuilder.MaxCapacity characters. If there is no desktop wallpaper, the returned string is empty.
GetAudioDescription 116 Determines whether audio descriptions are enabled or disabled. The pvParam parameter is a pointer to an AUDIODESCRIPTION structure. Set the cbSize member of this structure and the uiParam parameter to sizeof(AUDIODESCRIPTION).
SetAudioDescription 117 Turns the audio descriptions feature on or off. The pvParam parameter is a pointer to an AUDIODESCRIPTION structure.
GetScreensaveSecure 118 Determines whether the screen saver requires a password to display the Windows desktop. The pvParam parameter must point to a Boolean variable that receives if the screen saver requires a password, or otherwise. The uiParam parameter is ignored.
SetScreensaveSecure 119 Sets whether the screen saver requires the user to enter a password to display the Windows desktop. The uiParam parameter is a Boolean variable. The pvParam parameter is ignored. Set uiParam to to require a password, or to not require a password. If the machine has entered power saving mode or system lock state, an ERROR_OPERATION_IN_PROGRESS exception occurs.
GetHungAppTimeout 120 Retrieves the number of milliseconds that a thread can go without dispatching a message before the system considers it unresponsive. The pvParam parameter must point to an integer variable that receives the value.
SetHungAppTimeout 121 Sets the hung application time-out to the value of the uiParam parameter. This value is the number of milliseconds that a thread can go without dispatching a message before the system considers it unresponsive
GetWaitToKillTimeout 122 Retrieves the number of milliseconds that the system waits before terminating an application that does not respond to a shutdown request. The pvParam parameter must point to an integer variable that receives the value.
SetWaitToKillTimeout 123 Sets the application shutdown request time-out to the value of the uiParam parameter. This value is the number of milliseconds that the system waits before terminating an application that does not respond to a shutdown request
GetWaitToKillServiceTimeout 124 Retrieves the number of milliseconds that the service control manager waits before terminating a service that does not respond to a shutdown request. The pvParam parameter must point to an integer variable that receives the value.
SetWaitToKillServiceTimeout 125 Sets the service shutdown request time-out to the value of the uiParam parameter. This value is the number of milliseconds that the system waits before terminating a service that does not respond to a shutdown request
GetMouseDockThreshold 126 Retrieves the threshold in pixels where docking behavior is triggered by using a mouse to drag a window to the edge of a monitor or monitor array. The default threshold is 1. The pvParam parameter must point to a DWORD variable that receives the value. Use GetWinArranging to determine whether this behavior is enabled.
SetMouseDockThreshold 127 Sets the threshold in pixels where docking behavior is triggered by using a mouse to drag a window to the edge of a monitor or monitor array. The default threshold is 1. The pvParam parameter must point to a DWORD variable that contains the new value Use GetWinArranging to determine whether this behavior is enabled.
GetWinArranging 130 Determines whether window arrangement is enabled. The pvParam parameter must point to a Boolean variable that receives if enabled, or otherwise. Window arrangement reduces the number of mouse, pen, or touch interactions needed to move and size top-level windows by simplifying the default behavior of a window when it is dragged or sized.
SetWinArranging 131 Sets whether window arrangement is enabled. Set pvParam to for on or for off. Window arrangement reduces the number of mouse, pen, or touch interactions needed to move and size top-level windows by simplifying the default behavior of a window when it is dragged or sized.
GetMouseDragoutThreshold 132 Retrieves the threshold in pixels where undocking behavior is triggered by using a mouse to drag a window from the edge of a monitor or a monitor array toward the center. The default threshold is 20. Use GetWinArranging to determine whether this behavior is enabled.
SetMouseDragoutThreshold 133 Sets the threshold in pixels where undocking behavior is triggered by using a mouse to drag a window from the edge of a monitor or monitor array to its center. The default threshold is 20. The pvParam parameter must point to a DWORD variable that contains the new value. Use GetWinArranging to determine whether this behavior is enabled.
GetMouseSideMoveThreshold 136 Retrieves the threshold in pixels from the top of a monitor or a monitor array where a vertically maximized window is restored when dragged with the mouse. The default threshold is 50. Use GetWinArranging to determine whether this behavior is enabled.
SetMouseSideMoveThreshold 137 Sets the threshold in pixels from the top of the monitor where a vertically maximized window is restored when dragged with the mouse. The default threshold is 50. The pvParam parameter must point to a DWORD variable that contains the new value Use GetWinArranging to determine whether this behavior is enabled.
GetDragFromMaximize 140 Determines whether a maximized window is restored when its caption bar is dragged. The pvParam parameter must point to a Boolean variable that receives if enabled, or otherwise. Use GetWinArranging to determine whether this behavior is enabled.
SetDragFromMaximize 141 Sets whether a maximized window is restored when its caption bar is dragged. Set pvParam to for on or for off.
GetSnapSizing 142 Determines whether a window is vertically maximized when it is sized to the top or bottom of a monitor or monitor array. The pvParam parameter must point to a Boolean variable that receives if enabled, or otherwise. Use GetWinArranging to determine whether this behavior is enabled.
SetSnapSizing 143 Sets whether a window is vertically maximized when it is sized to the top or bottom of the monitor. Set pvParam to for on or for off. Use GetWinArranging to determine whether this behavior is enabled.
GetDockMoving 144 Determines whether a window is docked when it is moved to the top, left, or right edges of a monitor or monitor array. The pvParam parameter must point to a Boolean variable that receives if enabled, or otherwise. Use GetWinArranging to determine whether this behavior is enabled.
SetDockMoving 145 Sets whether a window is docked when it is moved to the top, left, or right docking targets on a monitor or monitor array. Set pvParam to for on or for off. Use GetWinArranging to determine whether this behavior is enabled.
GetLogicalDPIoverride 158 Gets a value that determines whether Windows 8/Windows 10 is using the recommended (default) DPI scale factor.

The value indicates the relative index of DPI scaling percentage in the next scale factor steps list:

100%, 125%, 150%, 175%, 200%, 225%, 250%, 300%, 350%, 400%, 450%, 500% (all steps may not be of same percentage.)

So if for example the returned value is 0, it means the recommended DPI scaling value is 100%, or if for example the returned value is -1, it means the recommended DPI scaling value is 125%, and so on.

https://stackoverflow.com/a/62916586/1248295

SetLogicalDPIoverride 159 Sets a system-wide DPI scale factor in Windows 8/Windows 10 scaling mode.

This works only if there is a single monitor, or if there are multiple monitors and the "Let me choose one scaling level for all my displays" checkbox is checked in system settings, then the user can specify a scale factor that applies to all displays.

The value represents the relative index of DPI scaling percentage in the next scale factor steps list

100%, 125%, 150%, 175%, 200%, 225%, 250%, 300%, 350%, 400%, 450%, 500% (all steps may not be of same percentage.)

So if for example you use a value of 0, DPI scaling value will be changed to 100%, or if for example you use a value of 1, DPI scaling value will be changed to 125%, and so on.

Note that the available scaled DPI factor steps depends on the pixel density of the display. If you try to set a value outside the available scaled DPI factor steps, Windows doesn't allow it, and will use the nearest allowed value.

https://stackoverflow.com/a/62916586/1248295

GetActiveWindowTracking 4,096 Determines whether active window tracking (activating the window the mouse is on) is on or off. The pvParam parameter must point to a Boolean variable that receives for on, or for off.
SetActiveWindowTracking 4,097 Sets active window tracking (activating the window the mouse is on) either on or off. Set pvParam to for on or for off.
GetMenuAnimation 4,098 Determines whether the menu animation feature is enabled. This master switch must be on to enable menu animation effects. The pvParam parameter must point to a Boolean variable that receives if animation is enabled and if it is disabled. If animation is enabled, GETMENUFADE indicates whether menus use fade or slide animation.
SetMenuAnimation 4,099 Enables or disables menu animation. This master switch must be on for any menu animation to occur. The pvParam parameter is a Boolean variable; set pvParam to to enable animation and to disable animation. If animation is enabled, GETMENUFADE indicates whether menus use fade or slide animation.
GetComboboxAnimation 4,100 Determines whether the slide-open effect for combo boxes is enabled. The pvParam parameter must point to a Boolean variable that receives for enabled, or for disabled.
SetComboboxAnimation 4,101 Enables or disables the slide-open effect for combo boxes. Set the pvParam parameter to to enable the gradient effect, or to disable it.
GetListboxSmoothScrolling 4,102 Determines whether the smooth-scrolling effect for list boxes is enabled. The pvParam parameter must point toa Boolean variable that receives for enabled, or for disabled.
SetListboxSmoothScrolling 4,103 Enables or disables the smooth-scrolling effect for list boxes. Set the pvParam parameter to to enable the smooth-scrolling effect, or to disable it.
GetGradientCaptions 4,104 Determines whether the gradient effect for window title bars is enabled. The pvParam parameter must point to a Boolean variable that receives for enabled, or for disabled. For more information about the gradient effect, see the GetSysColor function.
SetGradientCaptions 4,105 Enables or disables the gradient effect for window title bars. Set the pvParam parameter to to enable it, or to disable it. The gradient effect is possible only if the system has a color depth of more than 256 colors. For more information about the gradient effect, see the GetSysColor function.
GetKeyboardCues 4,106 Determines whether menu access keys are always underlined. The pvParam parameter must point to a Boolean variable that receives if menu access keys are always underlined, and if they are underlined only when the menu is activated by the keyboard.
SetKeyboardCues 4,107 Sets the underlining of menu access key letters. The pvParam parameter is a Boolean variable. Set pvParam to to always underline menu access keys, or to underline menu access keys only when the menu is activated from the keyboard.
GetActiveWndTrkZorder 4,108 Determines whether windows activated through active window tracking will be brought to the top. The pvParam parameter must point to a Boolean variable that receives for on, or for off.
SetActiveWndTrkZorder 4,109 Determines whether or not windows activated through active window tracking should be brought to the top. Set pvParam to for on or for off.
GetHotTracking 4,110 Determines whether hot tracking of user-interface elements, such as menu names on menu bars, is enabled. The pvParam parameter must point to a Boolean variable that receives for enabled, or for disabled. Hot tracking means that when the cursor moves over an item, it is highlighted but not selected. You can query this value to decide whether to use hot tracking in the user interface of your application.
SetHotTracking 4,111 Enables or disables hot tracking of user-interface elements such as menu names on menu bars. Set the pvParam parameter to to enable it, or to disable it. Hot-tracking means that when the cursor moves over an item, it is highlighted but not selected.
GetMenuFade 4,114 Determines whether menu fade animation is enabled. The pvParam parameter must point to a Boolean variable that receives when fade animation is enabled and when it is disabled. If fade animation is disabled, menus use slide animation. This flag is ignored unless menu animation is enabled, which you can do using the SETMENUANIMATION flag. For more information, see AnimateWindow(IntPtr, Int32, WindowAnimation).
SetMenuFade 4,115 Enables or disables menu fade animation. Set pvParam to to enable the menu fade effect or to disable it. If fade animation is disabled, menus use slide animation. The menu fade effect is possible only if the system has a color depth of more than 256 colors. This flag is ignored unless MENUANIMATION is also set. For more information, see AnimateWindow(IntPtr, Int32, WindowAnimation).
GetSelectionFade 4,116 Determines whether the selection fade effect is enabled. The pvParam parameter must point to a Boolean variable that receives if enabled or if disabled. The selection fade effect causes the menu item selected by the user to remain on the screen briefly while fading out after the menu is dismissed.
SetSelectionFade 4,117 The selection fade effect causes the menu item selected by the user to remain on the screen briefly while fading out after the menu is dismissed. The selection fade effect is possible only if the system has a color depth of more than 256 colors. Set pvParam to to enable the selection fade effect or to disable it.
GetTooltipAnimation 4,118 Determines whether ToolTip animation is enabled. The pvParam parameter must point to a Boolean variable that receives if enabled or if disabled. If ToolTip animation is enabled, GETTOOLTIPFADE indicates whether ToolTips use fade or slide animation.
SetTooltipAnimation 4,119 Set pvParam to to enable ToolTip animation or to disable it. If enabled, you can use SETTOOLTIPFADE to specify fade or slide animation.
GetTooltipFade 4,120 If SETTOOLTIPANIMATION is enabled, GETTOOLTIPFADE indicates whether ToolTip animation uses a fade effect or a slide effect. The pvParam parameter must point to a Boolean variable that receives for fade animation or for slide animation. For more information on slide and fade effects, see AnimateWindow(IntPtr, Int32, WindowAnimation).
SetTooltipFade 4,121 If the SETTOOLTIPANIMATION flag is enabled, use SETTOOLTIPFADE to indicate whether ToolTip animation uses a fade effect or a slide effect. Set pvParam to for fade animation or for slide animation. The tooltip fade effect is possible only if the system has a color depth of more than 256 colors. For more information on the slide and fade effects, see the AnimateWindow(IntPtr, Int32, WindowAnimation) function.
GetCursorShadow 4,122 Determines whether the cursor has a shadow around it. The pvParam parameter must point to a Boolean variable that receives if the shadow is enabled, if it is disabled. This effect appears only if the system has a color depth of more than 256 colors.
SetCursorShadow 4,123 Enables or disables a shadow around the cursor. The pvParam parameter is a Boolean variable. Set pvParam to to enable the shadow or to disable the shadow. This effect appears only if the system has a color depth of more than 256 colors.
GetMouseSonar 4,124 Retrieves the state of the Mouse Sonar feature. The pvParam parameter must point to a Boolean variable that receives if enabled or otherwise. For more information, see About Mouse Input on MSDN.
SetMouseSonar 4,125 Turns the Sonar accessibility feature on or off. This feature briefly shows several concentric circles around the mouse pointer when the user presses and releases the CTRL key. The pvParam parameter specifies for on and for off. The default is off. For more information, see About Mouse Input.
GetMouseClickLock 4,126 Retrieves the state of the Mouse ClickLock feature. The pvParam parameter must point to a Boolean variable that receives if enabled, or otherwise. For more information, see About Mouse Input.
SetMouseClickLock 4,127 Turns the Mouse ClickLock accessibility feature on or off. This feature temporarily locks down the primary mouse button when that button is clicked and held down for the time specified by SETMOUSECLICKLOCKTIME. The uiParam parameter specifies for on, or for off. The default is off. For more information, see Remarks and About Mouse Input on MSDN.
GetMouseVanish 4,128 Retrieves the state of the Mouse Vanish feature. The pvParam parameter must point to a Boolean variable that receives if enabled or otherwise. For more information, see About Mouse Input on MSDN.
SetMouseVanish 4,129 Turns the Vanish feature on or off. This feature hides the mouse pointer when the user types; the pointer reappears when the user moves the mouse. The pvParam parameter specifies for on and for off. The default is off. For more information, see About Mouse Input on MSDN.
GetFlatMenu 4,130 Determines whether native User menus have flat menu appearance. The pvParam parameter must point to a Boolean variable that returns if the flat menu appearance is set, or otherwise.
SetFlatMenu 4,131 Enables or disables flat menu appearance for native User menus. Set pvParam to to enable flat menu appearance or to disable it. When enabled, the menu bar uses COLOR_MENUBAR for the menubar background, COLOR_MENU for the menu-popup background, COLOR_MENUHILIGHT for the fill of the current menu selection, and COLOR_HILIGHT for the outline of the current menu selection. If disabled, menus are drawn using the same metrics and colors as in Windows 2000 and earlier.
GetDropShadow 4,132 Determines whether the drop shadow effect is enabled. The pvParam parameter must point to a Boolean variable that returns if enabled or if disabled.
SetDropShadow 4,133 Enables or disables the drop shadow effect. Set pvParam to to enable the drop shadow effect or to disable it. You must also have CS_DROPSHADOW in the window class style.
GetBlockSendInputResets 4,134 Retrieves a Boolean indicating whether an application can reset the screensaver's timer by calling the SendInput function to simulate keyboard or mouse input. The pvParam parameter must point to a Boolean variable that receives if the simulated input will be blocked, or otherwise.
SetBlockSendInputResets 4,135 Determines whether an application can reset the screensaver's timer by calling the SendInput function to simulate keyboard or mouse input. The uiParam parameter specifies if the screensaver will not be deactivated by simulated input, or if the screensaver will be deactivated by simulated input.
GetUiEffects 4,158 Determines whether UI effects are enabled or disabled. The pvParam parameter must point to a Boolean variable that receives if all UI effects are enabled, or if they are disabled.
SetUiEffects 4,159 Enables or disables UI effects. Set the pvParam parameter to to enable all UI effects or to disable all UI effects.
GetDisableOverlappedContent 4,160 Determines whether overlapped content is enabled or disabled. The pvParam parameter must point to a Boolean variable that receives if enabled, or otherwise.
SetDisableOverlappedContent 4,161 Turns overlapped content (such as background images and watermarks) on or off. The pvParam parameter is a Boolean variable. Set pvParam to to disable overlapped content, or to enable overlapped content.
GetClientAreaAnimation 4,162 Determines whether animations are enabled or disabled. The pvParam parameter must point to a Boolean variable that receives if animations are enabled, or otherwise.
SetClientAreaAnimation 4,163 Turns client area animations on or off. The pvParam parameter is a Boolean variable. Set pvParam to to enable animations and other transient effects in the client area, or to disable them..
GetCleartype 4,168 Determines whether ClearType is enabled. The pvParam parameter must point to a Boolean variable that receives if ClearType is enabled, or otherwise.
SetCleartype 4,169 Turns ClearType on or off. The pvParam parameter is a Boolean variable. Set pvParam to to enable ClearType, or to disable it.
GetThreadLocalInputSettings 4,174 Starting with Windows 8: Determines whether the active input settings have Local (per-thread, ) or Global (session, ) scope. The pvParam parameter must point to a Boolean variable.
SetThreadLocalInputSettings 4,175 Starting with Windows 8: Determines whether the active input settings have Local (per-thread, ) or Global (session, ) scope. The pvParam parameter must point to a Boolean variable, casted by PVOID.
GetSystemlanguageBar 4,176 Starting with Windows 8: Determines whether the system language bar is enabled or disabled. The pvParam parameter must point to a Boolean variable that receives if the language bar is enabled, or otherwise.
SetSystemlanguageBar 4,177 Starting with Windows 8: Turns the legacy language bar feature on or off. The pvParam parameter is a pointer to a Boolean variable. Set pvParam to to enable the legacy language bar, or to disable it. The flag is supported on Windows 8 where the legacy language bar is replaced by Input Switcher and therefore turned off by default. Turning the legacy language bar on is provided for compatibility reasons and has no effect on the Input Switcher.
GetForegroundLockTimeout 8,192 Retrieves the amount of time following user input, in milliseconds, during which the system will not allow applications to force themselves into the foreground. The pvParam parameter must point to a UInt16 variable that receives the time.
SetForegroundLockTimeout 8,193 Sets the amount of time following user input, in milliseconds, during which the system does not allow applications to force themselves into the foreground. Set pvParam to the new timeout value. The calling thread must be able to change the foreground window, otherwise the call fails.
GetActiveWndTrkTimeout 8,194 Retrieves the active window tracking delay, in milliseconds. The pvParam parameter must point to a UInt16 variable that receives the time.
SetActiveWndTrkTimeout 8,195 Sets the active window tracking delay. Set pvParam to the number of milliseconds to delay before activating the window under the mouse pointer.
GetForegroundFlashCount 8,196 Retrieves the number of times SetForegroundWindow will flash the taskbar button when rejecting a foreground switch request. The pvParam parameter must point to a UInt16 variable that receives the value.
SetForegroundFlashCount 8,197 Sets the number of times SetForegroundWindow will flash the taskbar button when rejecting a foreground switch request. Set pvParam to the number of times to flash.
GetCaretWidth 8,198 Retrieves the caret width in edit controls, in pixels. The pvParam parameter must point to a UInt16 that receives this value.
SetCaretWidth 8,199 Sets the caret width in edit controls. Set pvParam to the desired width, in pixels. The default and minimum value is 1.
GetMouseClickLockTime 8,200 Retrieves the time delay before the primary mouse button is locked. The pvParam parameter must point to Int32 that receives the time delay. This is only enabled if SETMOUSECLICKLOCK is set to . For more information, see About Mouse Input on MSDN.
SetMouseClickLockTime 8,201 Turns the Mouse ClickLock accessibility feature on or off. This feature temporarily locks down the primary mouse button when that button is clicked and held down for the time specified by SETMOUSECLICKLOCKTIME. The uiParam parameter specifies for on, or for off. The default is off. For more information, see Remarks and About Mouse Input on MSDN.
GetFontSmoothingType 8,202 Retrieves the type of font smoothing. The pvParam parameter must point to a UInt32 that receives the information.
SetFontSmoothingType 8,203 Sets the font smoothing type. The pvParam parameter points to a UINT that contains either FE_FONTSMOOTHINGSTANDARD, if standard anti-aliasing is used, or FE_FONTSMOOTHINGCLEARTYPE, if ClearType is used. The default is FE_FONTSMOOTHINGSTANDARD. When using this option, the fWinIni parameter must be set to SPIF_SENDWININICHANGE | SPIF_UPDATEINIFILE; otherwise, SystemParametersInfo fails.
GetFontSmoothingContrast 8,204 Retrieves a contrast value that is used in ClearType™ smoothing. The pvParam parameter must point to a UInt32 that receives the information.
SetFontSmoothingContrast 8,205 Sets the contrast value used in ClearType smoothing. The pvParam parameter points to a UInt32 that holds the contrast value. Valid contrast values are from 1000 to 2200. The default value is 1400. When using this option, the fWinIni parameter must be set to SPIF_SENDWININICHANGE | SPIF_UPDATEINIFILE; otherwise, SystemParametersInfo fails. SETFONTSMOOTHINGTYPE must also be set to FE_FONTSMOOTHINGCLEARTYPE.
GetFocusBorderWidth 8,206 Retrieves the width, in pixels, of the left and right edges of the focus rectangle drawn with DrawFocusRect. The pvParam parameter must point to a UInt32.
SetFocusBorderWidth 8,207 Sets the height of the left and right edges of the focus rectangle drawn with DrawFocusRect to the value of the pvParam parameter.
GetFocusBorderHeight 8,208 Retrieves the height, in pixels, of the top and bottom edges of the focus rectangle drawn with DrawFocusRect. The pvParam parameter must point to a UInt32.
SetFocusBorderHeight 8,209 Sets the height of the top and bottom edges of the focus rectangle drawn with DrawFocusRect to the value of the pvParam parameter.
GetFontSmoothingOrientation 8,210 Not implemented.
SetFontSmoothingOrientation 8,211 Not implemented.
GetMessageDuration 8,214 Retrieves the time that notification pop-ups should be displayed, in seconds. The pvParam parameter must point to a UInt64 that receives the message duration.
SetMessageDuration 8,215 Sets the time that notification pop-ups should be displayed, in seconds. The pvParam parameter specifies the message duration.
GetContactVisualization 8,216 Retrieves the current contact visualization setting. The pvParam parameter must point to a ULONG variable that receives the setting. For more information, see Contact Visualization.
SetContactVisualization 8,217 Sets the current contact visualization setting. The pvParam parameter must point to a ULONG variable that identifies the setting. For more information, see Contact Visualization.
GetGestureVisualization 8,218 Retrieves the current gesture visualization setting. The pvParam parameter must point to a ULONG variable that receives the setting. For more information, see Gesture Visualization.
SetGestureVisualization 8,219 Sets the current gesture visualization setting. The pvParam parameter must point to a ULONG variable that identifies the setting. For more information, see Gesture Visualization.
GetMousewheelRouting 8,220 Retrieves the routing setting for wheel button input. The routing setting determines whether wheel button input is sent to the app with focus (foreground) or the app under the mouse cursor. The pvParam parameter must point to a DWORD variable that receives the routing option. If the value is zero or MOUSEWHEEL_ROUTING_FOCUS, mouse wheel input is delivered to the app with focus. If the value is 1 or MOUSEWHEEL_ROUTING_HYBRID (default), mouse wheel input is delivered to the app with focus (desktop apps) or the app under the mouse cursor (Windows Store apps). The uiParam parameter is not used.
SetMousewheelRouting 8,221 Sets the routing setting for wheel button input. The routing setting determines whether wheel button input is sent to the app with focus (foreground) or the app under the mouse cursor. The pvParam parameter must point to a DWORD variable that receives the routing option. If the value is zero or MOUSEWHEEL_ROUTING_FOCUS, mouse wheel input is delivered to the app with focus. If the value is 1 or MOUSEWHEEL_ROUTING_HYBRID (default), mouse wheel input is delivered to the app with focus (desktop apps) or the app under the mouse cursor (Windows Store apps). Set the uiParam parameter to zero
GetPenVisualization 8,222 Retrieves the current pen gesture visualization setting. The pvParam parameter must point to a ULONG variable that receives the setting. For more information, see Pen Visualization.
SetPenVisualization 8,223 Sets the current pen gesture visualization setting. The pvParam parameter must point to a ULONG variable that identifies the setting. For more information, see Pen Visualization.

See Also