- Add the actual function for switching the keyboard layout
authorColin Finck <colin@reactos.org>
Sun, 20 Apr 2008 15:48:43 +0000 (15:48 +0000)
committerColin Finck <colin@reactos.org>
Sun, 20 Apr 2008 15:48:43 +0000 (15:48 +0000)
commit6e8acacf27c76b97d90e27c351f9bfe51a85c2cb
tree2c77498a870c39d2d7f01816c97e31d1fd7815ac
parent760ed2701024aa42efa10b714288e642a8e10982
- Add the actual function for switching the keyboard layout
- Handle keyboard layout substitutes (like the "German (IBM)" layout)
- Refactor many parts of the code:
   * Always close hKey handles after they were successfully opened
   * Build the keyboard layout menu one time and not everytime, when it's opened
   * Use smaller sizes for some string variables, defined with CCH_LAYOUT_ID and CCH_ULONG_DEC.
     This also ensures that we don't retrieve bigger values, which would be invalid.
- Use a consistent indentation

svn path=/trunk/; revision=33062
reactos/base/applications/kbswitch/kbswitch.c
reactos/base/applications/kbswitch/kbswitch.h