| File: _generated\0\Windows.Win32.BITMAP.g.cs | Web Access |
| Project: src\winforms\src\System.Drawing.Common\src\System.Drawing.Common.csproj (System.Drawing.Common) |
// ------------------------------------------------------------------------------ // <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 Graphics.Gdi { /// <summary>The BITMAP structure defines the type, width, height, color format, and bit values of a bitmap.</summary> /// <remarks> /// <para>The bitmap formats currently used are monochrome and color. The monochrome bitmap uses a one-bit, one-plane format. Each scan is a multiple of 16 bits. Scans are organized as follows for a monochrome bitmap of height <i>n</i>:</para> /// <para></para> /// <para>This doc was truncated.</para> /// <para><see href="https://learn.microsoft.com/windows/win32/api/wingdi/ns-wingdi-bitmap#">Read more on learn.microsoft.com</see>.</para> /// </remarks> [global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.287+85e3fa26dd.RR")] internal partial struct BITMAP { /// <summary>The bitmap type. This member must be zero.</summary> internal int bmType; /// <summary>The width, in pixels, of the bitmap. The width must be greater than zero.</summary> internal int bmWidth; /// <summary>The height, in pixels, of the bitmap. The height must be greater than zero.</summary> internal int bmHeight; /// <summary>The number of bytes in each scan line. This value must be divisible by 2, because the system assumes that the bit values of a bitmap form an array that is word aligned.</summary> internal int bmWidthBytes; /// <summary>The count of color planes.</summary> internal ushort bmPlanes; /// <summary>The number of bits required to indicate the color of a pixel.</summary> internal ushort bmBitsPixel; /// <summary>A pointer to the location of the bit values for the bitmap. The <b>bmBits</b> member must be a pointer to an array of character (1-byte) values.</summary> internal unsafe void* bmBits; } } }