MCI_PASTE

This MCI command message pastes data from the Clipboard into a device element.

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 to receive this message is specified in the dwCallback field of the data structure identified by lpPaste.

MCI_WAIT

Specifies that the device should complete the operation before MCI returns control to the application.

LPMCI_GENERIC_PARMS lParam2

Specifies a far pointer to the MCI_GENERIC_PARMS data structure. (Devices with extended command sets might replace this data structure with a device-specific data structure.)

Return Value

Returns zero if successful. Otherwise, it returns an MCI error code.

Comments

This command is not used by the MCI device drivers supplied with the Microsoft Windows Software Development Kit.

See Also

MCI_CUT, MCI_COPY, MCI_DELETE