MCI_REDO operates on one editing action (for example, cut, delete, paste) at a time. If there are no more possible actions to be redone (that is, the file is in the state where the last change was made), then MCIERR_CANNOT_REDO is returned.
Note: The redo operation is unlimited corresponding to the number of undo operations that have been performed. However, after a save, any previous editing actions are cleared and cannot be redone.
Not all devices support this message. To determine if a device supports MCI_REDO, issue MCI_GETDEVCAPS.
If the redo operation interrupts an in-progress operation, such as play, the command is aborted and an MM_MCINOTIFY message will be sent to the application.