Index   Commented   Search   About

CreateEditableStream

The CreateEditableStream function creates an editable stream. Use this function before using other stream editing functions.

STDAPI CreateEditableStream(

PAVISTREAM * ppsEditable,

PAVISTREAM psSource

);

Parameters

ppsEditable

Address to contain the new stream handle.

psSource

Handle of the stream supplying data for the new stream. Specify NULL to create an empty editable string that you can copy and paste data into.

Return Values

Returns zero if successful or an error otherwise.

Remarks

The stream pointer returned in ppsEditable must be used as the source stream in the other stream editing functions.

Internally, this function creates tables to keep track of changes to a stream. The original stream is never changed by the stream editing functions. The stream pointer created by this function can be used in any AVIFile function that accepts stream pointers. You can use this function on the same stream multiple times. A copy of a stream is not affected by changes in another copy.

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

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