VOID
SoundInitMidiIn(
IN OUT PMIDI_INFO pMidi,
IN PVOID HwContext
);
The SoundInitMidiIn function initializes a MIDI_INFO structure.
Parameters
pMidi
Pointer to a MIDI_INFO structure.
HwContext
Pointer to a driver-defined structure containing hardware context information. The pointer is stored in the HwContext member of MIDI_INFO.
Return Value
None.
Comments
Before calling SoundInitMidiIn, the driver must initialize the HwStartMidiIn, HwStopMidiIn, HwMidiRead, and HwMidiOut structure members and zero the rest of the structure.
Drivers calling SoundInitMidiIn must include midi.h.