Copy, Cut, Delete, Paste, and Undo

The copy, cut, delete, paste, and undo commands let the user edit digital video data. A device can use the Windows Clipboard or an unrelated private clipboard to perform these functions.

Regardless of how the device implements these functions, the copy and cut operations should put a device-independent bitmap (DIB) representing the first frame of the selected sequence onto the Windows Clipboard.

The copy, cut, delete, and paste commands are all influenced by the state set with seek exactly. When seek exactly is off, these commands might not use the exact frames specified for them. For example, the actual sequence of frames deleted by cut or delete might not be the exact frames specified for the command. Similarly, frames copied to the Clipboard by copy or cut might not be exactly those specified. For the paste command, the position frame used for inserting data might not be exactly what is specified.

When seek exactly is on, a device might be unable to use the specified positions if they are not key frame images. In this case, the driver should return MCIERR_DGV_BAD_CLIPBOARD_RANGE as the error code.