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.

193 lines
3.9 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1996.
  5. //
  6. // File: WinNT.hxx
  7. //
  8. // Contents: Common include file for all Active Directory Windows NT provider files
  9. //
  10. // History: 03-01-95 ColinW Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. #ifndef __WINNT_H__
  14. #define __WINNT_H__
  15. #include "dswarn.h"
  16. #include "..\include\procs.hxx"
  17. #include "..\include\umi.h"
  18. // Needed for NT40, not NT5 effect
  19. #include "nt4types.hxx"
  20. //
  21. // some of these headers are order dependent. Don't change order unless you
  22. // know what you are doing.
  23. //
  24. extern "C" {
  25. #include <stdio.h>
  26. #include <setupbat.h>
  27. #include "nwstruct.h"
  28. #include "guid.h"
  29. #include "macro.h"
  30. #include "fsmacro.h"
  31. #include "lm.h"
  32. #ifndef WIN95
  33. #include "rassapi.h"
  34. #endif
  35. }
  36. #include "winntrc.h"
  37. #include "icanon.h"
  38. #include <dsgetdc.h>
  39. #include <dsrole.h>
  40. #if (!defined(BUILD_FOR_NT40) && !defined(WIN95))
  41. #include <sddl.h>
  42. #endif
  43. //
  44. // Group names can be upto MAX_PATH in length.
  45. //
  46. #if defined MAX_PATH
  47. const int TEMP_MAX_PATH=(MAX_PATH+80);
  48. #undef MAX_PATH
  49. #endif
  50. #define MAX_PATH TEMP_MAX_PATH
  51. #include "ccred.hxx"
  52. #include "structs.hxx"
  53. #include "getobj.hxx"
  54. #include "parse.hxx"
  55. #include "cdispmgr.hxx"
  56. #include "extension.hxx"
  57. #include "cextmgr.hxx"
  58. #include "nttypes.h"
  59. #include "ntcopy.hxx"
  60. #include "ntmrshl.hxx"
  61. #include "ntumrshl.hxx"
  62. #include "nt2ods.hxx"
  63. #include "ods2nt.hxx"
  64. #include "nt2var.hxx"
  65. #include "var2nt.hxx"
  66. #include "core.hxx"
  67. #include "property.hxx"
  68. #include "cobjcach.hxx"
  69. #include "credel.hxx"
  70. #include "grputils.hxx"
  71. #include "grput2.hxx"
  72. #include "grput3.hxx"
  73. #include "cschema.hxx"
  74. #include "iprops.hxx"
  75. #include "cprops.hxx"
  76. #include "ccache.hxx"
  77. #include "common.hxx"
  78. #include "globals.hxx"
  79. #include "object.hxx"
  80. #include "cprovcf.hxx"
  81. #include "cprov.hxx"
  82. #include "cnamcf.hxx"
  83. #include "iadsp.h"
  84. #include "cnamesp.hxx"
  85. #include "cdomain.hxx"
  86. #include "cuser.hxx"
  87. #include "cusers.hxx"
  88. #include "ccomp.hxx"
  89. #include "cgroup.hxx"
  90. #include "cgroups.hxx"
  91. #include "clgroups.hxx"
  92. #include "cjob.hxx"
  93. #include "cenumjob.hxx"
  94. #include "cprinter.hxx"
  95. #include "printhlp.hxx"
  96. #include "jobhlp.hxx"
  97. #include "cserv.hxx"
  98. #include "servhlp.hxx"
  99. #include "cenumvar.hxx"
  100. #include "cfshare.hxx"
  101. #include "cenumfsh.hxx"
  102. #include "cfserv.hxx"
  103. #include "csess.hxx"
  104. #include "cres.hxx"
  105. #include "cenumres.hxx"
  106. #include "cenumns.hxx"
  107. #include "cenumdom.hxx"
  108. #include "cenumcom.hxx"
  109. #include "cfpnwsrv.hxx"
  110. #include "cfpnwses.hxx"
  111. #include "cfpnwres.hxx"
  112. #include "cfpnwfsh.hxx"
  113. #include "cenmfpse.hxx"
  114. #include "cenmfpsh.hxx"
  115. #include "cenmfpre.hxx"
  116. #include "fpnwutil.hxx"
  117. #include "cenumsch.hxx"
  118. #include "cenumses.hxx"
  119. #include "cenumgrp.hxx"
  120. #include "cenmlgrp.hxx"
  121. #include "cenumusr.hxx"
  122. #include "system.hxx"
  123. // UMI include files
  124. #include "umiglob.hxx"
  125. #include "umi.hxx"
  126. #include "umierr.hxx"
  127. #include "cumiprop.hxx"
  128. #include "umi2nt.hxx"
  129. #include "nt2umi.hxx"
  130. #include "cumiobj.hxx"
  131. #include "cumiconn.hxx"
  132. #include "umiconcf.hxx"
  133. #include "cumicurs.hxx"
  134. #include "wbemcli.h"
  135. #define WINNT_USER_ID 1
  136. #define WINNT_COMPUTER_ID 2
  137. #define WINNT_DOMAIN_ID 3
  138. #define WINNT_GROUP_ID 4
  139. #define WINNT_PRINTER_ID 5
  140. #define WINNT_SERVICE_ID 6
  141. #define WINNT_FILESHARE_ID 8
  142. #define WINNT_CLASS_ID 9
  143. #define WINNT_SYNTAX_ID 10
  144. #define WINNT_SCHEMA_ID 11
  145. #define WINNT_PROPERTY_ID 12
  146. #define WINNT_FPNW_FILESHARE_ID 13
  147. #define WINNT_GLOBALGROUP_ID 14
  148. #define WINNT_LOCALGROUP_ID 15
  149. #define MAX_ADS_PATH 80
  150. #define DISPID_REGULAR 1
  151. #define DOMAIN_DEFAULT_API_LEVEL 1
  152. #define WKSTA_DEFAULT_API_LEVEL 2
  153. #define USER_DEFAULT_API_LEVEL 3
  154. #define GROUP_DEFAULT_API_LEVEL 1
  155. #endif // __WINNT_H__