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.

92 lines
1.5 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 <shlwapi.h>
  28. #include <shellapi.h>
  29. #include <shlobjp.h>
  30. #include <commctrl.h>
  31. #include <shfusion.h>
  32. #ifndef RC_INVOKED
  33. #include <prsht.h>
  34. #include <debug.h> // for ASSERT
  35. #endif
  36. //
  37. // Constant Declarations.
  38. //
  39. #define PATHMAX MAX_PATH
  40. #define HELP_FILE TEXT("mouse.hlp") // Help file for the mouse control panel
  41. //
  42. // Typedef Declarations.
  43. //
  44. #ifndef NOARROWS
  45. typedef struct
  46. {
  47. short lineup; // lineup/down, pageup/down are relative
  48. short linedown; // changes. top/bottom and the thumb
  49. short pageup; // elements are absolute locations, with
  50. short pagedown; // top & bottom used as limits.
  51. short top;
  52. short bottom;
  53. short thumbpos;
  54. short thumbtrack;
  55. BYTE flags; // flags set on return
  56. } ARROWVSCROLL, NEAR *PARROWVSCROLL, FAR *LPARROWVSCROLL;
  57. #define UNKNOWNCOMMAND 1
  58. #define OVERFLOW 2
  59. #define UNDERFLOW 4
  60. #endif
  61. #endif