0

我在 wlan api 中找不到知道配置文件是否连接到网络的功能。

WlanGetAvailableNetworkList 仅提供与配置文件关联的网络。

谢谢你的帮助。

4

1 回答 1

0

答案:使用 WlanRegisterNotification

并在结构 WLAN_CONNECTION_NOTIFICATION_DATA 中使用 wlanReasonCode == WLAN_REASON_CODE_SUCCESS 检查 NotificationCode == wlan_notification_acm_connection_complete

于 2016-04-14T13:35:40.640 回答