1 instantiation of HANDLE
Microsoft.AspNetCore.Shared.Tests (1)
Windows.Win32.HANDLE.g.cs (1)
37 public static explicit operator HANDLE(IntPtr value) => new HANDLE(value);
121 references to HANDLE
Microsoft.AspNetCore.Shared.Tests (121)
Windows.Win32.HANDLE.g.cs (10)
25 : IEquatable<HANDLE> 31 internal static HANDLE Null => default; 35 public static implicit operator IntPtr(HANDLE value) => value.Value; 37 public static explicit operator HANDLE(IntPtr value) => new HANDLE(value); 39 public static bool operator ==(HANDLE left, HANDLE right) => left.Value == right.Value; 41 public static bool operator !=(HANDLE left, HANDLE right) => !(left == right); 43 public bool Equals(HANDLE other) => this.Value == other.Value; 45 public override bool Equals(object obj) => obj is HANDLE other && this.Equals(other);
Windows.Win32.HTTP_BINDING_INFO.g.cs (1)
33 internal winmdroot.Foundation.HANDLE RequestQueueHandle;
Windows.Win32.HTTP_DATA_CHUNK.g.cs (1)
66 internal winmdroot.Foundation.HANDLE FileHandle;
Windows.Win32.HTTP_REQUEST_AUTH_INFO.g.cs (1)
53 internal winmdroot.Foundation.HANDLE AccessToken;
Windows.Win32.HTTP_SSL_CLIENT_CERT_INFO.g.cs (1)
46 internal winmdroot.Foundation.HANDLE Token;
Windows.Win32.PInvoke.HTTPAPI.dll.g.cs (106)
63 /// <inheritdoc cref="HttpCreateHttpHandle(winmdroot.Foundation.HANDLE*, uint)"/> 67 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 87 internal static extern unsafe uint HttpCreateHttpHandle(winmdroot.Foundation.HANDLE* RequestQueueHandle, uint Reserved); 89 /// <inheritdoc cref="HttpCreateRequestQueue(winmdroot.Networking.HttpServer.HTTPAPI_VERSION, winmdroot.Foundation.PCWSTR, winmdroot.Security.SECURITY_ATTRIBUTES*, uint, winmdroot.Foundation.HANDLE*)"/> 96 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 133 internal static extern unsafe uint HttpCreateRequestQueue(winmdroot.Networking.HttpServer.HTTPAPI_VERSION Version, winmdroot.Foundation.PCWSTR Name, [Optional] winmdroot.Security.SECURITY_ATTRIBUTES* SecurityAttributes, uint Flags, winmdroot.Foundation.HANDLE* RequestQueueHandle); 135 /// <inheritdoc cref="HttpCloseRequestQueue(winmdroot.Foundation.HANDLE)"/> 142 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 146 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 173 internal static extern uint HttpCloseRequestQueue(winmdroot.Foundation.HANDLE RequestQueueHandle); 175 /// <inheritdoc cref="HttpSetRequestQueueProperty(winmdroot.Foundation.HANDLE, winmdroot.Networking.HttpServer.HTTP_SERVER_PROPERTY, void*, uint, uint, void*)"/> 182 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 186 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 228 internal static extern unsafe uint HttpSetRequestQueueProperty(winmdroot.Foundation.HANDLE RequestQueueHandle, winmdroot.Networking.HttpServer.HTTP_SERVER_PROPERTY Property, void* PropertyInformation, uint PropertyInformationLength, uint Reserved1, [Optional] void* Reserved2); 230 /// <inheritdoc cref="HttpQueryRequestQueueProperty(winmdroot.Foundation.HANDLE, winmdroot.Networking.HttpServer.HTTP_SERVER_PROPERTY, void*, uint, uint, uint*, void*)"/> 237 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 241 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 283 internal static extern unsafe uint HttpQueryRequestQueueProperty(winmdroot.Foundation.HANDLE RequestQueueHandle, winmdroot.Networking.HttpServer.HTTP_SERVER_PROPERTY Property, [Optional] void* PropertyInformation, uint PropertyInformationLength, uint Reserved1, [Optional] uint* ReturnLength, [Optional] void* Reserved2); 285 /// <inheritdoc cref="HttpSetRequestProperty(winmdroot.Foundation.HANDLE, ulong, winmdroot.Networking.HttpServer.HTTP_REQUEST_PROPERTY, void*, uint, global::System.Threading.NativeOverlapped*)"/> 293 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 297 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 336 internal static extern unsafe uint HttpSetRequestProperty(winmdroot.Foundation.HANDLE RequestQueueHandle, ulong Id, winmdroot.Networking.HttpServer.HTTP_REQUEST_PROPERTY PropertyId, [Optional] void* Input, uint InputPropertySize, global::System.Threading.NativeOverlapped* Overlapped); 338 /// <inheritdoc cref="HttpShutdownRequestQueue(winmdroot.Foundation.HANDLE)"/> 345 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 349 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 381 internal static extern uint HttpShutdownRequestQueue(winmdroot.Foundation.HANDLE RequestQueueHandle); 383 /// <inheritdoc cref="HttpReceiveClientCertificate(winmdroot.Foundation.HANDLE, ulong, uint, winmdroot.Networking.HttpServer.HTTP_SSL_CLIENT_CERT_INFO*, uint, uint*, global::System.Threading.NativeOverlapped*)"/> 392 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 396 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 452 internal static extern unsafe uint HttpReceiveClientCertificate(winmdroot.Foundation.HANDLE RequestQueueHandle, ulong ConnectionId, uint Flags, winmdroot.Networking.HttpServer.HTTP_SSL_CLIENT_CERT_INFO* SslClientCertInfo, uint SslClientCertInfoSize, [Optional] uint* BytesReceived, [Optional] global::System.Threading.NativeOverlapped* Overlapped); 553 /// <inheritdoc cref="HttpAddUrl(winmdroot.Foundation.HANDLE, winmdroot.Foundation.PCWSTR, void*)"/> 562 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 566 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 602 internal static extern unsafe uint HttpAddUrl(winmdroot.Foundation.HANDLE RequestQueueHandle, winmdroot.Foundation.PCWSTR FullyQualifiedUrl, [Optional] void* Reserved); 604 /// <inheritdoc cref="HttpRemoveUrl(winmdroot.Foundation.HANDLE, winmdroot.Foundation.PCWSTR)"/> 613 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 617 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 651 internal static extern uint HttpRemoveUrl(winmdroot.Foundation.HANDLE RequestQueueHandle, winmdroot.Foundation.PCWSTR FullyQualifiedUrl); 841 /// <inheritdoc cref="HttpReceiveHttpRequest(winmdroot.Foundation.HANDLE, ulong, winmdroot.Networking.HttpServer.HTTP_RECEIVE_HTTP_REQUEST_FLAGS, winmdroot.Networking.HttpServer.HTTP_REQUEST_V2*, uint, uint*, global::System.Threading.NativeOverlapped*)"/> 850 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 854 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 906 internal static extern unsafe uint HttpReceiveHttpRequest(winmdroot.Foundation.HANDLE RequestQueueHandle, ulong RequestId, winmdroot.Networking.HttpServer.HTTP_RECEIVE_HTTP_REQUEST_FLAGS Flags, winmdroot.Networking.HttpServer.HTTP_REQUEST_V2* RequestBuffer, uint RequestBufferLength, [Optional] uint* BytesReturned, [Optional] global::System.Threading.NativeOverlapped* Overlapped); 908 /// <inheritdoc cref="HttpReceiveRequestEntityBody(winmdroot.Foundation.HANDLE, ulong, uint, void*, uint, uint*, global::System.Threading.NativeOverlapped*)"/> 915 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 919 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 971 internal static extern unsafe uint HttpReceiveRequestEntityBody(winmdroot.Foundation.HANDLE RequestQueueHandle, ulong RequestId, uint Flags, void* EntityBuffer, uint EntityBufferLength, [Optional] uint* BytesReturned, [Optional] global::System.Threading.NativeOverlapped* Overlapped); 973 /// <inheritdoc cref="HttpSendHttpResponse(winmdroot.Foundation.HANDLE, ulong, uint, winmdroot.Networking.HttpServer.HTTP_RESPONSE_V2*, winmdroot.Networking.HttpServer.HTTP_CACHE_POLICY*, uint*, void*, uint, global::System.Threading.NativeOverlapped*, winmdroot.Networking.HttpServer.HTTP_LOG_DATA*)"/> 982 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 986 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1051 internal static extern unsafe uint HttpSendHttpResponse(winmdroot.Foundation.HANDLE RequestQueueHandle, ulong RequestId, uint Flags, winmdroot.Networking.HttpServer.HTTP_RESPONSE_V2* HttpResponse, [Optional] winmdroot.Networking.HttpServer.HTTP_CACHE_POLICY* CachePolicy, [Optional] uint* BytesSent, [Optional] void* Reserved1, uint Reserved2, [Optional] global::System.Threading.NativeOverlapped* Overlapped, [Optional] winmdroot.Networking.HttpServer.HTTP_LOG_DATA* LogData); 1053 /// <inheritdoc cref="HttpSendResponseEntityBody(winmdroot.Foundation.HANDLE, ulong, uint, ushort, winmdroot.Networking.HttpServer.HTTP_DATA_CHUNK*, uint*, void*, uint, global::System.Threading.NativeOverlapped*, winmdroot.Networking.HttpServer.HTTP_LOG_DATA*)"/> 1062 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 1066 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1127 internal static extern unsafe uint HttpSendResponseEntityBody(winmdroot.Foundation.HANDLE RequestQueueHandle, ulong RequestId, uint Flags, ushort EntityChunkCount, [Optional] winmdroot.Networking.HttpServer.HTTP_DATA_CHUNK* EntityChunks, [Optional] uint* BytesSent, [Optional] void* Reserved1, uint Reserved2, [Optional] global::System.Threading.NativeOverlapped* Overlapped, [Optional] winmdroot.Networking.HttpServer.HTTP_LOG_DATA* LogData); 1129 /// <inheritdoc cref="HttpDeclarePush(winmdroot.Foundation.HANDLE, ulong, winmdroot.Networking.HttpServer.HTTP_VERB, winmdroot.Foundation.PCWSTR, winmdroot.Foundation.PCSTR, winmdroot.Networking.HttpServer.HTTP_REQUEST_HEADERS*)"/> 1140 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 1144 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1181 internal static extern unsafe uint HttpDeclarePush(winmdroot.Foundation.HANDLE RequestQueueHandle, ulong RequestId, winmdroot.Networking.HttpServer.HTTP_VERB Verb, winmdroot.Foundation.PCWSTR Path, winmdroot.Foundation.PCSTR Query, [Optional] winmdroot.Networking.HttpServer.HTTP_REQUEST_HEADERS* Headers); 1183 /// <inheritdoc cref="HttpWaitForDisconnect(winmdroot.Foundation.HANDLE, ulong, global::System.Threading.NativeOverlapped*)"/> 1190 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 1194 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1233 internal static extern unsafe uint HttpWaitForDisconnect(winmdroot.Foundation.HANDLE RequestQueueHandle, ulong ConnectionId, [Optional] global::System.Threading.NativeOverlapped* Overlapped); 1235 /// <inheritdoc cref="HttpWaitForDisconnectEx(winmdroot.Foundation.HANDLE, ulong, uint, global::System.Threading.NativeOverlapped*)"/> 1241 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 1245 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1270 internal static extern unsafe uint HttpWaitForDisconnectEx(winmdroot.Foundation.HANDLE RequestQueueHandle, ulong ConnectionId, uint Reserved, [Optional] global::System.Threading.NativeOverlapped* Overlapped); 1272 /// <inheritdoc cref="HttpCancelHttpRequest(winmdroot.Foundation.HANDLE, ulong, global::System.Threading.NativeOverlapped*)"/> 1279 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 1283 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1307 internal static extern unsafe uint HttpCancelHttpRequest(winmdroot.Foundation.HANDLE RequestQueueHandle, ulong RequestId, [Optional] global::System.Threading.NativeOverlapped* Overlapped); 1309 /// <inheritdoc cref="HttpWaitForDemandStart(winmdroot.Foundation.HANDLE, global::System.Threading.NativeOverlapped*)"/> 1316 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 1320 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1356 internal static extern unsafe uint HttpWaitForDemandStart(winmdroot.Foundation.HANDLE RequestQueueHandle, [Optional] global::System.Threading.NativeOverlapped* Overlapped); 1369 /// <inheritdoc cref="HttpDelegateRequestEx(winmdroot.Foundation.HANDLE, winmdroot.Foundation.HANDLE, ulong, ulong, uint, winmdroot.Networking.HttpServer.HTTP_DELEGATE_REQUEST_PROPERTY_INFO*)"/> 1378 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 1382 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1386 winmdroot.Foundation.HANDLE DelegateQueueHandleLocal; 1390 DelegateQueueHandleLocal = (winmdroot.Foundation.HANDLE)DelegateQueueHandle.DangerousGetHandle(); 1436 internal static extern unsafe uint HttpDelegateRequestEx(winmdroot.Foundation.HANDLE RequestQueueHandle, winmdroot.Foundation.HANDLE DelegateQueueHandle, ulong RequestId, ulong DelegateUrlGroupId, uint PropertyInfoSetSize, winmdroot.Networking.HttpServer.HTTP_DELEGATE_REQUEST_PROPERTY_INFO* PropertyInfoSet); 1438 /// <inheritdoc cref="HttpFindUrlGroupId(winmdroot.Foundation.PCWSTR, winmdroot.Foundation.HANDLE, ulong*)"/> 1448 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 1452 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1485 internal static extern unsafe uint HttpFindUrlGroupId(winmdroot.Foundation.PCWSTR FullyQualifiedUrl, winmdroot.Foundation.HANDLE RequestQueueHandle, ulong* UrlGroupId); 1487 /// <inheritdoc cref="HttpFlushResponseCache(winmdroot.Foundation.HANDLE, winmdroot.Foundation.PCWSTR, uint, global::System.Threading.NativeOverlapped*)"/> 1496 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 1500 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1541 internal static extern unsafe uint HttpFlushResponseCache(winmdroot.Foundation.HANDLE RequestQueueHandle, winmdroot.Foundation.PCWSTR UrlPrefix, uint Flags, [Optional] global::System.Threading.NativeOverlapped* Overlapped); 1543 /// <inheritdoc cref="HttpAddFragmentToCache(winmdroot.Foundation.HANDLE, winmdroot.Foundation.PCWSTR, winmdroot.Networking.HttpServer.HTTP_DATA_CHUNK*, winmdroot.Networking.HttpServer.HTTP_CACHE_POLICY*, global::System.Threading.NativeOverlapped*)"/> 1556 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 1560 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1610 internal static extern unsafe uint HttpAddFragmentToCache(winmdroot.Foundation.HANDLE RequestQueueHandle, winmdroot.Foundation.PCWSTR UrlPrefix, winmdroot.Networking.HttpServer.HTTP_DATA_CHUNK* DataChunk, winmdroot.Networking.HttpServer.HTTP_CACHE_POLICY* CachePolicy, [Optional] global::System.Threading.NativeOverlapped* Overlapped); 1612 /// <inheritdoc cref="HttpReadFragmentFromCache(winmdroot.Foundation.HANDLE, winmdroot.Foundation.PCWSTR, winmdroot.Networking.HttpServer.HTTP_BYTE_RANGE*, void*, uint, uint*, global::System.Threading.NativeOverlapped*)"/> 1621 winmdroot.Foundation.HANDLE RequestQueueHandleLocal; 1625 RequestQueueHandleLocal = (winmdroot.Foundation.HANDLE)RequestQueueHandle.DangerousGetHandle(); 1674 internal static extern unsafe uint HttpReadFragmentFromCache(winmdroot.Foundation.HANDLE RequestQueueHandle, winmdroot.Foundation.PCWSTR UrlPrefix, [Optional] winmdroot.Networking.HttpServer.HTTP_BYTE_RANGE* ByteRange, void* Buffer, uint BufferLength, [Optional] uint* BytesRead, [Optional] global::System.Threading.NativeOverlapped* Overlapped); 1676 /// <inheritdoc cref="HttpSetServiceConfiguration(winmdroot.Foundation.HANDLE, winmdroot.Networking.HttpServer.HTTP_SERVICE_CONFIG_ID, void*, uint, global::System.Threading.NativeOverlapped*)"/> 1702 internal static extern unsafe uint HttpSetServiceConfiguration(winmdroot.Foundation.HANDLE ServiceHandle, winmdroot.Networking.HttpServer.HTTP_SERVICE_CONFIG_ID ConfigId, void* pConfigInformation, uint ConfigInformationLength, [Optional] global::System.Threading.NativeOverlapped* pOverlapped); 1704 /// <inheritdoc cref="HttpUpdateServiceConfiguration(winmdroot.Foundation.HANDLE, winmdroot.Networking.HttpServer.HTTP_SERVICE_CONFIG_ID, void*, uint, global::System.Threading.NativeOverlapped*)"/> 1730 internal static extern unsafe uint HttpUpdateServiceConfiguration(winmdroot.Foundation.HANDLE Handle, winmdroot.Networking.HttpServer.HTTP_SERVICE_CONFIG_ID ConfigId, void* ConfigInfo, uint ConfigInfoLength, [Optional] global::System.Threading.NativeOverlapped* Overlapped); 1732 /// <inheritdoc cref="HttpDeleteServiceConfiguration(winmdroot.Foundation.HANDLE, winmdroot.Networking.HttpServer.HTTP_SERVICE_CONFIG_ID, void*, uint, global::System.Threading.NativeOverlapped*)"/> 1764 internal static extern unsafe uint HttpDeleteServiceConfiguration(winmdroot.Foundation.HANDLE ServiceHandle, winmdroot.Networking.HttpServer.HTTP_SERVICE_CONFIG_ID ConfigId, void* pConfigInformation, uint ConfigInformationLength, [Optional] global::System.Threading.NativeOverlapped* pOverlapped); 1766 /// <inheritdoc cref="HttpQueryServiceConfiguration(winmdroot.Foundation.HANDLE, winmdroot.Networking.HttpServer.HTTP_SERVICE_CONFIG_ID, void*, uint, void*, uint, uint*, global::System.Threading.NativeOverlapped*)"/> 1801 internal static extern unsafe uint HttpQueryServiceConfiguration(winmdroot.Foundation.HANDLE ServiceHandle, winmdroot.Networking.HttpServer.HTTP_SERVICE_CONFIG_ID ConfigId, [Optional] void* pInput, uint InputLength, [Optional] void* pOutput, uint OutputLength, [Optional] uint* pReturnLength, [Optional] global::System.Threading.NativeOverlapped* pOverlapped);
Windows.Win32.PInvoke.KERNEL32.dll.g.cs (1)
39 internal static extern winmdroot.Foundation.BOOL CloseHandle(winmdroot.Foundation.HANDLE hObject);