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.

112 lines
2.2 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Windows NT Directory Service Property Pages
  4. //
  5. // Microsoft Windows
  6. // Copyright (C) Microsoft Corporation, 1992 - 1999
  7. //
  8. // File: pch.h
  9. //
  10. // Contents: precompiled includes
  11. //
  12. // History: 21-March-97 EricB created
  13. //
  14. //-----------------------------------------------------------------------------
  15. #ifndef _pch_h
  16. #define _pch_h
  17. #ifdef UNICODE
  18. # ifndef _UNICODE
  19. # define _UNICODE
  20. # endif
  21. #endif
  22. //
  23. // Some public headers are still failing on these warnings
  24. // so they need to be disabled in both chk and fre
  25. //
  26. //#ifndef DBG
  27. #pragma warning (disable: 4189 4100)
  28. //#endif // DBG
  29. extern "C"
  30. {
  31. #include <nt.h>
  32. #include <ntrtl.h>
  33. #include <nturtl.h>
  34. }
  35. #include <windows.h>
  36. #include <windowsx.h>
  37. #if !defined(_WIN32_IE)
  38. # define _WIN32_IE 0x0500 // needed by Wizard97 for new trust wizard
  39. # pragma message("_WIN32_IE defined to be 0x0500")
  40. #else
  41. # if _WIN32_IE >= 0x0500
  42. # pragma message("_WIN32_IE >= 0x0500")
  43. # else
  44. # pragma message("_WIN32_IE < 0x0500")
  45. # endif
  46. #endif
  47. #include <commctrl.h>
  48. #include <commdlg.h>
  49. #include <shellapi.h>
  50. #include <shlobj.h>
  51. #include <shlwapi.h>
  52. #include <cmnquery.h>
  53. #include <winnls.h>
  54. #include <htmlhelp.h>
  55. #include <wincred.h>
  56. #include <wincrui.h>
  57. extern "C"
  58. {
  59. #include <ntlsa.h>
  60. }
  61. #include <ntsam.h>
  62. #include <dsgetdc.h>
  63. #include <lmcons.h>
  64. #include <lmapibuf.h>
  65. #include <lmaccess.h>
  66. #include <string.h>
  67. #include <tchar.h>
  68. #include <stdarg.h>
  69. #include <process.h>
  70. #include <ole2.h>
  71. #include <ntdsapi.h>
  72. #include <rassapi.h>
  73. #include <winldap.h>
  74. #include <activeds.h>
  75. #include <iadsp.h>
  76. #include <dsclient.h>
  77. #include <dsquery.h>
  78. #include <dsclintp.h>
  79. #include <atlbase.h>
  80. extern CComModule _Module;
  81. #include <atlcom.h> // CComPtr et al
  82. #include <mmc.h>
  83. #define EXPORTDEF // Needed by cdlink.hxx
  84. #include <cdlink.hxx>
  85. #include <objsel.h>
  86. #include <objselp.h>
  87. #include <dspropp.h>
  88. #include "shluuid.h"
  89. #include "propuuid.h"
  90. #include "dll.h"
  91. #include "debug.h"
  92. #include "cstr.h" // CStr
  93. #include "dscmn.h"
  94. #include "dsadminp.h"
  95. #include "pcrack.h"
  96. // Used to disable these warnings while compiling with /W4
  97. //#pragma warning (disable: 4100)
  98. //#pragma warning (disable: 4663)
  99. #endif