PacketGetAdapterName firstly checkes the register entry 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\xxxx\Linkage
 and then HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Linkage. In your 
system, it seems no adapters found under the regster entry 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}


----- Original Message -----
From:<[EMAIL PROTECTED]>
To:<[EMAIL PROTECTED]>
Subject:[WinPcap-users] PacketGetAdapterNames on Windows NT 4.0
Date:Thu, 17 Oct 2002 15:29:58 +0800
> <DIV><HEAD>
> <META http-equiv=Content-Type content="text/html; charset=windows-1252">
> <META content="MSHTML 6.00.2719.2200" name=GENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <xbody bgColor=#ffffff>
> <DIV><FONT face=Arial size=2>Hi WinPcap-users!</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> <DIV><FONT face=Arial size=2>How&nbsp;does PacketGetAdapterNames work&nbsp;under 
> Windows NT 4.0&nbsp;? It seems that PacketGetAdapterNames from 
> PacketNTx->Dll->packet32.c doesn't work properly&nbsp;and WinPcap uses 
> another method to detect adapters under Windows NT 4.0. I make a trace file of 
> PacketGetAdapterNames procedure and I've got the follows:</FONT></DIV>
> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><FONT face=Arial size=2>
> <DIV>PacketGetAdapterNames: BufferSize=4096<BR>Need 2 bytes for the 
> names<BR>PacketGetAdapterNames: Cycling through the adapters:<BR>Adapters not 
> found under SYSTEMCurrentControlSetControlClass. Using the TCP/IP 
> bindings.</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>The file winpcap_debug.txt is empty.</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>Yours sincerely,</DIV>
> <DIV>Alex Bash</DIV>
> <DIV>&nbsp;</DIV></FONT></xbody>
> </DIV>

______________________________________

===================================================================


==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/winpcap-users@;winpcap.polito.it/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]?body=unsubscribe
==================================================================

Reply via email to