|
Using the Clipboard with AVI Files
The clipboard provides convenient, temporary storage that an application can
use to copy or transfer AVI files. AVIFile includes clipboard functions that you
can use with disk or memory files.
You can copy a file to the clipboard by using the AVIPutFileOnClipboard function. To write a file that is on the clipboard to memory or disk, use the AVIGetFromClipboard function.
You can clear a file from the clipboard by using the AVIClearClipboard function. This function does not clear other types of information, such as
text, from the clipboard. If you use clipboard functions in your application,
clear the clipboard with AVIClearClipboard before closing the application or closing the file on the clipboard. You can
call AVIClearClipboard in your application whether or not AVIPutFileOnClipboard has been used.
Note If your application copies a file to the clipboard and the file contains
stream data that might change, you can create a memory file of cloned streams by
using the AVIMakeFileFromStreams function. You can then place the file on the clipboard and then release the
original file without invalidating it.
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
|