| File: _generated\318\Windows.Win32.MCGRIDINFO.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>Contains information about part of a calendar control.</summary> /// <remarks> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-mcgridinfo">Learn more about this API from learn.microsoft.com</see>.</para> /// </remarks> [global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.287+85e3fa26dd.RR")] internal partial struct MCGRIDINFO { /// <summary> /// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">UINT</a></b> Size of this structure, in bytes.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-mcgridinfo#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal uint cbSize; /// <summary>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">DWORD</a></b></summary> internal winmdroot.UI.Controls.MCGRIDINFO_PART dwPart; /// <summary>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">DWORD</a></b></summary> internal winmdroot.UI.Controls.MCGRIDINFO_FLAGS dwFlags; /// <summary> /// <para>Type: <b>int</b> If <b>dwPart</b> is MCGIP_CALENDAR, MCGIP_CALENDARHEADER, MCGIP_CALENDARBODY, MCGIP_CALENDARROW, or MCGIP_CALENDARCELL, this member specifies the index of the calendar for which to retrieve information. For those parts, this must be a valid value even if there is only one calendar that is currently in the control.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-mcgridinfo#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal int iCalendar; /// <summary> /// <para>Type: <b>int</b> If <b>dwPart</b> is MCGIP_CALENDARROW, specifies the row for which to return information.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-mcgridinfo#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal int iRow; /// <summary> /// <para>Type: <b>int</b> If <b>dwPart</b> is MCGIP_CALENDARCELL, specifies the column of the cell for which to return information. The <b>iRow</b> member provides the row of the cell for which to return information.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-mcgridinfo#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal int iCol; /// <summary> /// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/WinProg/windows-data-types">BOOL</a></b> If <b>dwPart</b> is MCGIP_CALENDARCELL, indicates if the cell described by <b>iRow</b> and <b>iCol</b> is currently selected.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-mcgridinfo#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal winmdroot.Foundation.BOOL bSelected; /// <summary> /// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/minwinbase/ns-minwinbase-systemtime">SYSTEMTIME</a></b> Returns the start date specified by iCalendar. Used only when <b>dwFlags</b> contains MCGIF_DATE.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-mcgridinfo#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal winmdroot.Foundation.SYSTEMTIME stStart; /// <summary> /// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/minwinbase/ns-minwinbase-systemtime">SYSTEMTIME</a></b> Returns the end date specified by iCalendar. Used only when <b>dwFlags</b> contains MCGIF_DATE.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-mcgridinfo#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal winmdroot.Foundation.SYSTEMTIME stEnd; /// <summary> /// <para>Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/windef/ns-windef-rect">RECT</a></b> Returns the rectangle of the part specified in <b>dwPart</b>. Set only if <b>dwFlags</b> contains MCGIF_RECT.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-mcgridinfo#members">Read more on learn.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">PWSTR</a></b> Pointer to a string for which <b>cchName</b> is the length. Set only if <b>dwFlags</b> contains MCGIF_NAME, and only for the following parts, as described in the <b>dwPart</b> member.</para> /// <para></para> /// <para>This doc was truncated.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-mcgridinfo#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal winmdroot.Foundation.PWSTR pszName; /// <summary> /// <para>Type: <b>size_t</b> Length of <b>pszName</b>, in characters.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/commctrl/ns-commctrl-mcgridinfo#members">Read more on learn.microsoft.com</see>.</para> /// </summary> internal nuint cchName; } } }