MIXERLINECONTROLS
The MIXERLINECONTROLS
structure contains information about the controls of an audio line.
typedef struct {
DWORD
cbStruct;
DWORD
dwLineID;
union {
DWORD
dwControlID;
DWORD
dwControlType;
};
DWORD cControls;
DWORD cbmxctrl;
LPMIXERCONTROL pamxctrl;
} MIXERLINECONTROLS;
Members
cbStruct
Size, in
bytes, of the MIXERLINECONTROLS structure. This member must be
initialized before calling the mixerGetLineControls
dwLineID
Line
identifier for which controls are being queried. This member is not used if the
MIXER_GETLINECONTROLSF_ONEBYID flag is specified for the mixerGetLineControls
function, but the mixer device still returns this member in this case. The dwControlID
and dwControlType members are not used when MIXER_GETLINECONTROLSF_ALL
is specified.
dwControlID
Control
identifier of the desired control. This member is used with the
MIXER_GETLINECONTROLSF_ONEBYID flag for the mixerGetLineControls
dwControlType
Class of the
desired control. This member is used with the MIXER_GETLINECONTROLSF_ONEBYTYPE
flag for the mixerGetLineControls function to retrieve the first control
of the specified class on the line specified by the dwLineID member of
the MIXERLINECONTROLS structure. This member overlaps with the dwControlID
member and cannot be used in conjunction with the
MIXER_GETLINECONTROLSF_ONEBYID query type.
cControls
Number of MIXERCONTROL
cbmxctrl
Size, in
bytes, of a single MIXERCONTROL structure. The size specified in this
member must be at least large enough to contain the base MIXERCONTROL
structure. The total size, in bytes, required for the buffer pointed to by the pamxctrl
member is the product of the cbmxctrl and cControls members of
the MIXERLINECONTROLS structure.
pamxctrl
Address of
one or more MIXERCONTROL
See Also