Data from the clipboard is inserted into the file at the media position immediately before the ulStartTime position. (MMIO_EDIT_PARMS structure passed in the lParam1 parameter). If the ulDuration field of the same structure is not zero, a delete operation is performed for the specified range prior to the insertion. After completion of this operation, the media position will be immediately after the pasted data.
If the ulDuration is zero, no deletion of data will take place before the pasting of clipboard data into the file.