|
// ------------------------------------------------------------------------------
// <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 header control notification messages. This structure supersedes the HD_NOTIFY structure. (Unicode)</summary>
/// <remarks>
/// <para>While most header control notifications pass a pointer to an <b>NMHEADER</b> structure, only some of them use the <b>pitem</b> member to pass an <a href="https://docs.microsoft.com/windows/win32/api/commctrl/ns-commctrl-hditema">HDITEM</a> structure. Those that do use <b>pitem</b> may not provide complete information about the item. To obtain more information about an item, use <a href="https://docs.microsoft.com/windows/desktop/Controls/hdm-getitem">HDM_GETITEM</a>.</para>
/// <para>> [!NOTE] > The commctrl.h header defines NMHEADER as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see [Conventions for Function Prototypes](/windows/win32/intl/conventions-for-function-prototypes).</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-nmheaderw#">Read more on docs.microsoft.com</see>.</para>
/// </remarks>
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
internal partial struct NMHEADERW
{
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/richedit/ns-richedit-nmhdr">NMHDR</a></b> A <a href="https://docs.microsoft.com/windows/desktop/api/richedit/ns-richedit-nmhdr">NMHDR</a> structure that contains information about the notification message.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-nmheaderw#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.UI.Controls.NMHDR hdr;
/// <summary>
/// <para>Type: <b>int</b> The zero-based index of the header item that is the focus of the notification message.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-nmheaderw#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal int iItem;
/// <summary>Type: <b>int</b></summary>
internal winmdroot.UI.Controls.HEADER_CONTROL_NOTIFICATION_BUTTON iButton;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/win32/api/commctrl/ns-commctrl-hditema">HDITEM</a>*</b> An optional pointer to an <a href="https://docs.microsoft.com/windows/win32/api/commctrl/ns-commctrl-hditema">HDITEM</a> structure containing information about the item specified by <b>iItem</b>. The <b>mask</b> member of the <b>HDITEM</b> structure indicates which of its members are valid.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-nmheaderw#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal unsafe winmdroot.UI.Controls.HDITEMW* pitem;
}
}
}
|