General MCI Errors

The following error values can be returned by either the mciSendCommand or mciSendString function:

Value Meaning
MCIERR_BAD_TIME_FORMATThe specified value for the time format is invalid.
MCIERR_CANNOT_LOAD_DRIVERThe specified device driver will not load properly.
MCIERR_CANNOT_USE_ALLThe device name "all" is not allowed for this command.
MCIERR_CREATEWINDOWCould not create or use window.
MCIERR_DEVICE_LENGTHThe device or driver name is too long. Specify a device or driver name that is less than 79 characters.
MCIERR_DEVICE_LOCKEDThe device is now being closed. Wait a few seconds, then try again.
MCIERR_DEVICE_NOT_INSTALLEDThe specified device is not installed on the system. Use the Drivers option from the Control Panel to install the device.
MCIERR_DEVICE_NOT_READYThe device driver is not ready.
MCIERR_DEVICE_OPENThe device name is already used as an alias by this application. Use a unique alias.
MCIERR_DEVICE_ORD_LENGTHThe device or driver name is too long. Specify a device or driver name that is less than 79 characters.
MCIERR_DEVICE_TYPE_REQUIREDThe specified device cannot be found on the system. Check that the device is installed and the device name is spelled correctly.
MCIERR_DRIVERThe device driver exhibits a problem. Check with the device manufacturer about obtaining a new driver.
MCIERR_DRIVER_INTERNALThe device driver exhibits a problem. Check with the device manufacturer about obtaining a new driver.
MCIERR_DUPLICATE_ALIASThe specified alias is already used in this application. Use a unique alias.
MCIERR_EXTENSION_NOT_FOUNDThe specified extension has no device type associated with it. Specify a device type.
MCIERR_EXTRA_CHARACTERSYou must enclose a string with quotation marks; characters following the closing quotation mark are not valid.
MCIERR_FILE_NOT_FOUNDThe requested file was not found. Check that the path and filename are correct.
MCIERR_FILE_NOT_SAVEDThe file was not saved. Make sure your system has sufficient disk space or has an intact network connection.
MCIERR_FILE_READA read from the file failed. Make sure the file is present on your system or that your system has an intact network connection.
MCIERR_FILE_WRITEA write to the file failed. Make sure your system has sufficient disk space or has an intact network connection.
MCIERR_FILENAME_REQUIREDThe filename is invalid. Make sure the filename is no longer than eight characters, followed by a period and an extension.
MCIERR_FLAGS_NOT_COMPATIBLEThe specified parameters cannot be used together.
MCIERR_GET_CDThe requested file OR MCI device was not found. Try changing directories or restarting your system.
MCIERR_HARDWAREThe specified device exhibits a problem. Check that the device is working correctly or contact the device manufacturer.
MCIERR_ILLEGAL_FOR_AUTO_OPENMCI will not perform the specified command on an automatically opened device. Wait until the device is closed, then try to perform the command.
MCIERR_INTERNALA problem occurred in initializing MCI. Try restarting the Windows operating system.
MCIERR_INVALID_DEVICE_IDInvalid device ID. Use the ID given to the device when the device was opened.
MCIERR_INVALID_DEVICE_NAMEThe specified device is not open nor recognized by MCI.
MCIERR_INVALID_FILEThe specified file cannot be played on the specified MCI device. The file may be corrupt or may use an incorrect file format.
MCIERR_MISSING_PARAMETERThe specified command requires a parameter, which you must supply.
MCIERR_MULTIPLEErrors occurred in more than one device. Specify each command and device separately to identify the devices causing the errors.
MCIERR_MUST_USE_SHAREABLEThe device driver is already in use. You must specify the "sharable" parameter with each open command to share the device.
MCIERR_NO_ELEMENT_ALLOWEDThe specified device does not use a filename.
MCIERR_NO_INTEGERThe parameter for this MCI command must be an integer value.
MCIERR_NO_WINDOWThere is no display window.
MCIERR_NONAPPLICABLE_FUNCTIONThe specified MCI command sequence cannot be performed in the given order. Correct the command sequence; then, try again.
MCIERR_NULL_PARAMETER_BLOCKA null parameter block (structure) was passed to MCI.
MCIERR_OUT_OF_MEMORYYour system does not have enough memory for this task. Quit one or more applications to increase the available memory, then, try to perform the task again.
MCIERR_OUTOFRANGEThe specified parameter value is out of range for the specified MCI command.
MCIERR_SET_CDThe specified file or MCI device is inaccessible because the application cannot change directories.
MCIERR_SET_DRIVEThe specified file or MCI device is inaccessible because the application cannot change drives.
MCIERR_UNNAMED_RESOURCEYou cannot store an unnamed file. Specify a filename.
MCIERR_UNRECOGNIZED_COMMANDThe driver cannot recognize the specified command.
MCIERR_UNSUPPORTED_FUNCTIONThe MCI device driver the system is using does not support the specified command.

 

 

 

Show: