;========================================================================== ; MODULE: AVITest.txt ; AUTHOR: JohnMil ; DATE: 12-22-92 ; ; This is the data file for duplicating the Win 3.1 MCI Test coverage for ; the entire MCIAVI test. This data file was gleaned by running the 3.1 test, ; then stripping out all the commands in the order they occurred, then filling ; in expected return values. ; ; Rules for construction of this data file can be found in MCI\MCIGen\TestLoop. ; ;========================================================================== ; ; ; ;=========================== TestCase TC_AVI_OPC_NORM_TST ;=========================== ; close .\%element% MCIERR_INVALID_DEVICE_NAME open .\%element% 0 =%devnum% play .\%element% 0 close .\%element% 0 ; ; End Of Case 1: OTHR:Open/Play/Close Each Element Path ; ; ;=========================== TestCase TC_AVI_OPC_FULL_TST ;=========================== ; close .\%element% MCIERR_INVALID_DEVICE_NAME open .\%element% 0 =%devnum% play .\%element% fUllScreeN * close .\%element% 0 ; ; End Of Case 3: OTHR:Open/Play Fullscreen/Close Each Element Path ; ; ;=========================== TestCase TC_AVI_PTL_NORM ;=========================== ; close all * close .\%element% MCIERR_INVALID_DEVICE_NAME open .\%element% 0 =%devnum% set .\%element% time format milliseconds 0 status .\%element% length 0 =%MSLength% seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% window to %MSLength% wait 0 set .\%element% time format milliseconds 0 status .\%element% length 0 %MSlength% set .\%element% time format frames 0 status .\%element% length 0 =%FrLength% seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% window to %FrLength% wait 0 set .\%element% time format milliseconds 0 status .\%element% length 0 %MSLength% close .\%element% 0 ; ; End Of Case 4: OTHR:Play Window To Length/Log Time Element Path ; ; ;=========================== TestCase TC_AVI_PTL_FULL ;=========================== ; close all * close .\%element% MCIERR_INVALID_DEVICE_NAME open .\%element% 0 =%devnum% set .\%element% time format milliseconds 0 status .\%element% length 0 =%MSLength% seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% fUllScreeN to %MSLength% wait * set .\%element% time format milliseconds 0 status .\%element% length 0 %MSLength% set .\%element% time format frames 0 status .\%element% length 0 =%FrLength% seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% fUllScreeN to %FrLength% wait * set .\%element% time format milliseconds 0 status .\%element% length 0 %MSLength% close .\%element% 0 ; ; End Of Case 5: OTHR:Play Fullscreen To Length/Log Time Element Path ; ; ;=========================== TestCase TC_PN_AV_TIME_TST ;=========================== ; close all * open .\%element% 0 =%devnum% seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% window wait 0 set .\%element% time format milliseconds 0 status .\%element% length 0 =%MSLength% setvideo .\%element% off 0 seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% window wait 0 set .\%element% time format milliseconds 0 status .\%element% length 0 %MSLength% setvideo .\%element% on 0 setaudio .\%element% off 0 seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% window wait 0 set .\%element% time format milliseconds 0 status .\%element% length 0 %MSLength% setvideo .\%element% off 0 seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% window wait 0 set .\%element% time format milliseconds 0 status .\%element% length 0 %MSLength% close .\%element% 0 ; ; End Of Case 6: OTHR:Setaudio/Setvideo Time Play Window Element Path ; ; ;=========================== TestCase TC_PF_AV_TIME_TST ;=========================== ; close all * open .\%element% 0 =%devnum% seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% fUllScreeN wait * set .\%element% time format milliseconds 0 status .\%element% length 0 =%MSLength% setvideo .\%element% off 0 seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% fUllScreeN wait * set .\%element% time format milliseconds 0 status .\%element% length 0 %MSLength% setvideo .\%element% on 0 setaudio .\%element% off 0 seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% fUllScreeN wait * set .\%element% time format milliseconds 0 status .\%element% length 0 %MSLength% setvideo .\%element% off 0 seek .\%element% to start 0 cue .\%element% wait 0 play .\%element% fUllScreeN wait * set .\%element% time format milliseconds 0 status .\%element% length 0 %MSLength% close .\%element% 0 ; ; End Of Case 7: OTHR:Setaudio/Setvideo Time Play Fullscreen Element Path ; ; ;============================ TestCase TC_AVI_AUDIO_VID_TST ;============================ ; close all * open %element% 0 =%devnum% setaudio %element% volume to 500 0 setvideo %element% palette handle to 100 * seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 setvideo %element% on 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 setvideo %element% off 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 setaudio %element% on 0 setvideo %element% palette handle to 100 * seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 setvideo %element% on 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 setvideo %element% off 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 setaudio %element% off 0 setvideo %element% palette handle to 100 * seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 setvideo %element% on 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 setvideo %element% off 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 close %element% 0 ; ; End Of Case 8: OTHR:Setaudio/Setvideo Element ; ; ;================================ TestCase TC_AVI_OLD_AUDIO_VID_TST ;================================ ; close all * open %element% 0 =%devnum% set %element% audio left on MCIERR_UNSUPPORTED_FUNCTION set %element% video on 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 set %element% video off 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 set %element% audio left off MCIERR_UNSUPPORTED_FUNCTION set %element% video on 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 set %element% video off 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 set %element% audio right on MCIERR_UNSUPPORTED_FUNCTION set %element% video on 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 set %element% video off 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 set %element% audio right off MCIERR_UNSUPPORTED_FUNCTION set %element% video on 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 set %element% video off 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 set %element% audio all on 0 set %element% video on 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 set %element% video off 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 set %element% audio all off 0 set %element% video on 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 set %element% video off 0 seek %element% to start 0 play %element% wait 0 seek %element% to start 0 record %element% MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% wait notify 0 close %element% 0 ; ; End Of Case 9: OTHR:Old Set Audio/Video Element ; ; ;================================ TestCase TC_AVI_AUDIO_VID_BAD_TST ;================================ ; close all * open %element% 0 =%devnum% setaudio %element% bass to 100 MCIERR_UNSUPPORTED_FUNCTION setaudio %element% left on MCIERR_UNSUPPORTED_FUNCTION setaudio %element% left off MCIERR_UNSUPPORTED_FUNCTION setaudio %element% left volume to 10 0 setaudio %element% right on MCIERR_UNSUPPORTED_FUNCTION setaudio %element% right off MCIERR_UNSUPPORTED_FUNCTION setaudio %element% right volume to 20 0 setaudio %element% sourceto name MCIERR_BAD_CONSTANT setaudio %element% treble to 100 MCIERR_UNSUPPORTED_FUNCTION setaudio %element% algorithm tmp MCIERR_UNSUPPORTED_FUNCTION setaudio %element% clocktime MCIERR_UNSUPPORTED_FUNCTION setaudio %element% over 3 MCIERR_MISSING_PARAMETER setaudio %element% quality good MCIERR_UNSUPPORTED_FUNCTION setaudio %element% record on MCIERR_UNSUPPORTED_FUNCTION setaudio %element% record off MCIERR_UNSUPPORTED_FUNCTION setaudio %element% stream to 200 MCIERR_OUTOFRANGE setvideo %element% brightness to 200 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% color to 100 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% contrast to 50 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% gamma to 100 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% record frame rate to 100 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% sharpness to 10 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% source to 1 name tmp MCIERR_BAD_CONSTANT setvideo %element% still algorithm tmp MCIERR_UNSUPPORTED_FUNCTION setvideo %element% still quality better MCIERR_UNSUPPORTED_FUNCTION setvideo %element% tint to 50 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% algorithm tmp MCIERR_UNSUPPORTED_FUNCTION setvideo %element% clocktime MCIERR_UNSUPPORTED_FUNCTION setvideo %element% over 3 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% quality good MCIERR_UNSUPPORTED_FUNCTION setvideo %element% record on MCIERR_UNSUPPORTED_FUNCTION setvideo %element% record off MCIERR_UNSUPPORTED_FUNCTION setvideo %element% stream to 200 MCIERR_OUTOFRANGE close %element% 0 ; ; End Of Case 10: OTHR:Setaudio/Setvideo AVI Unsupported Commands ; ; ;=========================== TestCase TC_PN_SET_VOL_RANGE ;=========================== ; close all * open .\%element% 0 =%devnum% set .\%element% time format milliseconds 0 play .\%element% window 0 setaudio .\%element% volume to 1000 0 setaudio .\%element% volume to 900 0 setaudio .\%element% volume to 800 0 setaudio .\%element% volume to 700 0 setaudio .\%element% volume to 600 0 setaudio .\%element% volume to 500 0 setaudio .\%element% volume to 400 0 setaudio .\%element% volume to 300 0 setaudio .\%element% volume to 200 0 setaudio .\%element% volume to 100 0 setaudio .\%element% volume to 0 0 seek .\%element% to start 0 play .\%element% window 0 setaudio .\%element% volume to 0 0 setaudio .\%element% volume to 100 0 setaudio .\%element% volume to 200 0 setaudio .\%element% volume to 300 0 setaudio .\%element% volume to 400 0 setaudio .\%element% volume to 500 0 setaudio .\%element% volume to 600 0 setaudio .\%element% volume to 700 0 setaudio .\%element% volume to 800 0 setaudio .\%element% volume to 900 0 setaudio .\%element% volume to 1000 0 status .\%element% volume 0 1000 close .\%element% 0 ; ; End Of Case 11: OTHR:Set Volume Up and Down/Play Window Element Path ; ; ;=========================== TestCase TC_PN_SET_VOL_BAD ;=========================== ; close all * open %element% 0 =%devnum% play %element% from 0 window 0 play %element% from 0 window 0 setaudio %element% volume to -1 MCIERR_OUTOFRANGE play %element% from 0 window 0 setaudio %element% volume to 1001 MCIERR_OUTOFRANGE play %element% from 0 window 0 setaudio %element% volume to 65535 MCIERR_OUTOFRANGE close %element% 0 ; ; End Of Case 12: OTHR:Set Volume to Bad Values/Play Window Element ; ; ;=========================== TestCase TC_PN_SET_VOL_RAND ;=========================== ; close all * open .\%element% 0 =%devnum% play .\%element% from 0 window 0 play .\%element% from 0 window 0 setaudio .\%element% volume to 146 0 setaudio .\%element% volume off MCIERR_UNSUPPORTED_FUNCTION setaudio .\%element% volume on MCIERR_UNSUPPORTED_FUNCTION setaudio .\%element% off 0 setaudio .\%element% on 0 close .\%element% 0 ; ; End Of Case 13: OTHR:Set Volume to Random Values/Play Window Element Path ; ; ;=========================== TestCase TC_PF_SET_VOL_RANGE ;=========================== ; close all * open .\%element% 0 =%devnum% set .\%element% time format milliseconds 0 play .\%element% fUllScreeN * setaudio .\%element% volume to 1000 0 setaudio .\%element% volume to 900 0 setaudio .\%element% volume to 800 0 setaudio .\%element% volume to 700 0 setaudio .\%element% volume to 600 0 setaudio .\%element% volume to 500 0 setaudio .\%element% volume to 400 0 setaudio .\%element% volume to 300 0 setaudio .\%element% volume to 200 0 setaudio .\%element% volume to 100 0 setaudio .\%element% volume to 0 0 seek .\%element% to start 0 play .\%element% fUllScreeN * setaudio .\%element% volume to 0 0 setaudio .\%element% volume to 100 0 setaudio .\%element% volume to 200 0 setaudio .\%element% volume to 300 0 setaudio .\%element% volume to 400 0 setaudio .\%element% volume to 500 0 setaudio .\%element% volume to 600 0 setaudio .\%element% volume to 700 0 setaudio .\%element% volume to 800 0 setaudio .\%element% volume to 900 0 setaudio .\%element% volume to 1000 0 status .\%element% volume 0 1000 close .\%element% 0 ; ; End Of Case 14: OTHR:Set Volume Up and Down/Play Fullscreen Element Path ; ; ;=========================== TestCase TC_PF_SET_VOL_BAD ;=========================== ; close all * open %element% 0 =%devnum% play %element% from 0 fUllScreeN * play %element% from 0 fUllScreeN * setaudio %element% volume to -1 MCIERR_OUTOFRANGE play %element% from 0 fUllScreeN * setaudio %element% volume to 1001 MCIERR_OUTOFRANGE play %element% from 0 fUllScreeN * setaudio %element% volume to 65535 MCIERR_OUTOFRANGE close %element% 0 ; ; End Of Case 15: OTHR:Set Volume to Bad Values/Play Fullscreen Element ; ; ;=========================== TestCase TC_PF_SET_VOL_RAND ;=========================== ; close all * open .\%element% 0 =%devnum% play .\%element% from 0 fUllScreeN * play .\%element% from 0 fUllScreeN * setaudio .\%element% volume to 642 0 setaudio .\%element% volume off MCIERR_UNSUPPORTED_FUNCTION setaudio .\%element% volume on MCIERR_UNSUPPORTED_FUNCTION setaudio .\%element% off 0 setaudio .\%element% on 0 close .\%element% 0 ; ; End Of Case 16: OTHR:Set Volume to Random Values/Play Fullscreen Element Path ; ; ;============================= TestCase TC_PN_SET_SPEED_RANGE ;============================= ; close all * open .\%element% 0 =%devnum% set .\%element% time format milliseconds 0 play .\%element% 0 set .\%element% speed 2000 0 set .\%element% speed 1600 0 set .\%element% speed 1200 0 set .\%element% speed 800 0 set .\%element% speed 400 0 set .\%element% speed 0 0 seek .\%element% to start 0 play .\%element% 0 set .\%element% speed 0 0 set .\%element% speed 200 0 set .\%element% speed 400 0 set .\%element% speed 600 0 set .\%element% speed 800 0 set .\%element% speed 1000 0 set .\%element% speed 1200 0 set .\%element% speed 1400 0 set .\%element% speed 1600 0 set .\%element% speed 1800 0 set .\%element% speed 2000 0 status .\%element% speed 0 2000 close .\%element% 0 ; ; End Of Case 17: OTHR:Set Speed Up and Down/Play Window Element Path ; ; ;============================= TestCase TC_PN_SET_SPEED_BAD ;============================= ; close all * open %element% 0 =%devnum% seek %element% to start 0 play %element% 0 set %element% speed to -1 MCIERR_BAD_INTEGER play %element% from 0 0 status %element% speed 0 1000 set %element% speed to 0 MCIERR_BAD_INTEGER play %element% from 0 0 status %element% speed 0 1000 close %element% 0 ; ; End Of Case 18: OTHR:Set Speed to Bad Values/Play Window Element ; ; ;============================= TestCase TC_PN_SET_SPEED_RAND ;============================= ; close all * open .\%element% 0 =%devnum% set .\%element% time format milliseconds 0 play .\%element% 0 set .\%element% speed 2000 0 set .\%element% speed 1850 0 set .\%element% speed 338 0 set .\%element% speed 1058 0 set .\%element% speed 229 0 set .\%element% speed 1320 0 seek .\%element% to start 0 play .\%element% 0 set .\%element% speed 0 0 set .\%element% speed 1427 0 set .\%element% speed 1280 0 set .\%element% speed 1213 0 set .\%element% speed 461 0 set .\%element% speed 1237 0 set .\%element% speed 1041 0 set .\%element% speed 1295 0 set .\%element% speed 782 0 set .\%element% speed 697 0 set .\%element% speed 115 0 status .\%element% speed 0 115 close .\%element% 0 ; ; End Of Case 19: OTHR:Set Speed to Random Values/Play Window Element Path ; ; ;============================= TestCase TC_PF_SET_SPEED_RANGE ;============================= ; close all * open %element% 0 =%devnum% set %element% time format milliseconds 0 play %element% fUllScreeN * set %element% speed 2000 0 set %element% speed 1600 0 set %element% speed 1200 0 set %element% speed 800 0 set %element% speed 400 0 set %element% speed 0 0 seek %element% to start 0 play %element% fUllScreeN * set %element% speed 0 0 set %element% speed 200 0 set %element% speed 400 0 set %element% speed 600 0 set %element% speed 800 0 set %element% speed 1000 0 set %element% speed 1200 0 set %element% speed 1400 0 set %element% speed 1600 0 set %element% speed 1800 0 set %element% speed 2000 0 status %element% speed 0 2000 close %element% 0 ; ; End Of Case 20: OTHR:Set Speed Up and Down/Play Fullscreen Element ; ; ;============================= TestCase TC_PF_SET_SPEED_BAD ;============================= ; close all * open %element% 0 =%devnum% seek %element% to start 0 play %element% fUllScreeN * set %element% speed to -1 fUllScreeN MCIERR_BAD_INTEGER play %element% from 0 fUllScreeN * status %element% speed 0 1000 set %element% speed to 0 fUllScreeN MCIERR_BAD_INTEGER play %element% from 0 fUllScreeN * status %element% speed 0 1000 close %element% 0 ; ; End Of Case 21: OTHR:Set Speed to Bad Values/Play Fullscreen Element ; ; ;============================= TestCase TC_PF_SET_SPEED_RAND ;============================= ; close all * open %element% 0 =%devnum% set %element% time format milliseconds 0 play %element% fUllScreeN * set %element% speed 2000 0 set %element% speed 756 0 set %element% speed 800 0 set %element% speed 195 0 set %element% speed 508 0 set %element% speed 904 0 seek %element% to start 0 play %element% fUllScreeN * set %element% speed 0 0 set %element% speed 1505 0 set %element% speed 1709 0 set %element% speed 146 0 set %element% speed 1816 0 set %element% speed 1993 0 set %element% speed 1705 0 set %element% speed 1312 0 set %element% speed 1351 0 set %element% speed 1753 0 set %element% speed 1584 0 status %element% speed 0 1584 close %element% 0 ; ; End Of Case 22: OTHR:Set Speed to Random Values/Play Fullscreen Element ; ; ;============================= TestCase TC_CAPS_DEV_AVI ;============================= ; close all * open %driver% alias %alias% 0 =%devnum% capability %alias% can eject 0 false capability %alias% can freeze 0 false capability %alias% can lock 0 false capability %alias% can play 0 true capability %alias% can record 0 false capability %alias% can reverse 0 true capability %alias% can save 0 false capability %alias% can stretch 0 true capability %alias% can stretch input 0 false capability %alias% can test 0 true capability %alias% cue points MCIERR_BAD_CONSTANT capability %alias% compound device 0 true capability %alias% device type 0 DigitalVideo capability %alias% has audio 0 true capability %alias% has still 0 false capability %alias% has video 0 true capability %alias% uses files 0 true capability %alias% uses palettes 0 true play %alias% MCIERR_UNSUPPORTED_FUNCTION capability %alias% can eject 0 false capability %alias% can freeze 0 false capability %alias% can lock 0 false capability %alias% can play 0 true capability %alias% can record 0 false capability %alias% can reverse 0 true capability %alias% can save 0 false capability %alias% can stretch 0 true capability %alias% can stretch input 0 false capability %alias% can test 0 true capability %alias% cue points MCIERR_BAD_CONSTANT capability %alias% compound device 0 true capability %alias% device type 0 DigitalVideo capability %alias% has audio 0 true capability %alias% has still 0 false capability %alias% has video 0 true capability %alias% uses files 0 true capability %alias% uses palettes 0 true close %alias% 0 ; ; End Of Case 23: OTHR:Capability AVI Driver ; ; ;============================= TestCase TC_CAPS_ELEM_AVI ;============================= ; close all * open .\%element% alias %alias% 0 =%devnum% capability %alias% can eject 0 false capability %alias% can freeze 0 false capability %alias% can lock 0 false capability %alias% can play 0 true capability %alias% can record 0 false capability %alias% can reverse 0 true capability %alias% can save 0 false capability %alias% can stretch 0 true capability %alias% can stretch input 0 false capability %alias% can test 0 true capability %alias% cue points MCIERR_BAD_CONSTANT capability %alias% compound device 0 true capability %alias% device type 0 DigitalVideo capability %alias% has audio 0 true capability %alias% has still 0 false capability %alias% has video 0 true capability %alias% uses files 0 true capability %alias% uses palettes 0 true play %alias% 0 capability %alias% can eject 0 false capability %alias% can freeze 0 false capability %alias% can lock 0 false capability %alias% can play 0 true capability %alias% can record 0 false capability %alias% can reverse 0 true capability %alias% can save 0 false capability %alias% can stretch 0 true capability %alias% can stretch input 0 false capability %alias% can test 0 true capability %alias% cue points MCIERR_BAD_CONSTANT capability %alias% compound device 0 true capability %alias% device type 0 DigitalVideo capability %alias% has audio 0 true capability %alias% has still 0 false capability %alias% has video 0 true capability %alias% uses files 0 true capability %alias% uses palettes 0 true close %alias% 0 ; ; End Of Case 24: OTHR:Capability AVI Element Path ; ; ;============================= TestCase TC_INFO_AVI_TSTS ;============================= ; close %driver% * close %alias% * open %driver% 0 =%devnum% open %element% alias %alias% 0 =%devnum% info %alias% audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% audio quality MCIERR_UNSUPPORTED_FUNCTION info %driver% audio quality MCIERR_UNSUPPORTED_FUNCTION info %alias% file 0 * info %driver% file MCIERR_UNSUPPORTED_FUNCTION info %alias% product 0 Video For Windows* info %driver% product 0 Video For Windows* info %alias% still algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% still algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% still quality MCIERR_UNSUPPORTED_FUNCTION info %driver% still quality MCIERR_UNSUPPORTED_FUNCTION ; ;JQ 9/may/95 "info version" now returns the version number. ;So change expected value from "Video for Windows*" to "1.1" in the two ;following "info version" instances. ; info %alias% version 0 1.1 info %driver% version 0 1.1 info %alias% usage MCIERR_UNSUPPORTED_FUNCTION info %driver% usage MCIERR_UNSUPPORTED_FUNCTION info %alias% video algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% video algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% video quality MCIERR_UNSUPPORTED_FUNCTION info %driver% video quality MCIERR_UNSUPPORTED_FUNCTION info %alias% window text 0 %element% info %driver% window text MCIERR_UNSUPPORTED_FUNCTION play %element% 0 info %alias% audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% audio quality MCIERR_UNSUPPORTED_FUNCTION info %driver% audio quality MCIERR_UNSUPPORTED_FUNCTION info %alias% file 0 * info %driver% file MCIERR_UNSUPPORTED_FUNCTION info %alias% product 0 Video For Windows* info %driver% product 0 Video For Windows* info %alias% still algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% still algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% still quality MCIERR_UNSUPPORTED_FUNCTION info %driver% still quality MCIERR_UNSUPPORTED_FUNCTION ; ;JQ 9/may/95 "info version" now returns the version number. ;So change expected value from "Video for Windows*" to "1.1" in the two ;following "info version" instances. ; info %alias% version 0 1.1 info %driver% version 0 1.1 info %alias% usage MCIERR_UNSUPPORTED_FUNCTION info %driver% usage MCIERR_UNSUPPORTED_FUNCTION info %alias% video algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% video algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% video quality MCIERR_UNSUPPORTED_FUNCTION info %driver% video quality MCIERR_UNSUPPORTED_FUNCTION info %alias% window text 0 %element% info %driver% window text MCIERR_UNSUPPORTED_FUNCTION close %alias% 0 ; ; End Of Case 25: OTHR:Info Driver and Element ; ; ;============================= TestCase TC_AVI_PAUSE_RESUME ;============================= ; close all * close .\%element% MCIERR_INVALID_DEVICE_NAME open .\%element% 0 =%devnum% ;JQ 9/may/95 resume is a supported function in 3.51, hence return value will be "0" not "mcierr_nonapplicable_function" resume .\%element% ;MCIERR_NONAPPLICABLE_FUNCTION 0 pause .\%element% 0 play .\%element% 0 pause .\%element% wait 0 resume .\%element% 0 stop .\%element% 0 play .\%element% 0 seek .\%element% to start 0 pause .\%element% 0 seek .\%element% to 69 wait 0 pause .\%element% wait 0 resume .\%element% 0 resume .\%element% 0 pause .\%element% 0 play .\%element% from 40 0 pause .\%element% 0 resume .\%element% 0 close .\%element% 0 ; ; End Of Case 26: OTHR:Pause/Resume Element Path ; ; ;============================= TestCase TC_AVI_PR_NOTY_TSTS ;============================= ; close all * close %element% * open %element% 0 =%devnum% play %element% notify 0 pause %element% 0 resume %element% 0 seek %element% to start 0 play %element% notify 0 pause %element% notify 0 resume %element% 0 seek %element% to start 0 play %element% notify 0 pause %element% 0 resume %element% notify 0 seek %element% to start 0 play %element% notify 0 pause %element% notify 0 resume %element% notify 0 close %element% 0 ; ; End Of Case 27: OTHR:Pause/Resume Notify Behavior Element ; ; ;============================= TestCase TC_FT_AVI_TIME_PLAYS ;============================= ; close all * close %element% * open %element% 0 =%devnum% status %element% time format 0 frames play %element% 0 set %element% time format ms 0 status %element% length 0 =%MSLength% play %element% from 1142 0 play %element% to 4074 * play %element% from 3995 to 3997 0 status %element% position 0 * set %element% time format milliseconds 0 status %element% length 0 %MSLength% play %element% from 3377 0 play %element% to 2195 0 play %element% from 3585 to 4558 0 status %element% position 0 * set %element% time format frames 0 status %element% length 0 =%FrLength% play %element% from 50 0 play %element% to 12 0 play %element% from 3 to 10 0 status %element% position 0 * close %element% 0 ; ; End Of Case 28: OTHR:Play Different Time Formats Element ; ; ;============================= TestCase TC_FT_AVI_TIME_PLAYS_REV ;============================= ; close all * close .\%element% * open .\%element% 0 =%devnum% status .\%element% time format 0 frames play .\%element% reverse 0 set .\%element% time format ms 0 status .\%element% length 0 =%MSLength% ; ;JQ 15/may/95 Avoid occasional outofrange fails occuring when current position is less than 4185 ;when the 'reverse to 4185' is actioned by seeking to above it first ; seek .\%element% to 5000 wait 0 play .\%element% reverse from 4847 0 play .\%element% reverse to 4185 0 play .\%element% reverse from 3604 to 3703 MCIERR_OUTOFRANGE status .\%element% position 0 * set .\%element% time format milliseconds 0 status .\%element% length 0 %MSLength% play .\%element% reverse from 1990 0 play .\%element% reverse to 3699 MCIERR_OUTOFRANGE play .\%element% reverse from 4979 to 4175 0 status .\%element% position 0 * set .\%element% time format frames 0 status .\%element% length 0 =%FrLength% ; ;JQ 15/may/95 Avoid occasional outofrange fails occuring when current position is less than 43 ;when the 'reverse to 43' is actioned by seeking to above it first ; seek .\%element% to 80 wait 0 play .\%element% reverse from 77 0 play .\%element% reverse to 43 0 play .\%element% reverse from 65 to 15 0 status .\%element% position 0 * close .\%element% 0 ; ; End Of Case 29: OTHR:Play Reverse Time Formats Element Path ; ; ;================================= TestCase TC_AVI_TIME_PLAYS_FROM_TO ;================================= ; close all * close .\%element% * open .\%element% 0 =%devnum% status .\%element% time format 0 frames set .\%element% time format ms 0 status .\%element% position 0 0 status .\%element% position 0 0 play .\%element% from 1573 to 1858 wait 0 status .\%element% position 0 18* status .\%element% position 0 18* play .\%element% to 4641 0 set .\%element% time format milliseconds 0 status .\%element% position 0 * status .\%element% position 0 * ; ;JQ 23/may/95 change play to position from 4248 to 4258 which is the first ;frame in the range 42* (4200-4299), otherwise the position drops back to ;the previous frame at the end of play which is outside the range tested for. ; play .\%element% from 1777 to 4258 wait 0 status .\%element% position 0 42* status .\%element% position 0 42* play .\%element% to 2270 0 set .\%element% time format frames 0 status .\%element% position 0 * status .\%element% position 0 * play .\%element% from 52 to 62 wait 0 status .\%element% position 0 6* status .\%element% position 0 6* play .\%element% to 20 0 close .\%element% 0 ; ; End Of Case 30: OTHR:Play From and/or To Random Positions Element Path ; ; ;================================= TestCase TC_AVI_PLAY_STATES ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% play %alias% 0 stop %alias% 0 seek %alias% to start 0 play %alias% 0 pause %alias% 0 resume %alias% 0 pause %alias% 0 play %alias% reverse 0 status %alias% mode 0 playing play %alias% 0 seek %alias% to start 0 play %alias% 0 record %alias% MCIERR_UNSUPPORTED_FUNCTION play %alias% 0 close %alias% 0 open .\%element% 0 =%devnum% seek .\%element% to end 0 play .\%element% reverse 0 play .\%element% 0 pause .\%element% 0 cue .\%element% output to 29 0 play .\%element% 0 close .\%element% 0 ; ; End Of Case 31: OTHR:Play Different States Element Path ; ; ;================================= TestCase TC_AVI_PLAY_REPEAT ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% play %alias% repeat notify 0 stop %alias% 0 seek %alias% to start 0 play %alias% repeat 0 pause %alias% 0 status %alias% position 0 * resume %alias% notify 0 seek %alias% to end 0 play %alias% repeat notify 0 play %alias% repeat 0 play %alias% reverse repeat 0 pause %alias% 0 status %alias% position 0 * play %alias% repeat 0 status %alias% mode 0 playing play %alias% 0 seek %alias% to start 0 play %alias% repeat 0 record %alias% MCIERR_UNSUPPORTED_FUNCTION play %alias% repeat from 6 notify 0 seek %alias% to start 0 play %alias% repeat to 5 notify 0 play %alias% repeat from 6 to 5 0 play %alias% repeat from 5 to 6 0 play %alias% repeat from 6 to 6 notify 0 status %alias% mode 0 * play %alias% repeat 0 close %alias% 0 open .\%element% 0 =%devnum% seek .\%element% to end 0 play .\%element% repeat 0 play .\%element% 0 close .\%element% 0 ; ; End Of Case 32: OTHR:Play Repeat Element Path ; ; ;================================= TestCase TC_FT_AVI_TIME_SEEKS ;================================= ; close all * close %element% * open %element% 0 =%devnum% status %element% time format 0 frames seek %element% to 19 0 status %element% position 0 1* set %element% time format ms 0 status %element% length 0 =%MSLength% ; ;JQ 23/may/95 change seek to position to the first frame in the target ;range nn00-nn99, otherwise the position drops back to the previous frame ;at the end of the seek which,in three following cases, is outside the ;range tested for. (1309->1310, 3005->3013, 3850->3865) ; seek %element% to 1310 wait 0 status %element% position 0 13* seek %element% to 3013 wait 0 status %element% position 0 30* set %element% time format milliseconds 0 status %element% length 0 %MSLength% seek %element% to 3678 0 status %element% position 0 36* seek %element% to 3865 wait 0 status %element% position 0 38* set %element% time format frames 0 status %element% length 0 =%FrLength% seek %element% to 12 0 status %element% position 0 1* seek %element% to 46 0 status %element% position 0 4* close %element% 0 ; ; End Of Case 33: OTHR:Seek Different Time Formats Element ; ; ;================================= TestCase TC_AVI_SEEK_STATES ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% seek %alias% to 38 0 status %alias% position 0 3* stop %alias% 0 seek %alias% to start 0 seek %alias% to 8 0 pause %alias% 0 status %alias% position 0 * resume %alias% 0 pause %alias% 0 seek %alias% to 40 0 status %alias% position 0 4* seek %alias% to 27 0 seek %alias% to start 0 seek %alias% to 13 0 seek %alias% to 73 0 status %alias% position 0 7* seek %alias% to 8 0 record %alias% insert MCIERR_UNSUPPORTED_FUNCTION delete %alias% MCIERR_UNSUPPORTED_FUNCTION status %alias% mode 0 * seek %alias% to start 0 play %alias% 0 record %alias% overwrite MCIERR_UNSUPPORTED_FUNCTION pause .\%element% 0 status .\%element% position 0 * close %alias% 0 ; ; End Of Case 34: OTHR:Seek Different States Element Path ; ; ;================================= TestCase TC_AVI_SEEK_OFF ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% !After we have math, should change this to use ms. ;set %alias% time format ms set %alias% time format frames 0 set %alias% seek exactly off 0 status %alias% seek exactly 0 off status %alias% reference 51 0 =%RefPosA% status %alias% position 0 0 seek %alias% to 51 wait 0 status %alias% position 0 %RefPosA% status %alias% reference 0 0 =%RefPosB% status %alias% position 0 %RefPosA% seek %alias% to start wait 0 status %alias% position 0 %RefPosB% status %alias% reference 33 0 =%RefPosA% status %alias% position 0 %RefPosB% seek %alias% to 33 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 13 0 =%RefPosB% status %alias% position 0 * seek %alias% to 13 wait 0 status %alias% position 0 %RefPosB% play %alias% 0 status %alias% reference 33 0 =%RefPosA% status %alias% position 0 * seek %alias% to 33 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 33 0 =%RefPosA% status %alias% position 0 * seek %alias% to 33 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 52 0 =%RefPosA% status %alias% position 0 * seek %alias% to 52 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 1 0 =%RefPosA% status %alias% position 0 * seek %alias% to 1 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 !After we have math, should have this be milliseconds. ;set %alias% time format milliseconds set %alias% time format frames 0 set %alias% seek exactly off 0 status %alias% seek exactly 0 off status %alias% reference 53 0 =%RefPosA% status %alias% position 0 * seek %alias% to 53 wait 0 status %alias% position 0 %RefPosA% status %alias% reference 0 0 =%RefPosB% status %alias% position 0 %RefPosA% seek %alias% to start wait 0 status %alias% position 0 %RefPosB% status %alias% reference 32 0 =%RefPosA% status %alias% position 0 0 seek %alias% to 32 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 8 0 =%RefPosA% status %alias% position 0 * seek %alias% to 8 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 25 0 =%RefPosA% status %alias% position 0 * seek %alias% to 25 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 41 0 =%RefPosA% status %alias% position 0 * seek %alias% to 41 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 1 0 =%RefPosA% status %alias% position 0 * seek %alias% to 1 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 3 0 =%RefPosA% status %alias% position 0 * seek %alias% to 3 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 set %alias% time format frames 0 set %alias% seek exactly off 0 status %alias% seek exactly 0 off status %alias% reference 8 0 =%RefPosA% status %alias% position 0 * seek %alias% to 8 wait 0 status %alias% position 0 %RefPosA% status %alias% reference 0 0 =%RefPosB% status %alias% position 0 %RefPosA% seek %alias% to start wait 0 status %alias% position 0 %RefPosB% status %alias% reference 10 0 =%RefPosA% status %alias% position 0 %RefPosB% seek %alias% to 10 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 18 0 =%RefPosA% status %alias% position 0 * seek %alias% to 18 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 55 0 =%RefPosA% status %alias% position 0 * seek %alias% to 55 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 27 0 =%RefPosA% status %alias% position 0 * seek %alias% to 27 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 54 0 =%RefPosA% status %alias% position 0 * seek %alias% to 54 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 status %alias% reference 49 0 =%RefPosA% status %alias% position 0 * seek %alias% to 49 wait 0 status %alias% position 0 %RefPosA% play %alias% 0 close %alias% 0 ; ; End Of Case 35: OTHR:Seek Exactly Off Element Path ; ; ;================================= TestCase TC_RAND_AVI_CMD_TST ;================================= ; close all * close .\%element% * stop .\%element% 0 sysinfo .\%element% quantity open MCIERR_DEVICE_TYPE_REQUIRED status .\%element% position 0 =%StartPos% setaudio .\%element% off MCIERR_UNRECOGNIZED_COMMAND setaudio .\%element% off MCIERR_UNRECOGNIZED_COMMAND setaudio .\%element% off MCIERR_UNRECOGNIZED_COMMAND status .\%element% position 0 %StartPos% pause .\%element% 0 sysinfo all quantity open 0 * pause .\%element% 0 set .\%element% time format milliseconds 0 status .\%element% position 0 %StartPos% info .\%element% product 0 Video for Windows* info .\%element% product 0 Video for Windows* set .\%element% time format milliseconds 0 pause .\%element% 0 setaudio .\%element% off MCIERR_UNRECOGNIZED_COMMAND pause .\%element% 0 info .\%element% product 0 Video for Windows* set .\%element% time format milliseconds 0 set .\%element% time format milliseconds 0 pause .\%element% 0 info .\%element% file 0 =%FileName% info .\%element% file 0 %FileName% info .\%element% file 0 %FileName% pause .\%element% 0 seek .\%element% to start 0 info .\%element% product 0 Video for Windows* sysinfo all quantity open 0 * set .\%element% time format milliseconds 0 setaudio .\%element% off * set .\%element% time format milliseconds 0 pause .\%element% 0 seek .\%element% to start 0 info .\%element% file 0 %FileName% info .\%element% file 0 %FileName% setaudio .\%element% off * info .\%element% file 0 %FileName% setaudio .\%element% off * status .\%element% position 0 %StartPos% info .\%element% file 0 %FileName% sysinfo all quantity open 0 * sysinfo all quantity open 0 * sysinfo .\%element% quantity open MCIERR_DEVICE_TYPE_REQUIRED close all * ; ; End Of Case 36: PASS:Random Commands Element Path ; ; ;================================= TestCase TC_RAND_AVI_POS_TST ;================================= ; close all * open .\%element% alias %alias% 0 =%devnum% set .\%element% time format ms 0 status %alias% length 0 =%FrLength% play %alias% from 60 0 seek %alias% to 10 0 play %alias% from 53 to 35 0 set .\%element% time format milliseconds 0 status %alias% length 0 %FrLength% play %alias% from 14 0 seek %alias% to 43 0 play %alias% from 27 to 12 0 set .\%element% time format frames 0 status %alias% length 0 %FrLength% play %alias% from 4 0 seek %alias% to 11 0 play %alias% from 57 to 51 0 close %alias% 0 ; ; End Of Case 37: OTHR:Play Random Positions Element Path ; ; ;================================= TestCase TC_STEP_AVI_TSTS ;================================= ; close all * close .\%element% * open .\%element% 0 =%devnum% status .\%element% position 0 0 step .\%element% 0 status .\%element% position 0 1 status .\%element% length 0 =%FrLength% seek .\%element% to start wait 0 step .\%element% by %FrLength% wait 0 status .\%element% mode 0 * status .\%element% position 0 %FrLength% step .\%element% by -%FrLength% wait 0 status .\%element% position 0 =%BegSeek% seek .\%element% to end wait 0 step .\%element% reverse by %FrLength% 0 status .\%element% position 0 %BegSeek% set .\%element% seek exactly off 0 seek .\%element% to start wait 0 step .\%element% by 7 0 status .\%element% position 0 * step .\%element% by 7 0 status .\%element% position 0 * play .\%element% 0 step .\%element% 0 status .\%element% mode 0 * step .\%element% by 4 0 status .\%element% position 0 * step .\%element% by 4 0 status .\%element% position 0 * play .\%element% 0 step .\%element% 0 status .\%element% mode 0 * step .\%element% by 5 0 status .\%element% position 0 * step .\%element% by 5 0 status .\%element% position 0 * play .\%element% from 0 0 step .\%element% 0 status .\%element% mode 0 * step .\%element% by 2 0 status .\%element% position 0 * step .\%element% by 2 0 status .\%element% position 0 * play .\%element% 0 step .\%element% wait 0 status .\%element% mode 0 stopped step .\%element% by 3 0 status .\%element% position 0 * step .\%element% by 3 0 status .\%element% position 0 * play .\%element% from 0 0 step .\%element% wait 0 status .\%element% mode 0 stopped step .\%element% by 7 0 status .\%element% position 0 * step .\%element% by 7 0 status .\%element% position 0 * play .\%element% 0 step .\%element% wait 0 status .\%element% mode 0 stopped step .\%element% by 7 0 status .\%element% position 0 * step .\%element% by 7 0 status .\%element% position 0 * play .\%element% from 0 0 step .\%element% wait 0 status .\%element% mode 0 stopped step .\%element% by 6 0 status .\%element% position 0 * step .\%element% by 6 0 status .\%element% position 0 * play .\%element% 0 step .\%element% wait 0 status .\%element% mode 0 stopped step .\%element% by 5 0 status .\%element% position 0 * step .\%element% by 5 0 status .\%element% position 0 * play .\%element% from 0 0 step .\%element% wait 0 status .\%element% mode 0 stopped step .\%element% by 6 0 status .\%element% position 0 * step .\%element% by 6 0 status .\%element% position 0 * play .\%element% 0 step .\%element% wait 0 status .\%element% mode 0 stopped step .\%element% by 8 0 status .\%element% position 0 * step .\%element% by 8 0 status .\%element% position 0 * play .\%element% 0 step .\%element% wait 0 status .\%element% mode 0 stopped close .\%element% 0 ; ; End Of Case 38: OTHR:Step Element Path ; ; ;================================= TestCase TC_STEP_FRAME_TSTS ;================================= ; close all * close %element% * open %element% 0 =%devnum% step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 step %element% 0 status %element% length 0 =%FrLength% seek %element% to %FrLength% wait 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 step %element% reverse 0 close %element% 0 ; ; End Of Case 39: OTHR:Step Every Frame Element ; ; ;================================= TestCase TC_STEP_RAND_TIME_TSTS ;================================= ; close all * close .\%element% * open .\%element% 0 =%devnum% set .\%element% time format ms 0 step .\%element% reverse by 36 wait MCIERR_OUTOFRANGE status .\%element% position 0 =%StartPos% step .\%element% by -30 wait MCIERR_OUTOFRANGE status .\%element% position 0 %StartPos% step .\%element% by 21 wait 0 status .\%element% position 0 * step .\%element% reverse by 16 0 status .\%element% position 0 * step .\%element% by 33 wait 0 status .\%element% position 0 * step .\%element% reverse by 4 0 status .\%element% position 0 * step .\%element% by 7 0 status .\%element% position 0 * step .\%element% by 5 0 status .\%element% position 0 * step .\%element% by -44 wait 0 status .\%element% position 0 * step .\%element% by 36 wait 0 status .\%element% position 0 * step .\%element% by -8 0 status .\%element% position 0 * set .\%element% time format milliseconds 0 step .\%element% by 42 wait 0 status .\%element% position 0 * step .\%element% by -13 0 status .\%element% position 0 * step .\%element% by -33 wait 0 status .\%element% position 0 * step .\%element% by -11 0 status .\%element% position 0 * step .\%element% by 41 wait 0 status .\%element% position 0 * step .\%element% by -26 wait 0 status .\%element% position 0 * step .\%element% by 40 wait 0 status .\%element% position 0 * step .\%element% by 3 0 status .\%element% position 0 * step .\%element% reverse by 52 wait 0 status .\%element% position 0 * step .\%element% by -13 0 status .\%element% position 0 * step .\%element% by 30 wait 0 status .\%element% position 0 * set .\%element% time format frames 0 step .\%element% by 1 0 status .\%element% position 0 * step .\%element% by -10 0 status .\%element% position 0 * step .\%element% by 43 wait 0 status .\%element% position 0 * step .\%element% by -14 0 status .\%element% position 0 * step .\%element% reverse by 36 wait 0 status .\%element% position 0 * step .\%element% by 43 wait 0 status .\%element% position 0 * step .\%element% reverse by 40 wait 0 status .\%element% position 0 * step .\%element% by 9 0 status .\%element% position 0 * step .\%element% by 26 0 status .\%element% position 0 * step .\%element% reverse by 33 0 status .\%element% position 0 * step .\%element% by 0 0 status .\%element% position 0 * close .\%element% 0 ; ; End Of Case 40: OTHR:Step Diff't Format By Random Frames Element Path ; ; ;================================= TestCase TC_AVI_CUE_POS_TST ;================================= ; close all * close %alias% * open %element% alias %alias% 0 =%devnum% cue %alias% 0 status %alias% position 0 * seek %alias% to end 0 cue %alias% 0 status %alias% length 0 =%FrLength% status %alias% position 0 %FrLength% close %alias% 0 ; ; End Of Case 41: OTHR:Cue Position Element ; ; ;================================= TestCase TC_AVI_CUE_PR_TST ;================================= ; close all * close %alias% * open %element% alias %alias% 0 =%devnum% play %alias% notify 0 pause %alias% 0 cue %alias% to 16 notify 0 ;JQ 9/may/95 resume is a supported function in 3.51, hence return value will be "0" not "mcierr_nonapplicable_function" resume %alias% notify ;MCIERR_NONAPPLICABLE_FUNCTION 0 close %alias% 0 ; ; End Of Case 42: OTHR:Cue/PauseResume Element ; ; ;================================= TestCase TC_AVI_CUE_NORM_TST ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% cue %alias% 0 play %alias% wait 0 cue %alias% 0 play %alias% wait 0 cue %alias% output to 0 0 play %alias% 0 cue %alias% to 1 output 0 play %alias% 0 cue %alias% to 50 0 play %alias% 0 close %alias% 0 ; ; End Of Case 43: OTHR:Cue/Play Window Element Path ; ; ;================================= TestCase TC_AVI_CUE_FULL_TST ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% cue %alias% 0 play %alias% fUllScreeN wait * cue %alias% 0 play %alias% wait 0 cue %alias% output to 0 0 play %alias% fUllScreeN * cue %alias% to 1 output 0 play %alias% fUllScreeN * cue %alias% to 50 0 play %alias% fUllScreeN * close %alias% 0 ; ; End Of Case 44: OTHR:Cue/Play Fullscreen Element Path ; ; ;================================= TestCase TC_AVI_CUE_REV_TST ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% cue %alias% 0 play %alias% reverse wait 0 cue %alias% 0 play %alias% wait 0 cue %alias% output to 0 0 play %alias% reverse 0 cue %alias% to 1 output 0 play %alias% reverse 0 cue %alias% to 50 0 play %alias% reverse 0 close %alias% 0 ; ; End Of Case 45: OTHR:Cue/Play Reverse Element Path ; ; ;================================= TestCase TC_AVI_CUE_PLAY_MODE_TST ;================================= ; close all * close %alias% * open %element% alias %alias% 0 =%devnum% cue %alias% output to 0 0 play %alias% reverse 0 seek %alias% to start 0 cue %alias% to 1 output 0 play %alias% reverse 0 seek %alias% to start 0 cue %alias% to 50 0 play %alias% reverse 0 seek %alias% to start 0 cue %alias% output to 0 0 play %alias% window 0 seek %alias% to start 0 cue %alias% to 1 output 0 play %alias% window 0 seek %alias% to start 0 cue %alias% to 50 0 play %alias% window 0 seek %alias% to start 0 close %alias% 0 ; ; End Of Case 46: OTHR:Cue/Play Different Window Modes Element ; ; ;================================= TestCase TC_AVI_CUE_MULT_ELEMS_TST ;================================= ; close all * open .\%element% alias %alias% 0 =%devnum% open .\%element% 0 =%devnum% cue %alias% to 77 0 cue .\%element% to 40 0 play .\%element% 0 status %alias% mode 0 paused status .\%element% mode 0 playing play %alias% 0 cue .\%element% to 67 0 stop %alias% 0 cue .\%element% to 71 0 cue %alias% to 40 0 play .\%element% 0 cue all MCIERR_UNRECOGNIZED_COMMAND status .\%element% mode 0 playing status %alias% mode 0 paused close %alias% 0 close .\%element% 0 ; ; End Of Case 47: OTHR:Cue Multiple Elements ; ; ;================================= TestCase TC_AVI_CUE_BAD_TST ;================================= ; close all * close %alias% * open %element% alias %alias% 0 =%devnum% cue %alias% 0 play %alias% wait 0 cue %alias% 0 play %alias% wait 0 cue %alias% input MCIERR_UNSUPPORTED_FUNCTION play %alias% 0 cue %alias% input to 0 MCIERR_UNSUPPORTED_FUNCTION play %alias% 0 cue %alias% to -1 MCIERR_OUTOFRANGE play %alias% 0 close %alias% 0 ; ; End Of Case 48: OTHR:Cue with Bad Parameters and Play Element ; ; ;================================= TestCase TC_AVI_BAD_SET_PARAM ;================================= ; close all * close %element% * open %element% 0 =%devnum% play %element% 0 set %element% file format avi MCIERR_UNSUPPORTED_FUNCTION set %element% still file format MCIERR_NO_INTEGER close %element% 0 open %driver% 0 =%devnum% set %driver% file format avi MCIERR_UNSUPPORTED_FUNCTION set %driver% still file format MCIERR_NO_INTEGER close %driver% 0 ; ; End Of Case 50: OTHR:Set Bad Parameter Element ; ; ;================================= TestCase TC_AVI_STATUS_PARAM ;================================= ; close all * close %alias% * open .\%element% 0 =%devnum% ; ;JQ 15/may/95 As the "status {left,right} volume commands return a value and not 'null' as ;this test was previously expecting it is necessary to initialise the volume to a known value. ; setaudio .\%element% volume to 700 0 play .\%element% 0 status .\%element% audio input MCIERR_UNSUPPORTED_FUNCTION status .\%element% audio record MCIERR_UNSUPPORTED_FUNCTION status .\%element% audio source MCIERR_UNSUPPORTED_FUNCTION setaudio .\%element% on 0 status .\%element% audio 0 on status .\%element% color MCIERR_UNSUPPORTED_FUNCTION status .\%element% contrast MCIERR_UNSUPPORTED_FUNCTION status .\%element% disk space MCIERR_MISSING_STRING_ARGUMENT status .\%element% file format MCIERR_UNSUPPORTED_FUNCTION status .\%element% forward 0 true status .\%element% frame rate 0 15268 ;JQ 9/may/95 "status {left/right} volume" does not return null. Modify expected result ;to same as "status volume" expected result (ie null->700) status .\%element% left volume 0 700 status .\%element% length 0 =%FrLength% status .\%element% media present 0 true status .\%element% mode 0 playing status .\%element% monitor 0 file status .\%element% nominal frame rate 0 15268 status .\%element% number of tracks 0 1 status .\%element% palette handle 0 * status .\%element% position 0 * status .\%element% ready 0 true status .\%element% reference 10 0 * ;JQ 9/may/95 "status {left/right} volume" does not return null. Modify expected result ;to same as "status volume" expected result (ie null->700) status .\%element% right volume 0 700 set .\%element% seek exactly on 0 status .\%element% seek exactly 0 on status .\%element% size MCIERR_BAD_CONSTANT status .\%element% smpte MCIERR_UNSUPPORTED_FUNCTION status .\%element% speed 0 1000 status .\%element% start position 0 0 status .\%element% time format 0 frames status .\%element% tint MCIERR_UNSUPPORTED_FUNCTION status .\%element% treble MCIERR_UNSUPPORTED_FUNCTION status .\%element% unsaved 0 false setvideo .\%element% on 0 status .\%element% video 0 on status .\%element% video record MCIERR_UNSUPPORTED_FUNCTION ;JQ 9/may/95 Modify expected result to the value set at start of this test case (ie 1000->700) status .\%element% volume 0 700 status .\%element% window handle 0 * status .\%element% window visible 0 true status .\%element% window minimized 0 false status .\%element% window maximized 0 false close .\%element% 0 open %driver% 0 =%devnum% status %driver% audio input MCIERR_UNSUPPORTED_FUNCTION status %driver% audio record MCIERR_UNSUPPORTED_FUNCTION status %driver% audio source MCIERR_UNSUPPORTED_FUNCTION status %driver% audio MCIERR_UNSUPPORTED_FUNCTION status %driver% color MCIERR_UNSUPPORTED_FUNCTION status %driver% contrast MCIERR_UNSUPPORTED_FUNCTION status %driver% disk space MCIERR_MISSING_STRING_ARGUMENT status %driver% file format MCIERR_UNSUPPORTED_FUNCTION status %driver% forward MCIERR_UNSUPPORTED_FUNCTION status %driver% frame rate MCIERR_UNSUPPORTED_FUNCTION ;JQ 9/may/95 modify expected result to same as "status volume" expected result (ie 0->unsupported_function) status %driver% left volume ;0 MCIERR_UNSUPPORTED_FUNCTION status %driver% length MCIERR_UNSUPPORTED_FUNCTION status %driver% media present MCIERR_UNSUPPORTED_FUNCTION status %driver% mode MCIERR_UNSUPPORTED_FUNCTION status %driver% monitor MCIERR_UNSUPPORTED_FUNCTION status %driver% nominal frame rate MCIERR_UNSUPPORTED_FUNCTION status %driver% number of tracks MCIERR_UNSUPPORTED_FUNCTION status %driver% palette handle MCIERR_UNSUPPORTED_FUNCTION status %driver% position MCIERR_UNSUPPORTED_FUNCTION status %driver% ready MCIERR_UNSUPPORTED_FUNCTION status %driver% reference 10 MCIERR_UNSUPPORTED_FUNCTION ;JQ 9/may/95 modify expected result to same as "status volume" expected result (ie 0->unsupported_function) status %driver% right volume ;0 MCIERR_UNSUPPORTED_FUNCTION status %driver% seek exactly MCIERR_UNSUPPORTED_FUNCTION status %driver% size MCIERR_BAD_CONSTANT status %driver% smpte MCIERR_UNSUPPORTED_FUNCTION status %driver% speed MCIERR_UNSUPPORTED_FUNCTION status %driver% start position MCIERR_UNSUPPORTED_FUNCTION status %driver% time format MCIERR_UNSUPPORTED_FUNCTION status %driver% tint MCIERR_UNSUPPORTED_FUNCTION status %driver% treble MCIERR_UNSUPPORTED_FUNCTION status %driver% unsaved MCIERR_UNSUPPORTED_FUNCTION status %driver% video MCIERR_UNSUPPORTED_FUNCTION status %driver% video record MCIERR_UNSUPPORTED_FUNCTION status %driver% volume MCIERR_UNSUPPORTED_FUNCTION status %driver% window handle MCIERR_UNSUPPORTED_FUNCTION status %driver% window visible MCIERR_UNSUPPORTED_FUNCTION status %driver% window minimized MCIERR_UNSUPPORTED_FUNCTION status %driver% window maximized MCIERR_UNSUPPORTED_FUNCTION close %driver% 0 ; ; End Of Case 51: OTHR:Status Valid Parameters Element Path ; ; ;================================= TestCase TC_AVI_BAD_STATUS_PARAM ;================================= ; close %element% * open %element% 0 =%devnum% status %element% position track 0 MCIERR_OUTOFRANGE status %element% position track 2 MCIERR_OUTOFRANGE status %element% position track -1 MCIERR_OUTOFRANGE status %element% length track 0 MCIERR_OUTOFRANGE status %element% length track 2 MCIERR_OUTOFRANGE status %element% length track -1 MCIERR_OUTOFRANGE close %element% 0 status %driver% position track 0 MCIERR_UNSUPPORTED_FUNCTION status %driver% position track 2 MCIERR_UNSUPPORTED_FUNCTION status %driver% position track -1 MCIERR_UNSUPPORTED_FUNCTION status %driver% length track 0 MCIERR_UNSUPPORTED_FUNCTION status %driver% length track 2 MCIERR_UNSUPPORTED_FUNCTION status %driver% length track -1 MCIERR_UNSUPPORTED_FUNCTION close %driver% * play %element% 0 status %element% position track 0 MCIERR_OUTOFRANGE status %element% position track 2 MCIERR_OUTOFRANGE status %element% position track -1 MCIERR_OUTOFRANGE status %element% length track 0 MCIERR_OUTOFRANGE status %element% length track 2 MCIERR_OUTOFRANGE status %element% length track -1 MCIERR_OUTOFRANGE close %element% * ; ; End Of Case 52: OTHR:Status Invalid Parameters Element ; ; ;================================= TestCase TC_AVI_STOP_TST ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% stop %alias% 0 status %alias% mode 0 stopped play %alias% 0 stop %alias% 0 status %alias% mode 0 stopped play %alias% 0 pause %alias% 0 stop %alias% 0 status %alias% mode 0 stopped seek %alias% to 2 0 stop %alias% 0 status %alias% mode 0 stopped stop %alias% 0 status %alias% mode 0 stopped play %alias% from 0 0 pause %alias% 0 resume %alias% 0 stop %alias% 0 status %alias% mode 0 stopped close %alias% 0 ; ; End Of Case 53: OTHR:Stop Different States Element Path ; ; ;================================= TestCase TC_PUT_WH_AVI_TSTS ;================================= ; close all * open .\%element% alias %alias% 0 =%devnum% put %alias% source at 0 0 0 0 MCIERR_OUTOFRANGE where %alias% source 0 =%SRect% play %alias% from 0 0 where %alias% source 0 %SRect% put %alias% destination at 0 0 0 0 MCIERR_OUTOFRANGE where %alias% destination 0 =%DRect% play %alias% from 0 0 where %alias% destination 0 %DRect% put %alias% source at 20 20 200 200 0 where %alias% source 0 20 20 * play %alias% from 0 0 where %alias% source 0 =%SRect% put %alias% destination at 20 20 200 200 0 where %alias% destination 0 20 20 200 200 play %alias% from 0 0 where %alias% destination 0 20 20 200 200 put %alias% source at 0 0 -50 -50 MCIERR_OUTOFRANGE where %alias% source 0 %SRect% play %alias% from 0 0 where %alias% source 0 %SRect% put %alias% destination at 0 0 -50 -50 MCIERR_OUTOFRANGE where %alias% destination 0 20 20 200 200 play %alias% from 0 0 where %alias% destination 0 20 20 200 200 put %alias% source at 0 0 100 100 0 where %alias% source 0 0 0 100 100 play %alias% from 0 0 where %alias% source 0 =%SRect% put %alias% destination at 0 0 100 100 0 where %alias% destination 0 0 0 100 100 play %alias% from 0 0 where %alias% destination 0 0 0 100 100 put %alias% source at 0 0 100 -50 MCIERR_OUTOFRANGE where %alias% source 0 %SRect% play %alias% from 0 0 where %alias% source 0 %SRect% put %alias% destination at 0 0 100 -50 MCIERR_OUTOFRANGE where %alias% destination 0 0 0 100 100 play %alias% from 0 0 where %alias% destination 0 0 0 100 100 put %alias% source at -10 -10 10 10 MCIERR_OUTOFRANGE where %alias% source 0 %SRect% play %alias% from 0 0 where %alias% source 0 %SRect% put %alias% destination at -10 -10 10 10 0 where %alias% destination 0 -10 -10 10 10 play %alias% from 0 0 where %alias% destination 0 -10 -10 10 10 put %alias% source at -10 -10 100 100 0 where %alias% source 0 * play %alias% from 0 0 where %alias% source 0 =%SRect% put %alias% destination at -10 -10 100 100 0 where %alias% destination 0 -10 -10 100 100 play %alias% from 0 0 where %alias% destination 0 -10 -10 100 100 put %alias% source at 1 2 3 4 0 where %alias% source 0 1 2 3 4 play %alias% from 0 0 where %alias% source 0 1 2 3 4 put %alias% destination at 1 2 3 4 0 where %alias% destination 0 1 2 3 4 play %alias% from 0 0 where %alias% destination 0 1 2 3 4 put %alias% source at 200 200 70 70 MCIERR_OUTOFRANGE where %alias% source 0 1 2 3 4 play %alias% from 0 0 where %alias% source 0 1 2 3 4 put %alias% destination at 200 200 70 70 0 where %alias% destination 0 200 200 70 70 play %alias% from 0 0 where %alias% destination 0 200 200 70 70 put %alias% source at 0 0 100 1 0 where %alias% source 0 0 0 100 1 play %alias% from 0 0 where %alias% source 0 =%SRect% put %alias% destination at 0 0 100 1 0 where %alias% destination 0 0 0 100 1 play %alias% from 0 0 where %alias% destination 0 0 0 100 1 put %alias% source at 0 0 1 100 0 where %alias% source 0 0 0 1 100 play %alias% from 0 0 where %alias% source 0 =%SRect% put %alias% destination at 0 0 1 100 0 where %alias% destination 0 0 0 1 100 play %alias% from 0 0 where %alias% destination 0 0 0 1 100 put %alias% source at 100 100 1 100 0 where %alias% source 0 =%SRect% play %alias% from 0 0 where %alias% source 0 %SRect% put %alias% destination at 100 100 1 100 0 where %alias% destination 0 100 100 1 100 play %alias% from 0 0 where %alias% destination 0 100 100 1 100 put %alias% source at 100 100 100 1 0 where %alias% source 0 =%SRect% play %alias% from 0 0 where %alias% source 0 %SRect% put %alias% destination at 100 100 100 1 0 where %alias% destination 0 100 100 100 1 play %alias% from 0 0 where %alias% destination 0 100 100 100 1 put %alias% source at 15 40 54 65 0 where %alias% source 0 15 40 54 65 play %alias% from 0 0 where %alias% source 0 =%SRect% put %alias% destination at 15 40 54 65 0 where %alias% destination 0 15 40 54 65 play %alias% from 0 0 where %alias% destination 0 15 40 54 65 close %alias% 0 ; ! End Of Case 54: OTHR:Put/Where Element Path ; ; ;================================= TestCase TC_PUT_AT_TSTS ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% where %alias% window 0 * put %alias% window at 100 100 160 120 0 where %alias% window 0 100 100 160 120 play %alias% from 0 0 where %alias% window 0 100 100 160 120 close %alias% 0 ; ; End Of Case 55: PASS:Put Window At Extreme Coordinates Element Path ; ; ;================================= TestCase TC_PUT_AT_RAND_TSTS ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% where %alias% window 0 * put %alias% window at 321 753 733 26 0 play %alias% from 0 0 where %alias% window 0 321 753 733 26 where %alias% window 0 321 753 733 26 put %alias% window at 0 584 919 330 0 play %alias% from 0 0 where %alias% window 0 0 584 919 330 where %alias% window 0 0 584 919 330 put %alias% window at 12 0 1024 768 0 play %alias% from 0 0 where %alias% window 0 12 0 1024 768 where %alias% window 0 12 0 1024 768 put %alias% window at 0 0 465 768 0 play %alias% from 0 0 where %alias% window 0 0 0 465 858 where %alias% window client MCIERR_UNRECOGNIZED_KEYWORD put %alias% client window at 76 60 341 13 0 play %alias% from 0 0 where %alias% window client MCIERR_UNRECOGNIZED_KEYWORD where %alias% window client MCIERR_UNRECOGNIZED_KEYWORD put %alias% client window at 0 806 887 261 0 play %alias% from 0 0 where %alias% window client MCIERR_UNRECOGNIZED_KEYWORD where %alias% window client MCIERR_UNRECOGNIZED_KEYWORD put %alias% client window at 888 0 96 932 0 play %alias% from 0 0 where %alias% window client MCIERR_UNRECOGNIZED_KEYWORD where %alias% window client MCIERR_UNRECOGNIZED_KEYWORD put %alias% client window at 0 0 1108 716 0 play %alias% from 0 0 where %alias% window client MCIERR_UNRECOGNIZED_KEYWORD close %alias% 0 ; ; End Of Case 56: OTHR:Put Window At Random Coordinates Element Path ; ; ;================================= TestCase TC_AVI_WIND_COV_UNCOV ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% open %element% 0 =%devnum% set %alias% time format ms 0 play %alias% 0 window %element% state show normal 0 put %element% window at 0 0 986 385 0 put %element% window at 0 0 742 529 0 put %element% window at 0 0 61 890 0 put %element% window at 0 0 200 359 0 put %element% window at 0 0 452 675 0 put %element% window at 0 0 371 375 0 put %element% window at 0 0 17 461 0 close %element% 0 close %alias% 0 ; ; End Of Case 57: OTHR:Window Cover/Uncover Element Path ; ; ;================================= TestCase TC_AVI_WIND_RAND_WIND_AT ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% set %alias% time format ms 0 play %alias% 0 put %alias% window at 443 628 10 694 0 put %alias% window at 857 101 362 514 0 put %alias% window at 338 762 917 630 0 put %alias% window at 327 425 568 123 0 put %alias% window at 880 178 1151 884 0 put %alias% window at 376 103 393 703 0 put %alias% window at 1166 267 25 808 0 close %alias% 0 ; ; End Of Case 58: OTHR:Change Playback Window During Playback Element Path ; ; ;================================= TestCase TC_AVI_WIND_RAND_SRCS ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% set %alias% time format ms 0 play %alias% 0 put %alias% source at 0 0 654 707 0 put %alias% source at 0 0 21 777 0 put %alias% source at 0 0 29 212 0 put %alias% source at 0 0 523 654 0 put %alias% source at 0 0 559 263 0 put %alias% source at 0 0 1271 734 0 put %alias% source at 0 0 611 346 0 close %alias% 0 ; ; End Of Case 59: OTHR:Change Source During Playback Element Path ; ; ;================================= TestCase TC_AVI_WIND_RAND_DESTS ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% set %alias% time format ms 0 play %alias% 0 put %alias% destination at 0 0 441 241 0 put %alias% destination at 0 0 634 688 0 put %alias% destination at 0 0 148 404 0 put %alias% destination at 0 0 1241 233 0 put %alias% destination at 0 0 1200 137 0 put %alias% destination at 0 0 11 823 0 put %alias% destination at 0 0 665 68 0 close %alias% 0 ; ; End Of Case 60: OTHR:Change Destination During Playback Element Path ; ; ;=================================== TestCase TC_AVI_WIND_RAND_SRCS_DESTS ;=================================== ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% set %alias% time format ms 0 play %alias% 0 put %alias% source at 0 0 1084 994 0 put %alias% destination at 0 0 957 504 0 put %alias% source at 0 0 447 941 0 put %alias% destination at 0 0 497 488 0 put %alias% source at 0 0 648 839 0 put %alias% destination at 0 0 493 118 0 put %alias% source at 0 0 690 523 0 put %alias% destination at 0 0 459 248 0 put %alias% source at 0 0 763 160 0 put %alias% destination at 0 0 908 78 0 put %alias% source at 0 0 579 746 0 put %alias% destination at 0 0 1171 141 0 put %alias% source at 0 0 529 23 0 put %alias% destination at 0 0 40 679 0 close %alias% 0 ; ; End Of Case 61: OTHR:Change Source/Destination During Playback Element Path ; ; ;================================= TestCase TC_AVI_WIND_SWITCH ;================================= ; close all * open .\%element% alias %alias% 0 =%devnum% open .\%element% 0 =%devnum% status %alias% window handle 0 =%AliasHandle% status .\%element% window handle 0 =%ElementHandle% window %alias% handle %ElementHandle% 0 play %alias% 0 window .\%element% handle %AliasHandle% 0 play .\%element% 0 seek %alias% to start 0 seek .\%element% to start 0 window %alias% handle default 0 play %alias% 0 window .\%element% handle default 0 play .\%element% 0 close %alias% 0 close .\%element% 0 ; ; End Of Case 62: OTHR:Window Switch Handles Elements ; ; ;================================= TestCase TC_AVI_WIND_STATES ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%devnum% play %alias% 0 window %alias% state hide 0 play %alias% 0 window %alias% state show 0 play %alias% 0 window %alias% state minimize 0 play %alias% 0 window %alias% state restore 0 play %alias% 0 window %alias% state show maximized 0 play %alias% 0 window %alias% state show minimized 0 play %alias% 0 window %alias% state show min noactive 0 play %alias% 0 window %alias% state show noactivate 0 play %alias% 0 window %alias% state show na 0 play %alias% 0 window %alias% state show normal 0 close %alias% 0 ; ; End Of Case 63: OTHR:Window States Element Path ; ; ;================================= TestCase TC_CAPS_DEV_AO_AVI ;================================= ; close all * capability %driver% can eject 0 false capability %driver% can freeze 0 false capability %driver% can lock 0 false capability %driver% can play 0 true capability %driver% can record 0 false capability %driver% can reverse 0 true capability %driver% can save 0 false capability %driver% can stretch 0 true capability %driver% can stretch input 0 false capability %driver% can test 0 true capability %driver% compound device 0 true capability %driver% device type 0 DigitalVideo capability %driver% has audio 0 true capability %driver% has still 0 false capability %driver% has video 0 true capability %driver% uses files 0 true capability %driver% uses palettes 0 true capability %driver% cue points MCIERR_BAD_CONSTANT capability %driver% windows MCIERR_UNSUPPORTED_FUNCTION close %driver% * ; ; End Of Case 64: OTHR:Auto Open Capability AVI Driver ; ; ;================================= TestCase TC_CAPS_ELEM_AO_AVI ;================================= ; close all * capability %element% can eject 0 false capability %element% can freeze 0 false capability %element% can lock 0 false capability %element% can play 0 true capability %element% can record 0 false capability %element% can reverse 0 true capability %element% can save 0 false capability %element% can stretch 0 true capability %element% can stretch input 0 false capability %element% can test 0 true capability %element% compound device 0 true capability %element% device type 0 DigitalVideo capability %element% has audio 0 true capability %element% has still 0 false capability %element% has video 0 true capability %element% uses files 0 true capability %element% uses palettes 0 true capability %element% cue points MCIERR_BAD_CONSTANT capability %element% windows MCIERR_UNSUPPORTED_FUNCTION close %element% * ; ; End Of Case 65: OTHR:Auto Open Capability AVI Element ; ; ;================================= TestCase TC_INFO_AVI_AO_TSTS ;================================= ; close all * info %element% audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %element% audio quality MCIERR_UNSUPPORTED_FUNCTION info %driver% audio quality MCIERR_UNSUPPORTED_FUNCTION info %element% file 0 * info %driver% file MCIERR_UNSUPPORTED_FUNCTION info %element% product 0 Video For Windows* info %driver% product 0 Video For Windows* info %element% still algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% still algorithm MCIERR_UNSUPPORTED_FUNCTION info %element% still quality MCIERR_UNSUPPORTED_FUNCTION info %driver% still quality MCIERR_UNSUPPORTED_FUNCTION ; ;JQ 9/may/95 "info version" now returns the version number. ;So change expected value from "Video for Windows*" to "1.1" ; info %element% version 0 1.1 info %driver% version 0 1.1 info %element% usage MCIERR_UNSUPPORTED_FUNCTION info %driver% usage MCIERR_UNSUPPORTED_FUNCTION info %element% video algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% video algorithm MCIERR_UNSUPPORTED_FUNCTION info %element% video quality MCIERR_UNSUPPORTED_FUNCTION info %driver% video quality MCIERR_UNSUPPORTED_FUNCTION info %element% window text 0 %element% info %driver% window text MCIERR_UNSUPPORTED_FUNCTION close %driver% * close %element% * ; ; End Of Case 66: OTHR:Auto Open Info Driver and Element ; ; ;================================= TestCase TC_AVI_AUTO_PLAY ;================================= ; close all * play %element% 0 close %element% 0 play %element% 0 stop %element% 0 sysinfo all quantity open 0 * sysinfo %element% quantity open MCIERR_DEVICE_TYPE_REQUIRED status %element% length 0 =%FrLength% cue %element% MCIERR_UNRECOGNIZED_COMMAND play %element% from 2 0 seek %element% to 2 0 sysinfo all quantity open 0 * play %element% 0 close %element% * play %element% from 0 to 0 0 close %element% * ; ; End Of Case 67: OTHR:Auto Open Play Element ; ; ;================================= TestCase TC_AVI_PR_AO_TST ;================================= ; close all * ;JQ 9/may/95 resume is a supported function in 3.51, hence return value will be "0" not "mcierr_nonapplicable_function" resume .\%element% ;MCIERR_NONAPPLICABLE_FUNCTION 0 pause .\%element% 0 play .\%element% 0 pause .\%element% 0 resume .\%element% * stop .\%element% 0 play .\%element% 0 seek .\%element% to start 0 pause .\%element% 0 seek .\%element% to 1 wait 0 pause .\%element% wait 0 resume .\%element% * resume .\%element% * pause .\%element% 0 play .\%element% from 0 0 pause .\%element% wait 0 resume .\%element% * close .\%element% * ; ; End Of Case 68: OTHR:Auto Open Pause/Resume Element Path ; ; ;================================= TestCase TC_AVI_AO_STAT_PARAM ;================================= ; close all * close %element% * ; ;JQ 15/may/95 As the "status {left,right} volume commands return a value and not 'null' as ;this test was previously expecting it is necessary to initialise the volume to a known value. ; open .\%element% 0 =%devnum% setaudio .\%element% volume to 700 0 close %element% * status %element% audio input MCIERR_UNSUPPORTED_FUNCTION status %element% audio record MCIERR_UNSUPPORTED_FUNCTION status %element% audio source MCIERR_UNSUPPORTED_FUNCTION status %element% audio 0 on status %element% color MCIERR_UNSUPPORTED_FUNCTION status %element% contrast MCIERR_UNSUPPORTED_FUNCTION status %element% disk space MCIERR_MISSING_STRING_ARGUMENT status %element% file format MCIERR_UNSUPPORTED_FUNCTION status %element% forward 0 true status %element% frame rate 0 15268 ;JQ 9/may/95 modify expected result to same as "status volume" expected result (ie null->700) status %element% left volume 0 700 status %element% length 0 =%FrLength% status %element% media present 0 true status %element% mode 0 stopped status %element% monitor 0 file status %element% nominal frame rate 0 15268 status %element% number of tracks 0 1 status %element% palette handle 0 * status %element% position 0 * status %element% ready 0 true status %element% reference 10 0 * ;JQ 9/may/95 modify expected result to same as "status volume" expected result (ie null->700) status %element% right volume 0 700 status %element% seek exactly 0 on status %element% size MCIERR_BAD_CONSTANT status %element% smpte MCIERR_UNSUPPORTED_FUNCTION status %element% speed 0 1000 status %element% start position 0 0 status %element% time format 0 frames status %element% tint MCIERR_UNSUPPORTED_FUNCTION status %element% treble MCIERR_UNSUPPORTED_FUNCTION status %element% unsaved 0 false status %element% video 0 on status %element% video record MCIERR_UNSUPPORTED_FUNCTION status %element% volume 0 700 status %element% window handle 0 * status %element% window visible 0 false status %element% window minimized 0 false status %element% window maximized 0 false close %element% * status %driver% audio input MCIERR_UNSUPPORTED_FUNCTION status %driver% audio record MCIERR_UNSUPPORTED_FUNCTION status %driver% audio source MCIERR_UNSUPPORTED_FUNCTION status %driver% audio MCIERR_UNSUPPORTED_FUNCTION status %driver% color MCIERR_UNSUPPORTED_FUNCTION status %driver% contrast MCIERR_UNSUPPORTED_FUNCTION status %driver% disk space MCIERR_MISSING_STRING_ARGUMENT status %driver% file format MCIERR_UNSUPPORTED_FUNCTION status %driver% forward MCIERR_UNSUPPORTED_FUNCTION status %driver% frame rate MCIERR_UNSUPPORTED_FUNCTION ;JQ 9/may/95 modify expected result to same as "status volume" expected result (ie 0->MCIERR_UNSUPPORTED_FUNCTION) status %driver% left volume ;0 MCIERR_UNSUPPORTED_FUNCTION status %driver% length MCIERR_UNSUPPORTED_FUNCTION status %driver% media present MCIERR_UNSUPPORTED_FUNCTION status %driver% mode MCIERR_UNSUPPORTED_FUNCTION status %driver% monitor MCIERR_UNSUPPORTED_FUNCTION status %driver% nominal frame rate MCIERR_UNSUPPORTED_FUNCTION status %driver% number of tracks MCIERR_UNSUPPORTED_FUNCTION status %driver% palette handle MCIERR_UNSUPPORTED_FUNCTION status %driver% position MCIERR_UNSUPPORTED_FUNCTION status %driver% ready MCIERR_UNSUPPORTED_FUNCTION status %driver% reference 10 MCIERR_UNSUPPORTED_FUNCTION ;JQ 9/may/95 modify expected result to same as "status volume" expected result (ie 0->MCIERR_UNSUPPORTED_FUNCTION) status %driver% right volume ;0 MCIERR_UNSUPPORTED_FUNCTION status %driver% seek exactly MCIERR_UNSUPPORTED_FUNCTION status %driver% size MCIERR_BAD_CONSTANT status %driver% smpte MCIERR_UNSUPPORTED_FUNCTION status %driver% speed MCIERR_UNSUPPORTED_FUNCTION status %driver% start position MCIERR_UNSUPPORTED_FUNCTION status %driver% time format MCIERR_UNSUPPORTED_FUNCTION status %driver% tint MCIERR_UNSUPPORTED_FUNCTION status %driver% treble MCIERR_UNSUPPORTED_FUNCTION status %driver% unsaved MCIERR_UNSUPPORTED_FUNCTION status %driver% video MCIERR_UNSUPPORTED_FUNCTION status %driver% video record MCIERR_UNSUPPORTED_FUNCTION status %driver% volume MCIERR_UNSUPPORTED_FUNCTION status %driver% window handle MCIERR_UNSUPPORTED_FUNCTION status %driver% window visible MCIERR_UNSUPPORTED_FUNCTION status %driver% window minimized MCIERR_UNSUPPORTED_FUNCTION status %driver% window maximized MCIERR_UNSUPPORTED_FUNCTION close %driver% * ; ; End Of Case 69: OTHR:Auto Open Status Valid Parameters Element ; ; ;================================= TestCase TC_AVI_OLD_AV_TST_TST ;================================= ; close all * close %element% * open %element% 0 =%devnum% set %element% test audio left on MCIERR_UNSUPPORTED_FUNCTION set %element% test video on 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 set %element% test video off 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 set %element% test audio left off MCIERR_UNSUPPORTED_FUNCTION set %element% test video on 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 set %element% test video off 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 set %element% test audio right on MCIERR_UNSUPPORTED_FUNCTION set %element% test video on 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 set %element% test video off 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 set %element% test audio right off MCIERR_UNSUPPORTED_FUNCTION set %element% test video on 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 set %element% test video off 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 set %element% test audio all on 0 set %element% test video on 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 set %element% test video off 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 set %element% test audio all off 0 set %element% test video on 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 set %element% test video off 0 seek %element% to start 0 play %element% test 0 seek %element% to start 0 record %element% test MCIERR_UNSUPPORTED_FUNCTION stop %element% 0 seek %element% to start 0 play %element% test 0 close %element% 0 ; ; End Of Case 70: OTHR:Old Set Audio/Video Test Parameter Element ; ; ;================================= TestCase TC_AVI_AV_TST_TST ;================================= ; close all * open %element% 0 =%devnum% setaudio %element% test volume to 500 0 ;JQ 12/may/95 Palette 100 is invalid, previously no check was made on the ;validity of the palette handle. ;Change expected return from 0 to mcierr_avi_badpalette but this was not ;defined in mcierrors[], see mcidata.h the avi definitions are commented out, ;so hack it in there, see associated comments for why this is a problem. setvideo %element% test palette handle to 100 ;0 MCIERR_AVI_BADPALETTE setvideo %element% test on 0 setvideo %element% test off 0 setaudio %element% test on 0 ;JQ 12/may/95 Palette 100 is invalid, previously no check was made on the ;validity of the palette handle. ;Change expected return from 0 to mcierr_avi_badpalette. setvideo %element% test palette handle to 100 ;0 MCIERR_AVI_BADPALETTE setvideo %element% test on 0 setvideo %element% test off 0 setaudio %element% test off 0 ;JQ 12/may/95 Palette 100 is invalid, previously no check was made on the ;validity of the palette handle. ;Change expected return from 0 to mcierr_avi_badpalette but this was not setvideo %element% test palette handle to 100 ;0 MCIERR_AVI_BADPALETTE setvideo %element% test on 0 setvideo %element% test off 0 setaudio %element% test bass to 100 MCIERR_UNSUPPORTED_FUNCTION setaudio %element% test left on MCIERR_UNSUPPORTED_FUNCTION setaudio %element% test left off MCIERR_UNSUPPORTED_FUNCTION setaudio %element% test left volume to 10 0 setaudio %element% test right on MCIERR_UNSUPPORTED_FUNCTION setaudio %element% test right off MCIERR_UNSUPPORTED_FUNCTION setaudio %element% test right volume to 20 0 setaudio %element% test sourceto name MCIERR_BAD_CONSTANT setaudio %element% test treble to 100 MCIERR_UNSUPPORTED_FUNCTION setaudio %element% test algorithm tmp MCIERR_UNSUPPORTED_FUNCTION setaudio %element% test clocktime MCIERR_UNSUPPORTED_FUNCTION setaudio %element% test over 3 MCIERR_MISSING_PARAMETER setaudio %element% test quality good MCIERR_UNSUPPORTED_FUNCTION setaudio %element% test record on MCIERR_UNSUPPORTED_FUNCTION setaudio %element% test record off MCIERR_UNSUPPORTED_FUNCTION setaudio %element% test stream to 200 MCIERR_OUTOFRANGE setvideo %element% test brightness to 200 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test color to 100 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test contrast to 50 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test gamma to 100 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test record frame rate to 100 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test sharpness to 10 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test source to 1 name tmp MCIERR_BAD_CONSTANT setvideo %element% test still algorithm tmp MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test still quality better MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test tint to 50 MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test algorithm tmp MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test clocktime MCIERR_UNSUPPORTED_FUNCTION ;JQ 12/may/95 The command verb is recognised as an unsupported function setvideo %element% test over 3 ;MCIERR_BAD_CONSTANT MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test quality good MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test record on MCIERR_UNSUPPORTED_FUNCTION setvideo %element% test record off MCIERR_UNSUPPORTED_FUNCTION ;JQ 12/may/95 Streams were not supported in VFW1.1, they are now setvideo %element% test stream to 200 ;MCIERR_UNSUPPORTED_FUNCTION MCIERR_OUTOFRANGE close %element% 0 ; ; End Of Case 71: OTHR:Setudio/Setvideo Test Parameter Element ; ; ;================================= TestCase TC_CAPS_ELEM_TST_TST ;================================= ; close all * open %element% alias %alias% 0 =%devnum% capability %alias% test can eject 0 0 capability %alias% test can freeze 0 0 capability %alias% test can lock 0 0 capability %alias% test can play 0 0 capability %alias% test can record 0 0 ;JQ 15/may/95 There is no explicit return value when the 'test' switch is used, it defaults to 0 capability %alias% test can reverse 0 ;true 0 capability %alias% test can save 0 0 capability %alias% test can stretch 0 0 capability %alias% test can stretch input 0 0 capability %alias% test can test 0 0 capability %alias% test cue points MCIERR_BAD_CONSTANT capability %alias% test compound device 0 0 capability %alias% test device type 0 0 capability %alias% test has audio 0 0 capability %alias% test has still 0 0 capability %alias% test has video 0 0 capability %alias% test uses files 0 0 capability %alias% test uses palettes 0 0 play %alias% 0 capability %alias% test can eject 0 0 capability %alias% test can freeze 0 0 capability %alias% test can lock 0 0 capability %alias% test can play 0 0 capability %alias% test can record 0 0 ;JQ 15/may/95 There is no explicit return value when the 'test' switch is used, it defaults to 0 capability %alias% test can reverse 0 ;true 0 capability %alias% test can save 0 0 capability %alias% test can stretch 0 0 capability %alias% test can stretch input 0 0 capability %alias% test can test 0 0 capability %alias% test cue points MCIERR_BAD_CONSTANT capability %alias% test compound device 0 0 capability %alias% test device type 0 0 capability %alias% test has audio 0 0 capability %alias% test has still 0 0 capability %alias% test has video 0 0 capability %alias% test uses files 0 0 capability %alias% test uses palettes 0 0 close %alias% 0 ; ; End Of Case 72: OTHR:Capability AVI Test Parameter Element Path ; ; ;================================= TestCase TC_CAPS_ELEM_AO_TST_TST ;================================= ; close all * capability %element% test can eject 0 0 capability %element% test can freeze 0 0 capability %element% test can lock 0 0 capability %element% test can play 0 0 capability %element% test can record 0 0 ;JQ 15/may/95 There is no explicit return value when the 'test' switch is used, it defaults to 0 capability %element% test can reverse 0 ;true 0 capability %element% test can save 0 0 capability %element% test can stretch 0 0 capability %element% test can stretch input 0 0 capability %element% test can test 0 0 capability %element% test cue points MCIERR_BAD_CONSTANT capability %element% test compound device 0 0 capability %element% test device type 0 0 capability %element% test has audio 0 0 capability %element% test has still 0 0 capability %element% test has video 0 0 capability %element% test uses files 0 0 capability %element% test uses palettes 0 0 close %element% * ; ; End Of Case 73: OTHR:Auto Open Capability AVI Test Parameter Element ; ; ;================================= TestCase TC_INFO_AVI_TST_TSTS ;================================= ; close all * open %driver% 0 =%devnum% open %element% alias %alias% 0 =%devnum% info %alias% test audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% test audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% test audio quality MCIERR_UNSUPPORTED_FUNCTION info %driver% test audio quality MCIERR_UNSUPPORTED_FUNCTION info %alias% test file 0 info %driver% test file MCIERR_UNSUPPORTED_FUNCTION info %alias% test product 0 info %driver% test product 0 info %alias% test still algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% test still algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% test still quality MCIERR_UNSUPPORTED_FUNCTION info %driver% test still quality MCIERR_UNSUPPORTED_FUNCTION info %alias% test version 0 info %driver% test version 0 info %alias% test usage MCIERR_UNSUPPORTED_FUNCTION info %driver% test usage MCIERR_UNSUPPORTED_FUNCTION info %alias% test video algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% test video algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% test video quality MCIERR_UNSUPPORTED_FUNCTION info %driver% test video quality MCIERR_UNSUPPORTED_FUNCTION info %alias% test window text 0 info %driver% test window text MCIERR_UNSUPPORTED_FUNCTION play %element% 0 info %alias% test audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% test audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% test audio quality MCIERR_UNSUPPORTED_FUNCTION info %driver% test audio quality MCIERR_UNSUPPORTED_FUNCTION info %alias% test file 0 info %driver% test file MCIERR_UNSUPPORTED_FUNCTION info %alias% test product 0 info %driver% test product 0 info %alias% test still algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% test still algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% test still quality MCIERR_UNSUPPORTED_FUNCTION info %driver% test still quality MCIERR_UNSUPPORTED_FUNCTION info %alias% test version 0 info %driver% test version 0 info %alias% test usage MCIERR_UNSUPPORTED_FUNCTION info %driver% test usage MCIERR_UNSUPPORTED_FUNCTION info %alias% test video algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% test video algorithm MCIERR_UNSUPPORTED_FUNCTION info %alias% test video quality MCIERR_UNSUPPORTED_FUNCTION info %driver% test video quality MCIERR_UNSUPPORTED_FUNCTION info %alias% test window text 0 info %driver% test window text MCIERR_UNSUPPORTED_FUNCTION close %alias% 0 close %driver% 0 ; ; End Of Case 74: OTHR:Info Test Parameter Driver and Element ; ; ;================================= TestCase TC_INFO_AVI_AO_TST_TSTS ;================================= ; close all * info %element% test audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% test audio algorithm MCIERR_UNSUPPORTED_FUNCTION info %element% test audio quality MCIERR_UNSUPPORTED_FUNCTION info %driver% test audio quality MCIERR_UNSUPPORTED_FUNCTION info %element% test file 0 info %driver% test file MCIERR_UNSUPPORTED_FUNCTION info %element% test product 0 info %driver% test product 0 info %element% test still algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% test still algorithm MCIERR_UNSUPPORTED_FUNCTION info %element% test still quality MCIERR_UNSUPPORTED_FUNCTION info %driver% test still quality MCIERR_UNSUPPORTED_FUNCTION info %element% test version 0 info %driver% test version 0 info %element% test usage MCIERR_UNSUPPORTED_FUNCTION info %driver% test usage MCIERR_UNSUPPORTED_FUNCTION info %element% test video algorithm MCIERR_UNSUPPORTED_FUNCTION info %driver% test video algorithm MCIERR_UNSUPPORTED_FUNCTION info %element% test video quality MCIERR_UNSUPPORTED_FUNCTION info %driver% test video quality MCIERR_UNSUPPORTED_FUNCTION info %element% test window text 0 info %driver% test window text MCIERR_UNSUPPORTED_FUNCTION close %driver% * close %element% * ; ; End Of Case 75: OTHR:Auto Open Info Test Parameter Driver and Element ; ; ;================================= TestCase TC_AVI_PR_TST_TST ;================================= ; close all * open %element% 0 =%devnum% ;JQ 9/may/95 resume is a supported function in 3.51, hence return value will be "0" not "mcierr_nonapplicable_function" resume %element% test ;MCIERR_NONAPPLICABLE_FUNCTION 0 pause %element% test 0 play %element% test 0 pause %element% test 0 ;JQ 9/may/95 resume is a supported function in 3.51, hence return value will be "0" not "mcierr_nonapplicable_function" resume %element% test ;MCIERR_NONAPPLICABLE_FUNCTION 0 stop %element% test 0 play %element% test 0 seek %element% test to start 0 pause %element% test 0 seek %element% test to 0 0 pause %element% test 0 ;JQ 9/may/95 resume is a supported function in 3.51, hence return value will be "0" not "mcierr_nonapplicable_function" resume %element% test ;MCIERR_NONAPPLICABLE_FUNCTION 0 ;JQ 9/may/95 resume is a supported function in 3.51, hence return value will be "0" not "mcierr_nonapplicable_function" resume %element% test ;MCIERR_NONAPPLICABLE_FUNCTION 0 pause %element% test 0 play %element% test from 6 0 pause %element% test 0 ;JQ 9/may/95 resume is a supported function in 3.51, hence return value will be "0" not "mcierr_nonapplicable_function" resume %element% test ;MCIERR_NONAPPLICABLE_FUNCTION 0 close %element% test MCIERR_UNRECOGNIZED_KEYWORD close %element% 0 ; ; End Of Case 76: OTHR:Pause/Resume Test Parameter Element ; ; ;================================= TestCase TC_AVI_TIME_PLAYS_TEST ;================================= ; close all * close %element% * open %element% 0 =%DevNum% status %element% time format 0 frames play %element% to 58 0 set %element% time format ms 0 status %element% length 0 =%MSLength% play %element% test from 865 0 play %element% test to 4363 0 play %element% test from 3455 to 1459 0 set %element% time format milliseconds 0 status %element% length 0 %MSLength% play %element% test from 583 0 play %element% test to 1798 0 play %element% test from 1406 to 889 0 set %element% time format frames 0 status %element% length 0 =%FrLength% play %element% test from 14 0 play %element% test to 8 0 play %element% test from 48 to 48 0 close %element% 0 ; ; End Of Case 77: OTHR:Play Different Time Formats Test Parameter ; ; ;================================= TestCase TC_AVI_TIME_PFT_TEST ;================================= ; close all * close %element% * open %element% 0 =%devnum% status %element% time format 0 frames set %element% time format ms 0 status %element% position 0 =%MSStart% status %element% position 0 %MSStart% play %element% from 2707 to 4624 test wait 0 play %element% from 3748 to 3930 test wait 0 set %element% time format milliseconds 0 status %element% position 0 %MSStart% status %element% position 0 %MSStart% play %element% from 1886 to 2671 test wait 0 play %element% from 4031 to 5155 test wait 0 set %element% time format frames 0 status %element% position 0 =%FrStart% status %element% position 0 %FrStart% play %element% from 57 to 33 test wait 0 play %element% from 11 to 18 test wait 0 close %element% 0 ; ; End Of Case 78: OTHR:Play From/To Test Parameter Element ; ; ;================================= TestCase TC_AVI_TIME_PLAYS_REV_TEST ;================================= ; close all * close %element% * open %element% 0 =%devnum% status %element% time format 0 frames set %element% time format ms 0 play %element% to 1800 wait 0 status %element% length 0 =%MSLength% play %element% test reverse from 1940 0 play %element% test reverse to 435 0 play %element% test reverse from 2109 to 4739 MCIERR_OUTOFRANGE set %element% time format milliseconds 0 status %element% length 0 %MSLength% play %element% test reverse from 88 0 play %element% test reverse to 3744 MCIERR_OUTOFRANGE play %element% test reverse from 1634 to 2886 MCIERR_OUTOFRANGE set %element% time format frames 0 status %element% length 0 =%FrLength% play %element% test reverse from 31 0 play %element% test reverse to 29 MCIERR_OUTOFRANGE play %element% test reverse from 57 to 47 0 close %element% 0 ; ; End Of Case 79: OTHR:Play Reverse Different Time Formats Test Parameter ; ; ;================================= TestCase TC_AVI_PLAY_TEST ;================================= ; close all * close %alias% * open %element% alias %alias% 0 =%devnum% play %alias% test 0 stop %alias% test 0 play %alias% repeat test 0 close %alias% 0 open %element% 0 =%devnum% seek %element% to end 0 play %element% test reverse 0 close %element% 0 ; ; End Of Case 80: OTHR:Play Different States Test Parameter Element ; ; ;================================= TestCase TC_AVI_AUTO_PLAY_TEST ;================================= ; close all * play %element% test 0 sysinfo all quantity open 0 1 sysinfo %element% quantity open MCIERR_DEVICE_TYPE_REQUIRED play %element% from 0 test 0 play %element% from 0 to 1 test 0 close %element% * ; ; End Of Case 81: OTHR:Auto Open Play Test Parameter Element ; ; ;================================= TestCase TC_AVI_TIME_SEEKS_TEST ;================================= ; close all * close %element% * open %element% 0 =%devnum% status %element% time format 0 frames seek %element% to 4 0 status %element% position 0 =%CurPos% set %element% time format ms 0 status %element% length 0 =%MSLength% seek %element% test to 36 0 seek %element% test to 64 0 seek %element% test to 28 0 set %element% time format milliseconds 0 status %element% length 0 %MSLength% seek %element% test to 5298 0 seek %element% test to 3935 0 seek %element% test to 2650 0 set %element% time format frames 0 status %element% length 0 =%FrLength% seek %element% test to 2339 MCIERR_OUTOFRANGE seek %element% test to 3743 MCIERR_OUTOFRANGE seek %element% test to 1392 MCIERR_OUTOFRANGE close %element% 0 ; ; End Of Case 82: OTHR:Seek Different Time Formats Test Parameter Element ; ; ;================================= TestCase TC_AVI_SEEK_TEST ;================================= ; close all * close %alias% * open %element% alias %alias% 0 =%devnum% seek %element% test MCIERR_MISSING_PARAMETER close %element% * seek %alias% to 20 test 0 close %alias% 0 ; ; End Of Case 83: OTHR:Seek Different States Test Parameter Element ; ; ;================================= TestCase TC_AVI_SEEK_OFF_TEST ;================================= ; close all * close %alias% * open %element% alias %alias% 0 =%devnum% set %alias% time format ms 0 set %alias% seek exactly off test 0 set %alias% seek exactly off 0 status %alias% seek exactly 0 off status %alias% reference 53 0 =%RefFrame% status %alias% position 0 =%CurPos% seek %alias% to 5305 test wait 0 status %alias% position 0 %CurPos% seek %alias% to 5305 0 status %alias% position 0 =%CurPos% status %alias% reference 0 0 =%RefPos% status %alias% position 0 %CurPos% seek %alias% to start test 0 status %alias% position 0 %CurPos% seek %alias% to start 0 status %alias% position 0 =%CurPos% status %alias% reference 37 0 * status %alias% position 0 %CurPos% seek %alias% to 5305 test notify 0 seek %alias% to 3724 0 status %alias% position 0 =%CurPos% play %alias% 0 set %alias% time format milliseconds 0 set %alias% seek exactly off test 0 set %alias% seek exactly off 0 status %alias% seek exactly 0 off status %alias% reference 53 0 * status %alias% position 0 * seek %alias% to 5305 test wait 0 seek %alias% to 5305 0 status %alias% position 0 =%CurPos% status %alias% reference 0 0 * status %alias% position 0 %CurPos% seek %alias% to start test 0 seek %alias% to start 0 status %alias% position 0 =%CurPos% status %alias% reference 12 0 * status %alias% position 0 %CurPos% seek %alias% to 5305 test notify 0 seek %alias% to 1287 0 status %alias% position 0 =%CurPos% play %alias% 0 set %alias% time format frames 0 set %alias% seek exactly off test 0 set %alias% seek exactly off 0 status %alias% seek exactly 0 off status %alias% reference 81 0 =%RefPos% status %alias% position 0 * seek %alias% to 81 test wait 0 seek %alias% to 81 0 status %alias% position 0 %RefPos% status %alias% reference 0 0 =%RefPos2% status %alias% position 0 %RefPos% seek %alias% to start test 0 seek %alias% to start 0 status %alias% position 0 %RefPos2% status %alias% reference 71 0 =%RefPos% status %alias% position 0 %RefPos2% seek %alias% to 81 test notify 0 seek %alias% to 71 0 status %alias% position 0 %RefPos% play %alias% 0 close %alias% 0 ; ; End Of Case 84: OTHR:Seek Exactly Off Test Parameter Element ; ; ;================================= TestCase TC_STEP_TEST_TST ;================================= ; close all * close %element% * open %element% 0 =%devnum% status %element% position 0 =%CurPos% step %element% test 0 status %element% position 0 %CurPos% status %element% length 0 =%FrLength% step %element% test by %FrLength% 0 status %element% position 0 %CurPos% seek %element% to end 0 status %element% position 0 =%CurPos% step %element% test by -%FrLength% 0 status %element% position 0 %CurPos% step %element% test reverse by %FrLength% 0 close %element% 0 ; ; End Of Case 85: OTHR:Step Test Parameter Element ; ; ;================================= TestCase TC_AVI_CUE_TEST_TST ;================================= ; close all * close %alias% * open %element% alias %alias% 0 =%devnum% cue %alias% test 0 seek %alias% to end 0 cue %alias% test 0 cue %alias% output to 0 test 0 play %alias% reverse 0 seek %alias% to start 0 cue %alias% to 1 output test 0 play %alias% reverse 0 seek %alias% to start 0 cue %alias% to 50 test 0 play %alias% reverse 0 seek %alias% to start 0 cue %alias% output to 0 test 0 play %alias% window 0 seek %alias% to start 0 cue %alias% to 1 output test 0 play %alias% window 0 seek %alias% to start 0 cue %alias% to 50 test 0 play %alias% window 0 seek %alias% to start 0 play %alias% 0 cue %alias% input test MCIERR_UNSUPPORTED_FUNCTION play %alias% 0 cue %alias% input to 0 test MCIERR_UNSUPPORTED_FUNCTION play %alias% 0 cue %alias% to -1 test MCIERR_OUTOFRANGE close %alias% 0 ; ; End Of Case 86: OTHR:Cue Test Parameter Element ; ; ;================================= TestCase TC_AVI_BAD_SET_PARAM_TEST ;================================= ; close all * close %element% * open %element% 0 =%devnum% play %element% 0 set %element% file format avi MCIERR_UNSUPPORTED_FUNCTION set %element% still file format MCIERR_NO_INTEGER close %element% 0 open %driver% 0 =%devnum% set %driver% file format avi MCIERR_UNSUPPORTED_FUNCTION set %driver% still file format MCIERR_NO_INTEGER close %driver% 0 ; ; End Of Case 88: OTHR:Set Bad Parameters Test Parameter Element ; ; ;================================= TestCase TC_AVI_STAT_PARAM_TEST ;================================= ; close all * close %element% * status %element% audio input test MCIERR_UNSUPPORTED_FUNCTION status %element% audio record test MCIERR_UNSUPPORTED_FUNCTION status %element% audio source test MCIERR_UNSUPPORTED_FUNCTION status %element% audio test 0 0 status %element% color test MCIERR_UNSUPPORTED_FUNCTION status %element% contrast test MCIERR_UNSUPPORTED_FUNCTION status %element% disk space test MCIERR_UNSUPPORTED_FUNCTION status %element% file format test MCIERR_UNSUPPORTED_FUNCTION status %element% forward test 0 0 status %element% frame rate test 0 0 ;JQ 10/may/95 modify expected result from null to '0' status %element% left volume test 0 0 status %element% length test 0 0 status %element% media present test 0 0 status %element% mode test 0 0 status %element% monitor test 0 0 status %element% nominal frame rate test 0 0 status %element% number of tracks test 0 0 status %element% palette handle test 0 0 status %element% position test 0 0 status %element% ready test 0 0 status %element% reference 10 test 0 0 status %element% right volume test 0 0 status %element% seek exactly test 0 0 status %element% size test MCIERR_BAD_CONSTANT status %element% smpte test MCIERR_UNSUPPORTED_FUNCTION status %element% speed test 0 0 status %element% start position test 0 0 status %element% time format test 0 0 status %element% tint test MCIERR_UNSUPPORTED_FUNCTION status %element% treble test MCIERR_UNSUPPORTED_FUNCTION status %element% unsaved test 0 0 status %element% video test 0 0 status %element% video record test MCIERR_UNSUPPORTED_FUNCTION status %element% volume test 0 0 status %element% window handle test 0 0 status %element% window visible test 0 0 status %element% window minimized test 0 0 status %element% window maximized test 0 0 close %element% * open %element% 0 =%devnum% play %element% 0 status %element% audio input test MCIERR_UNSUPPORTED_FUNCTION status %element% audio record test MCIERR_UNSUPPORTED_FUNCTION status %element% audio source test MCIERR_UNSUPPORTED_FUNCTION status %element% audio test 0 0 status %element% color test MCIERR_UNSUPPORTED_FUNCTION status %element% contrast test MCIERR_UNSUPPORTED_FUNCTION status %element% disk space test MCIERR_UNSUPPORTED_FUNCTION status %element% file format test MCIERR_UNSUPPORTED_FUNCTION status %element% forward test 0 0 status %element% frame rate test 0 0 ;JQ 10/may/95 modify expected result from null to '0' status %element% left volume test 0 0 status %element% length test 0 0 status %element% media present test 0 0 status %element% mode test 0 0 status %element% monitor test 0 0 status %element% nominal frame rate test 0 0 status %element% number of tracks test 0 0 status %element% palette handle test 0 0 status %element% position test 0 0 status %element% ready test 0 0 status %element% reference 10 test 0 0 ;JQ 10/may/95 modify expected result from null to '0' status %element% right volume test 0 0 status %element% seek exactly test 0 0 status %element% size test MCIERR_BAD_CONSTANT status %element% smpte test MCIERR_UNSUPPORTED_FUNCTION status %element% speed test 0 0 status %element% start position test 0 0 status %element% time format test 0 0 status %element% tint test MCIERR_UNSUPPORTED_FUNCTION status %element% treble test MCIERR_UNSUPPORTED_FUNCTION status %element% unsaved test 0 0 status %element% video test 0 0 status %element% video record test MCIERR_UNSUPPORTED_FUNCTION status %element% volume test 0 0 status %element% window handle test 0 0 status %element% window visible test 0 0 status %element% window minimized test 0 0 status %element% window maximized test 0 0 close %element% * open %driver% 0 =%devnum% status %driver% audio input MCIERR_UNSUPPORTED_FUNCTION status %driver% audio record MCIERR_UNSUPPORTED_FUNCTION status %driver% audio source MCIERR_UNSUPPORTED_FUNCTION status %driver% audio MCIERR_UNSUPPORTED_FUNCTION status %driver% color MCIERR_UNSUPPORTED_FUNCTION status %driver% contrast MCIERR_UNSUPPORTED_FUNCTION status %driver% disk space MCIERR_MISSING_STRING_ARGUMENT status %driver% file format MCIERR_UNSUPPORTED_FUNCTION status %driver% forward MCIERR_UNSUPPORTED_FUNCTION status %driver% frame rate MCIERR_UNSUPPORTED_FUNCTION ;JQ 10/may/95 modify expected return from 0 to MCIERR_UNSUPPORTED_FUNCTION status %driver% left volume ;0 MCIERR_UNSUPPORTED_FUNCTION status %driver% length MCIERR_UNSUPPORTED_FUNCTION status %driver% media present MCIERR_UNSUPPORTED_FUNCTION status %driver% mode MCIERR_UNSUPPORTED_FUNCTION status %driver% monitor MCIERR_UNSUPPORTED_FUNCTION status %driver% nominal frame rate MCIERR_UNSUPPORTED_FUNCTION status %driver% number of tracks MCIERR_UNSUPPORTED_FUNCTION status %driver% palette handle MCIERR_UNSUPPORTED_FUNCTION status %driver% position MCIERR_UNSUPPORTED_FUNCTION status %driver% ready MCIERR_UNSUPPORTED_FUNCTION status %driver% reference 10 MCIERR_UNSUPPORTED_FUNCTION ;JQ 10/may/95 modify expected return from 0 to MCIERR_UNSUPPORTED_FUNCTION status %driver% right volume ;0 MCIERR_UNSUPPORTED_FUNCTION status %driver% seek exactly MCIERR_UNSUPPORTED_FUNCTION status %driver% size MCIERR_BAD_CONSTANT status %driver% smpte MCIERR_UNSUPPORTED_FUNCTION status %driver% speed MCIERR_UNSUPPORTED_FUNCTION status %driver% start position MCIERR_UNSUPPORTED_FUNCTION status %driver% time format MCIERR_UNSUPPORTED_FUNCTION status %driver% tint MCIERR_UNSUPPORTED_FUNCTION status %driver% treble MCIERR_UNSUPPORTED_FUNCTION status %driver% unsaved MCIERR_UNSUPPORTED_FUNCTION status %driver% video MCIERR_UNSUPPORTED_FUNCTION status %driver% video record MCIERR_UNSUPPORTED_FUNCTION status %driver% volume MCIERR_UNSUPPORTED_FUNCTION status %driver% window handle MCIERR_UNSUPPORTED_FUNCTION status %driver% window visible MCIERR_UNSUPPORTED_FUNCTION status %driver% window minimized MCIERR_UNSUPPORTED_FUNCTION status %driver% window maximized MCIERR_UNSUPPORTED_FUNCTION close %driver% 0 ; ; End Of Case 89: OTHR:Status Valid Parameters Test Parameter Element ; ; ;================================= TestCase TC_AVI_BAD_STAT_PARAM_TEST ;================================= ; close all * close %element% * open %element% 0 =%devnum% status %element% position track 0 test MCIERR_OUTOFRANGE status %element% position track 2 test MCIERR_OUTOFRANGE status %element% position track -1 test MCIERR_OUTOFRANGE status %element% length track 0 test MCIERR_OUTOFRANGE status %element% length track 2 test MCIERR_OUTOFRANGE status %element% length track -1 test MCIERR_OUTOFRANGE close %element% 0 status %element% position track 0 test MCIERR_OUTOFRANGE status %element% position track 2 test MCIERR_OUTOFRANGE status %element% position track -1 test MCIERR_OUTOFRANGE status %element% length track 0 test MCIERR_OUTOFRANGE status %element% length track 2 test MCIERR_OUTOFRANGE status %element% length track -1 test MCIERR_OUTOFRANGE close %element% MCIERR_INVALID_DEVICE_NAME open %element% 0 =%devnum% play %element% 0 status %element% position track 0 test MCIERR_OUTOFRANGE status %element% position track 2 test MCIERR_OUTOFRANGE status %element% position track -1 test MCIERR_OUTOFRANGE status %element% length track 0 test MCIERR_OUTOFRANGE status %element% length track 2 test MCIERR_OUTOFRANGE status %element% length track -1 test MCIERR_OUTOFRANGE close %element% 0 ; ; End Of Case 90: OTHR:Status Invalid Parameters Test Parameter Element ; ; ;================================= TestCase TC_AVI_WND_PROC_TST ;================================= ; ;realize normal ;0 ; ;update hdc 9371668 ;0 ; ;update hdc 9371668 ;0 ; close all * close %alias% * close .\%element% * open .\%element% alias %alias% 0 * open .\%element% alias .\%element% 0 * put %alias% destination at 0 0 579 926 0 status %alias% window handle 0 =%WndHnd% window %alias% handle %WndHnd% 0 window .\%element% handle %WndHnd% 0 play %alias% from 0 0 realize .\%element% background 0 ;update %alias% hdc 7405590 ;0 ; ;update .\%element% hdc 7405590 ;0 ; play .\%element% from 0 0 close %alias% 0 close .\%element% 0 ; ; End Of Case 96: TRAN:Window Management ; ; ;================================= TestCase TC_SIG_EVERY_TST ;================================= ; close all * close %element% * open %element% 0 =%devnum% ! Find correct return code. signal %element% every 0 * status %element% time format 0 frames play %element% from 0 0 realize .\%element% background MCIERR_UNRECOGNIZED_COMMAND status %element% position 0 * signal %element% every 1 return position 0 status %element% time format 0 frames play %element% from 0 0 status %element% position 0 * signal %element% every 50 uservalue 3 * status %element% time format 0 frames play %element% from 0 0 status %element% position 0 * close %element% 0 ; ; End Of Case 97: OTHR:Signal Every <value> Element ; ; ;================================= TestCase TC_SIG_EVERY_USER_TST ;================================= ; close all * close %element% * open %element% 0 =%devnum% signal %element% every 71 uservalue 64 0 status %element% time format 0 frames play %element% from 0 0 realize .\%element% background MCIERR_UNRECOGNIZED_COMMAND status %element% position 0 * signal %element% cancel 0 close %element% 0 ;realize %alias% normal ;0 ; ;update %alias% hdc 12320789 ;0 ; ;update .\%element% hdc 12320789 ;0 ; ; ; End Of Case 98: OTHR:Signal Every <value> Uservalue <value2> Element ; ; ;================================= TestCase TC_SIG_AT_TST ;================================= ; close all * close %element% * open %element% 0 =%devnum% signal %element% at 50 return position 0 status %element% time format 0 frames play %element% from 0 0 realize .\%element% background MCIERR_UNRECOGNIZED_COMMAND status %element% position 0 * !Find the correct return value for this 'signal out of range' signal %element% at 0 * status %element% time format 0 frames play %element% from 0 0 status %element% position 0 * !Find the correct return value for this 'signal out of range' signal %element% at 0 uservalue 65535 * status %element% time format 0 frames play %element% from 0 0 status %element% position 0 * close %element% 0 ;realize %alias% normal ;0 ; ;update %alias% hdc 12910613 ;0 ; ;update .\%element% hdc 12910613 ;0 ; ; ; End Of Case 99: OTHR:Signal At <Position> Parameter Element ; ; ;================================= TestCase TC_SIG_AT_USER_TST ;================================= ; close all * close %element% * open %element% 0 =%devnum% signal %element% at 54 uservalue 63 0 status %element% time format 0 frames play %element% from 0 0 realize .\%element% background MCIERR_UNRECOGNIZED_COMMAND status %element% position 0 * signal %element% cancel 0 close %element% 0 ;realize %alias% normal ;0 ; ;update %alias% hdc 13500437 ;0 ; ;update .\%element% hdc 13500437 ;0 ; ; ; End Of Case 100: OTHR:Signal At <Position> Uservalue <Value> Element ; ; ;================================= TestCase TC_SIG_AT_EV_BAD_TST ;================================= ; close all * close %element% * open %element% 0 =%devnum% signal %element% at -1 MCIERR_OUTOFRANGE status %element% time format 0 frames play %element% from 0 0 realize .\%element% background MCIERR_UNRECOGNIZED_COMMAND status %element% position 0 * signal %element% at 65535 MCIERR_OUTOFRANGE status %element% time format 0 frames play %element% from 0 0 status %element% position 0 * close %element% 0 ; ; End Of Case 101: OTHR:Signal At <Bad Pos> & Every <Bad Duration> Element ; ; ;================================= TestCase TC_SIG_SAME_USER_TST ;================================= ; close all * close %alias% * open %element% alias %alias% 0 =%devnum% signal %alias% every 50 uservalue 3 uservalue 3 MCIERR_DUPLICATE_FLAGS status %alias% time format 0 frames play %alias% from 0 0 realize .\%element% background MCIERR_UNRECOGNIZED_COMMAND status %alias% position 0 * signal %alias% at 50 return position uservalue 3 0 status %alias% time format 0 frames play %alias% from 0 0 status %alias% position 0 * !Find the right return value for 'past signal point' signal %alias% at 0 uservalue 3 * status %alias% time format 0 frames play %alias% from 0 0 status %alias% position 0 * signal %alias% at 0 uservalue 65535 uservalue 3 MCIERR_DUPLICATE_FLAGS status %alias% time format 0 frames play %alias% from 0 0 status %alias% position 0 * close %alias% 0 ; ; End Of Case 102: OTHR:Signal Different Params with Same Uservalue Element ; ; ;================================= TestCase TC_SIG_DIFF_USER_TST ;================================= ; close all * close %alias% * open %element% alias %alias% 0 =%devnum% signal %alias% every 50 uservalue 3 uservalue 57 MCIERR_DUPLICATE_FLAGS status %alias% time format 0 frames play %alias% from 0 0 realize .\%element% background MCIERR_UNRECOGNIZED_COMMAND status %alias% position 0 * signal %alias% at 50 return position uservalue 3 0 status %alias% time format 0 frames play %alias% from 0 0 status %alias% position 0 * !Need to find the right error value for this: past signal point. signal %alias% at 0 uservalue 44 * status %alias% time format 0 frames play %alias% from 0 0 status %alias% position 0 * signal %alias% at 0 uservalue 65535 uservalue 71 MCIERR_DUPLICATE_FLAGS status %alias% time format 0 frames play %alias% from 0 0 status %alias% position 0 * close %alias% 0 realize %alias% normal MCIERR_UNRECOGNIZED_COMMAND ; ; End Of Case 103: OTHR:Signal Different Params with Different Uservalue Element ; ; ;================================= TestCase TC_SIG_RAND_AT_EV_TST ;================================= ; close all * close .\%element% * open .\%element% 0 =%DevNum% signal .\%element% every 18 at 24 0 status .\%element% time format 0 frames play .\%element% from 0 0 realize .\%element% background 0 status .\%element% position 0 * signal .\%element% cancel 0 close .\%element% 0 ; ; End Of Case 104: OTHR:Signal At & Every <Random> Values Element ; ; ;================================= TestCase TC_SIG_CANCEL_TST ;================================= ; close all * close %element% * open %element% 0 =%devnum% signal %element% every 30 uservalue 3 0 signal %element% cancel 0 status %element% time format 0 frames play %element% from 0 0 realize .\%element% background MCIERR_UNRECOGNIZED_COMMAND status %element% position 0 * signal %element% at 30 return position 0 signal %element% cancel 0 status %element% time format 0 frames play %element% from 0 0 status %element% position 0 * signal %element% at 0 0 signal %element% cancel 0 status %element% time format 0 frames play %element% from 0 0 status %element% position 0 * signal %element% at 0 uservalue 65535 0 signal %element% cancel 0 status %element% time format 0 frames play %element% from 0 0 status %element% position 0 * close %element% 0 ;update %alias% hdc 16384021 ; ; ;update .\%element% hdc 16384021 ;0 ; ; ; End Of Case 105: OTHR:Signal Cancel Element ; ; ;================================= TestCase TC_SIG_RAND_TST ;================================= ; close all * close %alias% * open .\%element% alias %alias% 0 =%DevNum% signal %alias% return position 0 signal %alias% 0 signal %alias% return position at 4 every 19 at 4 every 19 MCIERR_DUPLICATE_FLAGS play %alias% from 0 0 realize .\%element% background MCIERR_UNRECOGNIZED_COMMAND status %alias% position 0 =%CurPos% realize %alias% normal 0 update %alias% 0 update .\%element% MCIERR_UNRECOGNIZED_COMMAND close %alias% 0 ; ; End Of Case 106: OTHR:Signal with Random Parameters Element ; ; ;================================= TestCase TC_AVI_LOAD_STATES ;================================= ; close all * open .\%element% alias %alias% 0 load %alias% 0 status %alias% monitor 0 play %alias% 0 realize .\%element% background 0 status %alias% mode 0 close %alias% 0 realize %alias% normal 0 update %alias% hdc 851989 0 update .\%element% hdc 851989 0 open .\%element% 0 load .\%element% .\%element% 0 play .\%element% 0 realize .\%element% background 0 close .\%element% 0 realize %alias% normal 0 update %alias% hdc 1441813 0 update .\%element% hdc 1441813 0 open .\%element% alias %alias% 0 load %alias% .\%element% 0 status %alias% ready 0 play %alias% 0 realize .\%element% background 0 stop %alias% 0 status %alias% position 0 load %alias% .\%element% 0 status %alias% position 0 play %alias% 0 load %alias% .\%element% 0 load %alias% .\%element% 0 load %alias% .\%element% 0 status %alias% file format 0 play %alias% 0 seek %alias% to start 0 load %alias% .\%element% 0 play %alias% 0 load %alias% .\%element% 0 play %alias% 0 close %alias% 0 realize %alias% normal 0 update %alias% hdc 2031637 0 update .\%element% hdc 2031637 0 close .\%element% 0 close .\%element% 0 ; ! End Of Case 107: OTHR:Load AVI Elements ; ; ;================================= TestCase TC_AVI_LOAD_TEST ;================================= ; close all * open .\%element% alias %alias% 0 load %alias% test 0 status %alias% monitor test 0 play %alias% 0 realize .\%element% background 0 status %alias% mode test 0 close %alias% 0 realize %alias% normal 0 update %alias% hdc 2621461 0 update .\%element% hdc 2621461 0 open .\%element% 0 load .\%element% .\%element% test 0 close .\%element% 0 close .\%element% 0 open .\%element% alias %alias% 0 load %alias% .\%element% test 0 status .\%element% ready test 0 play %alias% test 0 play %alias% 0 realize .\%element% background 0 load %alias% .\%element% test 0 load %alias% .\%element% test 0 load %alias% .\%element% test 0 status %alias% file format test 0 play %alias% 0 close %alias% 0 realize %alias% normal 0 update %alias% hdc 3604501 0 update .\%element% hdc 3604501 0 close .\%element% 0 close .\%element% 0 ; ! End Of Case 108: OTHR:Load AVI Elements Test Parameter ; ; ;================================= TestCase TC_AVI_REC_STATES ;================================= ; close all * open new type %driver% alias %alias% 0 status %alias% length 0 record %alias% test MCIERR_UNSUPPORTED_FUNCTION record %alias% MCIERR_UNSUPPORTED_FUNCTION status %alias% mode 0 pause %alias% 0 record %alias% from 0 MCIERR_UNSUPPORTED_FUNCTION status %alias% length 0 stop %alias% 0 status %alias% position 0 status %alias% length 0 record %alias% Record for 10 seconds if supported? MCIERR_UNSUPPORTED_FUNCTION seek %alias% to start 0 play %alias% 0 seek %alias% to start 0 record %alias% insert MCIERR_UNSUPPORTED_FUNCTION record %alias% insert MCIERR_UNSUPPORTED_FUNCTION delete %alias% 0 status %alias% mode 0 seek %alias% to start 0 play %alias% 0 record %alias% overwrite MCIERR_UNSUPPORTED_FUNCTION pause %alias% 0 resume %alias% 0 status %alias% mode 0 delete %alias% from 0 0 status %alias% length 0 save %alias% tstavi1.avi 0 close %alias% 0 open tstavi1.avi alias %alias% 0 cue %alias% output 0 status %alias% mode 0 record %alias% overwrite MCIERR_UNSUPPORTED_FUNCTION status %alias% mode 0 cue %alias% input 0 status %alias% mode 0 record %alias% MCIERR_UNSUPPORTED_FUNCTION status %alias% mode 0 record %alias% MCIERR_UNSUPPORTED_FUNCTION close %alias% 0 ; ! End Of Case 109: OTHR:Record Different States Element ; ; ;================================= TestCase TC_AVI_REC_DEL_TSTS ;================================= ; close all * open new type %driver% alias %alias% 0 status %alias% length 0 status %alias% length 0 delete %alias% from 0 status %alias% length 0 status %alias% mode 0 record %alias% overwrite MCIERR_UNSUPPORTED_FUNCTION status %alias% length 0 delete %alias% from 0 status %alias% length 0 record %alias% insert MCIERR_UNSUPPORTED_FUNCTION status %alias% length 0 delete %alias% from 0 status %alias% length 0 play %alias% from 0 0 status %alias% length 0 delete %alias% from 0 status %alias% length 0 status %alias% mode 0 record %alias% overwrite MCIERR_UNSUPPORTED_FUNCTION status %alias% length 0 delete %alias% from 0 status %alias% length 0 record %alias% insert MCIERR_UNSUPPORTED_FUNCTION status %alias% length 0 delete %alias% from 0 status %alias% length 0 play %alias% from 0 0 close %alias% 0 open %element% 0 =%devnum% status %element% length 0 status %element% length 0 delete %element% from 81 0 status %element% length 0 status %element% mode 0 record %element% overwrite MCIERR_UNSUPPORTED_FUNCTION status %element% length 0 delete %element% from 81 0 status %element% length 0 record %element% insert MCIERR_UNSUPPORTED_FUNCTION status %element% length 0 delete %element% from 81 0 status %element% length 0 play %element% from 0 0 realize .\%element% background 0 status %element% length 0 delete %element% from 81 0 status %element% length 0 status %element% mode 0 record %element% overwrite MCIERR_UNSUPPORTED_FUNCTION status %element% length 0 delete %element% from 81 0 status %element% length 0 record %element% insert MCIERR_UNSUPPORTED_FUNCTION status %element% length 0 delete %element% from 81 0 status %element% length 0 play %element% from 0 0 close %element% 0 realize %alias% normal 0 update %alias% hdc 4325397 0 update .\%element% hdc 4325397 0 ; ! End Of Case 110: OTHR:Record/Delete Elements ; ; ;================================= TestCase TC_AVI_REC_DEL_TEST ;================================= ; close all * open new type %driver% alias %alias% 0 status %alias% length 0 delete %alias% test from 0 status %alias% mode 0 record %alias% overwrite test MCIERR_UNSUPPORTED_FUNCTION record %alias% insert test MCIERR_UNSUPPORTED_FUNCTION close %alias% 0 open %element% 0 =%devnum% status %element% length 0 delete %element% test from 81 0 status %element% mode 0 record %element% overwrite test MCIERR_UNSUPPORTED_FUNCTION record %element% insert test MCIERR_UNSUPPORTED_FUNCTION close %element% 0 ; ! End Of Case 111: OTHR:Record/Delete Test Parameter Element ; ; ;================================= TestCase TC_AVI_SAVE_TST ;================================= ; close all * close %alias% 0 open new type %driver% alias %alias% 0 save %alias% .\tstavi1.avi test 0 save %alias% .\tstavi1.avi 0 status .\tstavi1.avi length 0 record %alias% to 0 MCIERR_UNSUPPORTED_FUNCTION save %alias% .\tstavi2.avi 0 save %alias% .\tstavi2.avi 0 status .\tstavi1.avi position 0 status .\tstavi1.avi length 0 sysinfo all quantity open 0 save .\tstavi2.avi .\tstavi4.tst 0 open .\tstavi2.avi 0 save .\tstavi2.avi .\tstavi4.tst 0 close .\tstavi2.avi 0 ; ! End Of Case 112: OTHR:Save Element ;Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.