Files
dotnet-bot adf899c629 Adding System.Data..., System.ServiceModel..., and System.Web...
Adding reference source for
System.Data
System.Data.DataSetExtensions
System.Data.Entity
System.Data.Entity.Design
System.Data.Linq
System.Data.SqlXml
System.ServiceModel
System.ServiceModel.Activation
System.ServiceModel.Activities
System.ServiceModel.Channels
System.ServiceModel.Discovery
System.ServiceModel.Internals
System.ServiceModel.Routing
System.ServiceModel.WasHosting
System.ServiceModel.Web
System.Web
System.Web.ApplicationServices
System.Web.DynamicData
System.Web.Entity
System.Web.Entity.Design
System.Web.Extensions
System.Web.Mobile
System.Web.Routing
System.Web.Services
System.Xml
System.Xml.Linq
2016-05-03 00:07:37 +02:00

30 lines
1.3 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="HTTP_COOKED_URL.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
namespace System.Web.Hosting {
using System;
using System.Runtime.InteropServices;
// http://msdn.microsoft.com/en-us/library/windows/desktop/aa364519.aspx
[StructLayout(LayoutKind.Sequential)]
internal unsafe struct HTTP_COOKED_URL {
// WARNING: Lengths are specified in bytes, not wide chars!
// Length does not include a null terminator.
internal readonly ushort FullUrlLength;
internal readonly ushort HostLength;
internal readonly ushort AbsPathLength;
internal readonly ushort QueryStringLength;
// WARNING: pFullUrl is the only string guaranteed by HTTP.SYS
// to be null-terminated (though see comment above re: length).
// Other fields point within pFullUrl so may not be null-terinated.
internal readonly char* pFullUrl;
internal readonly char* pHost;
internal readonly char* pAbsPath;
internal readonly char* pQueryString;
}
}