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.

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