The MCI_CAPTURE command captures the contents of the frame buffer and stores it in a specified file. Digital-video devices recognize this command.To send this command, call the mciSendCommand function with the following parameters.MCIERROR mciSendCommand( MCIDEVICEID wDeviceID, MCI_CAPTURE, DWORD dwFlags, (DWORD) (LPMCI_DGV_CAPTURE_PARMS) lpCapture );
capture The capture command copies the contents of the frame buffer and stores it in the specified file. Digital-video devices recognize this command.To send this command, call the mciSendString function with the lpszCommand parameter set as follows.wsprintf( lpszCommand, "capture %s %s %s", lpszDeviceID, lpszCapture, lpszFlags );
MCIDEVICEID wDeviceID,
MCI_CAPTURE,
DWORD dwFlags,
(DWORD) (LPMCI_DGV_CAPTURE_PARMS) lpCapture
);
The capture command copies the contents of the frame buffer and stores it in the specified file. Digital-video devices recognize this command.To send this command, call the mciSendString function with the lpszCommand parameter set as follows.wsprintf(
lpszCommand,
"capture %s %s %s",
lpszDeviceID,
lpszCapture,
lpszFlags
);
用这两中方法时出错提示是“使用的MCI设备不支持指定的命令”
而我用的是MPEGVideo
急啊!findcaiyzh(秋心) :想一想,帮帮我,我有2000多可用分