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.

62 lines
1.2 KiB

  1. /****************************************************************************
  2. Copyright (c) Microsoft Corporation 1997
  3. All rights reserved
  4. File: PCH.H
  5. Precompiled header file.
  6. ***************************************************************************/
  7. #define UNICODE
  8. #if DBG == 1
  9. #define DEBUG
  10. #endif
  11. #include <windows.h>
  12. #include <windowsx.h>
  13. #include <shlobj.h>
  14. #include <shlwapi.h>
  15. #include <setupapi.h>
  16. #include <advpub.h>
  17. #include <lm.h>
  18. #include <commdlg.h>
  19. #include <prsht.h>
  20. #include <pshpack2.h>
  21. #include <poppack.h>
  22. #include <commctrl.h> // includes the common control header
  23. #include <aclapi.h>
  24. #define SECURITY_WIN32
  25. #include <sspi.h>
  26. #include <winsock.h>
  27. #include <dsgetdc.h>
  28. #include <winldap.h>
  29. #include <dsrole.h>
  30. #include <ntdsapi.h>
  31. #include <secext.h>
  32. extern "C" {
  33. #include <spapip.h>
  34. #include <remboot.h>
  35. }
  36. #include "rbsetup.h"
  37. #include "debug.h"
  38. #include "utils.h"
  39. #include "resource.h"
  40. // from ntioapi.h
  41. #define FILE_ATTRIBUTE_NOT_CONTENT_INDEXED 0x00002000
  42. //
  43. // Inc/decrements macros.
  44. //
  45. #define InterlockDecrement( _var ) --_var;
  46. #define InterlockIncrement( _var ) ++_var;
  47. //
  48. // ARRAYSIZE macro
  49. //
  50. #define ARRAYSIZE(x) (sizeof((x))/sizeof((x)[0]))