The problem shouldn't have anything to do with the support of wireless
adapters. In every case, the driver shouldn't crash the system if an adapter
is not supported...
getAdaptersList() opens the registry, looks for some keys where the adapter
descriptions are normally stored, parses them and return the result to the
DriverEntry() routine. Since keyHandle is initialized by ZwOpenKey, I
suppose that this routine is not able to properly open the registry key of
your wireless adapter, but for some reason it returns a successful status.
Did you check the presence and the correctness of the key in question? Is it
possible that the registry of the machine is somehow corrupted?

Loris


> Hi,
>
> I'm developing an application to send/receive packets through both
> wireless lan card(11a/b) and wired card(Ethernet). My program is
> running on Windows XP(SP 1) and I'm using WinPcap 3.0.
>
> Normally, my program is working well, but sometimes I got a blue
> screen directly after I start my application. The bug check of
> BOD is PAGE_FAULT_IN_NONPAGED_AREA (0x50), and the
> program crashed in a module of npf.sys.
>
>  I tried to find out the cause of this BOD by examining the minidump
> file
> of the BOD by using WinDbg.  I found that the program was crashed in
> function "getAdaptersList" of npf.sys. The keyHandle of wireless adapter
>
> in function "getAdaptersList" pointed to the object that referred to the
>
> unknown memory area.
>
> I tried to figure out why this happened, but I still don't have any idea
> on
> the cause of  the problem.
>
> Additionally, The problem seem to be randomly occurred and not so
> often; I start, stop, and then restart my program repeatedly for 50
> times,
> it occured only once.
>
> Is this because the NPF driver does not fully support Wireless adapter ?
>
> Or it is because of other causes ?
>
> Any help is really appreciated
> Pun
>
>
>
>
> ==================================================================
>  This is the WinPcap users list. It is archived at
>  http://www.mail-archive.com/[EMAIL PROTECTED]/
>
>  To unsubscribe use
>  mailto: [EMAIL PROTECTED]
> ==================================================================
>




==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

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

Reply via email to