PIRP
SoundRemoveFromCancellableQ(
PLIST_ENTRY QueueHead
);
The SoundRemoveFromCancellableQ function removes an IRP from the head of the specified IRP queue, makes the IRP noncancelable, and returns its address.
Address of an IRP structure containing the removed IRP.
Generally, drivers using soundlib.lib do not need to manipulate IRP queues because DPCs in soundlib.lib handle IRP completion. For drivers that do manipulate IRP queues, the SoundAddIrpToCancellableQ, SoundRemoveFromCancellableQ, SoundMoveCancellableQueue, SoundFreePendingIrps, and SoundFreeQ functions are provided.