Tech Support > Microsoft Windows > Drivers > NdisMRemoveMiniport not shutting down miniport
NdisMRemoveMiniport not shutting down miniport
Posted by Michael on April 21st, 2008


When I call NdisMRemoveMiniport(), the return value is successful, but none
of the shutdown handlers get called and the driver stays loaded. What would
cause this behavior?

Thanks!

Posted by Alireza Dabagh [MS] on April 22nd, 2008


Chances are miniport adapter is holding on to an OID request or transmit
requests (not completing them) and as a result NDIS can not unbind the
protocols from the miniport adapter.

attach a kernel debugger and do a:
!stacks 2 ndis!

to see blocked NDIS threads.

-ali

--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Michael" <Michael@discussions.microsoft.com> wrote in message
news224C9E6-C08A-41E8-9CC3-214B5F62626C@microsoft.com...


Similar Posts