2 types derived from CriticalHandle
mscorlib (2)
microsoft\win32\safehandles\win32safehandles.cs (2)
82
public abstract class CriticalHandleZeroOrMinusOneIsInvalid :
CriticalHandle
100
public abstract class CriticalHandleMinusOneIsInvalid :
CriticalHandle
20 references to CriticalHandle
SMDiagnostics (1)
System\ServiceModel\Diagnostics\Utility.cs (1)
45
internal static void CloseInvalidOutCriticalHandle(
CriticalHandle
handle)
System (19)
net\System\Net\_ListenerResponseStream.cs (1)
469
internal void CancelLastWrite(
CriticalHandle
requestQueueHandle)
net\System\Net\HttpListener.cs (2)
343
private
CriticalHandle
m_RequestQueueHandle;
387
internal
CriticalHandle
RequestQueueHandle {
net\System\Net\HttpListenerContext.cs (3)
136
internal
CriticalHandle
RequestQueueHandle {
245
internal static void CancelRequest(
CriticalHandle
requestQueueHandle, ulong requestId) {
251
internal void ForceCancelRequest(
CriticalHandle
requestQueueHandle, ulong requestId) {
net\System\Net\HttpListenerResponse.cs (1)
878
internal void CancelLastWrite(
CriticalHandle
requestQueueHandle)
net\System\Net\UnsafeNativeMethods.cs (12)
114
internal static unsafe extern uint CancelIoEx(
CriticalHandle
handle, NativeOverlapped* overlapped);
121
internal static unsafe extern bool SetFileCompletionNotificationModes(
CriticalHandle
handle, FileCompletionNotificationModes modes);
2141
internal static extern uint HttpReceiveRequestEntityBody(
CriticalHandle
requestQueueHandle, ulong requestId, uint flags, void* pEntityBuffer, uint entityBufferLength, out uint bytesReturned, NativeOverlapped* pOverlapped);
2143
internal static extern uint HttpReceiveRequestEntityBody2(
CriticalHandle
requestQueueHandle, ulong requestId, uint flags, void* pEntityBuffer, uint entityBufferLength, out uint bytesReturned, [In] SafeHandle pOverlapped);
2147
internal static extern uint HttpReceiveClientCertificate(
CriticalHandle
requestQueueHandle, ulong connectionId, uint flags, HTTP_SSL_CLIENT_CERT_INFO* pSslClientCertInfo, uint sslClientCertInfoSize, uint* pBytesReceived, NativeOverlapped* pOverlapped);
2151
internal static extern uint HttpReceiveClientCertificate(
CriticalHandle
requestQueueHandle, ulong connectionId, uint flags, byte* pSslClientCertInfo, uint sslClientCertInfoSize, uint* pBytesReceived, NativeOverlapped* pOverlapped);
2155
internal static extern uint HttpReceiveHttpRequest(
CriticalHandle
requestQueueHandle, ulong requestId, uint flags, HTTP_REQUEST* pRequestBuffer, uint requestBufferLength, uint* pBytesReturned, NativeOverlapped* pOverlapped);
2159
internal static extern uint HttpSendHttpResponse(
CriticalHandle
requestQueueHandle, ulong requestId, uint flags, HTTP_RESPONSE* pHttpResponse, void* pCachePolicy, uint* pBytesSent, SafeLocalFree pRequestBuffer, uint requestBufferLength, NativeOverlapped* pOverlapped, void* pLogData);
2163
internal static extern uint HttpSendResponseEntityBody(
CriticalHandle
requestQueueHandle, ulong requestId, uint flags, ushort entityChunkCount, HTTP_DATA_CHUNK* pEntityChunks, uint* pBytesSent, SafeLocalFree pRequestBuffer, uint requestBufferLength, NativeOverlapped* pOverlapped, void* pLogData);
2167
internal static extern uint HttpCancelHttpRequest(
CriticalHandle
requestQueueHandle, ulong requestId, IntPtr pOverlapped);
2171
internal static extern uint HttpSendResponseEntityBody2(
CriticalHandle
requestQueueHandle, ulong requestId, uint flags, ushort entityChunkCount, IntPtr pEntityChunks, out uint pBytesSent, SafeLocalFree pRequestBuffer, uint requestBufferLength, SafeHandle pOverlapped, IntPtr pLogData);
2175
internal static extern uint HttpWaitForDisconnect(
CriticalHandle
requestQueueHandle, ulong connectionId, NativeOverlapped* pOverlapped);