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.

115 lines
2.9 KiB

  1. /*++ BUILD Version: 0001
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WOWKBD.H
  8. * 16-bit Keyboard API argument structures
  9. *
  10. * History:
  11. * Created 02-Feb-1991 by Jeff Parsons (jeffpar)
  12. --*/
  13. /* Keyboard API IDs
  14. */
  15. #define FUN_ANSITOOEM 5 //
  16. #define FUN_ANSITOOEMBUFF 134 //
  17. #define FUN_DISABLE 3 // Internal
  18. #define FUN_ENABLE 2 // Internal
  19. #define FUN_ENABLEKBSYSREQ 136 // Internal
  20. #define FUN_GETKBCODEPAGE 132 //
  21. #define FUN_GETKEYBOARDTYPE 130 //
  22. #define FUN_GETKEYNAMETEXT 133 //
  23. #define FUN_GETTABLESEG 126 // Internal
  24. #define FUN_INQUIRE 1 // Internal
  25. #define FUN_KEYBOARD_WEP 0 // Export by name
  26. #define FUN_MAPVIRTUALKEY 131 //
  27. #define FUN_NEWTABLE 127 // Internal
  28. #define FUN_OEMKEYSCAN 128 //
  29. #define FUN_OEMTOANSI 6 //
  30. #define FUN_OEMTOANSIBUFF 135 //
  31. #define FUN_SCREENSWITCHENABLE 100 // Internal
  32. #define FUN_SETSPEED 7 // Internal
  33. #define FUN_TOASCII 4 //
  34. #define FUN_VKKEYSCAN 129 //
  35. #define FUN_GETBIOSKEYPROC 137 //
  36. /* XLATOFF */
  37. #pragma pack(2)
  38. /* XLATON */
  39. typedef struct _ANSITOOEM16 { /* kb5 */
  40. VPSTR f2;
  41. VPSTR f1;
  42. } ANSITOOEM16;
  43. typedef ANSITOOEM16 UNALIGNED *PANSITOOEM16;
  44. typedef struct _ANSITOOEMBUFF16 { /* kb134 */
  45. SHORT f3;
  46. VPSTR f2;
  47. VPSTR f1;
  48. } ANSITOOEMBUFF16;
  49. typedef ANSITOOEMBUFF16 UNALIGNED *PANSITOOEMBUFF16;
  50. #ifdef NULLSTRUCT
  51. typedef struct _GETKBCODEPAGE16 { /* kb132 */
  52. } GETKBCODEPAGE16;
  53. typedef GETKBCODEPAGE16 UNALIGNED *PGETKBCODEPAGE16;
  54. #endif
  55. typedef struct _GETKEYBOARDTYPE16 { /* kb130 */
  56. SHORT f1;
  57. } GETKEYBOARDTYPE16;
  58. typedef GETKEYBOARDTYPE16 UNALIGNED *PGETKEYBOARDTYPE16;
  59. typedef struct _GETKEYNAMETEXT16 { /* kb133 */
  60. SHORT f3;
  61. VPSTR f2;
  62. LONG f1;
  63. } GETKEYNAMETEXT16;
  64. typedef GETKEYNAMETEXT16 UNALIGNED *PGETKEYNAMETEXT16;
  65. typedef struct _MAPVIRTUALKEY16 { /* kb131 */
  66. WORD f2;
  67. WORD f1;
  68. } MAPVIRTUALKEY16;
  69. typedef MAPVIRTUALKEY16 UNALIGNED *PMAPVIRTUALKEY16;
  70. typedef struct _OEMKEYSCAN16 { /* kb128 */
  71. WORD f1;
  72. } OEMKEYSCAN16;
  73. typedef OEMKEYSCAN16 UNALIGNED *POEMKEYSCAN16;
  74. typedef struct _OEMTOANSI16 { /* kb6 */
  75. VPSTR f2;
  76. VPSTR f1;
  77. } OEMTOANSI16;
  78. typedef OEMTOANSI16 UNALIGNED *POEMTOANSI16;
  79. typedef struct _OEMTOANSIBUFF16 { /* kb135 */
  80. SHORT f3;
  81. VPSTR f2;
  82. VPSTR f1;
  83. } OEMTOANSIBUFF16;
  84. typedef OEMTOANSIBUFF16 UNALIGNED *POEMTOANSIBUFF16;
  85. typedef struct _TOASCII16 { /* kb4 */
  86. WORD f5;
  87. VPVOID f4;
  88. VPSTR f3;
  89. WORD f2;
  90. WORD f1;
  91. } TOASCII16;
  92. typedef TOASCII16 UNALIGNED *PTOASCII16;
  93. typedef struct _VKKEYSCAN16 { /* kb129 */
  94. WORD f1;
  95. } VKKEYSCAN16;
  96. typedef VKKEYSCAN16 UNALIGNED *PVKKEYSCAN16;
  97. /* XLATOFF */
  98. #pragma pack()
  99. /* XLATON */
  100.