惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tenable Blog
H
Heimdal Security Blog
K
Kaspersky official blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
S
Schneier on Security
G
GRAHAM CLULEY
U
Unit 42
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
C
CERT Recently Published Vulnerability Notes
Google DeepMind News
Google DeepMind News
罗磊的独立博客
Stack Overflow Blog
Stack Overflow Blog
阮一峰的网络日志
阮一峰的网络日志
Simon Willison's Weblog
Simon Willison's Weblog
C
Cisco Blogs
Cyberwarzone
Cyberwarzone
T
The Exploit Database - CXSecurity.com
Project Zero
Project Zero
Security Archives - TechRepublic
Security Archives - TechRepublic
www.infosecurity-magazine.com
www.infosecurity-magazine.com
博客园 - 司徒正美
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
V
Visual Studio Blog
博客园 - Franky
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
Jina AI
Jina AI
P
Proofpoint News Feed
P
Proofpoint News Feed
有赞技术团队
有赞技术团队
L
LINUX DO - 最新话题
宝玉的分享
宝玉的分享
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - 聂微东
T
The Blog of Author Tim Ferriss
Spread Privacy
Spread Privacy
Application and Cybersecurity Blog
Application and Cybersecurity Blog
IT之家
IT之家
S
Security Affairs
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
小众软件
小众软件
N
News | PayPal Newsroom
Cloudbric
Cloudbric
AWS News Blog
AWS News Blog
W
WeLiveSecurity
The Last Watchdog
The Last Watchdog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
NISL@THU
NISL@THU

博客园 - Emosen

Win7 不能安装SQL Server 2005 Management Studio Express.msi解决办法 WINDOWS 画空心字 - Emosen - 博客园 ZT--文本显示尺寸计算(关于控件的尺寸定义) create database link 数据库主键设计之思考 开始→运行→输入的命令集锦 开发人员一定要加入收藏夹的网站 SQL Server 2005 Express 远程访问设置方法 Microsoft SQL Server 2005 Express 远程访问设置详述,100%成功篇 编程十诫 转贴:最常见问题(FAQ)留着慢慢学习--微软.net精简框架最常见问题 C# 改变图片大小的功能代码片段 (wince5) PHP+PDO+ORALCE 实例演示 PHP+PDO+ORALCE 配置说明 Oracle 数据类型 Oracle分页查询语句(一) 网页UTF8编码--多出空白行的问题(ZT) 开源性能测试工具 - ApacheBench(简称ab) 介绍 用Eclipse开发PHP项目
ndis 相关资料
Emosen · 2009-05-07 · via 博客园 - Emosen

NDIS的研究 http://www.ndis.com/.

1,GetAdaptersInfo 获取设备名

DWORD GetAdaptersInfo(
  PIP_ADAPTER_INFO pAdapterInfo,
  PULONG pOutBufLen
);
Parameters
pAdapterInfo
Pointer to a buffer that, on successful return, receives a linked list of IP_ADAPTER_INFO structures.
pOutBufLen
Pointer to a ULONG variable that contains the size, in bytes, of the buffer pointed to by the pAdapterInfo parameter. If this size is insufficient to hold the adapter information, this function fills in this variable with the required size, and returns an error code of ERROR_BUFFER_OVERFLOW.
Return Values

2.CreateFile 获得ndis 句柄

3.DeviceIoControl 用上面取得的句柄和设备名,和你要查询的ndis OID,获取信息。

如果你想测试是你的程序问题还是wlan driver 没有返回查询,推荐使用ndis tools ,
免费下载 在 http://rawether.net/embedded/WINCE/downloads.htm
你可以看看你的网卡支持那些OID

windows DDK开发.

WRAPI works on all wireless NICs (network interface cards) that have drivers for WindowsXP. In other words, WRAPI works with any driver that is NDIS 5.1 compliant. This is because the wireless OIDs are not supported in any earlier versions of NDIS (5.0 and earlier).

http://rawether.net/

 How can I query and set NDIS adapter driver information from my Win32 application?
 
 How can I manage 802.11 connections on Windows XP (including Windows XP Embedded)?


http://www.ndis.com/pcakb/KB01010301.htm

http://www.ndis.com/
The lesson to be learned here is not to develop software that depends on the Microsoft-signed in-box NDISUIO driver. The API supported by NDISUIO is NOT a supported Windows service that you can depend upon.
If you are not able or willing to develop and deploy your own NDIS protocol driver, you can adapt your software to initially attempt to use the NDISUIO Build 2600 IOCTL values. If they fail, then attempt to use the NDISUIO SP1 IOCTL values.

http://ramp.ucsd.edu/pawn/wrapi/
use ndisuio to get/set wifi card.

http://sourceforge.net/projects/wrapi/

NDIS.

1,GetAdaptersInfo 获取设备名
  2.CreateFile 获得ndis 句柄
  3.DeviceIoControl 用上面取得的句柄和设备名,和你要查询的ndis OID,获取信息。
如果你想测试是你的程序问题还是wlan driver 没有返回查询,推荐使用ndis tools ,
免费下载 在 http://rawether.net/embedded/WINCE/downloads.htm
你可以看看你的网卡支持那些OID

我在实际项目要控制wifi sdio卡,现在是调用WZC实现的。比较傻瓜级,如果更深层次的控制依旧需要使用NDISUIO和NDIS。