The restore command copies a still image from a file to the frame buffer. This is the reverse of the capture command. Digital-video devices recognize this command.
wsprintf(lpstrCommand, "restore %s %s %s", lpszDeviceID, lpszRestore,
lpszFlags);
at rectangle | 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. If this flag is not used, the image is copied to the upper left corner of the frame buffer. |
from filename | Specifies the image filename to recall. This flag is required. |
Returns zero if successful or an error otherwise.
Devices can recognize a variety of image formats; a Windows device-independent bitmap is always recognized.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
MCI Overview, MCI Command Strings, capture