The EditStreamPaste function copies a stream (or a portion of it) from one stream and pastes it within another stream at a specified location.
STDAPI EditStreamPaste(
PAVISTREAM pavi,
LONG * plPos,
LONG * plLength,
PAVISTREAM pstream,
LONG lStart,
LONG lLength
);
Returns zero if successful or an error otherwise.
The stream referenced by pavi must have been created by the CreateEditableStream function or one of the stream editing functions.
This function inserts data into the specified stream as a continuous block of data. It opens the specified data stream at the insertion point, pastes the specified stream segment at the insertion point, and appends the stream segment that trails the insertion point to the end of pasted segment.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Import Library: Use vfw32.lib.
AVIFile Functions and Macros Overview, AVIFile Functions, CreateEditableStream