File: Windows.Win32.METAHEADER.g.cs
Project: src\src\System.Private.Windows.GdiPlus\System.Private.Windows.GdiPlus.csproj (System.Private.Windows.GdiPlus)
// ------------------------------------------------------------------------------
// <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 Graphics.Gdi
	{
		/// <summary>The METAHEADER structure contains information about a Windows-format metafile.</summary>
		/// <remarks>
		/// <para><see href="https://learn.microsoft.com/windows/win32/api/wingdi/ns-wingdi-metaheader">Learn more about this API from docs.microsoft.com</see>.</para>
		/// </remarks>
		[StructLayout(LayoutKind.Sequential, Pack = 2)]
		[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
		internal partial struct METAHEADER
		{
			/// <summary></summary>
			internal ushort mtType;

			/// <summary>The size, in words, of the metafile header.</summary>
			internal ushort mtHeaderSize;

			/// <summary>The system version number. The version number for metafiles that support device-independent bitmaps (DIBs) is 0x0300. Otherwise, the version number is 0x0100.</summary>
			internal ushort mtVersion;

			/// <summary>The size, in words, of the file.</summary>
			internal uint mtSize;

			/// <summary>The maximum number of objects that exist in the metafile at the same time.</summary>
			internal ushort mtNoObjects;

			/// <summary>The size, in words, of the largest record in the metafile.</summary>
			internal uint mtMaxRecord;

			/// <summary>Reserved.</summary>
			internal ushort mtNoParameters;
		}
	}
}