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.
wsprintf(lpstrCommand, "undo %s %s", lpszDeviceID, lpszFlags); 
 Returns zero if successful or an error otherwise.
  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
MCI Overview, MCI Command Strings, copy, cut, delete, paste