The AVIStreamWrite function writes data to a stream.
STDAPI AVIStreamWrite(
PAVISTREAM pavi,
LONG lStart,
LONG lSamples,
LPVOID lpBuffer,
LONG cbBuffer,
DWORD dwFlags,
LONG * plSampWritten,
LONG * plBytesWritten
);
Returns zero if successful or an error otherwise.
The default AVI file handler supports writing only at the end of a stream. The "WAVE" file handler supports writing anywhere.
This function overwrites existing data, rather than inserting new data.
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