The AVIStreamCreate function creates a stream not associated with any file.
STDAPI AVIStreamCreate(
PAVISTREAM * ppavi,
LONG lParam1,
LONG lParam2,
CLSID * pclsidHandler
);
Returns zero if successful or an error otherwise.
You should not need to call this function. Some functions, such as CreateEditableStream and AVIMakeCompressedStream, use it internally.
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, AVIMakeCompressedStream