The Multimedia option in the Control Panel is the preferred method for installing device drivers. The Multimedia option uses information in the OEMSETUP.INF file for your driver to add the entries in the [drivers] section, as well as entries in the [386enh] section, to install any VxDs you require.
The entry that identifies your driver in the [drivers] section lets Windows load the driver. If this entry is absent, your driver won't be recognized. While installation programs usually add the necessary entry for completed device drivers, you might have to manually add it while you are developing your device driver. You might also have to manually add any [386enh] entries you need. The final version of your device driver should use an installation program to create and delete the entries in these two sections. The following table identifies the keynames for various multimedia drivers.
Use this keyname | For the following driver types |
---|---|
MSVideo | Video-capture device drivers. |
wave | Waveform device drivers. |
midi | MIDI device drivers. |
vidc.nnnn | Video compression or decompression device driver. In this case, nnnn represents the four-character code for the driver. |
msacm.nnnn | Audio compression or decompression device driver. In this case, nnnn represents the four-character code for the driver. |
vids.nnnn | Video stream compression driver. In this case, nnnn represents the four-character code for the driver. |
If there is more than one wave or MIDI driver, append a number from 1 to 9 after the keyname. When you have multiple drivers, use sequential numbers to identify them.
For example, the following [drivers] section extract identifies one waveform device driver named SNDBLST2.DRV, two MIDI device drivers named ADLIB.DRV and MPU401.DRV, and one video-capture device driver named BRAVADO.DRV.
[drivers]
timer=timer.drv
joystick=ibmjoy.drv
wave=*.drv
midi=*.drv
midimapper=midimap.drv
wavemapper=msacm.drv
MSVideo=bravado.drv
Note After installing an audio driver with the Multimedia option in the Control Panel, Windows must be restarted to load the driver.