SoundMoveCancellableQueue

VOID
    SoundMoveCancellableQueue(
        IN OUT PLIST_ENTRY
From,
        IN OUT PLIST_ENTRY
To
);

The SoundMoveCancellableQueue function moves a queue of cancelable IRPs to another queue.

Parameters
From
Pointer to a queue of IRPs to be moved.
To
Pointer to an empty queue into which IRPs are to be moved.
Return Value

None.

Comments

The SoundMoveCancellableQueue function initializes the To queue by calling InitializeListHead.

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.