BOOLEAN
KeRemoveQueueDpc(
IN PKDPC Dpc
);
KeRemoveQueueDpc removes a given DPC object from the system DPC queue.
KeRemoveQueueDpc returns TRUE if the DPC object is in the DPC queue. If the given DPC object is not currently in the DPC queue, no operation is performed and FALSE is returned.
If the given DPC object is currently queued, it is removed from the queue, canceling a call to the associated DPC routine.
Callers of KeRemoveQueueDpc can be running at any IRQL.