netsh calls WlanGetProfile and reads connectionMode from XML string
how is the windows API (WlanQueryInterface ) response containing enum _WLAN_CONNECTION_MODE mapped into command line wifi connection mode values Auto/ Manual?
Abhay Yadav
0
Reputation points
windows API (WlanQueryInterface ) response for any particular wifi profile gives connection mode as below Enum
_WLAN_CONNECTION_MODE {
wlan_connection_mode_profile = 0,
wlan_connection_mode_temporary_profile,
wlan_connection_mode_discovery_secure,
wlan_connection_mode_discovery_unsecure,
wlan_connection_mode_auto,
wlan_connection_mode_invalid }
How is this enum mapped such that netsh wlan show profile "wifi profile" command gives connection mode as either Auto or Manual?