MMSYSERR_ Constants
Unit: MMSystem 
 

Value (Hex)

Constant

Description

0

MMSYSERR_NOERROR

no error

MMSYSERR_BASE + 1

MMSYSERR_ERROR

unspecified error

MMSYSERR_BASE + 2

MMSYSERR_BADDEVICEID

device ID out of range

MMSYSERR_BASE + 3

MMSYSERR_NOTENABLED

driver failed enable

MMSYSERR_BASE + 4

MMSYSERR_ALLOCATED

device already allocated

MMSYSERR_BASE + 5

MMSYSERR_INVALHANDLE

device handle is invalid

MMSYSERR_BASE + 6

MMSYSERR_NODRIVER

no device driver present

MMSYSERR_BASE + 7

MMSYSERR_NOMEM

memory allocation error

MMSYSERR_BASE + 8

MMSYSERR_NOTSUPPORTED

function isn't supported

MMSYSERR_BASE + 9

MMSYSERR_BADERRNUM

error value out of range

MMSYSERR_BASE + 10

MMSYSERR_INVALFLAG

invalid flag passed

MMSYSERR_BASE + 11

MMSYSERR_INVALPARAM

invalid parameter passed

MMSYSERR_BASE + 12

MMSYSERR_HANDLEBUSY

handle being used simultaneously on another thread (eg callback)

MMSYSERR_BASE + 13

MMSYSERR_INVALIDALIAS

specified alias not found

MMSYSERR_BASE + 14

MMSYSERR_BADDB

bad registry database

MMSYSERR_BASE + 15

MMSYSERR_KEYNOTFOUND

registry key not found

MMSYSERR_BASE + 16

MMSYSERR_READERROR

registry read error

MMSYSERR_BASE + 17

MMSYSERR_WRITEERROR

registry write error

MMSYSERR_BASE + 18

MMSYSERR_DELETEERROR

registry delete error

MMSYSERR_BASE + 19

MMSYSERR_VALNOTFOUND

registry value not found

MMSYSERR_BASE + 20

MMSYSERR_NODRIVERCB

driver does not call DriverCallback