// ntfill.h
typedef struct _TLS_PARAMETERS
{
DWORD cAlpnIds; // Valid for server applications only. Must be zero otherwise. Number of ALPN IDs in rgstrAlpnIds; set to 0 if applies to all.
PUNICODE_STRING rgstrAlpnIds; // Valid for server applications only. Must be NULL otherwise. Array of ALPN IDs that the following settings apply to; set to NULL if applies to all.
DWORD grbitDisabledProtocols; // List protocols you DO NOT want negotiated.
DWORD cDisabledCrypto; // Number of CRYPTO_SETTINGS structures; set to 0 if there are none.
PCRYPTO_SETTINGS pDisabledCrypto; // Array of CRYPTO_SETTINGS structures; set to NULL if there are none;
DWORD dwFlags; // Optional flags to pass; set to 0 if there are none.
} TLS_PARAMETERS, *PTLS_PARAMETERS;
View code on GitHubNo description available.