3 instantiations of HANDLE
Microsoft.AspNetCore.Server.HttpSys (3)
Windows.Win32.HANDLE.g.cs (3)
41
public static explicit operator HANDLE(void* value) => new
HANDLE
(value);
57
public static explicit operator HANDLE(IntPtr value) => new
HANDLE
((void*)value.ToPointer());
59
public static explicit operator HANDLE(UIntPtr value) => new
HANDLE
((void*)value.ToPointer());
86 references to HANDLE
Microsoft.AspNetCore.Server.HttpSys (86)
NativeInterop\UrlGroup.cs (3)
84
RequestQueueHandle = (
HANDLE
)destination.Handle.DangerousGetHandle()
94
RequestQueueHandle = (
HANDLE
)destination.Handle.DangerousGetHandle()
127
RequestQueueHandle = (
HANDLE
)_requestQueue.Handle.DangerousGetHandle()
RequestProcessing\ResponseStreamAsyncResult.cs (2)
129
_dataChunks[1].Anonymous.FromFileHandle.FileHandle = (
HANDLE
)_fileStream.SafeFileHandle.DangerousGetHandle();
142
_dataChunks[0].Anonymous.FromFileHandle.FileHandle = (
HANDLE
)_fileStream.SafeFileHandle.DangerousGetHandle();
Windows.Win32.HANDLE.g.cs (13)
25
: IEquatable<
HANDLE
>
35
internal static
HANDLE
Null => default;
39
public static implicit operator void*(
HANDLE
value) => value.Value;
41
public static explicit operator
HANDLE
(void* value) => new HANDLE(value);
43
public static bool operator ==(
HANDLE
left,
HANDLE
right) => left.Value == right.Value;
45
public static bool operator !=(
HANDLE
left,
HANDLE
right) => !(left == right);
47
public bool Equals(
HANDLE
other) => this.Value == other.Value;
49
public override bool Equals(object obj) => obj is
HANDLE
other && this.Equals(other);
55
public static implicit operator IntPtr(
HANDLE
value) => new IntPtr(value.Value);
57
public static explicit operator
HANDLE
(IntPtr value) => new HANDLE((void*)value.ToPointer());
59
public static explicit operator
HANDLE
(UIntPtr value) => new HANDLE((void*)value.ToPointer());
Windows.Win32.HTTP_BINDING_INFO.g.cs (1)
33
internal winmdroot.Foundation.
HANDLE
RequestQueueHandle;
Windows.Win32.HTTP_DATA_CHUNK.g.cs (1)
69
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.ADVAPI32.dll.g.cs (7)
26
/// <inheritdoc cref="GetSecurityInfo(winmdroot.Foundation.
HANDLE
, winmdroot.Security.Authorization.SE_OBJECT_TYPE, winmdroot.Security.OBJECT_SECURITY_INFORMATION, winmdroot.Security.PSID*, winmdroot.Security.PSID*, winmdroot.Security.ACL**, winmdroot.Security.ACL**, winmdroot.Security.PSECURITY_DESCRIPTOR*)"/>
44
winmdroot.Foundation.
HANDLE
handleLocal;
48
handleLocal = (winmdroot.Foundation.
HANDLE
)handle.DangerousGetHandle();
67
/// <inheritdoc cref="GetSecurityInfo(winmdroot.Foundation.
HANDLE
, winmdroot.Security.Authorization.SE_OBJECT_TYPE, winmdroot.Security.OBJECT_SECURITY_INFORMATION, winmdroot.Security.PSID*, winmdroot.Security.PSID*, winmdroot.Security.ACL**, winmdroot.Security.ACL**, winmdroot.Security.PSECURITY_DESCRIPTOR*)"/>
74
winmdroot.Foundation.
HANDLE
handleLocal;
78
handleLocal = (winmdroot.Foundation.
HANDLE
)handle.DangerousGetHandle();
117
internal static extern unsafe winmdroot.Foundation.WIN32_ERROR GetSecurityInfo(winmdroot.Foundation.
HANDLE
handle, winmdroot.Security.Authorization.SE_OBJECT_TYPE ObjectType, winmdroot.Security.OBJECT_SECURITY_INFORMATION SecurityInfo, [Optional] winmdroot.Security.PSID* ppsidOwner, [Optional] winmdroot.Security.PSID* ppsidGroup, [Optional] winmdroot.Security.ACL** ppDacl, [Optional] winmdroot.Security.ACL** ppSacl, [Optional] winmdroot.Security.PSECURITY_DESCRIPTOR* ppSecurityDescriptor);
Windows.Win32.PInvoke.HTTPAPI.dll.g.cs (52)
54
/// <inheritdoc cref="HttpCancelHttpRequest(winmdroot.Foundation.
HANDLE
, ulong, global::System.Threading.NativeOverlapped*)"/>
62
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
66
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
88
internal static extern unsafe uint HttpCancelHttpRequest(winmdroot.Foundation.
HANDLE
RequestQueueHandle, ulong RequestId, [Optional] global::System.Threading.NativeOverlapped* Overlapped);
112
/// <inheritdoc cref="HttpCloseRequestQueue(winmdroot.Foundation.
HANDLE
)"/>
120
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
124
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
150
internal static extern uint HttpCloseRequestQueue(winmdroot.Foundation.
HANDLE
RequestQueueHandle);
152
/// <inheritdoc cref="HttpCreateRequestQueue(winmdroot.Networking.HttpServer.HTTPAPI_VERSION, winmdroot.Foundation.PCWSTR, winmdroot.Security.SECURITY_ATTRIBUTES*, uint, winmdroot.Foundation.
HANDLE
*)"/>
160
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
197
internal static extern unsafe uint HttpCreateRequestQueue(winmdroot.Networking.HttpServer.HTTPAPI_VERSION Version, [Optional] winmdroot.Foundation.PCWSTR Name, [Optional] winmdroot.Security.SECURITY_ATTRIBUTES* SecurityAttributes, [Optional] uint Flags, winmdroot.Foundation.
HANDLE
* RequestQueueHandle);
257
/// <inheritdoc cref="HttpDelegateRequestEx(winmdroot.Foundation.
HANDLE
, winmdroot.Foundation.
HANDLE
, ulong, ulong, uint, winmdroot.Networking.HttpServer.HTTP_DELEGATE_REQUEST_PROPERTY_INFO*)"/>
267
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
271
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
275
winmdroot.Foundation.
HANDLE
DelegateQueueHandleLocal;
279
DelegateQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)DelegateQueueHandle.DangerousGetHandle();
324
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);
326
/// <inheritdoc cref="HttpFindUrlGroupId(winmdroot.Foundation.PCWSTR, winmdroot.Foundation.
HANDLE
, ulong*)"/>
337
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
341
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
373
internal static extern unsafe uint HttpFindUrlGroupId(winmdroot.Foundation.PCWSTR FullyQualifiedUrl, winmdroot.Foundation.
HANDLE
RequestQueueHandle, ulong* UrlGroupId);
404
/// <inheritdoc cref="HttpReceiveRequestEntityBody(winmdroot.Foundation.
HANDLE
, ulong, uint, void*, uint, uint*, global::System.Threading.NativeOverlapped*)"/>
415
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
419
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
435
/// <inheritdoc cref="HttpReceiveRequestEntityBody(winmdroot.Foundation.
HANDLE
, ulong, uint, void*, uint, uint*, global::System.Threading.NativeOverlapped*)"/>
444
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
448
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
499
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);
536
/// <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*)"/>
547
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
551
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
569
/// <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*)"/>
578
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
582
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
645
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, [Optional] uint Reserved2, [Optional] global::System.Threading.NativeOverlapped* Overlapped, [Optional] winmdroot.Networking.HttpServer.HTTP_LOG_DATA* LogData);
647
/// <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*)"/>
658
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
662
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
679
/// <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*)"/>
688
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
692
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
751
internal static extern unsafe uint HttpSendResponseEntityBody(winmdroot.Foundation.
HANDLE
RequestQueueHandle, ulong RequestId, uint Flags, [Optional] ushort EntityChunkCount, [Optional] winmdroot.Networking.HttpServer.HTTP_DATA_CHUNK* EntityChunks, [Optional] uint* BytesSent, [Optional] void* Reserved1, [Optional] uint Reserved2, [Optional] global::System.Threading.NativeOverlapped* Overlapped, [Optional] winmdroot.Networking.HttpServer.HTTP_LOG_DATA* LogData);
753
/// <inheritdoc cref="HttpSetRequestQueueProperty(winmdroot.Foundation.
HANDLE
, winmdroot.Networking.HttpServer.HTTP_SERVER_PROPERTY, void*, uint, uint, void*)"/>
762
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
766
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
808
internal static extern unsafe uint HttpSetRequestQueueProperty(winmdroot.Foundation.
HANDLE
RequestQueueHandle, winmdroot.Networking.HttpServer.HTTP_SERVER_PROPERTY Property, void* PropertyInformation, uint PropertyInformationLength, [Optional] uint Reserved1, [Optional] void* Reserved2);
843
/// <inheritdoc cref="HttpShutdownRequestQueue(winmdroot.Foundation.
HANDLE
)"/>
851
winmdroot.Foundation.
HANDLE
RequestQueueHandleLocal;
855
RequestQueueHandleLocal = (winmdroot.Foundation.
HANDLE
)RequestQueueHandle.DangerousGetHandle();
886
internal static extern uint HttpShutdownRequestQueue(winmdroot.Foundation.
HANDLE
RequestQueueHandle);
Windows.Win32.PInvoke.KERNEL32.dll.g.cs (5)
39
internal static extern winmdroot.Foundation.BOOL CloseHandle(winmdroot.Foundation.
HANDLE
hObject);
41
/// <inheritdoc cref="SetFileCompletionNotificationModes(winmdroot.Foundation.
HANDLE
, byte)"/>
49
winmdroot.Foundation.
HANDLE
FileHandleLocal;
53
FileHandleLocal = (winmdroot.Foundation.
HANDLE
)FileHandle.DangerousGetHandle();
84
internal static extern winmdroot.Foundation.BOOL SetFileCompletionNotificationModes(winmdroot.Foundation.
HANDLE
FileHandle, byte Flags);