Module-Definition Files
To build a device-driver DLL, you must have a module-definition (.DEF) file. From this file, you export entry-point functions. Note that the DriverProc entry point must be exported for all drivers. If you are writing a waveform, MIDI, mixer, or auxiliary driver, you must export additional entry-point functions, as specified in the following list:
- The DriverProc function must be exported for all audio device drivers.
- The wodMessage function must be exported for waveform output drivers.
- The widMessage function must be exported for waveform input drivers.
- The modMessage function must be exported for MIDI output drivers.
- The midMessage function must be exported for MIDI input drivers.
- The auxMessage function must be exported for auxiliary audio drivers.
- The mxdMessage function must be exported for mixer drivers.