<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE>
<!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Verdana;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
/* Page Definitions */
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        layout-grid:15.6pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Verdana size=2>Hope this is helpful:</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>The param "AdapterName"
of NDisOpenAdapter has a form of "\DEVICE\xxxxxxxx".</FONT></DIV>
<DIV><FONT face=Verdana size=2>Here is some example :</FONT></DIV>
<DIV><FONT face=Verdana
size=2>"\DEVICE\NDISWANIPX","\DEVICE\NDISWANIP","\DEVICE\{CDB6F4F1-F517-4761-A2C8-6ECB8486D276}",</FONT>etc...</DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana size=2>Did you forgot the prefix
"\DEVICE\"?</FONT></DIV>
<DIV align=left>
<DIV align=left><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
</FONT></DIV>
<DIV><FONT color=#c0c0c0><FONT face=Verdana size=2>liujianwu</FONT></DIV>
<DIV><FONT face=Verdana size=2>2007-11-23</FONT></FONT></DIV></DIV>
<DIV><FONT face=Verdana size=2>
<HR>
</FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发件人:</STRONG>
nechoe_cn@sina.com</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>发送时间:</STRONG>
2007-11-22 21:22:01</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>收件人:</STRONG>
winpcap-users@winpcap.org</FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>抄送:</STRONG> </FONT></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><STRONG>主题:</STRONG> [Winpcap-users] a
question</FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<P>hi,<BR>I'm working over a platform builded with Platform Builder 4.2.
I've<BR>developped a normal Dll for capture ethernet packet. There is an
export"IO_Control" to open \close\initiate ..my adapter. This device use<BR>NDIS
library version 4.0. I've problems with the function<BR>NDisOpenAdapter that
give me the error NDIS_STATUS_ADAPTER_NOT_FOUND. I<BR>try to understand, reading
also the newsgroup, why the open adapter<BR>fails but nothing. The AdapterName
that I use for the function is the<BR>result of a registry search on
HKEY_LOCAL_MACHINE\Comm\NE2000\Linkage<BR>and
HKEY_LOCAL_MACHINE\Comm\VMini\Linkage that give me NE20001 and<BR>VMINI1. Both
of them doesn't works. I've also reused microsoft code<BR>ndisconfig.c trying to
recover the adapter names bind in my platform.<BR>I've obtained the name
"PCI\RTL81391" that I've used for AdapterName<BR>but also this name doesn't
works. The question is: what is wrong in the param "AdapterName".<BR>I really
don't know what to do!<BR>many
thanks<BR></P><BR><BR>-------------------------------------------------------------------<BR>贺金山上市
毒霸历史最低价 25元半年( <A
href="http://d1.sina.com.cn/sina/limeng3/mail_zhuiyu/2007/mail_zhuiyu_20071112.html"
target=_blank>http://d1.sina.com.cn/sina/limeng3/mail_zhuiyu/2007/mail_zhuiyu_20071112.html</A>
)<BR><BR>===================================================================<BR>看股票最新行情,与大家分享讨论,新浪财经吧火热上线!(
<A href="http://bar.sina.com.cn/channel.php?chid=1"
target=_blank>http://bar.sina.com.cn/channel.php?chid=1</A> )
</FONT></DIV></BODY></HTML>