Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.4 KiB

  1. //
  2. // SOFTKBD.H
  3. //
  4. // History:
  5. // 19-SEP-2000 CSLim Created
  6. #if !defined (__SKBDKOR_H__INCLUDED_)
  7. #define __SKBDKOR_H__INCLUDED_
  8. #include "softkbd.h"
  9. #include "softkbdes.h"
  10. typedef struct tagSoftLayout
  11. {
  12. DWORD dwSoftKbdLayout;
  13. BOOL fStandard;
  14. DWORD dwNumLabels; // Number of Label status.
  15. DWORD dwCurLabel;
  16. CSoftKeyboardEventSink *pskbdes;
  17. DWORD dwSkbdESCookie;
  18. } SOFTLAYOUT;
  19. // SoftKbd type list
  20. #define NON_LAYOUT 0
  21. //#define SOFTKBD_US_STANDARD 1
  22. // Korean customized keyboard layouts
  23. //#define SOFTKBD_KOR_HANGUL_2BEOLSIK 500
  24. //#define SOFTKBD_KOR_HANGUL_3BEOLSIK390 501
  25. //#define SOFTKBD_KOR_HANGUL_3BEOLSIKFINAL 502
  26. #define NUM_PICTURE_KEYS 19
  27. // Type definition for picture keys in standard soft keyboards.
  28. typedef struct _tagPictureKey
  29. {
  30. UINT uScanCode; // same as KeyId in the XML file
  31. UINT uVkey;
  32. // LPWSTR PictBitmap;
  33. } PICTUREKEY, *LPPICTUREKEY;
  34. extern PICTUREKEY gPictureKeys[NUM_PICTURE_KEYS+1];
  35. // Key IDs
  36. #define KID_LWINLOGO 0xE05B
  37. #define KID_RWINLOGO 0xE05C
  38. #define KID_APPS 0xE05D
  39. #define KID_LEFT 0xE04B
  40. #define KID_RIGHT 0xE04D
  41. #define KID_UP 0xE048
  42. #define KID_DOWN 0xE050
  43. #define KID_ESC 0x01
  44. #define KID_BACK 0x0E
  45. #define KID_TAB 0x0F
  46. #define KID_CAPS 0x3A
  47. #define KID_ENTER 0x1C
  48. #define KID_LSHFT 0x2A
  49. #define KID_RSHFT 0x36
  50. #define KID_CTRL 0x1D
  51. #define KID_RCTRL 0xE01D
  52. #define KID_ALT 0x38
  53. #define KID_RALT 0xE038
  54. #define KID_SPACE 0x39
  55. #define KID_DELETE 0xE053
  56. #define KID_F1 0x3B
  57. #define KID_F2 0x3C
  58. #define KID_F3 0x3D
  59. #define KID_F4 0x3E
  60. #define KID_F5 0x3F
  61. #define KID_F6 0x40
  62. #define KID_F7 0x41
  63. #define KID_F8 0x42
  64. #define KID_F9 0x43
  65. #define KID_F10 0x44
  66. #define KID_F11 0x57
  67. #define KID_F12 0x58
  68. #define KID_CONVERT 0x79
  69. #define KID_NONCONVERT 0x7B
  70. #define KID_KANA 0x70
  71. #define KID_FULLHALF 0x29 // special used by Japan 106 Key
  72. #endif // __SKBDKOR_H__INCLUDED_