File: Windows.Win32.SCROLLINFO.g.cs
Project: src\src\System.Windows.Forms.Primitives\src\System.Windows.Forms.Primitives.csproj (System.Windows.Forms.Primitives)
// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------

#pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981
using global::System;
using global::System.Diagnostics;
using global::System.Diagnostics.CodeAnalysis;
using global::System.Runtime.CompilerServices;
using global::System.Runtime.InteropServices;
using global::System.Runtime.Versioning;
using winmdroot = global::Windows.Win32;
namespace Windows.Win32
{
	namespace UI.WindowsAndMessaging
	{
		/// <summary>The SCROLLINFO structure contains scroll bar parameters to be set by the SetScrollInfo function (or SBM_SETSCROLLINFO message), or retrieved by the GetScrollInfo function (or SBM_GETSCROLLINFO message).</summary>
		/// <remarks>
		/// <para><see href="https://learn.microsoft.com/windows/win32/api/winuser/ns-winuser-scrollinfo">Learn more about this API from docs.microsoft.com</see>.</para>
		/// </remarks>
		[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
		internal partial struct SCROLLINFO
		{
			/// <summary>
			/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">UINT</a></b> Specifies the size, in bytes, of this structure. The caller must set this to sizeof(<b>SCROLLINFO</b>).</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/winuser/ns-winuser-scrollinfo#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			internal uint cbSize;

			/// <summary>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">UINT</a></b></summary>
			internal winmdroot.UI.WindowsAndMessaging.SCROLLINFO_MASK fMask;

			/// <summary>
			/// <para>Type: <b>int</b> Specifies the minimum scrolling position.</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/winuser/ns-winuser-scrollinfo#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			internal int nMin;

			/// <summary>
			/// <para>Type: <b>int</b> Specifies the maximum scrolling position.</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/winuser/ns-winuser-scrollinfo#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			internal int nMax;

			/// <summary>
			/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">UINT</a></b> Specifies the page size, in device units. A scroll bar uses this value to determine the appropriate size of the proportional scroll box.</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/winuser/ns-winuser-scrollinfo#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			internal uint nPage;

			/// <summary>
			/// <para>Type: <b>int</b> Specifies the position of the scroll box.</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/winuser/ns-winuser-scrollinfo#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			internal int nPos;

			/// <summary>
			/// <para>Type: <b>int</b> Specifies the immediate position of a scroll box that the user is dragging. An application can retrieve this value while processing the SB_THUMBTRACK request code. An application cannot set the immediate scroll position; the <a href="https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-setscrollinfo">SetScrollInfo</a> function ignores this member.</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/winuser/ns-winuser-scrollinfo#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			internal int nTrackPos;
		}
	}
}