Re: [Wireshark-dev] how to open a HANDLE with a WiFi card

2009-06-19 Thread Joshua (Shiwei) Zhao
On Fri, Jun 19, 2009 at 4:08 PM, Guy Harris wrote: > > On Jun 18, 2009, at 4:43 PM, Joshua (Shiwei) Zhao wrote: > > > With Wireshark, I'm trying to modify it to send NDIS requests to a > > wifi card driver on windows OS. > > Ideally, Wireshark shouldn't do that; all operations on capture > device

Re: [Wireshark-dev] how to open a HANDLE with a WiFi card

2009-06-19 Thread Guy Harris
On Jun 18, 2009, at 4:43 PM, Joshua (Shiwei) Zhao wrote: > With Wireshark, I'm trying to modify it to send NDIS requests to a > wifi card driver on windows OS. Ideally, Wireshark shouldn't do that; all operations on capture devices should be done through libpcap/WinPcap. However, as not all

[Wireshark-dev] how to open a HANDLE with a WiFi card

2009-06-18 Thread Joshua (Shiwei) Zhao
Hi there, With Wireshark, I'm trying to modify it to send NDIS requests to a wifi card driver on windows OS. To do this I need to call CreateFile() and pass a string of device name to it. However, what exactly a device name should I pass? I have the following device name, e.g. \Device\NPF_{4C2