IAVIEditStream::Paste

The Paste method copies a stream or a portion of it in another stream. Called when an application uses the EditStreamPaste function.

HRESULT Paste(
  PAVISTREAM pavi,     
  LONG *plPos,         
  LONG *plLength,      
  PAVISTREAM pstream,  
  LONG lStart,         
  LONG lLength         
);
 

Parameters

pavi
Address of the interface to the stream to receive the pasted data.
plPos
Address that contains the starting position of the operation.
plLength
Address that contains the length, in bytes, of the data to paste from the source stream.
pstream
Address of the interface to the source stream.
lStart
Starting position of the copy operation within the source stream.
lLength
Length, in frames, of the copy operation within the source stream.

Return Values

Returns the HRESULT defined by OLE.

Remarks

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

HRESULT Paste(LONG *plPos, LONG *plLength, 
    PAVISTREAM pstream, LONG lStart, LONG lLength); 
 

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