Share via


MIXERCAPS (Compact 2013)

3/26/2014

This structure describes the capabilities of a mixer device.

Syntax

typedef struct { 
  WORD wMid; 
  WORD wPid; 
  MMVERSION vDriverVersion; 
  TCHAR szPname[MAXPNAMELEN]; 
  DWORD fdwSupport; 
  DWORD cDestinations; 
} MIXERCAPS; 

Members

  • wMid
    A manufacturer identifier for the mixer device driver.
  • wPid
    A product identifier for the mixer device driver.
  • 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
    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.

    The length of szPname is defined by the following macro in Mmsystem.h:

    #define MAXPNAMELEN 32 /* max product name length (including NULL) */

  • fdwSupport
    This field is unused.
  • 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

Manufacturer and product identifiers are used in Windows-based desktop systems to allow applications to determine which devices are installed on a host computer.

Although these identifiers are supported in Windows Embedded Compact, they are rarely needed or used because embedded devices typically have built-in devices with built-in drivers.

Requirements

Header

mmsystem.h

See Also

Reference

Hardware Audio Mixer Structures
MIXERLINE