MIXERCAPSA structure (mmeapi.h)

The MIXERCAPS structure describes the capabilities of a mixer device.

Syntax

typedef struct tagMIXERCAPSA {
  WORD      wMid;
  WORD      wPid;
  MMVERSION vDriverVersion;
  CHAR      szPname[MAXPNAMELEN];
  DWORD     fdwSupport;
  DWORD     cDestinations;
} MIXERCAPSA, *PMIXERCAPSA, *LPMIXERCAPSA;

Members

wMid

A manufacturer identifier for the mixer device driver. Manufacturer identifiers are defined in Manufacturer and Product Identifiers.

wPid

A product identifier for the mixer device driver. Product identifiers are defined in Manufacturer and Product Identifiers.

vDriverVersion

Version number of the mixer device driver. The high-order byte is the major version number, and the low-order byte is the minor version number.

szPname[MAXPNAMELEN]

Name of the product. If the mixer device driver supports multiple cards, this string must uniquely and easily identify (potentially to a user) the specific card.

fdwSupport

Various support information for the mixer device driver. No extended support bits are currently defined.

cDestinations

The number of audio line destinations available through the mixer device. All mixer devices must support at least one destination line, so this member cannot be zero. Destination indexes used in the dwDestination member of the MIXERLINE structure range from zero to the value specified in the cDestinations member minus one.

Remarks

Note

The mmeapi.h header defines MIXERCAPS as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header mmeapi.h

See also

Audio Mixer Structures

Audio Mixers

MIXERLINE