auxGetDevCaps
The auxGetDevCaps
function retrieves the capabilities of a given auxiliary output device.
MMRESULT auxGetDevCaps(
UINT uDeviceID, |
|
LPAUXCAPS lpCaps, |
|
UINT cbCaps |
|
); |
|
Parameters
uDeviceID
Identifier of
the auxiliary output device to be queried. Specify a valid device identifier
(see the following comments section), or use the following constant:
AUX_MAPPER
Auxiliary
audio mapper. The function returns an error if no auxiliary audio mapper is
installed.
lpCaps
Address of an
AUXCAPS
cbCaps
Size, in
bytes, of the AUXCAPS structure.
Return Values
Returns
MMSYSERR_NOERROR if successful or an error otherwise. Possible error values
include the following:
MMSYSERR_BADDEVICEID |
Specified
device identifier is out of range. |
Remarks
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.
See Also