SoundWaveDeferred

VOID
SoundWaveDeferred(
PKDPC pDpc,
PDEVICE_OBJECT pDeviceObject,
PIRP pIrp,
PVOID Context
);

The SoundWaveDeferred function is the DPC function that is provided by soundlib.lib for waveform input and output devices.

Parameters

pDpc

Pointer to a DPC object.

pDeviceObject

Pointer to a device object.

pIrpDeferred

Pointer to an IRP. (Not used by SoundWaveDeferred. See Comments section below.)

Context

Pointer to context information. (Not used by SoundWaveDeferred. See Comments section below.)

Return Value

None.

Comments

Drivers using soundlib.lib should specify this routine's address as the DeferredRoutine member of each waveform device's SOUND_DEVICE_INIT structure. SoundCreateDevice passes to the address to IoInitializeDpcRequest.

A driver causes SoundWaveDeferred to be called by calling IoRequestDPC from its ISR. The driver should specify NULL for the Irp and Context parameters to IoRequestDPC, because SoundWaveDeferred does not use them.