File: Windows.Win32.HTTP_COOKED_URL.g.cs
Project: src\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
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>Contains a validated, canonical, UTF-16 Unicode-encoded URL request string together with pointers into it and element lengths.</summary>
		/// <remarks>For example, if <b>pFullUrl</b> is "http://www.fabrikam.com/path1/path2/file.ext?n1=v1&amp;n2=v2", then <b>pHost</b> points to "www.fabrikam", <b>pAbsPath</b> points to "/path1/…" and <b>pQueryString</b> points to "?n1=v1…".</remarks>
		[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.46-beta+dd815b2b9b")]
		internal partial struct HTTP_COOKED_URL
		{
			/// <summary>Size, in bytes, of the data pointed to by the <b>pFullUrl</b> member, not including a terminating null character.</summary>
			internal ushort FullUrlLength;

			/// <summary>Size, in bytes, of the data pointed to by the <b>pHost</b> member.</summary>
			internal ushort HostLength;

			/// <summary>Size, in bytes, of the data pointed to by the <b>pAbsPath</b> member.</summary>
			internal ushort AbsPathLength;

			/// <summary>Size, in bytes, of the data pointed to by the <b>pQueryString</b> member.</summary>
			internal ushort QueryStringLength;

			/// <summary>Pointer to the scheme element at the beginning of the URL (must be either "http://..." or "https://...").</summary>
			internal winmdroot.Foundation.PCWSTR pFullUrl;

			/// <summary>Pointer to the first character in the host element, immediately following the double slashes at the end of the scheme element.</summary>
			internal winmdroot.Foundation.PCWSTR pHost;

			/// <summary>Pointer to the third forward slash ("/") in the string. In a UrlPrefix string, this is the slash immediately preceding the relativeUri element.</summary>
			internal winmdroot.Foundation.PCWSTR pAbsPath;

			/// <summary>Pointer to the first question mark (?) in the string, or <b>NULL</b> if there is none.</summary>
			internal winmdroot.Foundation.PCWSTR pQueryString;
		}
	}
}