auxGetDevCaps

Syntax

WORD auxGetDevCaps(wDeviceID, lpCaps, wSize)

This function queries a specified auxiliary output device to determine its capabilities.

Parameters

WORD wDeviceID

Identifies the auxiliary output device to be queried.

LPAUXCAPS lpCaps

Specifies a far pointer to an AUXCAPS structure. This structure is filled with information about the capabilities of the device.

WORD wSize

Specifies the size of the AUXCAPS structure.

Return Value

Returns zero if the function was successful. Otherwise, it returns an error number. Possible error returns are:

MMSYSERR_BADDEVICEID

Specified device ID is out of range.

MMSYSERR_NODRIVER

The driver failed to install.

Comments

Use auxGetNumDevs to determine the number of auxiliary output devices present in the system. The device ID specified by wDeviceID varies from zero to one less than the number of devices present.

See Also

auxGetNumDevs