Read Scan Line
This automated test verifies support for the Microsoft® DirectDraw GetScanLine function. This test makes sure that scan-line information reported by the video driver is reasonable based on display resolution.
This topic applies to the following test jobs:
Read Scan Line
Read Scan Line (WoW64)
Test details
Associated requirements |
Device.Graphics.AdapterRender.MinimumDirectXLevel |
Platforms |
Windows 7 (x64) Windows 7 (x86) Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2 |
Expected run time |
~5 minutes |
Categories |
Certification Functional |
Type |
Automated |
Running the test
Before you run the test, complete the test setup as described in the test requirements: Graphic Adapter or Chipset Testing Prerequisites.
In addition, this test requires the following software and hardware:
Microsoft DirectX® 7.0 or later versions
Video card with DirectDraw capabilities
Troubleshooting
For troubleshooting information, see Troubleshooting Device.Graphics Testing.
Turn off the screen saver and disable power management before you run this test. Mode changes and full-screen applications can cause failures. Therefore, you should avoid them.
More information
Most of the DirectDraw tests are in Fnddraw.exe. You can run Fnddraw.exe outside the Windows HCK, and then select initial tests. On the Tests menu, click Select Tests.
The test titles that are listed in the HCK do not directly match the test names in Fnddraw.exe. In fact, the names in the DCT often refer to a group of Fnddraw tests. You can obtain the Fnddraw test names from the HCK log file.
You can pause many Fnddraw tests (especially Blt-related tests) to give you time to visually analyze the Blt results. Use the Pause key to pause and resume.
Use the Esc key to stop a test run. This might take a minute or two. Some tests are more responsive than others.
Warning
The test name for this test run by Fnddraw is API_GetScanLine.
Command syntax
Command option | Description |
---|---|
Fnddraw.exe dd_scan.pro -l"fnswtt.dll" -r -c -p"m1" /WTTLogDevStr:$logfile |
Runs the Read Scan Line (WoW64) test job and the Read Scan Line (WoW64) test job. |
File list
File | Location |
---|---|
Configdisplay.exe |
<[testbinroot]>\nttest\windowstest\tools\ |
Dd_scan.pro |
<[testbinroot]>\nttest\multimediatest\video\ddraw\pro |
Fnddraw.exe |
<[testbinroot]>\nttest\multimediatest\video\ddraw |
Fnswtt.dll |
<[testbinroot]>\nttest\multimediatest\video\ddraw |
TDRWatch.exe |
<[testbinroot]>\nttest\windowstest\graphics\ |
Note
You do not need Fnswtt.dll to run this test. It is used only for Windows HCK logging.