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.

82 lines
2.9 KiB

  1. /* PENREG.h: Pen Windows Registry defines
  2. Copyright 1993-1994 Microsoft Corporation. All rights reserved.
  3. Microsoft Confidential.
  4. Registry defines for Pen Windows et al.
  5. This file should not be localized!
  6. */
  7. #ifndef _INCLUDE_PENREGH
  8. #define _INCLUDE_PENREGH
  9. /****************** Includes ***********************************************/
  10. #ifndef WIN32
  11. #include "\dev\sdk\inc\regstr.h"
  12. #endif //!WIN32
  13. #ifndef WINPAD
  14. #include <winerror.h>
  15. #endif
  16. /****************** Defines ************************************************/
  17. #define keyUndef 0x0000 // Undefined key
  18. #define keyPenHlmCv 0x0001 // Sys stuff not editable by pen cpl
  19. #define keyPenHlmCpl 0x0002 // Sys stuff editable by pen cpl
  20. #define keyPenHlmBedit 0x0003 // Bedit stuff (editable by cpl for Kanji)
  21. #define keyPenHcuCpl 0x0004 // Per-user stuff editable by pen cpl
  22. #if defined(JAPAN) && defined(DBCS_IME)
  23. #define keyPenHlmIme 0x0005 // Ime stuff not editable by pen cpl
  24. #endif
  25. // Parent Key: HKEY_LOCAL_MACHINE
  26. #define REGSTR_PATH_CONTROL\
  27. "System\\CurrentControlSet\\Control"
  28. #define REGSTR_PATH_PENHLMCV\
  29. "Software\\Microsoft\\Windows\\CurrentVersion\\Pen"
  30. #define REGSTR_PATH_PENHLMCPL\
  31. "Software\\Microsoft\\Windows\\CurrentVersion\\Control Panel\\Pen"
  32. #define REGSTR_PATH_PENHLMBEDIT\
  33. "Software\\Microsoft\\Windows\\CurrentVersion\\Control Panel\\Pen\\BEdit"
  34. #if defined(JAPAN) && defined(DBCS_IME)
  35. #define REGSTR_PATH_PENHLMIME\
  36. "Software\\Microsoft\\Windows\\CurrentVersion\\Pen\\Ime"
  37. #endif
  38. // Parent key: HKEY_CURRENT_USER
  39. #define REGSTR_PATH_PENHCUCPL "Control Panel\\Pen"
  40. #define REGSTR_VAL_CURRENTUSER "Current User"
  41. #define REGSTR_VAL_PENBEDIT_BASEHEIGHT "BaseHeight"
  42. #define REGSTR_VAL_PENBEDIT_BASEHORZ "BaseHorz"
  43. #define REGSTR_VAL_PENBEDIT_CELLHEIGHT "CellHeight"
  44. #define REGSTR_VAL_PENBEDIT_CELLWIDTH "CellWidth"
  45. #define REGSTR_VAL_PENBEDIT_CUSPHEIGHT "CuspHeight"
  46. #define REGSTR_VAL_PENBEDIT_ENDCUSPHEIGHT "EndCuspHeight"
  47. #define REGSTR_VAL_PENBEDIT_GUIDECROSS "GuideCross"
  48. #define REGSTR_VAL_PENBEDIT_GUIDESTYLE "GuideStyle"
  49. // Per user items which cannot be modified from pencp.cpl.
  50. #define REGSTR_VAL_PEN_BARRELEVENT "BarrelEvent"
  51. #define REGSTR_VAL_PEN_LENS "Lens"
  52. #define REGSTR_VAL_PEN_RECOG "Recognizer"
  53. #define REGSTR_VAL_PEN_SELECTTIMEOUT "SelectTimeOut"
  54. #define REGSTR_VAL_PEN_USER "User" // May go away
  55. // Per user items which can be modified from pencp.cpl.
  56. #define REGSTR_VAL_PENCPL_ACTIONHANDLES "ActionHandles" // May go away
  57. #define REGSTR_VAL_PENCPL_AUTOWRITE "AutoWrite"
  58. #define REGSTR_VAL_PENCPL_INPUTCURSOR "InputCursor"
  59. #define REGSTR_VAL_PENCPL_INKCOLOR "InkColor"
  60. #define REGSTR_VAL_PENCPL_INKWIDTH "InkWidth"
  61. #define REGSTR_VAL_PENCPL_INTLPREF "IntlPreferences"
  62. #define REGSTR_VAL_PENCPL_MENU "MenuDropAlignment"
  63. #define REGSTR_VAL_PENCPL_PREF "Preferences"
  64. #define REGSTR_VAL_PENCPL_TIMEOUT "TimeOut"
  65. #endif // _INCLUDE_PENREGH