37 references to PInvoke
Microsoft.AspNetCore.Shared.Tests (37)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
14internal const int SniPropertySizeInBytes = (int)((sizeof(ushort) * (PInvoke.HTTP_REQUEST_PROPERTY_SNI_HOST_MAX_LENGTH + 1)) + sizeof(uint));
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (3)
162internal bool IsHttp2 => (NativeRequest->Flags & PInvoke.HTTP_REQUEST_FLAG_HTTP2) != 0; 164internal bool IsHttp3 => (NativeRequest->Flags & PInvoke.HTTP_REQUEST_FLAG_HTTP3) != 0; 360PInvoke.CloseHandle(authInfo->AccessToken);
Windows.Win32.PInvoke.HTTPAPI.dll.g.cs (33)
68 uint __result = PInvoke.HttpCreateHttpHandle(&RequestQueueHandleLocal, default); 97 uint __result = PInvoke.HttpCreateRequestQueue(Version, NameLocal, SecurityAttributes.HasValue ? &SecurityAttributesLocal : null, Flags, &RequestQueueHandleLocal); 150 uint __result = PInvoke.HttpCloseRequestQueue(RequestQueueHandleLocal); 190 uint __result = PInvoke.HttpSetRequestQueueProperty(RequestQueueHandleLocal, Property, PropertyInformation, PropertyInformationLength, default, default); 245 uint __result = PInvoke.HttpQueryRequestQueueProperty(RequestQueueHandleLocal, Property, PropertyInformation, PropertyInformationLength, default, ReturnLength, default); 301 uint __result = PInvoke.HttpSetRequestProperty(RequestQueueHandleLocal, Id, PropertyId, Input, InputPropertySize, OverlappedLocal); 353 uint __result = PInvoke.HttpShutdownRequestQueue(RequestQueueHandleLocal); 401 uint __result = PInvoke.HttpReceiveClientCertificate(RequestQueueHandleLocal, ConnectionId, Flags, SslClientCertInfoLocal, SslClientCertInfoSize, BytesReceived, Overlapped.HasValue ? &OverlappedLocal : null); 460 uint __result = PInvoke.HttpCreateServerSession(Version, ServerSessionIdLocal, default); 570 uint __result = PInvoke.HttpAddUrl(RequestQueueHandleLocal, FullyQualifiedUrlLocal, default); 621 uint __result = PInvoke.HttpRemoveUrl(RequestQueueHandleLocal, FullyQualifiedUrlLocal); 659 uint __result = PInvoke.HttpCreateUrlGroup(ServerSessionId, pUrlGroupIdLocal, default); 700 uint __result = PInvoke.HttpAddUrlToUrlGroup(UrlGroupId, pFullyQualifiedUrlLocal, UrlContext, default); 729 uint __result = PInvoke.HttpRemoveUrlFromUrlGroup(UrlGroupId, pFullyQualifiedUrlLocal, Flags); 816 uint __result = PInvoke.HttpPrepareUrl(default, default, UrlLocal, PreparedUrlLocal); 859 uint __result = PInvoke.HttpReceiveHttpRequest(RequestQueueHandleLocal, RequestId, Flags, RequestBufferLocal, RequestBufferLength, BytesReturned, Overlapped.HasValue ? &OverlappedLocal : null); 924 uint __result = PInvoke.HttpReceiveRequestEntityBody(RequestQueueHandleLocal, RequestId, Flags, EntityBuffer, EntityBufferLength, BytesReturned, Overlapped.HasValue ? &OverlappedLocal : null); 993 uint __result = PInvoke.HttpSendHttpResponse(RequestQueueHandleLocal, RequestId, Flags, HttpResponseLocal, CachePolicy.HasValue ? &CachePolicyLocal : null, BytesSent, default, default, Overlapped.HasValue ? &OverlappedLocal : null, LogData.HasValue ? &LogDataLocal : null); 1072 uint __result = PInvoke.HttpSendResponseEntityBody(RequestQueueHandleLocal, RequestId, Flags, (ushort )EntityChunks.Length, EntityChunksLocal, BytesSent, default, default, Overlapped.HasValue ? &OverlappedLocal : null, LogData.HasValue ? &LogDataLocal : null); 1149 uint __result = PInvoke.HttpDeclarePush(RequestQueueHandleLocal, RequestId, Verb, PathLocal, new winmdroot.Foundation.PCSTR (QueryLocal), Headers.HasValue ? &HeadersLocal : null); 1199 uint __result = PInvoke.HttpWaitForDisconnect(RequestQueueHandleLocal, ConnectionId, Overlapped.HasValue ? &OverlappedLocal : null); 1250 uint __result = PInvoke.HttpWaitForDisconnectEx(RequestQueueHandleLocal, ConnectionId, default, Overlapped.HasValue ? &OverlappedLocal : null); 1288 uint __result = PInvoke.HttpCancelHttpRequest(RequestQueueHandleLocal, RequestId, Overlapped.HasValue ? &OverlappedLocal : null); 1325 uint __result = PInvoke.HttpWaitForDemandStart(RequestQueueHandleLocal, Overlapped.HasValue ? &OverlappedLocal : null); 1394 uint __result = PInvoke.HttpDelegateRequestEx(RequestQueueHandleLocal, DelegateQueueHandleLocal, RequestId, DelegateUrlGroupId, PropertyInfoSetSize, PropertyInfoSetLocal); 1456 uint __result = PInvoke.HttpFindUrlGroupId(FullyQualifiedUrlLocal, RequestQueueHandleLocal, UrlGroupIdLocal); 1505 uint __result = PInvoke.HttpFlushResponseCache(RequestQueueHandleLocal, UrlPrefixLocal, Flags, Overlapped.HasValue ? &OverlappedLocal : null); 1565 uint __result = PInvoke.HttpAddFragmentToCache(RequestQueueHandleLocal, UrlPrefixLocal, DataChunkLocal, CachePolicyLocal, Overlapped.HasValue ? &OverlappedLocal : null); 1631 uint __result = PInvoke.HttpReadFragmentFromCache(RequestQueueHandleLocal, UrlPrefixLocal, ByteRange.HasValue ? &ByteRangeLocal : null, Buffer, BufferLength, BytesRead, Overlapped.HasValue ? &OverlappedLocal : null); 1680 uint __result = PInvoke.HttpSetServiceConfiguration(default, ConfigId, pConfigInformation, ConfigInformationLength, default); 1708 uint __result = PInvoke.HttpUpdateServiceConfiguration(default, ConfigId, ConfigInfo, ConfigInfoLength, default); 1736 uint __result = PInvoke.HttpDeleteServiceConfiguration(default, ConfigId, pConfigInformation, ConfigInformationLength, default); 1770 uint __result = PInvoke.HttpQueryServiceConfiguration(default, ConfigId, pInput, InputLength, pOutput, OutputLength, pReturnLength, default);