MXDM_INIT

A user-mode mixer driver’s mxdMessage function receives a MXDM_INIT message while the driver is being installed.

Parameters
uDeviceId
Device identifier (0, 1, 2, and so on) for the target device.
uMsg
MXDM_INIT
dwUser
Not used.
lParam1
Not used.
lParam2
Not used.
Return Value

The driver should return MMSYSERR_NOERROR if the operation succeeds. Otherwise it should return one of the MMSYSERR or MIXERR error codes defined in mmsystem.h.

Comments

A client sends the MXDM_INIT message by calling the user-mode driver’s mxdMessage entry point, passing the specified parameters.

Support for this message is optional. The message allows mixer drivers to perform additional installation activities after DRV_INSTALL has been received.