MCIERR_ILLEGAL_FOR_AUTO_OPEN

The documentation lists this name without a value.

Documented in Win32

General MCI Errors

MCI will not perform the specified command on an automatically opened device. Wait until the device is closed, then try to perform the command.