I've been doing some work with the WLAN API and thought that some may be interested. It's not complete yet but there's enough to get anyone interested in 'playing' a reasonable start.
The attached is a small project which will display the attributes of all available Wireless Networks to the Immediate Window and populate a ComboBox with the Available Networks Profile Names. Click on 'Show Wireless Networks' to start.
Clicking on a Profile Name will disconnect from the current network and attempt to connect to that network (Note that I have only tested this part on an unsecured network - feedback on other types of networks would be appreciated). Clicking on the 'Disconnect' button will disconnect from the currently connected network.
The WLAN_NOTIFICATION_CALLBACK routine is used to show the various stages involved in Connection and Disconnection, which are also displayed to the Immediate Window.
A word of warning, when running from the IDE make sure you exit via the 'Exit' button. This ensures that the Notification process is terminated in a proper fashion. If you don't do that, then you'll find that the IDE crashes within 1 minute.