MCDs should attempt to use the MCIERR return codes wherever possible. These return codes are provided in the C header file MEERROR.H. Error codes from SPI, MMIO or the operating system should be mapped into MCIERR return codes when it makes sense. If the driver has unique return codes for certain conditions, it can use error numbers MCIERR_CUSTOM_DRIVER_BASE through MEBASE-1. If custom driver return codes are used, a custom driver error table should be created.

MCDs should use the following return types in the high-order word of the return code when the media message has a return field.