File: _generated\12\Windows.Win32.HTTP_DATA_CHUNK.g.cs
Web Access
Project: src\aspnetcore\src\Servers\IIS\IIS\src\Microsoft.AspNetCore.Server.IIS.csproj (Microsoft.AspNetCore.Server.IIS)
// ------------------------------------------------------------------------------
// <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,CS3016
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 Networking.HttpServer
	{
		/// <summary>Represents an individual block of data either in memory, in a file, or in the HTTP Server API response-fragment cache.</summary>
		/// <remarks>
		/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_data_chunk">Learn more about this API from learn.microsoft.com</see>.</para>
		/// </remarks>
		[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.296+7db75b4971.RR")]
		internal partial struct HTTP_DATA_CHUNK
		{
			/// <summary>Type of data store. This member can be one of the values from the <b>HTTP_DATA_CHUNK_TYPE</b> enumeration.</summary>
			internal winmdroot.Networking.HttpServer.HTTP_DATA_CHUNK_TYPE DataChunkType;

			internal _Anonymous_e__Union Anonymous;

			/// <inheritdoc cref="_Anonymous_e__Union.FromMemory"/>
			[UnscopedRef]
			internal ref _Anonymous_e__Union._FromMemory_e__Struct FromMemory => ref this.Anonymous.FromMemory;

			/// <inheritdoc cref="_Anonymous_e__Union.FromFileHandle"/>
			[UnscopedRef]
			internal ref _Anonymous_e__Union._FromFileHandle_e__Struct FromFileHandle => ref this.Anonymous.FromFileHandle;

			/// <inheritdoc cref="_Anonymous_e__Union.FromFragmentCache"/>
			[UnscopedRef]
			internal ref _Anonymous_e__Union._FromFragmentCache_e__Struct FromFragmentCache => ref this.Anonymous.FromFragmentCache;

			/// <inheritdoc cref="_Anonymous_e__Union.FromFragmentCacheEx"/>
			[UnscopedRef]
			internal ref _Anonymous_e__Union._FromFragmentCacheEx_e__Struct FromFragmentCacheEx => ref this.Anonymous.FromFragmentCacheEx;

			/// <inheritdoc cref="_Anonymous_e__Union.Trailers"/>
			[UnscopedRef]
			internal ref _Anonymous_e__Union._Trailers_e__Struct Trailers => ref this.Anonymous.Trailers;

			/// <inheritdoc cref="_Anonymous_e__Union.FromWinHttpFastForwarding"/>
			[UnscopedRef]
			internal ref _Anonymous_e__Union._FromWinHttpFastForwarding_e__Struct FromWinHttpFastForwarding => ref this.Anonymous.FromWinHttpFastForwarding;

			[StructLayout(LayoutKind.Explicit)]
			[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.296+7db75b4971.RR")]
			internal partial struct _Anonymous_e__Union
			{
				/// <summary></summary>
				[FieldOffset(0)]
				internal _FromMemory_e__Struct FromMemory;

				/// <summary></summary>
				[FieldOffset(0)]
				internal _FromFileHandle_e__Struct FromFileHandle;

				/// <summary></summary>
				[FieldOffset(0)]
				internal _FromFragmentCache_e__Struct FromFragmentCache;

				/// <summary></summary>
				[FieldOffset(0)]
				internal _FromFragmentCacheEx_e__Struct FromFragmentCacheEx;

				/// <summary></summary>
				[FieldOffset(0)]
				internal _Trailers_e__Struct Trailers;

				[FieldOffset(0)]
				internal _FromWinHttpFastForwarding_e__Struct FromWinHttpFastForwarding;

				[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.296+7db75b4971.RR")]
				internal partial struct _FromMemory_e__Struct
				{
					/// <summary>Pointer to the starting memory address of the data block.</summary>
					internal unsafe void* pBuffer;

					/// <summary>Length, in bytes, of the data block.</summary>
					internal uint BufferLength;
				}

				[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.296+7db75b4971.RR")]
				internal partial struct _FromFileHandle_e__Struct
				{
					/// <summary>
					/// <para>An <a href="https://docs.microsoft.com/windows/desktop/api/http/ns-http-http_byte_range">HTTP_BYTE_RANGE</a> structure that specifies all or part of the file. To specify the entire file, set the <b>StartingOffset</b> member to zero and the <b>Length</b> member to <b>HTTP_BYTE_RANGE_TO_EOF</b>.</para>
					/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_data_chunk#members">Read more on learn.microsoft.com</see>.</para>
					/// </summary>
					internal winmdroot.Networking.HttpServer.HTTP_BYTE_RANGE ByteRange;

					/// <summary>Open handle to the file in question.</summary>
					internal winmdroot.Foundation.HANDLE FileHandle;
				}

				[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.296+7db75b4971.RR")]
				internal partial struct _FromFragmentCache_e__Struct
				{
					/// <summary>Length, in bytes, of the fragment name not including the terminating null character.</summary>
					internal ushort FragmentNameLength;

					/// <summary>
					/// <para>Pointer to a string that contains the fragment name assigned when the fragment was added to the response-fragment cache using the <a href="https://docs.microsoft.com/windows/desktop/api/http/nf-http-httpaddfragmenttocache">HttpAddFragmentToCache</a> function.</para>
					/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_data_chunk#members">Read more on learn.microsoft.com</see>.</para>
					/// </summary>
					internal winmdroot.Foundation.PCWSTR pFragmentName;
				}

				[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.296+7db75b4971.RR")]
				internal partial struct _FromFragmentCacheEx_e__Struct
				{
					/// <summary>
					/// <para>An <a href="https://docs.microsoft.com/windows/desktop/api/http/ns-http-http_byte_range">HTTP_BYTE_RANGE</a> structure that specifies all or part of the file. To specify the entire file, set the <b>StartingOffset</b> member to zero and the <b>Length</b> member to <b>HTTP_BYTE_RANGE_TO_EOF</b>.</para>
					/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_data_chunk#members">Read more on learn.microsoft.com</see>.</para>
					/// </summary>
					internal winmdroot.Networking.HttpServer.HTTP_BYTE_RANGE ByteRange;

					/// <summary>
					/// <para>Pointer to a string that contains the fragment name assigned when the fragment was added to the response-fragment cache using the <a href="https://docs.microsoft.com/windows/desktop/api/http/nf-http-httpaddfragmenttocache">HttpAddFragmentToCache</a> function.</para>
					/// <para><see href="https://learn.microsoft.com/windows/win32/api/http/ns-http-http_data_chunk#members">Read more on learn.microsoft.com</see>.</para>
					/// </summary>
					internal winmdroot.Foundation.PCWSTR pFragmentName;
				}

				[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.296+7db75b4971.RR")]
				internal partial struct _Trailers_e__Struct
				{
					/// <summary>Count of the number of <a href="https://docs.microsoft.com/windows/desktop/api/http/ns-http-http_unknown_header">HTTP_UNKNOWN_HEADER</a> structures in the array pointed to by <b>pTrailers</b>.</summary>
					internal ushort TrailerCount;

					/// <summary>Pointer to an array of <a href="https://docs.microsoft.com/windows/desktop/api/http/ns-http-http_unknown_header">HTTP_UNKNOWN_HEADER</a> structures containing the trailers.</summary>
					internal unsafe winmdroot.Networking.HttpServer.HTTP_UNKNOWN_HEADER* pTrailers;
				}

				[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.296+7db75b4971.RR")]
				internal partial struct _FromWinHttpFastForwarding_e__Struct
				{
					internal winmdroot.Networking.HttpServer.HTTP_WINHTTP_FAST_FORWARDING_DATA WhFastForwardingData;
				}
			}
		}
	}
}