Gets the application context from the API object.
typedef
_IRQL_requires_max_(DISPATCH_LEVEL)
void*
(QUIC_API * QUIC_GET_CONTEXT_FN)(
_In_ _Pre_defensive_ HQUIC Handle
);
Handle
The valid handle to any API object. This includes handles to registration, configuration, listener, connection and stream objects.
The function returns the previously set application context for the object.
This function allows the app to query the application context it has previously set on the object.
Important There is no internal synchronization for this context. If the app calls GetContext, SetContext and/or SetCallbackHandler on different threads, it must provide for the necessary synchronization mechanisms.