The EditStreamCopy function copies an editable stream (or a portion of it) into a temporary stream.
HRESULT EditStreamCopy( PAVISTREAM pavi, LONG *plStart, LONG *plLength, PAVISTREAM *ppResult );
Handle to the stream being copied.
Starting position within the stream being copied. The starting position is returned.
Amount of data to copy from the stream referenced by pavi. The length of the copied data is returned.
Pointer to a buffer that receives the handle created for the new stream.
Returns zero if successful or an error otherwise.
The stream that is copied must be created by the CreateEditableStream function or one of the stream editing functions.
The temporary stream can be treated as any other AVI stream.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|