Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 952 Bytes

MsQuicOpen.md

File metadata and controls

37 lines (24 loc) · 952 Bytes

MsQuicOpen function

Opens a new handle to the MsQuic library.

Syntax

_IRQL_requires_max_(PASSIVE_LEVEL)
_Pre_defensive_
QUIC_STATUS
QUIC_API
MsQuicOpen(
    _Out_ const QUIC_API_TABLE** QuicApi
    );

Parameters

QuicApi

On success, returns a pointer to the API function table.

Return Value

The function returns a QUIC_STATUS. The app may use QUIC_FAILED or QUIC_SUCCEEDED to determine if the function failed or succeeded.

Remarks

This function is the entry point for the MsQuic API. This function may be called multiple times to get multiple new function tables, but this is generally unnecessary. An app should only need call this once.

For every successful call to MsQuicOpen the app must call MsQuicClose, passing in the function table from QuicApi when the app is done with it.

See Also

MsQuicClose
QUIC_API_TABLE