如何在Windows XP上完成扫描时收到通知? [英] How to get notified when the scan is completed on Windows XP?

查看:160
本文介绍了如何在Windows XP上完成扫描时收到通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用GetNetworkBssList()来搜索Bss。当触发有关扫描完成的通知事件时,我使用了此函数。


这适用于Windows 7,但根据http://msdn.microsoft.com/en-us/library/ ms706783%28v = VS.85%29.aspx"
WlanScan 功能立即返回,并且在Windows  XP with SP3或无线局域网上完成扫描时不提供通知适用于Windows的API 带SP2的XP"。那么我怎么知道何时在Windows XP上调用GetNetworkBssList()
来检索Bss的列表?


提前谢谢。

解决方案

您应首先调用WlanRegisterNotification()函数来注册通知事件,


然后在回调函数中知道连接已完成


I'm using GetNetworkBssList() to search for Bss's. I used this function when a notify event about scan complete is triggered.

This works on Windows 7, but according to http://msdn.microsoft.com/en-us/library/ms706783%28v=VS.85%29.aspx "The WlanScan function returns immediately and does not provide a notification when the scan is complete on Windows XP with SP3 or the Wireless LAN API for Windows XP with SP2". So how will I know when to call GetNetworkBssList() on Windows XP to retrieve a list of Bss's?

Thanks in advance.

解决方案

You should first call WlanRegisterNotification () function to register a notification event,

and then in the callback function to know the connection is completed


这篇关于如何在Windows XP上完成扫描时收到通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆