Opens a new handle to the MsQuic library.
_IRQL_requires_max_(PASSIVE_LEVEL)
_Pre_defensive_
QUIC_STATUS
QUIC_API
MsQuicOpen(
_Out_ const QUIC_API_TABLE** QuicApi
);
QuicApi
On success, returns a pointer to the API function table.
The function returns a QUIC_STATUS. The app may use QUIC_FAILED
or QUIC_SUCCEEDED
to determine if the function failed or succeeded.
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.