The MXDM_SETCONTROLDETAILS message requests a user-mode mixer driver to set information about specified controls connected to a specified audio line for a specified device.
Parameters
uDeviceId
Device identifier (0, 1, 2, and so on) for the target device.
uMsg
MXDM_SETCONTROLDETAILS
dwUser
Instance identifier associated with caller.
lParam1
Pointer to a MIXERCONTROLDETAILS structure, which is described in the Win32 SDK.
lParam2
Contains flag values. For a list of valid flags, see the description of mixerGetLineControls in the Win32 SDK.
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. See mixerSetControlDetails return values in the Win32 SDK.
Comments
A client sends the MXDM_SETCONTROLDETAILS message by calling the user-mode driver’s mxdMessage entry point, passing the specified parameters.
The driver receives a MIXERCONTROLDETAILS structure containing information to be set.