IAVIEditStream::Clone

The Clone method duplicates a stream. Called when an application uses the EditStreamClone function.

HRESULT Clone(
  PAVISTREAM pavi,      
  PAVISTREAM *ppResult  
);
 

Parameters

pavi
Address of the interface to the stream being cloned.
ppResult
Address to contain a pointer to the interface to the new stream.

Return Values

The method returns the HRESULT defined by OLE.

Remarks

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

HRESULT Clone(PAVISTREAM *ppResult); 
 

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, EditStreamClone