The following errors are returned by the mciSendString function but not by mciSendCommand:
| Value | Meaning |
|---|---|
| MCIERR_BAD_CONSTANT | The value specified for a parameter is unknown. |
| MCIERR_BAD_INTEGER | An integer in the command was invalid or missing. |
| MCIERR_DUPLICATE_FLAGS | A flag or value was specified twice. |
| MCIERR_MISSING_COMMAND_STRING | No command was specified. |
| MCIERR_MISSING_DEVICE_NAME | No device name was specified. |
| MCIERR_MISSING_STRING_ARGUMENT | A string value was missing from the command. |
| MCIERR_NEW_REQUIRES_ALIAS | An alias must be used with the "new" device name. |
| MCIERR_NO_CLOSING_QUOTE | A closing quotation mark is missing. |
| MCIERR_NOTIFY_ON_AUTO_OPEN | The "notify" flag is illegal with auto-open. |
| MCIERR_PARAM_OVERFLOW | The output string was not long enough. |
| MCIERR_PARSER_INTERNAL | An internal parser error occurred. |
| MCIERR_UNRECOGNIZED_KEYWORD | An unknown command parameter was specified. |