The ACMDM_DRIVER_NOTIFY message notifies an ACM driver of changes to other ACM drivers.
The driver should return MMSYSERR_NOERROR if the operation succeeds. Otherwise it should return one of the MMSYSERR error codes defined in mmsystem.h, or one of the ACMERR error codes defined in msacm.h.
The ACM sends the ACMDM_DRIVER_NOTIFY message by calling the driver’s DriverProc entry point, passing the specified parameters, each time a client calls the acmDriverAdd, acmDriverRemove, or acmDriverPriority function. (These functions are described in the Win32 SDK.)
ACM driver support for this message is optional. If the driver supports the message, it can call ACM API functions, such as acmEnumDrivers and acmMetrics, to determine which drivers have been added, removed, enabled, disabled, or had their priority changed.