|
copy
The copy command copies data to the clipboard. Digital-video devices recognize this
command.
wsprintf(lpstrCommand, "copy %s %s %s", lpszDeviceID, lpszItem,
lpszFlags);
Parameters
lpszDeviceID
Identifier of an MCI device. This identifier or alias is assigned when the
device is opened.
lpszItem
One of the following flags identifying the item to copy:
at rectangle
| Specifies the portion of each frame that will be copied. If omitted, the
default setting is the entire frame.
| audio stream stream
| Specifies the audio stream in the workspace affected by the command. If you
use this flag and also want to copy video, you must also use the "video stream"
flag. (If neither flag is specified, all audio and video streams are copied.)
| from position
| Specifies the start of the range copied. If omitted, the default setting is
the current position.
| to position
| Specifies the end of the range copied. The audio and video data copied are
exclusive of this position. If omitted, the default setting is the end of the
workspace.
| | Specifies the video stream in the workspace affected by the command. If you
use this flag and also want to copy audio, you must also use the "audio stream"
flag. (If neither flag is specified, all audio and video streams are copied.)
|
lpszFlags
Can be "wait", "notify", "test", or a combination of these. For more
information about these flags, see The Wait, Notify, and Test Flags.
Return Values
Returns zero if successful or an error otherwise.
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
|