Hi ! Here are my modifications in the driver
file “Packet.c” (via the unix command diff) ///// New
function > NDIS_STATUS PacketPnPEvent (IN
NDIS_HANDLE ProtocolBindingContext, >
IN PNET_PNP_EVENT pNetPnPEvent) > { > return NDIS_STATUS_SUCCESS; > } //// In the
function PKT_Init -> 229,230c235,238 < ProtocolChar.MajorNdisVersion = 0x03; < ProtocolChar.MinorNdisVersion = 0x00; --- > //ProtocolChar.MajorNdisVersion = 0x03; > //ProtocolChar.MinorNdisVersion = 0x00; > ProtocolChar.MajorNdisVersion = 5; > ProtocolChar.MinorNdisVersion = 0; 245a254,258 > ProtocolChar.PnPEventHandler = PacketPnPEvent; > ProtocolChar.UnloadHandler = NULL; > > ProtocolChar.ReceivePacketHandler = NULL; Then it should compile /Marc-Aurèle -----Original Message----- Marco, Thanks
for your information again. I compiled winpcap and ran fine under wince 3.0, so
can you pin point what I have to do to make it work under wince4.2 such
as "changing the version of
the NDIS declaration in the code, and to add the functions needed by NDIS
5.1." as you have mentioned. Do
you have a demo project for the driver and sample app I can look at? Thanks
a lot. John -----Original Message----- Don't
expect to capture all the traffic. You will be limited to the traffic of your
network! (The network of your current SSID for a Wireless LAN) /Marc-Aurèle -----Original Message----- Marco, Thanks
for the info. I was under the impression that you weren't able to capture any
traffic? John -----Original Message----- Hi, Yes,
I did it. You need to look at the new specification for NDIS. You just need to
change the version of the NDIS declaration in the code, and to add the
functions needed by NDIS 5.1. /Marco -----Original Message----- I tried compiling it with evc++ 4.0
and it gave me a whole bunch of errors. |
RE: [WinPcap-users] PacketCE - Someone got it working under Windows CE 4.2?
Marc-Aurèle Brothier - s h o c k f i s h / Wed, 11 Feb 2004 09:48:45 -0800
- [WinPcap-users] PacketCE - Some... Marc-Aurèle Brothier / S h o c k f i s h
- Marc-Aurèle Brothier - s h o c k f i s h /