OID_WW_GEN_ENCRYPTION_STATE
As a query, the OID_WW_GEN_ENCRYPTION_STATE OID requests the miniport driver to return FALSE if the currently selected encryption type is disabled.
As a set, this OID requests the miniport driver to enable or disable encryption. TRUE directs the miniport driver to enable encryption.
In either case, the miniport driver should return NDIS_STATUS_NOT_SUPPORTED if it or its NIC does not support encryption.
If any bound protocol has enabled indications with OID_WW_GEN_INDICATION_REQUEST, the miniport driver must call NdisMIndicateStatusto notify such protocol(s) if the encryption state changes. It can ignore the TriggerValue member that was specified in the OID_WW_GEN_INDICATION_REQUEST.
Note This OID is not available for use beginning with Windows Vista.