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_profile = 0,





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?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,449 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 82,116 Reputation points

    netsh calls WlanGetProfile and reads connectionMode from XML string

    1 person found this answer helpful.