General Error Return Values

MMSYSERR_ALLOCATED Requested device is already allocated.
MMSYSERR_ERROR Unspecified error.
MMSYSERR_NOERROR No error.
MMSYSERR_NOMEM Memory allocation error.
MMSYSERR_NOTENABLED Driver is not enabled.
MMSYSERR_NOTSUPPORTED Driver does not support specified operation.

In addition to these general error return values, there are error return values unique to each type of audio device. The following table lists these device-specific error return values.