|
this is from testapp.c in the "devpack" download.
It works for me:
dwVersion=GetVersion(); dwWindowsMajorVersion =
(DWORD)(LOBYTE(LOWORD(dwVersion)));
if (!(dwVersion >= 0x80000000 &&
dwWindowsMajorVersion >= 4)) { // Windows NT
b =
PacketGetAdapterNames( (char
*)AdapterName, &AdapterLength);
.....
----- Original Message -----
Sent: Tuesday, June 18, 2002 11:27
AM
Subject: [WinPcap-users] problem with
PacketGetAdapterNames()?
I use winpcap2.3 on win2k, the PacketGetAdapterNames(PTSTR pStr,
PULONG BufferSize) function don't ' returns the names of the
adapters installed on the system in the user allocated buffer pStr. I
installed an earlier version of winpcap, but the same problem. I can't
use pcap_lookupdev() because I've several NICs.
can you help me?
Do You Yahoo!? Sign-up
for Video Highlights of 2002 FIFA World Cup
|