* * Sample grammar file for a set of DDTT stub * functions. * ******************************************** * Empty lines are ignored. * The @IMPORT function imports the contents * of the specified filename into this file. * Global.gra is needed to define generic * DDTT test case script functions such as: * set, log, and loop @IMPORT \PATH\GLOBAL.GRA ******************************************** * CD_OPEN - * Open a channel to the CDROM device. * * Required Input Parameters: * DEVICENAME - Name of the CDROM drive * to open, i.e., E:. * * Output Parameters: * DRIVEHANDLE - Open Drive handle to * CDROM device. * ******************************************** CD_OPEN $DLL=DDTCDROM \ $FUNC=_cdrom_devopen \ DEVICENAME=STRING ******************************************** * CD_CLOSE - * Close channel to the CDROM device. * * Required Input Parameters: * DRIVEHANDLE - Open Drive handle to * CDROM device. * * Output Parameters: * -none- * ******************************************** CD_CLOSE $DLL=DDTCDROM \ $FUNC=_cdrom_devclose \ DRIVEHANDLE=NUM ******************************************** * CD_EJECT - * Eject disk from the CDROM drive. * * Required Input Parameters: * DRIVEHANDLE - Open Drive handle to * CDROM device. * * Output Parameters: * -none- * ******************************************** CD_EJECT $DLL=DDTCDROM \ $FUNC=_cdrom_eject \ DRIVEHANDLE=NUM ******************************************** * CD_PLAYAUDIO - * Play a selected audio track from the audio * CDROM. The starting location may be * specified in either Logical Block format * or Redbook (time offset) format. * * Required Input Parameters: * DRIVEHANDLE - Open Drive handle to * CDROM device. * ADDRESSMODE - Addressing mode, one of: * LOGICAL_BLOCK * REDBOOK - * minutes/seconds/frames * START_SECTOR - First block to play * END_SECTOR - Last block to play ******************************************** CD_PLAYAUDIO \ $DLL=DDTCDROM \ $FUNC=_cdrom_playaudio \ DRIVEHANDLE=NUM \ ADDRESSMODE=STRING \ START_SECTOR=ALNUM \ END_SECTOR=ALNUM