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.

71 lines
1.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 ClusComp DLL.
  10. //
  11. // Maintained By:
  12. // David Potter (DavidP) 25-MAR-2002
  13. // Vij Vasu (Vvasu) 03-MAR-2000
  14. //
  15. //////////////////////////////////////////////////////////////////////////////
  16. #pragma once
  17. //////////////////////////////////////////////////////////////////////////////
  18. // Macro Definitions
  19. //////////////////////////////////////////////////////////////////////////////
  20. #if DBG==1 || defined( _DEBUG )
  21. #define DEBUG
  22. #endif
  23. //
  24. // KB: DEBUG_SUPPORT_NT4 DavidP 05-OCT-2000
  25. // Defining this to make sure that the debug macros don't do something
  26. // that won't work for NT4.
  27. #define DEBUG_SUPPORT_NT4
  28. ////////////////////////////////////////////////////////////////////////////////
  29. // Include Files
  30. //////////////////////////////////////////////////////////////////////////////
  31. // Status values for LSA APIs
  32. #include <ntstatus.h>
  33. #define WIN32_NO_STATUS
  34. #include <Pragmas.h>
  35. #include <windows.h>
  36. #include <StrSafe.h>
  37. #include "clstrcmp.h"
  38. // For a few global variables
  39. #include "Dll.h"
  40. // For tracing and debugging functions
  41. #include "Debug.h"
  42. // For logging functions
  43. #include <Log.h>
  44. // For the definition of smart pointer and handle templates
  45. #include "SmartClasses.h"
  46. // For the string ids
  47. #include "ClusCompResources.h"
  48. //////////////////////////////////////////////////////////////////////////////
  49. // Type definitions
  50. //////////////////////////////////////////////////////////////////////////////
  51. // Smart pointer to a character string.
  52. typedef CSmartGenericPtr< CPtrTrait< WCHAR > > SmartSz;