Source code of Windows XP (NT5)
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.

60 lines
2.5 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // CPLEXT.H -- defines for property sheet extensions to system control panels
  4. //
  5. // Version 4.00
  6. //
  7. // Copyright (c) Microsoft Corporation. All rights reserved.
  8. //
  9. ///////////////////////////////////////////////////////////////////////////////
  10. #ifndef _INC_CPLEXT
  11. #define _INC_CPLEXT
  12. ///////////////////////////////////////////////////////////////////////////////
  13. // Below are constants for pages which can be replaced in the standard control
  14. // panel applets. To extend an applet, you must define an object which
  15. // supports the IShellPropSheetExt interface and register it's in-process
  16. // server in a subkey under the applet's registry key. Registry paths for the
  17. // applets are defined in the header file REGSTR.H
  18. // Generally, when an IShellPropSheetExt is loaded, it's AddPages method
  19. // will be called once, while it's ReplacePage method may be called zero or
  20. // more times. ReplacePage is only called in context.
  21. ///////////////////////////////////////////////////////////////////////////////
  22. //-----------------------------------------------------------------------------
  23. // Mouse Control Panel Extensions
  24. // The following constants MAY be passed in IShellPropSheetExt::ReplacePage's
  25. // uPageID parameter for servers registered under
  26. // ( REGSTR_PATH_CONTROLSFOLDER "\\Mouse" )
  27. //-----------------------------------------------------------------------------
  28. #define CPLPAGE_MOUSE_BUTTONS 1
  29. #define CPLPAGE_MOUSE_PTRMOTION 2
  30. #define CPLPAGE_MOUSE_WHEEL 3
  31. //-----------------------------------------------------------------------------
  32. // Keyboard Control Panel Extensions
  33. // The following constants MAY be passed in IShellPropSheetExt::ReplacePage's
  34. // uPageID parameter for servers registered under
  35. // ( REGSTR_PATH_CONTROLSFOLDER "\\Keyboard" )
  36. //-----------------------------------------------------------------------------
  37. #define CPLPAGE_KEYBOARD_SPEED 1
  38. //-----------------------------------------------------------------------------
  39. // Display Control Panel Extensions
  40. // The following constants MAY be passed in IShellPropSheetExt::ReplacePage's
  41. // uPageID parameter for servers registered under
  42. // ( REGSTR_PATH_CONTROLSFOLDER "\\Display" )
  43. //-----------------------------------------------------------------------------
  44. #define CPLPAGE_DISPLAY_BACKGROUND 1
  45. ///////////////////////////////////////////////////////////////////////////////
  46. #endif