|
// ------------------------------------------------------------------------------
// <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 used to add a new item to a tree-view control. This structure is used with the TVM_INSERTITEM message. The structure is identical to the TV_INSERTSTRUCT structure, but it has been renamed to follow current naming conventions. (Unicode)</summary>
/// <remarks>
/// <para>The unions in this structure have been updated to work with compilers that do not support nameless unions. If your compiler does not support nameless unions, define the NONAMELESSUNION token before including the commctrl.h header file. <div class="alert"><b>Important</b> Using TVI_LAST to insert an item into a tree-view node that already contains a large number of items can take a long time, causing the application to stop responding until the insert operation completes.</div> <div> </div></para>
/// <para>> [!NOTE] > The commctrl.h header defines TVINSERTSTRUCT 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-tvinsertstructw#">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 TVINSERTSTRUCTW
{
/// <summary>
/// <para>Type: <b>HTREEITEM</b> Handle to the parent item. If this member is the TVI_ROOT value or <b>NULL</b>, the item is inserted at the root of the tree-view control.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-tvinsertstructw#members">Read more on docs.microsoft.com</see>.</para>
/// </summary>
internal winmdroot.UI.Controls.HTREEITEM hParent;
/// <summary>Type: <b>HTREEITEM</b></summary>
internal winmdroot.UI.Controls.HTREEITEM hInsertAfter;
internal _Anonymous_e__Union Anonymous;
[StructLayout(LayoutKind.Explicit)]
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
internal partial struct _Anonymous_e__Union
{
[FieldOffset(0)]
internal winmdroot.UI.Controls.TVITEMEXW itemex;
[FieldOffset(0)]
internal winmdroot.UI.Controls.TVITEMW item;
}
}
}
}
|