[Winpcap-users] a question

liujianwu liujw at supcon.com
Fri Nov 23 01:34:35 GMT 2007


Hope this is helpful:

The param "AdapterName" of  NDisOpenAdapter has a form of "\DEVICE\xxxxxxxx".
Here is some example :
"\DEVICE\NDISWANIPX","\DEVICE\NDISWANIP","\DEVICE\{CDB6F4F1-F517-4761-A2C8-6ECB8486D276}",etc...

Did you forgot the prefix "\DEVICE\"?



liujianwu
2007-11-23



发件人: nechoe_cn at sina.com
发送时间: 2007-11-22 21:22:01
收件人: winpcap-users at winpcap.org
抄送: 
主题: [Winpcap-users] a question

hi,
I'm working over a platform builded with Platform Builder 4.2. I've
developped a normal Dll  for capture ethernet packet. There is an export"IO_Control" to open \close\initiate ..my adapter. This device use
NDIS library version 4.0. I've problems with the function
NDisOpenAdapter that give me the error NDIS_STATUS_ADAPTER_NOT_FOUND. I
try to understand, reading also the newsgroup, why the open adapter
fails but nothing. The AdapterName that I use for the function is the
result of a registry search on HKEY_LOCAL_MACHINE\Comm\NE2000\Linkage
and HKEY_LOCAL_MACHINE\Comm\VMini\Linkage that give me NE20001 and
VMINI1. Both of them doesn't works. I've also reused microsoft code
ndisconfig.c trying to recover the adapter names bind in my platform.
I've obtained the name "PCI\RTL81391" that I've used for AdapterName
but also this name doesn't works. The question is: what is wrong in the param "AdapterName".
I really don't know what to do!
many thanks



-------------------------------------------------------------------
贺金山上市 毒霸历史最低价 25元半年( http://d1.sina.com.cn/sina/limeng3/mail_zhuiyu/2007/mail_zhuiyu_20071112.html )

===================================================================
看股票最新行情,与大家分享讨论,新浪财经吧火热上线!( http://bar.sina.com.cn/channel.php?chid=1 ) 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20071123/7e55c627/attachment-0001.htm


More information about the Winpcap-users mailing list