The undo command reverses the action taken by the most recent successful copy, cut, delete, undo, or paste command. Digital-video devices recognize this command.
undo device flags
device
Identifier of an MCI device. This identifier or alias is assigned when the device is opened.
flags
Can be “wait”, “notify”, “test”, or a combination of these. For more information about these flags, see The Wait, Notify, and Test Flags.
Returns zero if successful or an error otherwise.