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.

120 lines
2.8 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000-2002 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // Pch.h
  7. //
  8. // Description:
  9. // Precompiled header file for the BaseCluster library.
  10. //
  11. // Maintained By:
  12. // Ozan Ozhan (OzanO) 22-MAR-2002
  13. // David Potter (DavidP) 15-JUN-2001
  14. // Vij Vasu (Vvasu) 03-MAR-2000
  15. //
  16. //////////////////////////////////////////////////////////////////////////////
  17. #pragma once
  18. //////////////////////////////////////////////////////////////////////////////
  19. // Macro Definitions
  20. //////////////////////////////////////////////////////////////////////////////
  21. #if DBG==1 || defined( _DEBUG )
  22. #define DEBUG
  23. #endif
  24. #define USES_SYSALLOCSTRING
  25. ////////////////////////////////////////////////////////////////////////////////
  26. // Include Files
  27. //////////////////////////////////////////////////////////////////////////////
  28. #include <Pragmas.h>
  29. // The next three files have to be the first files to be included.If nt.h comes
  30. // after windows.h, NT_INCLUDED will not be defined and so, winnt.h will be
  31. // included. This will give errors later, if ntdef.h is included. But ntdef has
  32. // types which winnt.h does not have, so the chicken and egg problem.
  33. #include <nt.h>
  34. #include <ntrtl.h>
  35. #include <nturtl.h>
  36. #include <windows.h>
  37. #include <ComCat.h>
  38. // For the ResUtil functions
  39. #include <ResAPI.h>
  40. // Contains setup API function declarations
  41. #include <setupapi.h>
  42. // For serveral common macros
  43. #include <clusudef.h>
  44. // For various cluster RTL routines and definitions.
  45. #include <clusrtl.h>
  46. // For CLUSTER_INTERNAL_CURRENT_MAJOR_VERSION and other version defines.
  47. #include <clusverp.h>
  48. // For CsRpcGetJoinVersionData() and constants like JoinVersion_v2_0_c_ifspec
  49. #include <ClusRPC.h>
  50. #include <StrSafe.h>
  51. // For debugging functions.
  52. #define DEBUG_SUPPORT_EXCEPTIONS
  53. #include <Debug.h>
  54. // For TraceInterface
  55. #include <CITracker.h>
  56. // For LogMsg
  57. #include <Log.h>
  58. #include <Common.h>
  59. // For the notification guids.
  60. #include <Guids.h>
  61. #include "BaseClusterGuids.h"
  62. // For published ClusCfg guids
  63. #include <ClusCfgGuids.h>
  64. // For the CStr class
  65. #include "CStr.h"
  66. // For the CBString class
  67. #include "CBString.h"
  68. // A few common declarations
  69. #include "CommonDefs.h"
  70. // For resource ids
  71. #include "BaseClusterStrings.h"
  72. // For smart classes
  73. #include "SmartClasses.h"
  74. // For the exception classes.
  75. #include "Exceptions.h"
  76. // For CAction
  77. #include "CAction.h"
  78. // For the CBaseClusterAction class
  79. #include "CBaseClusterAction.h"
  80. // For the CRegistryKey class
  81. #include "CRegistryKey.h"
  82. // For the CBCAInterface class.
  83. #include "CBCAInterface.h"
  84. // For the CStatusReport class
  85. #include "CStatusReport.h"