To build user-mode drivers, refer to the description of the BUILD utility in the Programmer’s Guide. You must provide a file named makefile and a file named sources, and place them in the directory path containing your source files. Refer to the makefile and sources files provided with the source code for the sample drivers in this DDK.
All user-mode multimedia drivers must be linked with winmm.dll. Additional libraries are provided for the various device and driver types and are referred to in the chapters describing each driver type. The chapters are listed in Types of Multimedia Devices.
All user-mode multimedia drivers must include the mmystem.h header file. Additional header files are provided for the various device and driver types and are referred to in the chapters describing each driver type.
Because user-mode drivers are dynamic-link libraries, their file extension should generally be .dll. (This is not a requirement and, for example, Audio Compression Manager drivers have an extension of .acm.) If you provide both a 16-bit and a 32-bit version of your driver, append 32 to the file name for the 32-bit version.