Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1010 Bytes

QUIC_STREAM_CALLBACK.md

File metadata and controls

43 lines (29 loc) · 1010 Bytes

QUIC_STREAM_CALLBACK function pointer signature

Handles stream events.

Syntax

typedef
_IRQL_requires_max_(PASSIVE_LEVEL)
_Function_class_(QUIC_STREAM_CALLBACK)
QUIC_STATUS
(QUIC_API QUIC_STREAM_CALLBACK)(
    _In_ HQUIC Stream,
    _In_opt_ void* Context,
    _Inout_ QUIC_STREAM_EVENT* Event
    );

Parameters

Stream

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

Context

The application callback context (optionally) supplied in StreamOpen, SetCallbackHandler or SetContext.

Event

A pointer to the QUIC_STREAM_EVENT payload.

Remarks

This is the signature of the function that handles callbacks from MsQuic for stream events. Apps are expected to keep any execution time in the callback to a minimum.

See Also

StreamOpen
QUIC_STREAM_EVENT
SetCallbackHandler
SetContext