VOID
SoundMidiInDeferred(
IN PKDPC pDpc,
IN PDEVICE_OBJECT pDeviceObject,
IN OUT PIRP pIrpDeferred,
IN OUT PVOID Context
);
The SoundMidiInDeferred function is the DPC function that is provided by soundlib.lib for MIDI input devices.
Parameters
pDpc
Pointer to a DPC object.
pDeviceObject
Pointer to a device object.
pIrpDeferred
Pointer to an IRP. (Not used by SoundMidiInDeferred. See Comments section below.)
Context
Pointer to context information. (Not used by SoundMidiInDeferred. See Comments section below.)
Return Value
None.
Comments
Drivers using soundlib.lib should specify this function’s address as the DeferredRoutine member of each MIDI input device’s SOUND_DEVICE_INIT structure. SoundCreateDevice passes the address to IoInitializeDpcRequest.
A driver causes SoundMidiInDeferred to be called by calling IoRequestDPC from its ISR. The driver should specify NULL for the Irp and Context parameters to IoRequestDPC, because SoundMidiInDeferred does not use them.