77 references to QUIC_HANDLE
System.Net.Quic (77)
System\Net\Quic\Internal\MsQuicApi.cs (1)
47
QUIC_HANDLE
* handle;
System\Net\Quic\Internal\MsQuicApi.NativeMethods.cs (7)
112
public int ConfigurationOpen(MsQuicSafeHandle registration, QUIC_BUFFER* alpnBuffers, uint alpnBuffersCount, QUIC_SETTINGS* settings, uint settingsSize, void* context,
QUIC_HANDLE
** configuration)
146
public int ListenerOpen(MsQuicSafeHandle registration, delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, QUIC_LISTENER_EVENT*, int> callback, void* context,
QUIC_HANDLE
** listener)
197
public int ConnectionOpen(MsQuicSafeHandle registration, delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, QUIC_CONNECTION_EVENT*, int> callback, void* context,
QUIC_HANDLE
** connection)
277
public int StreamOpen(MsQuicSafeHandle connection, QUIC_STREAM_OPEN_FLAGS flags, delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, QUIC_STREAM_EVENT*, int> callback, void* context,
QUIC_HANDLE
** stream)
System\Net\Quic\Internal\MsQuicConfiguration.cs (1)
215
QUIC_HANDLE
* handle;
System\Net\Quic\Internal\MsQuicSafeHandle.cs (9)
24
private readonly delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void> _releaseAction;
30
public
QUIC_HANDLE
* QuicHandle => (
QUIC_HANDLE
*)DangerousGetHandle();
32
public MsQuicSafeHandle(
QUIC_HANDLE
* handle, delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void> releaseAction, SafeHandleType safeHandleType)
44
public MsQuicSafeHandle(
QUIC_HANDLE
* handle, SafeHandleType safeHandleType)
61
QUIC_HANDLE
* quicHandle = QuicHandle;
112
public unsafe MsQuicContextSafeHandle(
QUIC_HANDLE
* handle, GCHandle context, SafeHandleType safeHandleType, MsQuicSafeHandle? parent = null)
155
public unsafe MsQuicConfigurationSafeHandle(
QUIC_HANDLE
* handle)
System\Net\Quic\Interop\msquic_extensions.cs (6)
14
public static void SetConnectionCallback(this ref QUIC_API_TABLE Table,
QUIC_HANDLE
* Handle, delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, QUIC_CONNECTION_EVENT*, int> Callback, void* Context)
19
public static void SetStreamCallback(this ref QUIC_API_TABLE Table,
QUIC_HANDLE
* Handle, delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, QUIC_STREAM_EVENT*, int> Callback, void* Context)
24
public static void SetListenerCallback(this ref QUIC_API_TABLE Table,
QUIC_HANDLE
* Handle, delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, QUIC_LISTENER_EVENT*, int> Callback, void* Context)
System\Net\Quic\Interop\msquic_generated.cs (43)
304
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, int, void> AsyncHandler;
2260
internal
QUIC_HANDLE
* Connection;
2635
internal
QUIC_HANDLE
* Stream;
3021
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, void> SetContext;
3024
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*> GetContext;
3027
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, void*, void> SetCallbackHandler;
3030
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, uint, uint, void*, int> SetParam;
3033
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, uint, uint*, void*, int> GetParam;
3036
internal delegate* unmanaged[Cdecl]<QUIC_REGISTRATION_CONFIG*,
QUIC_HANDLE
**, int> RegistrationOpen;
3039
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void> RegistrationClose;
3042
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, QUIC_CONNECTION_SHUTDOWN_FLAGS, ulong, void> RegistrationShutdown;
3045
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, QUIC_BUFFER*, uint, QUIC_SETTINGS*, uint, void*,
QUIC_HANDLE
**, int> ConfigurationOpen;
3048
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void> ConfigurationClose;
3051
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, QUIC_CREDENTIAL_CONFIG*, int> ConfigurationLoadCredential;
3054
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, QUIC_LISTENER_EVENT*, int>, void*,
QUIC_HANDLE
**, int> ListenerOpen;
3057
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void> ListenerClose;
3060
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, QUIC_BUFFER*, uint, QuicAddr*, int> ListenerStart;
3063
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void> ListenerStop;
3066
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, QUIC_CONNECTION_EVENT*, int>, void*,
QUIC_HANDLE
**, int> ConnectionOpen;
3069
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void> ConnectionClose;
3072
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, QUIC_CONNECTION_SHUTDOWN_FLAGS, ulong, void> ConnectionShutdown;
3075
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*,
QUIC_HANDLE
*, ushort, sbyte*, ushort, int> ConnectionStart;
3078
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*,
QUIC_HANDLE
*, int> ConnectionSetConfiguration;
3081
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, QUIC_SEND_RESUMPTION_FLAGS, ushort, byte*, int> ConnectionSendResumptionTicket;
3084
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, QUIC_STREAM_OPEN_FLAGS, delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, QUIC_STREAM_EVENT*, int>, void*,
QUIC_HANDLE
**, int> StreamOpen;
3087
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void> StreamClose;
3090
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, QUIC_STREAM_START_FLAGS, int> StreamStart;
3093
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, QUIC_STREAM_SHUTDOWN_FLAGS, ulong, int> StreamShutdown;
3096
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, QUIC_BUFFER*, uint, QUIC_SEND_FLAGS, void*, int> StreamSend;
3099
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, ulong, void> StreamReceiveComplete;
3102
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, byte, int> StreamReceiveSetEnabled;
3105
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, QUIC_BUFFER*, uint, QUIC_SEND_FLAGS, void*, int> DatagramSend;
3108
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, byte, int> ConnectionResumptionTicketValidationComplete;
3111
internal delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, byte, QUIC_TLS_ALERT_CODES, int> ConnectionCertificateValidationComplete;
System\Net\Quic\QuicConnection.cs (4)
321
QUIC_HANDLE
* handle;
350
internal unsafe QuicConnection(
QUIC_HANDLE
* handle, QUIC_NEW_CONNECTION_INFO* info)
356
delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, QUIC_CONNECTION_EVENT*, int> nativeCallback = &NativeCallback;
775
private static unsafe int NativeCallback(
QUIC_HANDLE
* connection, void* context, QUIC_CONNECTION_EVENT* connectionEvent)
System\Net\Quic\QuicListener.cs (2)
124
QUIC_HANDLE
* handle;
369
private static unsafe int NativeCallback(
QUIC_HANDLE
* listener, void* context, QUIC_LISTENER_EVENT* listenerEvent)
System\Net\Quic\QuicStream.cs (4)
171
QUIC_HANDLE
* handle;
208
internal unsafe QuicStream(MsQuicContextSafeHandle connectionHandle,
QUIC_HANDLE
* handle, QUIC_STREAM_OPEN_FLAGS flags, long defaultErrorCode)
217
delegate* unmanaged[Cdecl]<
QUIC_HANDLE
*, void*, QUIC_STREAM_EVENT*, int> nativeCallback = &NativeCallback;
673
private static unsafe int NativeCallback(
QUIC_HANDLE
* stream, void* context, QUIC_STREAM_EVENT* streamEvent)