/// Retrieves the current granularity value of the desktop sizing grid. The pvParam parameter must point to an integer variable that receives the granularity.
/// Determines whether icon-title wrapping is enabled. The pvParam parameter must point to a bool variable that receives TRUE if enabled, or FALSE otherwise.
/// <summary>Sets the alignment value of pop-up menus. The uiParam parameter specifies TRUE for right alignment, or FALSE for left alignment.</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.
/// 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. Windows 95: Not supported.
/// Sets the underlining of menu access key letters. The pvParam parameter is a BOOL variable. Set pvParam to TRUE to always underline menu access
/// keys, or FALSE to underline menu access keys only when the menu is activated from the keyboard. Windows NT, Windows 95: This value is not supported.
/// Enables or disables menu fade animation. Set pvParam to TRUE to enable the menu fade effect or FALSE to disable it. If fade animation is
/// disabled, menus use slide animation. he The menu fade effect is possible only if the system has a color depth of more than 256 colors. This flag
/// is ignored unless SPI_MENUANIMATION is also set. For more information, see AnimateWindow. Windows NT, Windows Me/98/95: This value is not supported.
/// <summary>Retrieves the font smoothing orientation. The pvParam parameter must point to a UINT that receives the information. The possible values are FE_FONTSMOOTHINGORIENTATIONBGR (blue-green-red) and FE_FONTSMOOTHINGORIENTATIONRGB (red-green-blue). Windows XP/2000: This parameter is not supported until Windows XP with SP2.</summary>
/// <summary>Sets the font smoothing orientation. The pvParam parameter is either FE_FONTSMOOTHINGORIENTATIONBGR (blue-green-red) or FE_FONTSMOOTHINGORIENTATIONRGB (red-green-blue). Windows XP/2000: This parameter is not supported until Windows XP with SP2.</summary>
/// <summary>Retrieves the time that notification pop-ups should be displayed, in seconds. The pvParam parameter must point to a ULONG that receives the message duration. Users with visual impairments or cognitive conditions such as ADHD and dyslexia might need a longer time to read the text in notification messages. This flag enables you to retrieve the message duration. Windows Server 2003 and Windows XP/2000: This parameter is not supported.</summary>
/// <summary>Sets the time that notification pop-ups should be displayed, in seconds. The pvParam parameter specifies the message duration. Users with visual impairments or cognitive conditions such as ADHD and dyslexia might need a longer time to read the text in notification messages. This flag enables you to set the message duration. Windows Server 2003 and Windows XP/2000: This parameter is not supported.</summary>
/// <summary>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.</summary>
/// <summary>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.</summary>
/// <summary>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.</summary>
/// <summary>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.</summary>
/// <summary>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.</summary>
/// <summary>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.</summary>
/// <summary>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.</summary>
/// <summary>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.</summary>
/// <summary>The width of the default menu check-mark bitmap, in pixels.</summary>
SM_CXMENUCHECK=71,
/// <summary>The width of menu bar buttons, such as the child window close button that is used in the multiple document interface, in pixels.</summary>
SM_CXMENUSIZE=54,
/// <summary>The minimum width of a window, in pixels.</summary>
SM_CXMIN=28,
/// <summary>The width of a minimized window, in pixels.</summary>
/// The height of the client area for a full-screen window on the primary display monitor, in pixels. To get the coordinates of the portion of the
/// screen not obscured by the system taskbar or by application desktop toolbars, call the SystemParametersInfo function with the SPI_GETWORKAREA value.
/// <summary>The height of a horizontal scroll bar, in pixels.</summary>
SM_CYHSCROLL=3,
/// <summary>The default height of an icon, in pixels. The LoadIcon function can load only icons with the dimensions SM_CXICON and SM_CYICON.</summary>
/// <summary>For double byte character set versions of the system, this is the height of the Kanji window at the bottom of the screen, in pixels.</summary>
SM_CYKANJIWINDOW=18,
/// <summary>The default height, in pixels, of a maximized top-level window on the primary display monitor.</summary>
/// <summary>The height of a single-line menu bar, in pixels.</summary>
SM_CYMENU=15,
/// <summary>The height of the default menu check-mark bitmap, in pixels.</summary>
SM_CYMENUCHECK=72,
/// <summary>The height of menu bar buttons, such as the child window close button that is used in the multiple document interface, in pixels.</summary>
SM_CYMENUSIZE=55,
/// <summary>The minimum height of a window, in pixels.</summary>
SM_CYMIN=29,
/// <summary>The height of a minimized window, in pixels.</summary>
/// This system metric is used in a Terminal Services environment. If the calling process is associated with a Terminal Services client session, the
/// return value is nonzero. If the calling process is associated with the Terminal Services console session, the return value is 0.
/// <para>Windows Server 2003 and Windows XP: The console session is not necessarily the physical console. For more information, see WTSGetActiveConsoleSessionId.</para>
/// <para>Retrieves the specified system metric or system configuration setting.</para>
/// <para>Note that all dimensions retrieved by <c>GetSystemMetrics</c> are in pixels.</para>
/// </summary>
/// <param name="nIndex">
/// <para>Type: <c>int</c></para>
/// <para>
/// The system metric or configuration setting to be retrieved. This parameter can be one of the following values. Note that all SM_CX* values are widths
/// and all SM_CY* values are heights. Also note that all settings designed to return Boolean data represent <c>TRUE</c> as any nonzero value, and
/// <c>FALSE</c> as a zero value.
/// </para>
/// <para>
/// <list type="table">
/// <listheader>
/// <term>Value</term>
/// <term>Meaning</term>
/// </listheader>
/// <item>
/// <term>SM_ARRANGE56</term>
/// <term>The flags that specify how the system arranged minimized windows. For more information, see the Remarks section in this topic.</term>
/// </item>
/// <item>
/// <term>SM_CLEANBOOT67</term>
/// <term>
/// The value that specifies how the system is started: A fail-safe boot (also called SafeBoot, Safe Mode, or Clean Boot) bypasses the user startup files.
/// </term>
/// </item>
/// <item>
/// <term>SM_CMONITORS80</term>
/// <term>The number of display monitors on a desktop. For more information, see the Remarks section in this topic.</term>
/// </item>
/// <item>
/// <term>SM_CMOUSEBUTTONS43</term>
/// <term>The number of buttons on a mouse, or zero if no mouse is installed.</term>
/// </item>
/// <item>
/// <term>SM_CONVERTIBLESLATEMODE0x2003</term>
/// <term>
/// Reflects the state of the laptop or slate mode, 0 for Slate Mode and non-zero otherwise. When this system metric changes, the system sends a
/// broadcast message via WM_SETTINGCHANGE with &quot;ConvertibleSlateMode&quot; in the LPARAM. Note that this system metric doesn&#39;t
/// apply to desktop PCs. In that case, use GetAutoRotationState.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXBORDER5</term>
/// <term>The width of a window border, in pixels. This is equivalent to the SM_CXEDGE value for windows with the 3-D look.</term>
/// </item>
/// <item>
/// <term>SM_CXCURSOR13</term>
/// <term>The width of a cursor, in pixels. The system cannot create cursors of other sizes.</term>
/// </item>
/// <item>
/// <term>SM_CXDLGFRAME7</term>
/// <term>This value is the same as SM_CXFIXEDFRAME.</term>
/// </item>
/// <item>
/// <term>SM_CXDOUBLECLK36</term>
/// <term>
/// The width of the rectangle around the location of a first click in a double-click sequence, in pixels. The second click must occur within the
/// rectangle that is defined by SM_CXDOUBLECLK and SM_CYDOUBLECLK for the system to consider the two clicks a double-click. The two clicks must also
/// occur within a specified time. To set the width of the double-click rectangle, call SystemParametersInfo with SPI_SETDOUBLECLKWIDTH.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXDRAG68</term>
/// <term>
/// The number of pixels on either side of a mouse-down point that the mouse pointer can move before a drag operation begins. This allows the user to
/// click and release the mouse button easily without unintentionally starting a drag operation. If this value is negative, it is subtracted from the
/// left of the mouse-down point and added to the right of it.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXEDGE45</term>
/// <term>The width of a 3-D border, in pixels. This metric is the 3-D counterpart of SM_CXBORDER.</term>
/// </item>
/// <item>
/// <term>SM_CXFIXEDFRAME7</term>
/// <term>
/// The thickness of the frame around the perimeter of a window that has a caption but is not sizable, in pixels. SM_CXFIXEDFRAME is the height of the
/// horizontal border, and SM_CYFIXEDFRAME is the width of the vertical border. This value is the same as SM_CXDLGFRAME.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXFOCUSBORDER83</term>
/// <term>
/// The width of the left and right edges of the focus rectangle that the DrawFocusRect draws. This value is in pixels. Windows 2000: This value is not supported.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXFRAME32</term>
/// <term>This value is the same as SM_CXSIZEFRAME.</term>
/// </item>
/// <item>
/// <term>SM_CXFULLSCREEN16</term>
/// <term>
/// The width of the client area for a full-screen window on the primary display monitor, in pixels. To get the coordinates of the portion of the screen
/// that is not obscured by the system taskbar or by application desktop toolbars, call the SystemParametersInfo function with the SPI_GETWORKAREA value.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXHSCROLL21</term>
/// <term>The width of the arrow bitmap on a horizontal scroll bar, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CXHTHUMB10</term>
/// <term>The width of the thumb box in a horizontal scroll bar, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CXICON11</term>
/// <term>The default width of an icon, in pixels. The LoadIcon function can load only icons with the dimensions that SM_CXICON and SM_CYICON specifies.</term>
/// </item>
/// <item>
/// <term>SM_CXICONSPACING38</term>
/// <term>
/// The width of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of size SM_CXICONSPACING by SM_CYICONSPACING when
/// arranged. This value is always greater than or equal to SM_CXICON.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXMAXIMIZED61</term>
/// <term>The default width, in pixels, of a maximized top-level window on the primary display monitor.</term>
/// </item>
/// <item>
/// <term>SM_CXMAXTRACK59</term>
/// <term>
/// The default maximum width of a window that has a caption and sizing borders, in pixels. This metric refers to the entire desktop. The user cannot
/// drag the window frame to a size larger than these dimensions. A window can override this value by processing the WM_GETMINMAXINFO message.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXMENUCHECK71</term>
/// <term>The width of the default menu check-mark bitmap, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CXMENUSIZE54</term>
/// <term>The width of menu bar buttons, such as the child window close button that is used in the multiple document interface, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CXMIN28</term>
/// <term>The minimum width of a window, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CXMINIMIZED57</term>
/// <term>The width of a minimized window, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CXMINSPACING47</term>
/// <term>
/// The width of a grid cell for a minimized window, in pixels. Each minimized window fits into a rectangle this size when arranged. This value is always
/// greater than or equal to SM_CXMINIMIZED.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXMINTRACK34</term>
/// <term>
/// The minimum tracking width of a window, in pixels. The user cannot drag the window frame to a size smaller than these dimensions. A window can
/// override this value by processing the WM_GETMINMAXINFO message.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXPADDEDBORDER92</term>
/// <term>The amount of border padding for captioned windows, in pixels.Windows XP/2000: This value is not supported.</term>
/// </item>
/// <item>
/// <term>SM_CXSCREEN0</term>
/// <term>The width of the screen of the primary display monitor, in pixels. This is the same value obtained by calling GetDeviceCaps as follows: .</term>
/// </item>
/// <item>
/// <term>SM_CXSIZE30</term>
/// <term>The width of a button in a window caption or title bar, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CXSIZEFRAME32</term>
/// <term>
/// The thickness of the sizing border around the perimeter of a window that can be resized, in pixels. SM_CXSIZEFRAME is the width of the horizontal
/// border, and SM_CYSIZEFRAME is the height of the vertical border. This value is the same as SM_CXFRAME.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXSMICON49</term>
/// <term>The recommended width of a small icon, in pixels. Small icons typically appear in window captions and in small icon view.</term>
/// </item>
/// <item>
/// <term>SM_CXSMSIZE52</term>
/// <term>The width of small caption buttons, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CXVIRTUALSCREEN78</term>
/// <term>
/// The width of the virtual screen, in pixels. The virtual screen is the bounding rectangle of all display monitors. The SM_XVIRTUALSCREEN metric is the
/// coordinates for the left side of the virtual screen.
/// </term>
/// </item>
/// <item>
/// <term>SM_CXVSCROLL2</term>
/// <term>The width of a vertical scroll bar, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYBORDER6</term>
/// <term>The height of a window border, in pixels. This is equivalent to the SM_CYEDGE value for windows with the 3-D look.</term>
/// </item>
/// <item>
/// <term>SM_CYCAPTION4</term>
/// <term>The height of a caption area, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYCURSOR14</term>
/// <term>The height of a cursor, in pixels. The system cannot create cursors of other sizes.</term>
/// </item>
/// <item>
/// <term>SM_CYDLGFRAME8</term>
/// <term>This value is the same as SM_CYFIXEDFRAME.</term>
/// </item>
/// <item>
/// <term>SM_CYDOUBLECLK37</term>
/// <term>
/// The height of the rectangle around the location of a first click in a double-click sequence, in pixels. The second click must occur within the
/// rectangle defined by SM_CXDOUBLECLK and SM_CYDOUBLECLK for the system to consider the two clicks a double-click. The two clicks must also occur
/// within a specified time. To set the height of the double-click rectangle, call SystemParametersInfo with SPI_SETDOUBLECLKHEIGHT.
/// </term>
/// </item>
/// <item>
/// <term>SM_CYDRAG69</term>
/// <term>
/// The number of pixels above and below a mouse-down point that the mouse pointer can move before a drag operation begins. This allows the user to click
/// and release the mouse button easily without unintentionally starting a drag operation. If this value is negative, it is subtracted from above the
/// mouse-down point and added below it.
/// </term>
/// </item>
/// <item>
/// <term>SM_CYEDGE46</term>
/// <term>The height of a 3-D border, in pixels. This is the 3-D counterpart of SM_CYBORDER.</term>
/// </item>
/// <item>
/// <term>SM_CYFIXEDFRAME8</term>
/// <term>
/// The thickness of the frame around the perimeter of a window that has a caption but is not sizable, in pixels. SM_CXFIXEDFRAME is the height of the
/// horizontal border, and SM_CYFIXEDFRAME is the width of the vertical border.This value is the same as SM_CYDLGFRAME.
/// </term>
/// </item>
/// <item>
/// <term>SM_CYFOCUSBORDER84</term>
/// <term>
/// The height of the top and bottom edges of the focus rectangle drawn by DrawFocusRect. This value is in pixels.Windows 2000: This value is not supported.
/// </term>
/// </item>
/// <item>
/// <term>SM_CYFRAME33</term>
/// <term>This value is the same as SM_CYSIZEFRAME.</term>
/// </item>
/// <item>
/// <term>SM_CYFULLSCREEN17</term>
/// <term>
/// The height of the client area for a full-screen window on the primary display monitor, in pixels. To get the coordinates of the portion of the screen
/// not obscured by the system taskbar or by application desktop toolbars, call the SystemParametersInfo function with the SPI_GETWORKAREA value.
/// </term>
/// </item>
/// <item>
/// <term>SM_CYHSCROLL3</term>
/// <term>The height of a horizontal scroll bar, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYICON12</term>
/// <term>The default height of an icon, in pixels. The LoadIcon function can load only icons with the dimensions SM_CXICON and SM_CYICON.</term>
/// </item>
/// <item>
/// <term>SM_CYICONSPACING39</term>
/// <term>
/// The height of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of size SM_CXICONSPACING by SM_CYICONSPACING when
/// arranged. This value is always greater than or equal to SM_CYICON.
/// </term>
/// </item>
/// <item>
/// <term>SM_CYKANJIWINDOW18</term>
/// <term>For double byte character set versions of the system, this is the height of the Kanji window at the bottom of the screen, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYMAXIMIZED62</term>
/// <term>The default height, in pixels, of a maximized top-level window on the primary display monitor.</term>
/// </item>
/// <item>
/// <term>SM_CYMAXTRACK60</term>
/// <term>
/// The default maximum height of a window that has a caption and sizing borders, in pixels. This metric refers to the entire desktop. The user cannot
/// drag the window frame to a size larger than these dimensions. A window can override this value by processing the WM_GETMINMAXINFO message.
/// </term>
/// </item>
/// <item>
/// <term>SM_CYMENU15</term>
/// <term>The height of a single-line menu bar, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYMENUCHECK72</term>
/// <term>The height of the default menu check-mark bitmap, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYMENUSIZE55</term>
/// <term>The height of menu bar buttons, such as the child window close button that is used in the multiple document interface, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYMIN29</term>
/// <term>The minimum height of a window, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYMINIMIZED58</term>
/// <term>The height of a minimized window, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYMINSPACING48</term>
/// <term>
/// The height of a grid cell for a minimized window, in pixels. Each minimized window fits into a rectangle this size when arranged. This value is
/// always greater than or equal to SM_CYMINIMIZED.
/// </term>
/// </item>
/// <item>
/// <term>SM_CYMINTRACK35</term>
/// <term>
/// The minimum tracking height of a window, in pixels. The user cannot drag the window frame to a size smaller than these dimensions. A window can
/// override this value by processing the WM_GETMINMAXINFO message.
/// </term>
/// </item>
/// <item>
/// <term>SM_CYSCREEN1</term>
/// <term>The height of the screen of the primary display monitor, in pixels. This is the same value obtained by calling GetDeviceCaps as follows: .</term>
/// </item>
/// <item>
/// <term>SM_CYSIZE31</term>
/// <term>The height of a button in a window caption or title bar, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYSIZEFRAME33</term>
/// <term>
/// The thickness of the sizing border around the perimeter of a window that can be resized, in pixels. SM_CXSIZEFRAME is the width of the horizontal
/// border, and SM_CYSIZEFRAME is the height of the vertical border. This value is the same as SM_CYFRAME.
/// </term>
/// </item>
/// <item>
/// <term>SM_CYSMCAPTION51</term>
/// <term>The height of a small caption, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYSMICON50</term>
/// <term>The recommended height of a small icon, in pixels. Small icons typically appear in window captions and in small icon view.</term>
/// </item>
/// <item>
/// <term>SM_CYSMSIZE53</term>
/// <term>The height of small caption buttons, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYVIRTUALSCREEN79</term>
/// <term>
/// The height of the virtual screen, in pixels. The virtual screen is the bounding rectangle of all display monitors. The SM_YVIRTUALSCREEN metric is
/// the coordinates for the top of the virtual screen.
/// </term>
/// </item>
/// <item>
/// <term>SM_CYVSCROLL20</term>
/// <term>The height of the arrow bitmap on a vertical scroll bar, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_CYVTHUMB9</term>
/// <term>The height of the thumb box in a vertical scroll bar, in pixels.</term>
/// </item>
/// <item>
/// <term>SM_DBCSENABLED42</term>
/// <term>Nonzero if User32.dll supports DBCS; otherwise, 0.</term>
/// </item>
/// <item>
/// <term>SM_DEBUG22</term>
/// <term>Nonzero if the debug version of User.exe is installed; otherwise, 0.</term>
/// </item>
/// <item>
/// <term>SM_DIGITIZER94</term>
/// <term>
/// Nonzero if the current operating system is Windows 7 or Windows Server 2008 R2 and the Tablet PC Input service is started; otherwise, 0. The return
/// value is a bitmask that specifies the type of digitizer input supported by the device. For more information, see Remarks.Windows Server 2008, Windows
/// Vista and Windows XP/2000: This value is not supported.
/// </term>
/// </item>
/// <item>
/// <term>SM_IMMENABLED82</term>
/// <term>
/// Nonzero if Input Method Manager/Input Method Editor features are enabled; otherwise, 0. SM_IMMENABLED indicates whether the system is ready to use a
/// Unicode-based IME on a Unicode application. To ensure that a language-dependent IME works, check SM_DBCSENABLED and the system ANSI code page.
/// Otherwise the ANSI-to-Unicode conversion may not be performed correctly, or some components like fonts or registry settings may not be present.
/// </term>
/// </item>
/// <item>
/// <term>SM_MAXIMUMTOUCHES95</term>
/// <term>
/// Nonzero if there are digitizers in the system; otherwise, 0. SM_MAXIMUMTOUCHES returns the aggregate maximum of the maximum number of contacts
/// supported by every digitizer in the system. If the system has only single-touch digitizers, the return value is 1. If the system has multi-touch
/// digitizers, the return value is the number of simultaneous contacts the hardware can provide.Windows Server 2008, Windows Vista and Windows XP/2000:
/// This value is not supported.
/// </term>
/// </item>
/// <item>
/// <term>SM_MEDIACENTER87</term>
/// <term>Nonzero if the current operating system is the Windows XP, Media Center Edition, 0 if not.</term>
/// </item>
/// <item>
/// <term>SM_MENUDROPALIGNMENT40</term>
/// <term>Nonzero if drop-down menus are right-aligned with the corresponding menu-bar item; 0 if the menus are left-aligned.</term>
/// </item>
/// <item>
/// <term>SM_MIDEASTENABLED74</term>
/// <term>Nonzero if the system is enabled for Hebrew and Arabic languages, 0 if not.</term>
/// </item>
/// <item>
/// <term>SM_MOUSEPRESENT19</term>
/// <term>
/// Nonzero if a mouse is installed; otherwise, 0. This value is rarely zero, because of support for virtual mice and because some systems detect the
/// presence of the port instead of the presence of a mouse.
/// </term>
/// </item>
/// <item>
/// <term>SM_MOUSEHORIZONTALWHEELPRESENT91</term>
/// <term>Nonzero if a mouse with a horizontal scroll wheel is installed; otherwise 0.</term>
/// </item>
/// <item>
/// <term>SM_MOUSEWHEELPRESENT75</term>
/// <term>Nonzero if a mouse with a vertical scroll wheel is installed; otherwise 0.</term>
/// </item>
/// <item>
/// <term>SM_NETWORK63</term>
/// <term>The least significant bit is set if a network is present; otherwise, it is cleared. The other bits are reserved for future use.</term>
/// </item>
/// <item>
/// <term>SM_PENWINDOWS41</term>
/// <term>Nonzero if the Microsoft Windows for Pen computing extensions are installed; zero otherwise.</term>
/// </item>
/// <item>
/// <term>SM_REMOTECONTROL0x2001</term>
/// <term>
/// This system metric is used in a Terminal Services environment to determine if the current Terminal Server session is being remotely controlled. Its
/// value is nonzero if the current session is remotely controlled; otherwise, 0.You can use terminal services management tools such as Terminal Services
/// Manager (tsadmin.msc) and shadow.exe to control a remote session. When a session is being remotely controlled, another user can view the contents of
/// that session and potentially interact with it.
/// </term>
/// </item>
/// <item>
/// <term>SM_REMOTESESSION0x1000</term>
/// <term>
/// This system metric is used in a Terminal Services environment. If the calling process is associated with a Terminal Services client session, the
/// return value is nonzero. If the calling process is associated with the Terminal Services console session, the return value is 0. Windows Server 2003
/// and Windows XP: The console session is not necessarily the physical console. For more information, see WTSGetActiveConsoleSessionId.
/// </term>
/// </item>
/// <item>
/// <term>SM_SAMEDISPLAYFORMAT81</term>
/// <term>
/// Nonzero if all the display monitors have the same color format, otherwise, 0. Two displays can have the same bit depth, but different color formats.
/// For example, the red, green, and blue pixels can be encoded with different numbers of bits, or those bits can be located in different places in a
/// pixel color value.
/// </term>
/// </item>
/// <item>
/// <term>SM_SECURE44</term>
/// <term>This system metric should be ignored; it always returns 0.</term>
/// </item>
/// <item>
/// <term>SM_SERVERR289</term>
/// <term>The build number if the system is Windows Server 2003 R2; otherwise, 0.</term>
/// </item>
/// <item>
/// <term>SM_SHOWSOUNDS70</term>
/// <term>
/// Nonzero if the user requires an application to present information visually in situations where it would otherwise present the information only in
/// audible form; otherwise, 0.
/// </term>
/// </item>
/// <item>
/// <term>SM_SHUTTINGDOWN0x2000</term>
/// <term>Nonzero if the current session is shutting down; otherwise, 0. Windows 2000: This value is not supported.</term>
/// </item>
/// <item>
/// <term>SM_SLOWMACHINE73</term>
/// <term>Nonzero if the computer has a low-end (slow) processor; otherwise, 0.</term>
/// </item>
/// <item>
/// <term>SM_STARTER88</term>
/// <term>Nonzero if the current operating system is Windows 7 Starter Edition, Windows Vista Starter, or Windows XP Starter Edition; otherwise, 0.</term>
/// </item>
/// <item>
/// <term>SM_SWAPBUTTON23</term>
/// <term>Nonzero if the meanings of the left and right mouse buttons are swapped; otherwise, 0.</term>
/// </item>
/// <item>
/// <term>SM_SYSTEMDOCKED0x2004</term>
/// <term>
/// Reflects the state of the docking mode, 0 for Undocked Mode and non-zero otherwise. When this system metric changes, the system sends a broadcast
/// message via WM_SETTINGCHANGE with &quot;SystemDockMode&quot; in the LPARAM.
/// </term>
/// </item>
/// <item>
/// <term>SM_TABLETPC86</term>
/// <term>
/// Nonzero if the current operating system is the Windows XP Tablet PC edition or if the current operating system is Windows Vista or Windows 7 and the
/// Tablet PC Input service is started; otherwise, 0. The SM_DIGITIZER setting indicates the type of digitizer input supported by a device running
/// Windows 7 or Windows Server 2008 R2. For more information, see Remarks.
/// </term>
/// </item>
/// <item>
/// <term>SM_XVIRTUALSCREEN76</term>
/// <term>
/// The coordinates for the left side of the virtual screen. The virtual screen is the bounding rectangle of all display monitors. The SM_CXVIRTUALSCREEN
/// metric is the width of the virtual screen.
/// </term>
/// </item>
/// <item>
/// <term>SM_YVIRTUALSCREEN77</term>
/// <term>
/// The coordinates for the top of the virtual screen. The virtual screen is the bounding rectangle of all display monitors. The SM_CYVIRTUALSCREEN
/// metric is the height of the virtual screen.
/// </term>
/// </item>
/// </list>
/// </para>
/// </param>
/// <returns>
/// <para>Type:</para>
/// <para>If the function succeeds, the return value is the requested system metric or configuration setting.</para>
/// <para>If the function fails, the return value is 0. <c>GetLastError</c> does not provide extended error information.</para>
/// <summary>Indicates that the system cannot be shut down and sets a reason string to be displayed to the user if system shutdown is initiated.</summary>
/// The reason the application must block system shutdown. This string will be truncated for display purposes after MAX_STR_BLOCKREASON characters.
/// </param>
/// <returns>
/// If the call succeeds, the return value is nonzero. If the call fails, the return value is zero. To get extended error information, call GetLastError.
/// If the call succeeds, the return value is nonzero. If the call fails, the return value is zero. To get extended error information, call GetLastError.
/// <summary>Retrieves the reason string set by the <see cref="ShutdownBlockReasonCreate"/> function.</summary>
/// <param name="hWnd">A handle to the main window of the application.</param>
/// <param name="pwszBuff">
/// A pointer to a buffer that receives the reason string. If this parameter is NULL, the function retrieves the number of characters in the reason string.
/// </param>
/// <param name="pcchBuff">
/// A pointer to a variable that specifies the size of the pwszBuff buffer, in characters. If the function succeeds, this variable receives the number of
/// characters copied into the buffer, including the null-terminating character. If the buffer is too small, the variable receives the required buffer
/// size, in characters, not including the null-terminating character.
/// </param>
/// <returns>
/// If the call succeeds, the return value is nonzero. If the call fails, the return value is zero. To get extended error information, call GetLastError.
/// If the call succeeds, the return value is nonzero. If the call fails, the return value is zero. To get extended error information, call GetLastError.
/// <summary>Retrieves or sets the value of one of the system-wide parameters. This function can also update the user profile while setting a parameter.</summary>
/// <param name="uiAction">
/// <para>Type: <c>UINT</c></para>
/// <para>The system-wide parameter to be retrieved or set. The possible values are organized in the following tables of related parameters:</para>
/// </param>
/// <param name="uiParam">
/// <para>Type: <c>UINT</c></para>
/// <para>
/// A parameter whose usage and format depends on the system parameter being queried or set. For more information about system-wide parameters, see the
/// uiAction parameter. If not otherwise indicated, you must specify zero for this parameter.
/// </para>
/// </param>
/// <param name="pvParam">
/// <para>Type: <c>PVOID</c></para>
/// <para>
/// A parameter whose usage and format depends on the system parameter being queried or set. For more information about system-wide parameters, see the
/// uiAction parameter. If not otherwise indicated, you must specify <c>NULL</c> for this parameter. For information on the <c>PVOID</c> datatype, see
/// <c>Windows Data Types</c>.
/// </para>
/// </param>
/// <param name="fWinIni">
/// <para>Type: <c>UINT</c></para>
/// <para>
/// If a system parameter is being set, specifies whether the user profile is to be updated, and if so, whether the <c>WM_SETTINGCHANGE</c> message is to
/// be broadcast to all top-level windows to notify them of the change.
/// </para>
/// <para>
/// This parameter can be zero if you do not want to update the user profile or broadcast the <c>WM_SETTINGCHANGE</c> message, or it can be one or more
/// of the following values.
/// </para>
/// <para>
/// <list type="table">
/// <listheader>
/// <term>Value</term>
/// <term>Meaning</term>
/// </listheader>
/// <item>
/// <term>SPIF_UPDATEINIFILE</term>
/// <term>Writes the new system-wide parameter setting to the user profile.</term>
/// </item>
/// <item>
/// <term>SPIF_SENDCHANGE</term>
/// <term>Broadcasts the WM_SETTINGCHANGE message after updating the user profile.</term>
/// </item>
/// <item>
/// <term>SPIF_SENDWININICHANGE</term>
/// <term>Same as SPIF_SENDCHANGE.</term>
/// </item>
/// </list>
/// </para>
/// </param>
/// <returns>
/// <para>Type:</para>
/// <para>If the function succeeds, the return value is a nonzero value.</para>
/// <para>If the function fails, the return value is zero. To get extended error information, call <c>GetLastError</c>.</para>
/// <summary>Retrieves or sets the value of one of the system-wide parameters. This function can also update the user profile while setting a parameter.</summary>
/// <param name="uiAction">
/// <para>Type: <c>UINT</c></para>
/// <para>The system-wide parameter to be retrieved or set. The possible values are organized in the following tables of related parameters:</para>
/// </param>
/// <param name="uiParam">
/// <para>Type: <c>UINT</c></para>
/// <para>
/// A parameter whose usage and format depends on the system parameter being queried or set. For more information about system-wide parameters, see the
/// uiAction parameter. If not otherwise indicated, you must specify zero for this parameter.
/// </para>
/// </param>
/// <param name="pvParam">
/// <para>Type: <c>PVOID</c></para>
/// <para>
/// A parameter whose usage and format depends on the system parameter being queried or set. For more information about system-wide parameters, see the
/// uiAction parameter. If not otherwise indicated, you must specify <c>NULL</c> for this parameter. For information on the <c>PVOID</c> datatype, see
/// <c>Windows Data Types</c>.
/// </para>
/// </param>
/// <param name="fWinIni">
/// <para>Type: <c>UINT</c></para>
/// <para>
/// If a system parameter is being set, specifies whether the user profile is to be updated, and if so, whether the <c>WM_SETTINGCHANGE</c> message is to
/// be broadcast to all top-level windows to notify them of the change.
/// </para>
/// <para>
/// This parameter can be zero if you do not want to update the user profile or broadcast the <c>WM_SETTINGCHANGE</c> message, or it can be one or more
/// of the following values.
/// </para>
/// <para>
/// <list type="table">
/// <listheader>
/// <term>Value</term>
/// <term>Meaning</term>
/// </listheader>
/// <item>
/// <term>SPIF_UPDATEINIFILE</term>
/// <term>Writes the new system-wide parameter setting to the user profile.</term>
/// </item>
/// <item>
/// <term>SPIF_SENDCHANGE</term>
/// <term>Broadcasts the WM_SETTINGCHANGE message after updating the user profile.</term>
/// </item>
/// <item>
/// <term>SPIF_SENDWININICHANGE</term>
/// <term>Same as SPIF_SENDCHANGE.</term>
/// </item>
/// </list>
/// </para>
/// </param>
/// <returns>
/// <para>Type:</para>
/// <para>If the function succeeds, the return value is a nonzero value.</para>
/// <para>If the function fails, the return value is zero. To get extended error information, call <c>GetLastError</c>.</para>
/// <summary>Retrieves or sets the value of one of the system-wide parameters. This function can also update the user profile while setting a parameter.</summary>
/// <param name="uiAction">
/// <para>Type: <c>UINT</c></para>
/// <para>The system-wide parameter to be retrieved or set. The possible values are organized in the following tables of related parameters:</para>
/// </param>
/// <param name="uiParam">
/// <para>Type: <c>UINT</c></para>
/// <para>
/// A parameter whose usage and format depends on the system parameter being queried or set. For more information about system-wide parameters, see the
/// uiAction parameter. If not otherwise indicated, you must specify zero for this parameter.
/// </para>
/// </param>
/// <param name="pvParam">
/// <para>Type: <c>PVOID</c></para>
/// <para>
/// A parameter whose usage and format depends on the system parameter being queried or set. For more information about system-wide parameters, see the
/// uiAction parameter. If not otherwise indicated, you must specify <c>NULL</c> for this parameter. For information on the <c>PVOID</c> datatype, see
/// <c>Windows Data Types</c>.
/// </para>
/// </param>
/// <param name="fWinIni">
/// <para>Type: <c>UINT</c></para>
/// <para>
/// If a system parameter is being set, specifies whether the user profile is to be updated, and if so, whether the <c>WM_SETTINGCHANGE</c> message is to
/// be broadcast to all top-level windows to notify them of the change.
/// </para>
/// <para>
/// This parameter can be zero if you do not want to update the user profile or broadcast the <c>WM_SETTINGCHANGE</c> message, or it can be one or more
/// of the following values.
/// </para>
/// <para>
/// <list type="table">
/// <listheader>
/// <term>Value</term>
/// <term>Meaning</term>
/// </listheader>
/// <item>
/// <term>SPIF_UPDATEINIFILE</term>
/// <term>Writes the new system-wide parameter setting to the user profile.</term>
/// </item>
/// <item>
/// <term>SPIF_SENDCHANGE</term>
/// <term>Broadcasts the WM_SETTINGCHANGE message after updating the user profile.</term>
/// </item>
/// <item>
/// <term>SPIF_SENDWININICHANGE</term>
/// <term>Same as SPIF_SENDCHANGE.</term>
/// </item>
/// </list>
/// </para>
/// </param>
/// <returns>
/// <para>Type:</para>
/// <para>If the function succeeds, the return value is a nonzero value.</para>
/// <para>If the function fails, the return value is zero. To get extended error information, call <c>GetLastError</c>.</para>
/// Contains the scalable metrics associated with the nonclient area of a nonminimized window. This structure is used by the
/// <c>SPI_GETNONCLIENTMETRICS</c> and <c>SPI_SETNONCLIENTMETRICS</c> actions of the <c>SystemParametersInfo</c> function.
/// </summary>
// typedef struct tagNONCLIENTMETRICS { UINT cbSize; int iBorderWidth; int iScrollWidth; int iScrollHeight; int iCaptionWidth; int iCaptionHeight; LOGFONT lfCaptionFont; int iSmCaptionWidth; int iSmCaptionHeight; LOGFONT lfSmCaptionFont; int iMenuWidth; int iMenuHeight; LOGFONT lfMenuFont; LOGFONT lfStatusFont; LOGFONT lfMessageFont;#if (WINVER >= 0x0600) int iPaddedBorderWidth;#endif } NONCLIENTMETRICS, *PNONCLIENTMETRICS, *LPNONCLIENTMETRICS;
/// <summary>The size of the structure, in bytes. The caller must set this to sizeof(NONCLIENTMETRICS). For information about application compatibility, see Remarks.</summary>
publicuintcbSize;
/// <summary>The thickness of the sizing border, in pixels. The default is 1 pixel.</summary>
publicintiBorderWidth;
/// <summary>The width of a standard vertical scroll bar, in pixels.</summary>
publicintiScrollWidth;
/// <summary>The height of a standard horizontal scroll bar, in pixels.</summary>
publicintiScrollHeight;
/// <summary>The width of caption buttons, in pixels.</summary>
publicintiCaptionWidth;
/// <summary>The height of caption buttons, in pixels.</summary>
publicintiCaptionHeight;
/// <summary>A <c>LOGFONT</c> structure that contains information about the caption font.</summary>
publicLOGFONTlfCaptionFont;
/// <summary>The width of small caption buttons, in pixels.</summary>
publicintiSMCaptionWidth;
/// <summary>The height of small captions, in pixels.</summary>
publicintiSMCaptionHeight;
/// <summary>A <c>LOGFONT</c> structure that contains information about the small caption font.</summary>
publicLOGFONTlfSMCaptionFont;
/// <summary>The width of menu-bar buttons, in pixels.</summary>
publicintiMenuWidth;
/// <summary>The height of a menu bar, in pixels.</summary>
publicintiMenuHeight;
/// <summary>A <c>LOGFONT</c> structure that contains information about the font used in menu bars.</summary>
publicLOGFONTlfMenuFont;
/// <summary>A <c>LOGFONT</c> structure that contains information about the font used in status bars and tooltips.</summary>
publicLOGFONTlfStatusFont;
/// <summary>A <c>LOGFONT</c> structure that contains information about the font used in message boxes.</summary>
publicLOGFONTlfMessageFont;
/// <summary><para>The thickness of the padded border, in pixels. The default value is 4 pixels. The <c>iPaddedBorderWidth</c> and <c>iBorderWidth</c> members are combined for both resizable and nonresizable windows in the Windows Aero desktop experience. To compile an application that uses this member, define <c>_WIN32_WINNT</c> as 0x0600 or later. For more information, see Remarks.</para><para><c>Windows Server 2003 and Windows XP/2000: </c>This member is not supported.</para></summary>
publicintiPaddedBorderWidth;
}
/// <summary>
/// Contains the scalable metrics associated with minimized windows. This structure is used with the <c>SystemParametersInfo</c> function when the
/// SPI_GETMINIMIZEDMETRICS or SPI_SETMINIMIZEDMETRICS action value is specified.
/// </summary>
// typedef struct tagMINIMIZEDMETRICS { UINT cbSize; int iWidth; int iHorzGap; int iVertGap; int iArrange;} MINIMIZEDMETRICS, *PMINIMIZEDMETRICS, *LPMINIMIZEDMETRICS;
/// <summary>The size of the structure, in bytes. The caller must set this to .</summary>
publicuintcbSize;
/// <summary>The width of minimized windows, in pixels.</summary>
publicintiWidth;
/// <summary>The horizontal space between arranged minimized windows, in pixels.</summary>
publicintiHorzGap;
/// <summary>The vertical space between arranged minimized windows, in pixels.</summary>
publicintiVertGap;
/// <summary><para>The starting position and direction used when arranging minimized windows. The starting position must be one of the following values.</para><para><list type="table"><listheader><term>Value</term><term>Meaning</term></listheader><item><term>ARW_BOTTOMLEFT0x0000L</term><term>Start at the lower-left corner of the work area.</term></item><item><term>ARW_BOTTOMRIGHT0x0001L</term><term>Start at the lower-right corner of the work area.</term></item><item><term>ARW_TOPLEFT0x0002L</term><term>Start at the upper-left corner of the work area.</term></item><item><term>ARW_TOPRIGHT0x0003L</term><term>Start at the upper-right corner of the work area.</term></item></list></para><para>The direction must be one of the following values.</para><para><list type="table"><listheader><term>Value</term><term>Meaning</term></listheader><item><term>ARW_LEFT0x0000L</term><term>Arrange left (valid with ARW_BOTTOMRIGHT and ARW_TOPRIGHT only).</term></item><item><term>ARW_RIGHT0x0000L</term><term>Arrange right (valid with ARW_BOTTOMLEFT and ARW_TOPLEFT only).</term></item><item><term>ARW_UP0x0004L</term><term>Arrange up (valid with ARW_BOTTOMLEFT and ARW_BOTTOMRIGHT only).</term></item><item><term>ARW_DOWN0x0004L</term><term>Arrange down (valid with ARW_TOPLEFT and ARW_TOPRIGHT only).</term></item><item><term>ARW_HIDE0x0008L</term><term>Hide minimized windows by moving them off the visible area of the screen.</term></item></list></para></summary>