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.

62 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1994-1998, Microsoft Corporation All rights reserved.
  3. Module Name:
  4. cplext.h
  5. Abstract:
  6. This module contains the header information for property sheet extensions
  7. to system control panel applets.
  8. Revision History:
  9. --*/
  10. #ifndef _INC_CPLEXT
  11. #define _INC_CPLEXT
  12. //
  13. // Below are constants for pages which can be replaced in the standard
  14. // control panel applets. To extend an applet, you must define an object
  15. // which supports the IShellPropSheetExt interface and register it's
  16. // in-process server in a subkey under the applet's registry key. Registry
  17. // paths for the 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. //
  25. // The following constants MAY be passed in IShellPropSheetExt::ReplacePage's
  26. // uPageID parameter for servers registered under
  27. // ( REGSTR_PATH_CONTROLSFOLDER "\\Mouse" )
  28. //
  29. #define CPLPAGE_MOUSE_BUTTONS 1
  30. #define CPLPAGE_MOUSE_PTRMOTION 2
  31. //
  32. // Keyboard Control Panel Extensions.
  33. //
  34. // The following constants MAY be passed in IShellPropSheetExt::ReplacePage's
  35. // uPageID parameter for servers registered under
  36. // ( REGSTR_PATH_CONTROLSFOLDER "\\Keyboard" )
  37. //
  38. #define CPLPAGE_KEYBOARD_SPEED 1
  39. #endif