MIXERCAPS
A version of this page is also available for
4/8/2010
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 currently unused, although it is intended to provide support information for the mixer device driver at some point in the future.No extended support bits are currently defined for this field.
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 CE, they are rarely needed or used because embedded devices typically have built-in devices with built-in drivers.
Requirements
Header | mmsystem.h |
Windows Embedded CE | Windows CE 2.12 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
Note | Version 2.12 requires DXPAK 1.0 or later |