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.

72 lines
1.5 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: pch.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef _pch_h
  11. #define _pch_h
  12. // Headers etc
  13. #ifndef UNICODE
  14. #error "No ANSI support yet"
  15. #endif
  16. extern "C"
  17. {
  18. #include <nt.h> // SE_TAKE_OWNERSHIP_PRIVILEGE, etc
  19. #include <ntrtl.h>
  20. #include <nturtl.h>
  21. #include <seopaque.h>
  22. }
  23. #define INC_OLE2
  24. #include <windows.h>
  25. #include <windowsx.h>
  26. #include <atlconv.h> // ANSI/Unicode conversion support
  27. #include <shlobj.h>
  28. #include <shlwapi.h> // StrStr
  29. #include <comctrlp.h> // DPA/DSA
  30. #include <lmcons.h>
  31. #include <lmapibuf.h>
  32. #include <dsgetdc.h>
  33. #include <activeds.h>
  34. #include <winldap.h>
  35. #include <aclapi.h>
  36. #include <aclui.h>
  37. #include <common.h>
  38. #include <dsclient.h>
  39. #include "resource.h"
  40. #include "iids.h"
  41. #include "cstrings.h"
  42. #include "dll.h"
  43. extern "C"
  44. {
  45. #include "authz.h"
  46. }
  47. #include "schema.h"
  48. #include "security.h"
  49. #define MAX_TYPENAME_LENGTH 64
  50. // Magic debug flags
  51. #define TRACE_CORE 0x00000001
  52. #define TRACE_SECURITY 0x00000002
  53. #define TRACE_DSSI 0x00000004
  54. #define TRACE_SCHEMA 0x00000008
  55. #define TRACE_SCHEMACLASS 0x00000010
  56. #define TRACE_SCHEMAPROP 0x00000020
  57. #define TRACE_ALWAYS 0xffffffff // use with caution
  58. #endif