IAVIStream::Create

The Create method initializes a stream handler that is not associated with any file. Called when an application uses the AVIStreamCreate function.

HRESULT Create(
  PAVISTREAM ps, 
  LONG lParam1,  
  LONG lParam2   
);
 

Parameters

ps
Address of the interface to a stream.
lParam1 and lParam2
Stream handler-specific data.

Return Values

Returns the HRESULT defined by OLE.

Remarks

For handlers written in C++, Create has the following syntax:

HRESULT Create(LONG lParam1, LONG lParam2) 
 

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

Custom File and Stream Handlers Overview, Custom File and Stream Handler Interfaces, AVIStreamCreate