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.

165 lines
4.6 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1997.
  5. //
  6. // File: IIS.hxx
  7. //
  8. // Contents:
  9. //
  10. // History: 02-20-97 SophiaC Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. #include <afxwin.h>
  14. #include <afxdisp.h>
  15. #include <afxext.h>
  16. #include <afxcmn.h>
  17. #include <afxtempl.h>
  18. #include <atlbase.h>
  19. #include <iads.h>
  20. #include "activeds.h"
  21. #include "..\helper\include\creden.hxx"
  22. #include "..\helper\include\fbstr.hxx"
  23. #include "..\helper\include\formtrck.hxx"
  24. #include "..\helper\include\intf.hxx"
  25. #include "..\helper\include\noutil.hxx"
  26. #include "..\helper\include\util.hxx"
  27. #include "..\helper\include\oledsdbg.h"
  28. #include "..\helper\include\pack.hxx"
  29. #include "..\helper\include\nodll.hxx"
  30. #include "stdio.h"
  31. #include "stdlib.h"
  32. #define DEFAULT_TRACE_FLAGS (DEBUG_ERROR)
  33. #ifdef __cplusplus
  34. extern "C" {
  35. #endif
  36. #include "guid.h"
  37. #include "fsmacro.h"
  38. #include "iissynid.h"
  39. #include "iistypes.h"
  40. #include "iisres.h"
  41. #include "iis2.h"
  42. #include "iiscnfgp.h"
  43. #include "iadmw.h"
  44. #include "iwamreg.h"
  45. #include "iiis.h"
  46. #ifdef __cplusplus
  47. }
  48. #endif
  49. #include "cdispmgr.hxx"
  50. #include "extension.hxx"
  51. #define _COMIMPORT
  52. #include "..\..\common\common.h"
  53. //#undef dllexp
  54. //#include <tcpdllp.hxx>
  55. //#define _RDNS_STANDALONE
  56. #include <winsock2.h>
  57. #include <rdns.hxx>
  58. #include <pudebug.h>
  59. #include "critsec.hxx"
  60. #include "sdict.hxx"
  61. #include "sconv.hxx"
  62. #include "charset.hxx"
  63. #include "iiscopy.hxx"
  64. #include "iismrshl.hxx"
  65. #include "iisurshl.hxx"
  66. #include "iis2var.hxx"
  67. #include "var2iis.hxx"
  68. #include "var2sec.hxx"
  69. #include "sec2var.hxx"
  70. #include "svrcache.hxx"
  71. #include "getobj.hxx"
  72. #include "common.hxx"
  73. #include "core.hxx"
  74. #include "parse.hxx"
  75. #include "cmacro.h"
  76. #include "iprops.hxx"
  77. #include "cprops.hxx"
  78. #include "cschobj.hxx"
  79. #include "cschema.hxx"
  80. #include "schemini.hxx"
  81. #include "object.hxx"
  82. #include "cprovcf.hxx"
  83. #include "cprov.hxx"
  84. #include "cextmgr.hxx"
  85. #include "cnamcf.hxx"
  86. #include "cnamesp.hxx"
  87. #include "ctree.hxx"
  88. #include "cgenobj.hxx"
  89. #include "cenumvar.hxx"
  90. #include "cenumns.hxx"
  91. #include "cenumt.hxx"
  92. #include "cenumobj.hxx"
  93. #include "cenumsch.hxx"
  94. #include "cmime.hxx"
  95. #include "cmimecf.hxx"
  96. #include "cipsec.hxx"
  97. #include "cipseccf.hxx"
  98. #include "cpobj.hxx"
  99. #include "cpobjcf.hxx"
  100. #include "globals.hxx"
  101. #include "macro.h"
  102. #define DISPID_REGULAR 1
  103. #define IIS_USER_ID 1
  104. #define IIS_COMPUTER_ID 2
  105. #define IIS_DOMAIN_ID 3
  106. #define IIS_GROUP_ID 4
  107. #define IIS_PRINTER_ID 5
  108. #define IIS_SERVICE_ID 6
  109. #define IIS_FILESERVICE_ID 7
  110. #define IIS_FILESHARE_ID 8
  111. #define IIS_CLASS_ID 9
  112. #define IIS_FUNCTIONALSET_ID 10
  113. #define IIS_SYNTAX_ID 11
  114. #define IIS_SCHEMA_ID 12
  115. #define IIS_PROPERTY_ID 13
  116. #define IIS_TREE_ID 14
  117. #define IIS_OU_ID 15
  118. #define IIS_O_ID 16
  119. #define IIS_LOCALITY_ID 17
  120. #define IIS_CLASSPROP_ID 18
  121. #define IIS_MAPPER_ID 19
  122. #define IIS_SERVER_ID 20
  123. #define IIS_EXTENSION_ID 21
  124. #define IIS_APP_ID 22
  125. #define MAX_CACHE_SIZE 50
  126. #define IIS_ANY_PROPERTY 0
  127. #define IIS_INHERITABLE_ONLY 1
  128. typedef struct _COMPOUND_ACCESS_ALLOWED_ACE {
  129. ACE_HEADER Header;
  130. ACCESS_MASK Mask;
  131. USHORT CompoundAceType;
  132. USHORT Reserved;
  133. ULONG SidStart;
  134. } COMPOUND_ACCESS_ALLOWED_ACE;
  135. typedef COMPOUND_ACCESS_ALLOWED_ACE *PCOMPOUND_ACCESS_ALLOWED_ACE;