Skip to content

fix link to SystemParametersInfo #3798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions xml/System.Windows.Forms/SystemInformation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
## Remarks
The <xref:System.Windows.Forms.SystemInformation> class provides `static` properties that can be used to get information about the current system environment. The class provides access to information such as Windows display element sizes, operating system settings, network availability, and the capabilities of hardware installed on the system. This class cannot be instantiated.

For more information about system-wide parameters, see "SystemParametersInfo" in the Platform SDK documentation at [https://msdn.microsoft.com](https://msdn.microsoft.com).
For more information about system-wide parameters, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).



Expand Down Expand Up @@ -3236,7 +3236,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
The mouse speed determines how far the pointer will move based on the distance the mouse moves. The value of this property 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 the `SystemParametersInfo` function of the Platform SDK.
The mouse speed determines how far the pointer will move based on the distance the mouse moves. The value of this property 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 the [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa) function of the Platform SDK.


## Examples
Expand Down Expand Up @@ -3361,7 +3361,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
The <xref:System.Windows.Forms.SystemInformation.MouseWheelScrollLines%2A> property indicates how many lines to scroll, by default, in a multi-line control that has a scroll bar. The corresponding Platform SDK system-wide parameters are SPI_GETWHEELSCROLLLINES and SPI_SETWHEELSCROLLLINES. For more information about system-wide parameters, see "SystemParametersInfo" in the Platform SDK documentation at [https://msdn.microsoft.com](https://msdn.microsoft.com/).
The <xref:System.Windows.Forms.SystemInformation.MouseWheelScrollLines%2A> property indicates how many lines to scroll, by default, in a multi-line control that has a scroll bar. The corresponding Platform SDK system-wide parameters are SPI_GETWHEELSCROLLLINES and SPI_SETWHEELSCROLLLINES. For more information about system-wide parameters, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

> [!NOTE]
> Be sure to handle the special case that occurs if the "One screen at a time" mouse option is selected. In this case, the <xref:System.Windows.Forms.SystemInformation.MouseWheelScrollLines%2A> property has a value of -1.
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Windows.Forms/SystemParameter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
## Remarks
The <xref:System.Windows.Forms.SystemParameter> enumeration is primarily used by the <xref:System.Windows.Forms.OSFeature.IsPresent%2A> method. <xref:System.Windows.Forms.OSFeature.IsPresent%2A> retrieves whether a <xref:System.Windows.Forms.SystemParameter> is supported on the current version of the operating system.

For more information about system-wide parameters, see "SystemParametersInfo" in the Platform SDK documentation at [https://msdn.microsoft.com](https://msdn.microsoft.com).
For more information about system-wide parameters, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

]]></format>
</remarks>
Expand Down
90 changes: 60 additions & 30 deletions xml/System.Windows/SystemFonts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_CaptionFontFamily"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -107,7 +108,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_CaptionFontSize"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -172,7 +174,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_CaptionFontStyle"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -237,7 +240,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_CaptionFontTextDecorations"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -302,7 +306,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_CaptionFontWeight"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -367,7 +372,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the font information from SPI_GETICONTITLELOGFONT. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the font information from SPI_GETICONTITLELOGFONT. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_IconFontFamily"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -432,7 +438,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the font information from SPI_GETICONTITLELOGFONT. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the font information from SPI_GETICONTITLELOGFONT. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_IconFontSize"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -497,7 +504,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the font information from SPI_GETICONTITLELOGFONT. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the font information from SPI_GETICONTITLELOGFONT. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_IconFontStyle"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -562,7 +570,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the font information from SPI_GETICONTITLELOGFONT. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the font information from SPI_GETICONTITLELOGFONT. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_IconFontTextDecorations"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -627,7 +636,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the font information from SPI_GETICONTITLELOGFONT. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the font information from SPI_GETICONTITLELOGFONT. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_IconFontWeight"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -692,7 +702,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_MenuFontFamily"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -757,7 +768,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_MenuFontSize"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -822,7 +834,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_MenuFontStyle"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -887,7 +900,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_MenuFontTextDecorations"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -952,7 +966,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_MenuFontWeight"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1017,7 +1032,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_MessageFontFamily"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1082,7 +1098,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_MessageFontSize"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1147,7 +1164,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_MessageFontStyle"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1212,7 +1230,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_MessageFontTextDecorations"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1277,7 +1296,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_MessageFontWeight"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1342,7 +1362,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_SmallCaptionFontFamily"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1407,7 +1428,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_SmallCaptionFontSize"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1472,7 +1494,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_SmallCaptionFontStyle"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1537,7 +1560,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_SmallCaptionFontTextDecorations"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1602,7 +1626,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_SmallCaptionFontWeight"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1667,7 +1692,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_StatusFontFamily"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1732,7 +1758,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_StatusFontSize"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1797,7 +1824,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_StatusFontStyle"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1862,7 +1890,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_StatusFontTextDecorations"></a>
## XAML Attribute Usage
Expand Down Expand Up @@ -1927,7 +1956,8 @@
<format type="text/markdown"><![CDATA[

## Remarks
Obtain the metric from SPI_GETNONCLIENTMETRICS. See [SystemParametersInfo](https://msdn.microsoft.com/library/default.asp?url=/library/sysinfo/base/systemparametersinfo.asp).

Obtain the metric from SPI_GETNONCLIENTMETRICS. For more information, see [SystemParametersInfo](/windows/win32/api/winuser/nf-winuser-systemparametersinfoa).

<a name="xamlAttributeUsage_StatusFontWeight"></a>
## XAML Attribute Usage
Expand Down