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
Pointer to the interface to the stream to receive the pasted data.
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.
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);
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, EditStreamPaste