Partager via


Query Device Caps Test (Compact 2013)

3/26/2014

The Query Device Caps Test tests if the touch panel driver supports the TouchPanelGetDeviceCaps function. The test uses both the TPDC_SAMPLE_RATE_ID and TPDC_CALIBRATION_POINT_COUNT_ID flags. This test fails if the TouchPanelGetDeviceCaps function call fails with either of the specified flags. The test is skipped if the touch panel driver does not export a TouchPanelGetDeviceCaps function.

This is test 1001 in the touchfuc.dll test suite.

Note: For most tests, the touch panel driver level test requires user-interaction by using a touch pen on the touch panel. After the test is complete, the OS loses control of the touch panel.

Download a new image before you run any more tests.

Test Prerequisites

Your device must meet the following requirements before you run this test.

The following table shows the hardware requirements for this test.

Requirement

Description

Touch Panel

Touch screen with or without cursor support.

The following table shows the software requirements for this test.

Requirements

Description

Tux.exe

Tux test harness, required to execute the test.

Kato.dll

Kato logging engine, required for logging test data.

Ktux.dll

tux test harness library to allow test to run in kernel mode

TouchFunc.dll

Library that contains test files.

Subtests

This test has no subtests.

Setting Up the Test

This test has no additional setup requirements beyond the standard test environment setup.

Running the Test

This test requires that you interact with the touch panel. You must follow the instructions on the display to run the test correctly. When the test prompts you, you must perform the requested action. If you do not complete the action, the test times out and fails. The test times out after approximately 15 seconds.

tux -o -n -d touchfunc -x1001

Verifying the Test

In some cases, the test requires that you select 'Yes' or 'No' in response to a question. To respond, you must tap the part of the touch panel that contains the appropriate response.

Troubleshooting the Test

When you complete the test, the operating system does not regain control of the touch panel. You must reset the touch panel to restore usual operation.

See Also

Other Resources

Input - Touch Tests