| File: _generated\526\Windows.Win32.TASKDIALOG_BUTTON.g.cs | Web Access |
| Project: src\winforms\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,SYSLIB1092,CS3021,CS3019 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>The TASKDIALOG_BUTTON structure contains information used to display a button in a task dialog. The TASKDIALOGCONFIG structure uses this structure.</summary> /// <remarks> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-taskdialog_button">Learn more about this API from learn.microsoft.com</see>.</para> /// </remarks> [StructLayout(LayoutKind.Sequential, Pack = 1)] [global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.287+85e3fa26dd.RR")] internal partial struct TASKDIALOG_BUTTON { /// <summary> /// <para>Type: <b>int</b> Indicates the value to be returned when this button is selected.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-taskdialog_button#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal int nButtonID; /// <summary> /// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">PCWSTR</a></b> Pointer that references the string to be used to label the button. This parameter can be either a null-terminated string or an integer resource identifier passed to the <a href="https://docs.microsoft.com/windows/desktop/api/winuser/nf-winuser-makeintresourcea">MAKEINTRESOURCE</a> macro. When using Command Links, you delineate the command from the note by placing a new line character in the string.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-taskdialog_button#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal winmdroot.Foundation.PCWSTR pszButtonText; } } }