WlanAPI example for VisualFBEditor
A Windows WLANAPI scanning program designed to scan and display available WiFi networks along with their detailed information.
- Opening a WLAN API handle
- Registering a WLAN notification callback
- Enumerating WiFi interfaces within the system
- Scanning and displaying a list of available networks
- Retrieving BSS (Basic Service Set) details for each network
- WlanNotificationCallback: Handles notifications for scan completion and failure.
- Initialize the WLAN API
- Create a synchronization event
- Register the notification callback
- Enumerate WiFi interfaces
- Perform a scan on each interface
- Retrieve and display the list of networks
- Obtain BSS details for each network
Windows WLANAPI扫描程序,用于扫描和显示可用的WiFi网络及其详细信息。
- 打开WLAN API句柄
- 注册WLAN通知回调
- 枚举系统中的WiFi接口
- 扫描并显示可用网络列表
- 获取每个网络的BSS(基本服务集)详细信息
- WlanNotificationCallback:处理扫描完成和失败的通知
- 初始化WLAN API
- 创建同步事件
- 注册通知回调
- 枚举WiFi接口
- 对每个接口执行扫描
- 获取并显示网络列表
- 获取每个网络的BSS详细信息