|
// ------------------------------------------------------------------------------
// <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 specific to an NM_CUSTOMDRAW notification code.</summary>
/// <remarks>The value your application returns depends on the current drawing stage. The <b>dwDrawStage</b> member of the associated <b>NMCUSTOMDRAW</b> structure holds a value that specifies the drawing stage. When the <b>dwDrawStage</b> member equals CDDS_PREPAINT and CDDS_PREERASE, some controls send the CDDS_PREERASE message first and expect the return value to indicate which subsequent messages will be sent. For a code sample that illustrates states and drawing stages, see <a href="https://docs.microsoft.com/windows/desktop/Controls/custom-draw">Customizing a Control's Appearance Using Custom Draw</a>.</remarks>
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
internal partial struct NMCUSTOMDRAW
{
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/richedit/ns-richedit-nmhdr">NMHDR</a></b> An <a href="https://docs.microsoft.com/windows/desktop/api/richedit/ns-richedit-nmhdr">NMHDR</a> structure that contains information about this notification code.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-nmcustomdraw#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.UI.Controls.NMHDR hdr;
/// <summary>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">DWORD</a></b></summary>
internal winmdroot.UI.Controls.NMCUSTOMDRAW_DRAW_STAGE dwDrawStage;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">HDC</a></b> A handle to the control's device context. Use this HDC to perform any GDI functions.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-nmcustomdraw#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.Graphics.Gdi.HDC hdc;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/windef/ns-windef-rect">RECT</a></b> The <a href="https://docs.microsoft.com/windows/desktop/api/windef/ns-windef-rect">RECT</a> structure that describes the bounding rectangle of the area being drawn. This member is initialized only by the CDDS_ITEMPREPAINT notification. <a href="https://docs.microsoft.com/windows/desktop/Controls/common-control-versions">Version 5.80.</a> This member is also initialized by the CDDS_PREPAINT notification.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-nmcustomdraw#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.Foundation.RECT rc;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">DWORD_PTR</a></b> The item number. What is contained in this member will depend on the type of control that is sending the notification. See the <a href="https://docs.microsoft.com/windows/desktop/Controls/nm-customdraw">NM_CUSTOMDRAW</a> notification reference for the specific control to determine what, if anything, is contained in this member.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-nmcustomdraw#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal nuint dwItemSpec;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">UINT</a></b> The current item state. This value is a combination of the following flags. </para>
/// <para>This doc was truncated.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-nmcustomdraw#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.UI.Controls.NMCUSTOMDRAW_DRAW_STATE_FLAGS uItemState;
/// <summary>
/// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">LPARAM</a></b> Application-defined item data.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-nmcustomdraw#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.Foundation.LPARAM lItemlParam;
}
}
}
|