The test applications exercise the device drivers indirectly by using functions that access MMSYSTEM. MMSYSTEM then sends the driver messages to your driver. Testing your device driver this way checks that it is compatible with the environment and the functions available to applications.
The test applications provide a set of confidence tests for your multimedia device drivers. These tests should supplement the tests you define for testing your device driver. You should run all tests available for your device driver and all supported features in your device driver should pass the tests. Unsupported features should fail the tests gracefully. For example, a MIDI device that does not support recording should return the unsupported function error message for a record command and return to the application.
The following test applications are available on the disks included in the DDK:
Test Application | Description |
JOYTST | Tests joystick (absolute position) device drivers. |
MCICORE | Tests all MCI device drivers with the required command set. |
MCICD | Tests MCI CD audio device drivers with the CD audio command set. |
MCISEQ | Tests MCI MIDI device drivers with the MCI sequencer command set. |
MCIVDSC | Tests MCI videodisc device drivers with the videodisc command set. |
MCIWAVE | Tests MCI wave audio device drivers with the wave audio command set. |
WAVETST | Tests wave device drivers using the wave functions. |
MINTST | Tests MIDI device drivers input capabilities using the MIDI functions. |
MOUTTST | Tests MIDI device drivers output capabilities using the MIDI functions. |
MIDIIOT | Tests MIDI device drivers input and output capabilities together using the MIDI functions. |
MIDIPLAY | Tests the performance of the output capabilities of MIDI device drivers. |
MIDIREC | Tests the performance of the simultaneous input and output capabilities of MIDI device drivers. |