Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 718 Bytes

MsQuicClose.md

File metadata and controls

32 lines (21 loc) · 718 Bytes

MsQuicClose function

Closes an existing handle to the MsQuic library, releasing the reference on the library and freeing the function table.

Syntax

_IRQL_requires_max_(PASSIVE_LEVEL)
_Pre_defensive_
void
QUIC_API
MsQuicClose(
    _In_ const void* QuicApi
    );

Parameters

QuicApi

The function table from a previous call to MsQuicOpenVersion.

Remarks

This function must be called when the app is done with the MsQuic library.

MsQuicClose and MsQuicOpenVersion are not thread-safe if the caller is statically linking MsQuic, and therefore must not be called in parallel.

See Also

MsQuicOpenVersion