|
// ------------------------------------------------------------------------------
// <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 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 docs.microsoft.com</see>.</para>
/// </remarks>
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.46-beta+dd815b2b9b")]
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;
[StructLayout(LayoutKind.Explicit)]
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.46-beta+dd815b2b9b")]
internal partial struct _Anonymous_e__Union
{
[FieldOffset(0)]
internal _FromMemory_e__Struct FromMemory;
[FieldOffset(0)]
internal _FromFileHandle_e__Struct FromFileHandle;
[FieldOffset(0)]
internal _FromFragmentCache_e__Struct FromFragmentCache;
[FieldOffset(0)]
internal _FromFragmentCacheEx_e__Struct FromFragmentCacheEx;
[FieldOffset(0)]
internal _Trailers_e__Struct Trailers;
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.46-beta+dd815b2b9b")]
internal partial struct _FromMemory_e__Struct
{
internal unsafe void* pBuffer;
internal uint BufferLength;
}
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.46-beta+dd815b2b9b")]
internal partial struct _FromFileHandle_e__Struct
{
internal winmdroot.Networking.HttpServer.HTTP_BYTE_RANGE ByteRange;
internal winmdroot.Foundation.HANDLE FileHandle;
}
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.46-beta+dd815b2b9b")]
internal partial struct _FromFragmentCache_e__Struct
{
internal ushort FragmentNameLength;
internal winmdroot.Foundation.PCWSTR pFragmentName;
}
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.46-beta+dd815b2b9b")]
internal partial struct _FromFragmentCacheEx_e__Struct
{
internal winmdroot.Networking.HttpServer.HTTP_BYTE_RANGE ByteRange;
internal winmdroot.Foundation.PCWSTR pFragmentName;
}
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.46-beta+dd815b2b9b")]
internal partial struct _Trailers_e__Struct
{
internal ushort TrailerCount;
internal unsafe winmdroot.Networking.HttpServer.HTTP_UNKNOWN_HEADER* pTrailers;
}
}
}
}
}
|