Index   Commented   Search   About

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

See Also

EditStreamPaste

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun