IAVIEditStream::Copy method (vfw.h)

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

Syntax

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

Parameters

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 value

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h
Library Vfw32.lib

See also

Custom File and Stream Handler Interfaces

Custom File and Stream Handlers