You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 26, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: src/User32/User32.cs
+13-13
Original file line number
Diff line number
Diff line change
@@ -1677,7 +1677,7 @@ public static extern unsafe int LookupIconIdFromDirectoryEx(
1677
1677
/// </param>
1678
1678
/// <param name="lpDisplayDevice">
1679
1679
/// A pointer to a <see cref="DISPLAY_DEVICE"/> structure that receives information about the display device specified by <paramref name="iDevNum"/>.
1680
-
/// Before calling <see cref="EnumDisplayDevices(string, uint, DISPLAY_DEVICE*, EnumDisplayDevicesFlags)"/>, you must initialize the member <see cref="DISPLAY_DEVICE.cb"/> to the size, in bytes, of <see cref="DISPLAY_DEVICE"/>.
1680
+
/// Before calling <see cref="EnumDisplayDevices(char*, uint, DISPLAY_DEVICE*, EnumDisplayDevicesFlags)"/>, you must initialize the member <see cref="DISPLAY_DEVICE.cb"/> to the size, in bytes, of <see cref="DISPLAY_DEVICE"/>.
1681
1681
/// </param>
1682
1682
/// <param name="dwFlags">
1683
1683
/// Set this flag to <see cref="EnumDisplayDevicesFlags.EDD_GET_DEVICE_INTERFACE_NAME"/> to retrieve the device interface name for <c>GUID_DEVINTERFACE_MONITOR</c>, which is registered by the operating system on a per monitor basis.
@@ -1695,7 +1695,7 @@ public static extern unsafe int LookupIconIdFromDirectoryEx(
@@ -1705,21 +1705,21 @@ public static extern unsafe bool EnumDisplayDevices(
1705
1705
/// </summary>
1706
1706
/// <param name="lpszDeviceName">
1707
1707
/// A pointer to a null-terminated string that specifies the display device about whose graphics mode the function will obtain information.
1708
-
/// This parameter is either <c>NULL</c> or a <see cref="DISPLAY_DEVICE.DeviceName"/> returned from <see cref="EnumDisplayDevices(string, uint, DISPLAY_DEVICE*, EnumDisplayDevicesFlags)"/>.
1708
+
/// This parameter is either <c>NULL</c> or a <see cref="DISPLAY_DEVICE.DeviceName"/> returned from <see cref="EnumDisplayDevices(char*, uint, DISPLAY_DEVICE*, EnumDisplayDevicesFlags)"/>.
1709
1709
/// A <c>NULL</c> value specifies the current display device on the computer on which the calling thread is running.
1710
1710
/// </param>
1711
1711
/// <param name="iModeNum">
1712
1712
/// <para>The type of information to be retrieved. This value can be a graphics mode index or one of the following values.</para>
1713
1713
/// <para><see cref="ENUM_CURRENT_SETTINGS"/>: Retrieve the current settings for the display device.</para>
1714
1714
/// <para><see cref="ENUM_REGISTRY_SETTINGS"/>: Retrieve the settings for the display device that are currently stored in the registry.</para>
1715
1715
/// <para>
1716
-
/// Graphics mode indexes start at zero. To obtain information for all of a display device's graphics modes, make a series of calls to <see cref="EnumDisplaySettings(string, uint, DEVMODE*)"/>, as follows: Set <paramref name="iModeNum"/> to zero for the first call,
1716
+
/// Graphics mode indexes start at zero. To obtain information for all of a display device's graphics modes, make a series of calls to <see cref="EnumDisplaySettings(char*, uint, DEVMODE*)"/>, as follows: Set <paramref name="iModeNum"/> to zero for the first call,
1717
1717
/// and increment <paramref name="iModeNum"/> by one for each subsequent call.
1718
1718
/// </para>
1719
1719
/// <para>
1720
1720
/// Continue calling the function until the return value is zero.<br/>
1721
-
/// When you call <see cref="EnumDisplaySettings(string, uint, DEVMODE*)"/> with <paramref name="iModeNum"/> set to zero, the operating system initializes and caches information about the display device.<br/>
1722
-
/// When you call <see cref="EnumDisplaySettings(string, uint, DEVMODE*)"/> with <paramref name="iModeNum"/> set to a nonzero value,
1721
+
/// When you call <see cref="EnumDisplaySettings(char*, uint, DEVMODE*)"/> with <paramref name="iModeNum"/> set to zero, the operating system initializes and caches information about the display device.<br/>
1722
+
/// When you call <see cref="EnumDisplaySettings(char*, uint, DEVMODE*)"/> with <paramref name="iModeNum"/> set to a nonzero value,
1723
1723
/// the function returns the information that was cached the last time the function was called with iModeNum set to zero.
1724
1724
/// </para>
1725
1725
/// </param>
@@ -1734,7 +1734,7 @@ public static extern unsafe bool EnumDisplayDevices(
@@ -1743,21 +1743,21 @@ public static extern unsafe bool EnumDisplaySettings(
1743
1743
/// </summary>
1744
1744
/// <param name="lpszDeviceName">
1745
1745
/// A pointer to a null-terminated string that specifies the display device about whose graphics mode the function will obtain information.
1746
-
/// This parameter is either <c>NULL</c> or a <see cref="DISPLAY_DEVICE.DeviceName"/> returned from <see cref="EnumDisplayDevices(string, uint, DISPLAY_DEVICE*, EnumDisplayDevicesFlags)"/>.
1746
+
/// This parameter is either <c>NULL</c> or a <see cref="DISPLAY_DEVICE.DeviceName"/> returned from <see cref="EnumDisplayDevices(char*, uint, DISPLAY_DEVICE*, EnumDisplayDevicesFlags)"/>.
1747
1747
/// A <c>NULL</c> value specifies the current display device on the computer on which the calling thread is running.
1748
1748
/// </param>
1749
1749
/// <param name="iModeNum">
1750
1750
/// <para>The type of information to be retrieved. This value can be a graphics mode index or one of the following values.</para>
1751
1751
/// <para><see cref="ENUM_CURRENT_SETTINGS"/>: Retrieve the current settings for the display device.</para>
1752
1752
/// <para><see cref="ENUM_REGISTRY_SETTINGS"/>: Retrieve the settings for the display device that are currently stored in the registry.</para>
1753
1753
/// <para>
1754
-
/// Graphics mode indexes start at zero. To obtain information for all of a display device's graphics modes, make a series of calls to <see cref="EnumDisplaySettingsEx(string, uint, DEVMODE*, EnumDisplaySettingsExFlags)"/>, as follows: Set <paramref name="iModeNum"/> to zero for the first call,
1754
+
/// Graphics mode indexes start at zero. To obtain information for all of a display device's graphics modes, make a series of calls to <see cref="EnumDisplaySettingsEx(char*, uint, DEVMODE*, EnumDisplaySettingsExFlags)"/>, as follows: Set <paramref name="iModeNum"/> to zero for the first call,
1755
1755
/// and increment <paramref name="iModeNum"/> by one for each subsequent call.
1756
1756
/// </para>
1757
1757
/// <para>
1758
1758
/// Continue calling the function until the return value is zero.<br/>
1759
-
/// When you call <see cref="EnumDisplaySettingsEx(string, uint, DEVMODE*, EnumDisplaySettingsExFlags)"/> with <paramref name="iModeNum"/> set to zero, the operating system initializes and caches information about the display device.<br/>
1760
-
/// When you call <see cref="EnumDisplaySettingsEx(string, uint, DEVMODE*, EnumDisplaySettingsExFlags)"/> with <paramref name="iModeNum"/> set to a nonzero value,
1759
+
/// When you call <see cref="EnumDisplaySettingsEx(char*, uint, DEVMODE*, EnumDisplaySettingsExFlags)"/> with <paramref name="iModeNum"/> set to zero, the operating system initializes and caches information about the display device.<br/>
1760
+
/// When you call <see cref="EnumDisplaySettingsEx(char*, uint, DEVMODE*, EnumDisplaySettingsExFlags)"/> with <paramref name="iModeNum"/> set to a nonzero value,
1761
1761
/// the function returns the information that was cached the last time the function was called with iModeNum set to zero.
1762
1762
/// </para>
1763
1763
/// </param>
@@ -1772,10 +1772,10 @@ public static extern unsafe bool EnumDisplaySettings(
1772
1772
/// As noted in the description of the <paramref name="iModeNum"/> parameter, you can use this behavior to enumerate all of a display device's graphics modes.
1773
1773
/// </remarks>
1774
1774
/// <returns>If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.</returns>
0 commit comments