The auxGetDevCaps function retrieves the capabilities of a given auxiliary output device.
MMRESULT auxGetDevCaps(
UINT uDeviceID,
LPAUXCAPS lpCaps,
UINT cbCaps
);
Returns MMSYSERR_NOERROR if successful or an error otherwise. Possible error values include the following:
Value | Description | |
---|---|---|
MMSYSERR_BADDEVICEID | Specified device identifier is out of range. |
The device identifier in uDeviceID varies from zero to one less than the number of devices present. AUX_MAPPER may also be used. Use the auxGetNumDevs function to determine the number of auxiliary output devices present in the system.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Waveform Audio Overview, Waveform Functions, AUXCAPS, auxGetNumDevs