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.

89 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1994-1998, Microsoft Corporation All rights reserved.
  3. Module Name:
  4. main.h
  5. Abstract:
  6. This module contains the header information for the main routines of the
  7. Control Panel interface of the 32bit MAIN.CPL.
  8. Revision History:
  9. --*/
  10. #ifndef _MAIN_H
  11. #define _MAIN_H
  12. #define USECOMM
  13. #define OEMRESOURCE
  14. #define STRICT
  15. #ifdef WIN32
  16. #define INC_OLE2
  17. #define CONST_VTABLE
  18. #endif
  19. //
  20. // Include Files.
  21. //
  22. #include <windows.h>
  23. #include <windowsx.h>
  24. #include <dlgs.h>
  25. #include <cpl.h>
  26. #include <shlobj.h>
  27. #include <shellapi.h>
  28. #include <shlobjp.h>
  29. #include <commctrl.h>
  30. #ifndef RC_INVOKED
  31. #include <prsht.h>
  32. #endif
  33. //
  34. // Constant Declarations.
  35. //
  36. #define PATHMAX MAX_PATH
  37. #define HELP_FILE TEXT("mouse.hlp") // Help file for the mouse control panel
  38. //
  39. // Typedef Declarations.
  40. //
  41. #ifndef NOARROWS
  42. typedef struct
  43. {
  44. short lineup; // lineup/down, pageup/down are relative
  45. short linedown; // changes. top/bottom and the thumb
  46. short pageup; // elements are absolute locations, with
  47. short pagedown; // top & bottom used as limits.
  48. short top;
  49. short bottom;
  50. short thumbpos;
  51. short thumbtrack;
  52. BYTE flags; // flags set on return
  53. } ARROWVSCROLL, NEAR *PARROWVSCROLL, FAR *LPARROWVSCROLL;
  54. #define UNKNOWNCOMMAND 1
  55. #define OVERFLOW 2
  56. #define UNDERFLOW 4
  57. #endif
  58. #endif