Share via


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

Pointer to the interface to the stream to copy.

plStart

Pointer to a buffer that receives the starting position of the operation.

plLength

Pointer to a buffer that receives the length, in frames, of the operation.

ppResult

Pointer to a buffer that receives 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); 
 

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.
**  Library:** Use Vfw32.lib.

See Also

Custom File and Stream Handlers, Custom File and Stream Handler Interfaces, EditStreamCopy