reserve
The reserve
command allocates contiguous disk space for the device instance s workspace.
Digital-video devices recognize this command.
wsprintf(lpstrCommand, "reserve %s %s %s",
lpszDeviceID, lpszReserve,
lpszFlags);
Parameters
lpszDeviceID
Identifier of
an MCI device. This identifier or alias is assigned when the device is opened.
lpszReserve
One or more
of the following flags:
in path |
Specifies
the drive and directory path (but not the name) of a temporary file used to
hold recorded data. The name of this file is specified by the device. The
temporary file is deleted when the device is closed. If this flag is omitted,
the device specifies the location of the disk space. |
size duration |
Specifies
the approximate amount of disk space to reserve in the workspace. The duration
value is specified in the current time format. The device bases its estimate
of the required disk space on the following parameters: the requested time,
the file format, the video and audio compression algorithm, and the compression
quality values in effect. If setvideo |
lpszFlags
Can be
wait , notify , test , or a combination of these. For more information about
these flags, see The Wait, Notify, and Test Flags4FW.04J.
Return Values
Returns zero
if successful or an error otherwise.
Remarks
If needed,
subsequent record
See Also