Using DDLX to Run a CETK Test (Windows CE 5.0)

Send Feedback

The following command line shows the syntax for running a test using Ddlx.dll.

tux –d ddlx –c "-d test_dll –i device_index -c parameters"

The -d ddlx –c parameters outside of the quotation marks are parameters for Tux. These parameters instruct Tux to load Ddlx.dll into the process space for Tux and then pass the entire string enclosed in quotation marks to Ddlx.dll.

The list of parameters for Ddlx.dll, enclosed in quotation marks, does not require a space, a command-line option, and its argument. However, you must insert a space between each command-line option. The following command line is not acceptable.

tux -d ddlx -c "-dtest.dll-i2"

The following table shows the parameters for DDLX.

Parameter Description
-d test_dll File to register. If you do not specify this option, DDLX attempts to load Generic.dll.
-i device_index Device index for the driver. If you do not specify this option, DDLX uses a value of 1.
-c parameters Additional parameters for test_dll to pass on to the device driver being tested.

The following command line shows the syntax for a sample test.

tux –o –d ddlx –c "-d test.dll –i 2 –c 1 2 3"

In this example, the device driver being tested receives the "1 2 3" string as a command line.

If you do not need to specify a device index or any additional command line parameters, you can omit the quotation marks and the –d parameter. The following command line shows the syntax for this scenario.

tux –o –d ddlx –c test.dll 

Note   The command line for DDLX supports a maximum of 16 arguments and 128 characters.

See Also

Device Driver Loader and Tux Extender

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.