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

推荐订阅源

W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
腾讯CDC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
F
Full Disclosure
博客园 - 【当耐特】
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Threatpost
I
Intezer
V2EX - 技术
V2EX - 技术
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
小众软件
小众软件
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
N
News | PayPal Newsroom
MyScale Blog
MyScale Blog
AI
AI
Vercel News
Vercel News
Spread Privacy
Spread Privacy
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
Help Net Security
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 热门话题
U
Unit 42
L
LangChain Blog
Recent Announcements
Recent Announcements

博客园 - 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。