The Paste method copies a stream or a portion of it in another stream. Called when an application uses the EditStreamPaste function.
HRESULT Paste( LONG *plPos, LONG *plLength, PAVISTREAM pstream, LONG lStart, LONG lEnd );
Pointer to a buffer that receives the starting position of the operation.
Pointer to a buffer that receives the length, in bytes, of the data to paste from the source stream.
Pointer to the interface to the source stream.
Starting position of the copy operation within the source stream.
Ending position of the copy operation within the source stream.
Returns the HRESULT defined by OLE.
For handlers written in C++, Paste has the following syntax:
HRESULT Paste(LONG *plPos, LONG *plLength, PAVISTREAM pstream, LONG lStart, LONG lLength);
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|