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.

89 lines
1.6 KiB

  1. //*************************************************************
  2. //
  3. // Main header file for UserEnv project
  4. //
  5. // Microsoft Confidential
  6. // Copyright (c) Microsoft Corporation 1995
  7. // All rights reserved
  8. //
  9. //*************************************************************
  10. #ifndef RC_INVOKED
  11. #include <nt.h>
  12. #include <ntrtl.h>
  13. #include <nturtl.h>
  14. #endif
  15. #include <windows.h>
  16. #include <ole2.h>
  17. #include <lm.h>
  18. #include <lmdfs.h>
  19. #include <ntregapi.h>
  20. #define SECURITY_WIN32
  21. #include <security.h>
  22. #include <shlobj.h>
  23. //
  24. // Turn off shell debugging stuff so that it does not conflict
  25. // with our debugging stuff.
  26. //
  27. #define DONT_WANT_SHELLDEBUG
  28. #include <shlobjp.h>
  29. #include "wbemcli.h"
  30. #include <userenv.h>
  31. #include <userenvp.h>
  32. #include <ntdsapi.h>
  33. #include <winldap.h>
  34. #include <ntldap.h>
  35. #include <dsgetdc.h>
  36. #include <dsrole.h>
  37. #include <accctrl.h>
  38. #include <ntldap.h>
  39. #define INCL_WINSOCK_API_TYPEDEFS 1
  40. #include <winsock2.h>
  41. #include <iphlpapi.h>
  42. #include <icmpapi.h>
  43. #include <dfsfsctl.h>
  44. #include <sddl.h>
  45. #include <winuserp.h>
  46. #include "globals.h"
  47. #if defined(__cplusplus)
  48. extern "C"{
  49. #endif
  50. #include "debug.h"
  51. #include "dllload.h"
  52. #include "util.h"
  53. #include "sid.h"
  54. #include "pcommon.h"
  55. #if defined(__cplusplus)
  56. }
  57. #endif
  58. #include "profile.h"
  59. #include "events.h"
  60. #include "copydir.h"
  61. #include "resource.h"
  62. #include "userdiff.h"
  63. #include "policy.h"
  64. #include "gpt.h"
  65. #if defined(__cplusplus)
  66. extern "C"{
  67. #endif
  68. #include "gpnotif.h"
  69. #if defined(__cplusplus)
  70. }
  71. #endif
  72. #include "winbasep.h"
  73. //
  74. // Macros
  75. //
  76. #define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))