IAVIEditStream::Copy

The Copy method copies a stream or a portion of it to a temporary stream. Called when an application uses the EditStreamCopy function.

HRESULT Copy(
  PAVISTREAM pavi,     
  LONG *plStart,       
  LONG *plLength,      
  PAVISTREAM ppResult  
);
 

Parameters

pavi
Address of the interface to the stream to copy.
plStart
Address that contains the starting position of the operation.
plLength
Address that contains the length, in frames, of the operation.
ppResult
Address to contain a pointer to the interface to the new stream.

Return Values

Returns the HRESULT defined by OLE.

Remarks

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

HRESULT Copy(LONG *plStart, LONG *plLength, 
    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, EditStreamCopy