The MXDM_GETDEVCAPS message requests a user-mode mixer driver to return capabilities information about the specified device.
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 mixerGetDevCaps return values in the Win32 SDK.
A client sends the MXDM_GETDEVCAPS message by calling the user-mode driver’s mxdMessage entry point, passing the specified parameters.
The driver receives an empty MIXERCAPS structure and fills it in.