Driver crashing with DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS

Hi,

When I update driver or disable my driver, I get the error
DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS.

I realize that this means I am not cancelling some operations, but which
operations am I not cancelling? Irps?

Thanks,
Wynn

Try looking at DPCs that you may have left enqueued. Fo instance, the
DPC may have been from a KeInsertQueueDpc call, a DPC for ISR call, or
from a KeSetTimer(Ex) call. If you are running on server2003 and
higher, there is a new API, KeFlushDPCs which will make sure all of your
DPCs are flushed by the time the call returns.

D

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@hotmail.com [mailto:xxxxx@hotmail.com]
Sent: Tuesday, April 01, 2003 1:09 AM
To: NT Developers Interest List

Hi,

When I update driver or disable my driver, I get the error
DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS.

I realize that this means I am not cancelling some operations, but which
operations am I not cancelling? Irps?

Thanks,
Wynn


You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com