Share via


Command Line Parameters for the Graphics Device Interface Test (Windows Embedded CE 6.0)

1/6/2010

The Graphics Device Interface (GDI) Test executes the tux –o –d gdiapi.dll command line on default execution. You can modify the test by editing the command line. See Editing the Command-Line for a Test.

The following table shows the command line parameters for the Graphics Device Interface Test.

Command line parameter Description

-c "/?"

Displays information about command-line options for the GDI Test.

-c "/OutputBitmaps"

Instructs the GDI Test to save a bitmap image for each failure.

The .bmp file can assist you in debugging the problem that caused the unexpected output.

-c "/BitmapDestination path"

Specifies where to save the bitmap image for a failure.

-c "/NoVerify"

Instructs the GDI Test to not use driver verification.

By default, the GDI Test uses driver verification.

-c "/ForceVerify"

Forces the GDI Test to perform verification.

If you specify this option, the GDI Test performs verification even if there is little memory available.

If the Ddi_test.dll module is not available, test cases fail.

-c "/ManualVerify"

Instructs the GDI Test to support manual verification.

During manual verification, to step through test cases, press the left SHIFT key.

-c "/Monitor n"

Specifies the screen to run the GDI Test on. The parameter n is an integer from 1 to 4.

This option applies only to the Win_Primary surface and only to a Windows Embedded CE–based device with multiple screens.

If you specify this option and the option does not apply, the GDI Test ignores the option.

-c "/MonitorSpread"

Runs the GDI Test spread across multiple screens.

This option applies only to the Win_Primary surface and only to a Windows Embedded CE–based device with multiple screens.

If you specify this option and the option does not apply, the GDI Test ignores the option.

-c "/Width size /Height size"

Specifies the width and height of the surface that the GDI Test uses.

Minimum width is 176.

Minimum height is 176.

Width and height must each be a multiple of 2.

-c "/Surface All"

Instructs the GDI Test to cycle through all known surfaces.

This cycling can require significant time.

The cycling requires significant storage space on the target device because the Windows Embedded CE 6.0 Test Kit (CETK) stores test results in a file on the target device.

-c "/Surface surfacename"

Specifies a type of surface to test.

For surfacename, use one of the following values:

  • Win_Primary
  • GDI_VidMemory
  • GDI_SysMemory
  • 1BPP_BITMAP
  • 1BPP_DIB_RGB
  • 2BPP_DIB_RGB
  • 4BPP_DIB_RGB
  • 8BPP_DIB_RGB
  • 16BPP_DIB_RGB555
  • 16BPP_DIB_RGB565
  • 24BPP_DIB_RGB
  • 32BPP_DIB_RGB8888

-c "/SetDisplay driver.dll"

Runs the GDI Test on a secondary display driver.

-c "/AlwaysVerify"

Forces a driver verification against the test display driver for every operation. This option is time-consuming and may significantly increase the overall test duration.

-c "/NoRotate"

Disables dynamic screen rotation during the GDI Test, if such is supported by the display driver.

-c "/NoResize"

Disables dynamic resolution resize, if such is supported by the display driver.

See Also

Other Resources

Graphics Device Interface Test