MCI_PASTE

This MCI command message copies data from the Clipboard into the workspace. The parameters and flags for this message vary according to the selected device.

Parameters

DWORD lParam1

The following flags apply to all devices supporting MCI_PASTE:

MCI_NOTIFY

Specifies that MCI should post the MM_MCINOTIFY message when this command completes. The window that receives this message is specified in the dwCallback field of the data structure identified by lParam2.

MCI_TEST

Queries the device to determine if it can execute the command. The device returns an error if it is incapable of executing the command. It returns no error if it can handle the command. MCI returns control to the application without executing the command.

MCI_WAIT

Specifies that the paste operation should finish before MCI returns control to the application.


LPMCI_GENERIC_PARMS lParam2

Specifies a far pointer to an MCI_GENERIC_PARMS data structure. (Digital-video devices can use this data structure rather than their device-specific data structure if the extended data fields are not being used.)