Table of Contents

QUIC_LISTENER_CALLBACK function pointer

Handles listener events.

Syntax

typedef
_IRQL_requires_max_(PASSIVE_LEVEL)
_Function_class_(QUIC_LISTENER_CALLBACK)
QUIC_STATUS
(QUIC_API QUIC_LISTENER_CALLBACK)(
    _In_ HQUIC Listener,
    _In_opt_ void* Context,
    _Inout_ QUIC_LISTENER_EVENT* Event
    );

Parameters

Listener

The valid handle to the listener object this event is for.

Context

The application callback context (optionally) supplied in ListenerOpen.

Event

A pointer to the QUIC_LISTENER_EVENT payload.

Remarks

This function pointer handles callbacks from MsQuic for listener events. Apps are expected to keep any execution time in the callback to a minimum.

See Also

ListenerOpen
QUIC_LISTENER_EVENT
SetCallbackHandler
SetContext