Using drvlib.lib

The user-mode library drvlib.lib provides the following:

The entry points, support functions, and communications path to the kernel-mode driver are identical to those provided by the standard audio driver, mmdrv.dll. This library is particularly useful if your user-mode driver requires only the functionality of mmdrv.dll, with the addition of customized installation and configuration operations. In such a case, you would create a module containing a customized DriverProc function, and then link it with drvlib.lib. To initialize the library, call DrvLibInit when your driver is loaded.

If your driver requires customized audio entry point functions, you might still want to base your functions on the those contained in drvlib.lib. Sources for drvlib.lib are provided with this DDK, in the directory path listed in Sample Audio Drivers.