Share via


MXDM_GETLINECONTROLS (Compact 2013)

3/26/2014

This message requests a user-mode mixer driver to return information about specified controls connected to a specified audio line for the specified device.

Syntax

typedef struct {
  DWORD uDeviceId;
  UINT uMsg;
  DWORD dwUser;
  DWORD lParam1;
  DWORD lParam2;
} MXDM_GETLINECONTROLS;

Members

  • uDeviceId
    Device identifier for the target device. It can be 0, 1, 2, and so on.
  • uMsg
    Equals MXDM_GETLINECONTROLS.
  • dwUser
    Instance identifier associated with the caller.
  • lParam1
    Pointer to a MIXERLINECONTROLS structure.
  • lParam2
    Contains flag values.

Return Value

Returns MMSYSERR_NOERROR if the operation is successful. Otherwise, it returns one of the MMSYSERR or MIXERR error codes defined in Mmsystem.h. See mixerGetLineControls return values in the Win32 Software Development Kit (SDK).

Remarks

A client sends the MXDM_GETLINECONTROLS message by calling the user-mode driver's mxmdMessage entry point, passing the specified parameters.

The driver receives an empty MIXERLINECONTROLS structure and fills it in.

Requirements

Header

mmddk.h

See Also

Reference

Audio Mixer Messages