|
EditStreamPaste
The EditStreamPaste function copies a stream (or a portion of it) from one stream and pastes it
within another stream at a specified location.
STDAPI EditStreamPaste(
PAVISTREAM pavi,
|
| LONG * plPos,
|
| LONG * plLength,
|
| PAVISTREAM pstream,
|
| LONG lStart,
|
| LONG lLength
|
| );
|
|
Parameters
pavi
Handle of an editable stream that will receive the copied stream data.
plPos
Starting position to paste the data within the destination stream (referenced
by pavi).
plLength
Address to contain the amount of data pasted in the stream.
pstream
Handle of a stream supplying the data to paste. This stream does not need to
be an editable stream.
lStart
Starting position of the data to copy within the source stream.
lLength
Amount of data to copy from the source stream. If lLength is -1, the entire stream referenced by pstream is pasted in the other stream.
Return Values
Returns zero if successful or an error otherwise.
Remarks
The stream referenced by pavi must have been created by the CreateEditableStream function or one of the stream editing functions.
This function inserts data into the specified stream as a continuous block of
data. It opens the specified data stream at the insertion point, pastes the
specified stream segment at the insertion point, and appends the stream segment
that trails the insertion point to the end of pasted segment.
See Also
CreateEditableStream
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
TMS Scripter Studio Pro components for Delphi/C++Builder
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
|