Partager via


Modifying the Audio CD Driver Test (Windows CE 5.0)

Send Feedback

The Audio CD Driver Test executes the tux –o –d cddatest –f command by default. With the default command line, the test runs on the first enumerated CD/DVD ROM drive that matches the BLOCK_DRIVER_GUID interface and supports the IOCTL_CDROM_DISC_INFO and IOCTL_CDROM_READ_TOC I/O control codes (IOCTLs).

You can modify the test by editing the command line. To specify one or more of the following optional command-line parameters for this test, use the –c command-line parameter. The -c parameter forces Tux to pass the specified string into the test module. For more information about how to edit the command line for a test, see Editing the Command Line for a Test. The following table shows the modifications you can make to the test.

To modify the Audio CD Driver Test

To Add this command-line parameter
Specify the device name of the disk to be tested.

If you do not specify this parameter, the test runs on the first enumerated CD/DVD ROM drive that contains an audio CD matching the BLOCK_DRIVER_GUID interface. Specifying this parameter overrides the automatic detection process and forces the test to use the disk that you specify.

/disk DSKx:
Specify a profile to filter devices for testing.

If you specify a profile, the test runs on each device that responds to the IOCTL_DISK_DEVICE_INFO IOCTL and, in the STORAGEDEVICEINFO structure, returns a profile name matching the name that you specify.

By default, the test does not filter devices by profile.

/profile <profile>
Specify the directory in which to place .wav files output by the test.

Test cases 2001 and 2002 use this value. The default output directory is \release.

/output <directory>
Set the track number to read from the audio CD.

Test case 2001 uses this value. The default value is 1.

/track <track_number>

For information about other command-line parameters for Tux.exe, see Tux Command-Line Parameters.

See Also

Audio CD Driver Test | Audio CD Driver Test Cases

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.