The Write method writes data to a stream. Called when an application uses the AVIStreamWrite function.
HRESULT Write (
PAVISTREAM ps,
LONG lStart,
LONG lSamples,
LPVOID lpBuffer,
LONG cbBuffer,
DWORD dwFlags,
LONG *plSampWritten,
LONG *plBytesWritten
);
Returns the HRESULT defined by OLE.
For handlers written in C++, Write has the following syntax:
HRESULT Write(LONG lStart, LONG lSamples, LPVOID lpBuffer,
LONG cbBuffer, DWORD dwFlags, LONG *plSampWritten,
LONG *plBytesWritten);
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.
Custom File and Stream Handlers Overview, Custom File and Stream Handler Interfaces, AVIStreamWrite