saveThe save command saves an MCI file. Video-overlay and waveform-audio devices recognize this command. Although digital-video devices and MIDI sequencers also recognize this command, the MCIAVI and MCISEQ drivers do not support it. wsprintf(lpstrCommand, "save %s %s %s", lpszDeviceID, lpszFilename,
lpszFlags); Parameters lpszDeviceID Identifier of an MCI device. This identifier or alias is assigned when the device is opened. lpszFilename Flag specifying the name of the file being saved and, optionally, additional flags modifying the save operation. The following table lists device types that recognize the save command and the flags used by each type:
||Stops a save operation in progress. If used, this must be the only item present.
||Specifies a rectangle relative to the frame buffer origin. The rectangle is specified as X1 Y1 X2 Y2. The coordinates X1 Y1 specify the upper left corner and the coordinates X2 Y2 specify the width and height.
For digital-video devices, the capture command is used to capture the contents of the frame buffer.
||Specifies the filename to assign to the data file. If a path is not specified,
the file will be placed on the disk and in the directory previously specified
on the explicit or implicit reserve command. If reserve has not been issued, the default drive and directory are those associated
with the application's task. If a path is specified, the device might require it
to be on the disk drive specified by the explicit or implicit reserve. This flag is required.
||Specifies that unused disk space left over from the original reserve command is not deallocated.
See Also capture, reserve
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages
- Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database