Microsoft KB Archive/274333

= Keyboard Scan Code 6Dh Starts Windows Media Player =

Article ID: 274333

Article Last Modified on 9/5/2007

-

APPLIES TO


 * Microsoft Windows Millennium Edition

-



This article was previously published under Q274333



If this article does not describe your hardware-related issue, please see the following Microsoft Web site to view more articles about hardware:

http://support.microsoft.com/default.aspx/w98?sid=460



SYMPTOMS
When you use Windows Millennium Edition (Me) and you configure your keyboard to send a 6Dh scan code when you press one of the keys, Microsoft Windows Media Player may start.



CAUSE
This behavior occurs the Windows Me keyboard driver (Vkd.vxd) contains support for the special scan codes that are produced by both the Microsoft Internet Keyboard Pro and Microsoft Natural Keyboard Pro keyboards.

The E0 6Dh scan code sequence is defined as the Media key on both the Internet Keyboard Pro and Natural Keyboard Pro keyboards. However, when Windows Me processes these scan codes to generate the virtual key codes that perform defined actions, the E0h prefix is ignored. When this behavior occurs, a 6Dh scan code is treated the same as a E0 6Dh scan code.



MORE INFORMATION
The following virtual key codes are recognized by the Windows Me keyboard driver as generated by the shortcut keys on both the Internet Keyboard Pro and Natural Keyboard Pro keyboards.

To view the scan codes that generate these virtual key codes, view the &quot;Table 2. PS/2 Scan Codes Supported in Windows 2000 and Windows Me&quot; section in the Support for Enhanced Keyboard Features under Windows 2000 and Windows Me document on the following Microsoft Web site:

http://www.microsoft.com/whdc/device/input/w2kbd.mspx#ELUAE

NOTE: In the &quot;Table 2. PS/2 Scan Codes Supported in Windows 2000 and Windows Me&quot; section, the scan codes are listed with the E0h prefix.

The Microsoft Keyboard Scan Code Specification document contains the following comments about the E0h scan code prefix:

Prefixed Scan Codes
Some keys on standard 101/102-key keyboards (and the Microsoft Natural keyboard amongst others) emit a sequence of two bytes, where the 1st byte is either 0xE0 or 0xE1. This method is used primarily to distinguish between left and right versions of the same key, e.g., Left Alt is 0x38 while Right Alt is 0xE0 0x38. The 0xE0 prefix is indicated as the &quot;extended bit&quot; (bit 24) in the lParam of messages such as WM_KEYDOWN. The 0xE1 prefix is much rarer, but operates similarly to the 0xE0 prefix. Its presence or absence is not indicated through the API in any way.

You can download the Keyboard Scan Code Specification document from the following Microsoft Web location:

http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/scancode.doc

Additional query words: HWKEY hot hotkey Vkd vxd

Keywords: kbenv kbhardware kbprb KB274333

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.