AVIStreamCreate

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

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

Parameters

ppavi
Address to contain the new stream interface.
lParam1
Stream-handler specific information.
lParam2
Stream-handler specific information.
pclsidHandler
Address of 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.

QuickInfo

  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.

See Also

AVIFile Functions and Macros Overview, AVIFile Functions, AVIMakeCompressedStream