The CreateEditableStream function creates an editable stream. Use this function before using other stream editing functions.
STDAPI CreateEditableStream(
PAVISTREAM * ppsEditable,
PAVISTREAM psSource
);
Returns zero if successful or an error otherwise.
The stream pointer returned in ppsEditable must be used as the source stream in the other stream editing functions.
Internally, this function creates tables to keep track of changes to a stream. The original stream is never changed by the stream editing functions. The stream pointer created by this function can be used in any AVIFile function that accepts stream pointers. You can use this function on the same stream multiple times. A copy of a stream is not affected by changes in another copy.
Windows NT: Requires version 3.5 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