AVIStreamCreate

The AVIStreamCreate function creates a stream not associated with any file.

STDAPI AVIStreamCreate(
  PAVISTREAM * ppavi,    
  LONG lParam1,          
  LONG lParam2,          
  CLSID * pclsidHandler  
);

Parameters

ppavi

Pointer to a buffer that receives the new stream interface.

lParam1

Stream-handler specific information.

lParam2

Stream-handler specific information.

pclsidHandler

Pointer to the class identifier used for the stream.

Return Values

Returns zero if successful or an error otherwise.

Remarks

You should not need to call this function. Some functions, such as CreateEditableStream and AVIMakeCompressedStream, use it internally.

The argument ppavi contains the address of a pointer to an IAVIStream interface.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.
**  Library:** Use Vfw32.lib.

See Also

AVIFile Functions and Macros, AVIFile Functions, AVIMakeCompressedStream