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.

66 lines
1.2 KiB

  1. //
  2. // Copyright 1999 Microsoft Corporation. All Rights Reserved.
  3. //
  4. // File Name: sakeypad.h
  5. //
  6. // Author: Mukesh Karki
  7. //
  8. // Date: April 21, 1999
  9. //
  10. // Contents:
  11. // Definitions of data structures for ReadFileEx()
  12. // structures exported by SAKEYPADDRIVER.
  13. //
  14. #ifndef __SAKEYPAD__
  15. #define __SAKEYPAD__
  16. //
  17. // Header files
  18. //
  19. // none
  20. //
  21. // data structures
  22. //
  23. ///////////////////////////////////////////////
  24. // lpBuffer
  25. //
  26. typedef struct _SAKEYPAD_LP_BUFF {
  27. DWORD version; // each bit = version
  28. DWORD KeyID; // each bit = KeyID
  29. } SAKEYPAD_LP_BUFF, *PSAKEYPAD_LP_BUFF;
  30. //replacing with new ones, see below
  31. // default key codes
  32. //#define UP 1
  33. //#define DOWN 2
  34. //#define RIGHT 4
  35. //#define LEFT 8
  36. // default key codes
  37. //#define UP 1
  38. //#define DOWN 2
  39. //#define CANCEL 4
  40. //#define SELECT 8
  41. //#define RIGHT 16
  42. //#define LEFT 32
  43. //
  44. // Redefine the key codes, 2/1/2001.
  45. //
  46. #define UP 1
  47. #define DOWN 2
  48. #define LEFT 4
  49. #define RIGHT 8
  50. #define CANCEL 16
  51. #define SELECT 32
  52. #endif // __SAKEYPAD__