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.

102 lines
2.1 KiB

  1. //
  2. // proj.h: Includes all files that are to be part of the precompiled
  3. // header.
  4. //
  5. #ifndef __PROJ_H__
  6. #define __PROJ_H__
  7. //
  8. // Private Defines
  9. //
  10. //#define SUPPORT_FIFO // Win95 only: support Advanced FIFO dialog
  11. //#define DCB_IN_REGISTRY // Plug-and-play: The port driver info is stored in the registry
  12. #define STRICT
  13. #if DBG > 0 && !defined(DEBUG)
  14. #define DEBUG
  15. #endif
  16. #if DBG > 0 && !defined(FULL_DEBUG)
  17. #define FULL_DEBUG
  18. #endif
  19. #define UNICODE
  20. // Defines for rovcomm.h
  21. #define NODA
  22. #define NOSHAREDHEAP
  23. #define NOFILEINFO
  24. #define NOCOLORHELP
  25. #define NODRAWTEXT
  26. #define NOPATH
  27. #define NOSYNC
  28. #ifndef DEBUG
  29. #define NOPROFILE
  30. #endif
  31. #define SZ_MODULEA "SERIALUI"
  32. #define SZ_MODULEW TEXT("SERIALUI")
  33. #ifdef DEBUG
  34. #define SZ_DEBUGSECTION TEXT("SERIALUI")
  35. #define SZ_DEBUGINI TEXT("unimdm.ini")
  36. #endif // DEBUG
  37. // Includes
  38. #define USECOMM
  39. #include <windows.h>
  40. #include <windowsx.h>
  41. #include <winerror.h>
  42. #include <commctrl.h> // needed by shlobj.h and our progress bar
  43. #include <prsht.h> // Property sheet stuff
  44. #include <rovcomm.h>
  45. #include <modemp.h>
  46. #include <shellapi.h> // for registration functions
  47. #include <regstr.h>
  48. #ifdef WIN95
  49. #include <setupx.h> // PnP setup/installer services
  50. #else
  51. #include <setupapi.h> // PnP setup/installer services
  52. #endif
  53. #define MAXBUFLEN MAX_BUF
  54. #define MAXMSGLEN MAX_BUF_MSG
  55. #define MAXMEDLEN MAX_BUF_MED
  56. #define MAXSHORTLEN MAX_BUF_SHORT
  57. #ifndef LINE_LEN
  58. #define LINE_LEN MAXBUFLEN
  59. #endif
  60. #include <debugmem.h>
  61. // local includes
  62. //
  63. #include "dll.h"
  64. #include "cstrings.h" // Read-only string constants
  65. #include "util.h" // Utility functions
  66. #include "serialui.h"
  67. #include "rcids.h"
  68. #include "dlgids.h"
  69. //****************************************************************************
  70. //
  71. //****************************************************************************
  72. // Dump flags
  73. #define DF_DCB 0x00000001
  74. #define DF_MODEMSETTINGS 0x00000002
  75. #define DF_DEVCAPS 0x00000004
  76. #endif //!__PROJ_H__