INFO: How Keyboard Data Is Translated (104316)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0
This article was previously published under Q104316 SUMMARY
Keyboard input is acquired by the keyboard driver, which in turn produces a
scan code. This scan code is passed on to the locale-specific Win32
subsystem keyboard driver. This locale-specific driver then converts the
scan code to a virtual key and a Unicode character. The Win32 subsystem
then passes on this information to the application.
All messages in the Win32 application programming interface (API) that
present textual information to a window procedure depend upon how the
window registered its class. For example, if RegisterClassW() was called,
then Unicode is presented; if RegisterClassA() was called, then ANSI is
presented. The conversion of the text is handled by the Window Manager.
This allows an ANSI application to send textual information to a Unicode
application.
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbinfo kbInput kbKeyIn KB104316 |
---|
|