MXDM_GETDEVCAPS

The MXDM_GETDEVCAPS message requests a user-mode mixer driver to return capabilities information about the specified device.

Parameters
uDeviceId
Device identifier (0, 1, 2, and so on) for the target device.
uMsg
MXDM_GETDEVCAPS
dwUser
Instance identifier associated with the caller.
lParam1
Pointer to a MIXERCAPS structure, which is described in the Win32 SDK.
lParam2
Size of buffer pointed to by lparam1.
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 mixerGetDevCaps return values in the Win32 SDK.

Comments

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.