I have a NDIS_WDM driver for my cardbus network card
on 9x/me. When I stop the device through the tray icon
it page faults at ndis.sys. If I do not have the WDM
component my driver works fine.
My Miniport halt handler is called and then I get some
PNP IRPS. I delete the WDM deviceObject in my
miniportHalt but Why do I get the PNP Irps if there is
no deviceobject…
I would like to know how to handle the device halt
scenario in both my wdm and NDIS component.
Thanks
Daniel
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Dan,
I worked on an issue in Windows 98SE a week ago where (1) a miniport/NIC
was disabled in the Device Manager. (2) This caused, as you would
expect, the miniport’s HaltHandler to get called. (3) Later, when the
machine was suspended (standby) the miniport’s QueryHandler got called
with an OID_QUERY_POWER (and probably the SetHandler got called with
OID_SET_POWER, but I never confirmed that).
I’m still reviewing why that was happening in the first place. But in
that case, the solution was to always return SUCCESS to that OID – but
not touch the MiniportAdapterContext that you were passed, since you
probably freed that structure during your halt handling.
Bryan S. Burgin
xxxxx@microsoft.com
This posting is provided “AS IS” with no warranties, and confers no
rights. You assume all risk for your use. (c) 2001 Microsoft
Corporation. All rights reserved.
-----Original Message-----
From: Dan . [mailto:xxxxx@yahoo.com]
Sent: Wednesday, September 26, 2001 8:31 PM
To: NT Developers Interest List
Subject: [ntdev] Ndis WDM
I have a NDIS_WDM driver for my cardbus network card
on 9x/me. When I stop the device through the tray icon
it page faults at ndis.sys. If I do not have the WDM
component my driver works fine.
My Miniport halt handler is called and then I get some
PNP IRPS. I delete the WDM deviceObject in my
miniportHalt but Why do I get the PNP Irps if there is
no deviceobject…
I would like to know how to handle the device halt
scenario in both my wdm and NDIS component.
Thanks
Daniel
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger. http://im.yahoo.com
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com