File: Windows.Win32.LVHITTESTINFO.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.Controls
	{
		/// <summary>Contains information about a hit test.</summary>
		/// <remarks>
		/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-lvhittestinfo">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 LVHITTESTINFO
		{
			/// <summary>
			/// <para>Type: <b><a href="https://docs.microsoft.com/windows/win32/api/windef/ns-windef-point">POINT</a></b> The position to hit test, in client coordinates.</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-lvhittestinfo#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			internal global::System.Drawing.Point pt;

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

			/// <summary>
			/// <para>Type: <b>int</b> Receives the index of the matching item. Or if hit-testing a subitem, this value represents the subitem's parent item.</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-lvhittestinfo#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			internal int iItem;

			/// <summary>
			/// <para>Type: <b>int</b></para>
			/// <para><a href="https://docs.microsoft.com/windows/desktop/Controls/common-control-versions">Version 4.70</a>. Receives the index of the matching subitem. When hit-testing an item, this member will be zero.</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-lvhittestinfo#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			internal int iSubItem;

			/// <summary>
			/// <para>Type: <b>int</b></para>
			/// <para><a href="https://docs.microsoft.com/windows/desktop/Controls/common-control-versions">Windows Vista</a>. Group index of the item hit (read only). Valid only for owner data. If the point is within an item that is displayed in multiple groups then <b>iGroup</b> will specify the group index of the item.</para>
			/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-lvhittestinfo#members">Read more on docs.microsoft.com</see>.</para>
			/// </summary>
			internal int iGroup;
		}
	}
}