共用方式為


Hot Key Test (Manual)

This test verifies that the computer uses the expected API to implement application command features. This ensures compatibility with any applications that handle these messages.

For information about the WM_APPCOMMAND API notifications, see WM_APPCOMMAND message.

Test details

Associated requirements

Device.Input.Keyboard.BrowserMultimediaKeysUseMSApis Device.Input.Keyboard.HotKeyFunctionAPI Device.Input.Keyboard.LogoFlagKey Device.Input.Keyboard.ScanCode

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2003 x64 Windows Server 2003 x86Windows Server 2008 R2 (x64) Windows Server 2008 x64 Windows Server 2008 x86Windows 8.1 x64Windows 8.1 x86Windows Server 2012 R2 Windows Vista Client x64 Windows Vista Client x86

Expected run time

~2 minutes

Categories

Certification

Type

Manual

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Keyboard Testing Prerequisites.

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Input Testing.

If the test application is not receiving some notifications, make sure that the keyboard sends the expected scan code. Also, make sure that any other software that listens for WM_APPCOMMAND notifications is not running.

More information

The test has two views: setup view and execution view. In the setup view, select the application command keys that your keyboard has implemented. In the execution view, you're prompted to press keys that correspond to each command. If the computer receives the expected API notification, the appropriate result displays Pass and the color changes from yellow to green. When all results are green, the keyboard has passed the test. To complete the test, click Submit Results. You can reset the test at any time by clicking Reset Test.

Command syntax

Command Description

InputTest.exe /hotkey

Runs the test, providing the user with the selection of one of three tests.

/hotkey

Starts the application with the Hot Key test selected.

 

File list

File Location

Hook.dll

<testbinroot>\

InputTest.exe

<testbinroot>\

WttLoggerWrapper.dll

<testbinroot>\

 

 

 

Send comments about this topic to Microsoft