IAVIEditStream::Paste method (vfw.h)

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

Syntax

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

Parameters

plPos

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

plLength

Pointer to a buffer that receives the length, in bytes, of the data to paste from the source stream.

pstream

Pointer to the interface to the source stream.

lStart

Starting position of the copy operation within the source stream.

lEnd

Ending position of the copy operation within the source stream.

Return value

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); 
 

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