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.
Parameters
QueueHead
Pointer to the head of a queue of IRPs.
Return Value
Address of an IRP structure containing the removed IRP.
Comments
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.