source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/iiscnfg.h@ 1167

Last change on this file since 1167 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 30.9 KB
Line 
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _IISCNFG_H_
7#define _IISCNFG_H_
8
9#define IIS_MD_LOCAL_MACHINE_PATH "LM"
10#define IIS_MD_INSTANCE_ROOT "Root"
11#define IIS_MD_ISAPI_FILTERS "/Filters"
12#define IIS_MD_SVC_INFO_PATH "Info"
13#define IIS_MD_ADSI_SCHEMA_PATH_A "/Schema"
14#define IIS_MD_ADSI_SCHEMA_PATH_W L"/Schema"
15#define IIS_MD_ADSI_METAID_BEGIN 130000
16
17#define IIS_MD_UT_SERVER 1
18#define IIS_MD_UT_FILE 2
19#define IIS_MD_UT_WAM 100
20#define ASP_MD_UT_APP 101
21#define IIS_MD_UT_END_RESERVED 2000
22
23#define IIS_MD_ID_BEGIN_RESERVED 0x00000001
24#define IIS_MD_ID_END_RESERVED 0x00007fff
25#define ASP_MD_ID_BEGIN_RESERVED 0x00007000
26#define ASP_MD_ID_END_RESERVED 0x000074ff
27#define WAM_MD_ID_BEGIN_RESERVED 0x00007500
28#define WAM_MD_ID_END_RESERVED 0x00007fff
29#define FP_MD_ID_BEGIN_RESERVED 0x00008000
30#define FP_MD_ID_END_RESERVED 0x00008fff
31#define SMTP_MD_ID_BEGIN_RESERVED 0x00009000
32#define SMTP_MD_ID_END_RESERVED 0x00009fff
33#define POP3_MD_ID_BEGIN_RESERVED 0x0000a000
34#define POP3_MD_ID_END_RESERVED 0x0000afff
35#define NNTP_MD_ID_BEGIN_RESERVED 0x0000b000
36#define NNTP_MD_ID_END_RESERVED 0x0000bfff
37#define IMAP_MD_ID_BEGIN_RESERVED 0x0000c000
38#define IMAP_MD_ID_END_RESERVED 0x0000cfff
39#define MSCS_MD_ID_BEGIN_RESERVED 0x0000d000
40#define MSCS_MD_ID_END_RESERVED 0x0000dfff
41#define APPCTR_MD_ID_BEGIN_RESERVED 0x0000e000
42#define APPCTR_MD_ID_END_RESERVED 0x0000efff
43
44#define USER_MD_ID_BASE_RESERVED 0x0000ffff
45
46#define IIS_MD_SERVER_BASE 1000
47
48#define MD_MAX_BANDWIDTH (IIS_MD_SERVER_BASE+0)
49#define MD_KEY_TYPE (IIS_MD_SERVER_BASE+2)
50#define MD_MAX_BANDWIDTH_BLOCKED (IIS_MD_SERVER_BASE+3)
51#define MD_SCHEMA_METAID (IIS_MD_SERVER_BASE+4)
52
53#define MD_SERVER_COMMAND (IIS_MD_SERVER_BASE+12)
54#define MD_CONNECTION_TIMEOUT (IIS_MD_SERVER_BASE+13)
55#define MD_MAX_CONNECTIONS (IIS_MD_SERVER_BASE+14)
56#define MD_SERVER_COMMENT (IIS_MD_SERVER_BASE+15)
57#define MD_SERVER_STATE (IIS_MD_SERVER_BASE+16)
58#define MD_SERVER_AUTOSTART (IIS_MD_SERVER_BASE+17)
59#define MD_SERVER_SIZE (IIS_MD_SERVER_BASE+18)
60#define MD_SERVER_LISTEN_BACKLOG (IIS_MD_SERVER_BASE+19)
61#define MD_SERVER_LISTEN_TIMEOUT (IIS_MD_SERVER_BASE+20)
62#define MD_DOWNLEVEL_ADMIN_INSTANCE (IIS_MD_SERVER_BASE+21)
63#define MD_LEVELS_TO_SCAN (IIS_MD_SERVER_BASE+22)
64#define MD_SERVER_BINDINGS (IIS_MD_SERVER_BASE+23)
65#define MD_MAX_ENDPOINT_CONNECTIONS (IIS_MD_SERVER_BASE+24)
66#define MD_SERVER_CONFIGURATION_INFO (IIS_MD_SERVER_BASE+27)
67#define MD_IISADMIN_EXTENSIONS (IIS_MD_SERVER_BASE+28)
68#define MD_DISABLE_SOCKET_POOLING (IIS_MD_SERVER_BASE+29)
69#define MD_METADATA_ID_REGISTRATION (IIS_MD_SERVER_BASE+30)
70
71#define IIS_MD_HTTP_BASE 2000
72
73#define MD_SECURE_BINDINGS (IIS_MD_HTTP_BASE+21)
74
75#define MD_FILTER_LOAD_ORDER (IIS_MD_HTTP_BASE+40)
76#define MD_FILTER_IMAGE_PATH (IIS_MD_HTTP_BASE+41)
77#define MD_FILTER_STATE (IIS_MD_HTTP_BASE+42)
78#define MD_FILTER_ENABLED (IIS_MD_HTTP_BASE+43)
79#define MD_FILTER_FLAGS (IIS_MD_HTTP_BASE+44)
80#define MD_FILTER_DESCRIPTION (IIS_MD_HTTP_BASE+45)
81#define MD_FILTER_ENABLE_CACHE (IIS_MD_HTTP_BASE+46)
82
83#define MD_ADV_NOTIFY_PWD_EXP_IN_DAYS (IIS_MD_HTTP_BASE+63)
84#define MD_ADV_CACHE_TTL (IIS_MD_HTTP_BASE+64)
85#define MD_NET_LOGON_WKS (IIS_MD_HTTP_BASE+65)
86#define MD_USE_HOST_NAME (IIS_MD_HTTP_BASE+66)
87
88#define MD_AUTH_CHANGE_FLAGS (IIS_MD_HTTP_BASE+68)
89
90#define MD_PROCESS_NTCR_IF_LOGGED_ON (IIS_MD_HTTP_BASE+70)
91
92#define MD_FRONTPAGE_WEB (IIS_MD_HTTP_BASE+72)
93#define MD_IN_PROCESS_ISAPI_APPS (IIS_MD_HTTP_BASE+73)
94
95#define MD_ALLOW_PATH_INFO_FOR_SCRIPT_MAPPINGS (IIS_MD_HTTP_BASE+95)
96
97#define MD_APP_FRIENDLY_NAME (IIS_MD_HTTP_BASE+102)
98#define MD_APP_ROOT (IIS_MD_HTTP_BASE+103)
99#define MD_APP_ISOLATED (IIS_MD_HTTP_BASE+104)
100#define MD_APP_WAM_CLSID (IIS_MD_HTTP_BASE+105)
101#define MD_APP_PACKAGE_ID (IIS_MD_HTTP_BASE+106)
102#define MD_APP_PACKAGE_NAME (IIS_MD_HTTP_BASE+107)
103#define MD_APP_OOP_RECOVER_LIMIT (IIS_MD_HTTP_BASE+110)
104#define MD_APP_PERIODIC_RESTART_TIME (IIS_MD_HTTP_BASE+111)
105#define MD_APP_PERIODIC_RESTART_REQUESTS (IIS_MD_HTTP_BASE+112)
106#define MD_APP_PERIODIC_RESTART_SCHEDULE (IIS_MD_HTTP_BASE+113)
107#define MD_APP_SHUTDOWN_TIME_LIMIT (IIS_MD_HTTP_BASE+114)
108
109#define MD_ADMIN_INSTANCE (IIS_MD_HTTP_BASE+115)
110
111#define MD_NOT_DELETABLE (IIS_MD_HTTP_BASE+116)
112
113#define MD_APP_TRACE_URL_LIST (IIS_MD_HTTP_BASE+118)
114#define MD_CENTRAL_W3C_LOGGING_ENABLED (IIS_MD_HTTP_BASE+119)
115
116#define MD_CUSTOM_ERROR_DESC (IIS_MD_HTTP_BASE+120)
117
118#define MD_CAL_VC_PER_CONNECT (IIS_MD_HTTP_BASE+130)
119#define MD_CAL_AUTH_RESERVE_TIMEOUT (IIS_MD_HTTP_BASE+131)
120#define MD_CAL_SSL_RESERVE_TIMEOUT (IIS_MD_HTTP_BASE+132)
121#define MD_CAL_W3_ERROR (IIS_MD_HTTP_BASE+133)
122
123#define MD_CPU_CGI_ENABLED (IIS_MD_HTTP_BASE+140)
124#define MD_CPU_APP_ENABLED (IIS_MD_HTTP_BASE+141)
125#define MD_CPU_LIMITS_ENABLED (IIS_MD_HTTP_BASE+143)
126
127#define MD_CPU_RESET_INTERVAL (IIS_MD_HTTP_BASE+144)
128
129#define MD_CPU_LOGGING_INTERVAL (IIS_MD_HTTP_BASE+145)
130#define MD_CPU_LOGGING_OPTIONS (IIS_MD_HTTP_BASE+146)
131#define MD_CPU_CGI_LIMIT (IIS_MD_HTTP_BASE+148)
132#define MD_CPU_LIMIT_LOGEVENT (IIS_MD_HTTP_BASE+149)
133#define MD_CPU_LIMIT_PRIORITY (IIS_MD_HTTP_BASE+150)
134#define MD_CPU_LIMIT_PROCSTOP (IIS_MD_HTTP_BASE+151)
135#define MD_CPU_LIMIT_PAUSE (IIS_MD_HTTP_BASE+152)
136
137#define MD_SET_HOST_NAME (IIS_MD_HTTP_BASE+154)
138
139#define MD_CPU_DISABLE_ALL_LOGGING 0x0
140#define MD_CPU_ENABLE_ALL_PROC_LOGGING 0x1
141#define MD_CPU_ENABLE_CGI_LOGGING 0x2
142#define MD_CPU_ENABLE_APP_LOGGING 0x4
143
144#define MD_CPU_ENABLE_EVENT 0x01
145#define MD_CPU_ENABLE_PROC_TYPE 0x02
146#define MD_CPU_ENABLE_USER_TIME 0x04
147#define MD_CPU_ENABLE_KERNEL_TIME 0x08
148#define MD_CPU_ENABLE_PAGE_FAULTS 0x10
149#define MD_CPU_ENABLE_TOTAL_PROCS 0x20
150#define MD_CPU_ENABLE_ACTIVE_PROCS 0x40
151#define MD_CPU_ENABLE_TERMINATED_PROCS 0x80
152
153#define MD_CPU_ENABLE_LOGGING 0x80000000
154
155#define MD_ISAPI_RESTRICTION_LIST (IIS_MD_HTTP_BASE+163)
156#define MD_CGI_RESTRICTION_LIST (IIS_MD_HTTP_BASE+164)
157#define MD_RESTRICTION_LIST_CUSTOM_DESC (IIS_MD_HTTP_BASE+165)
158#define MD_SECURITY_SETUP_REQUIRED (IIS_MD_HTTP_BASE+166)
159#define MD_APP_DEPENDENCIES (IIS_MD_HTTP_BASE+167)
160#define MD_WEB_SVC_EXT_RESTRICTION_LIST (IIS_MD_HTTP_BASE+168)
161
162#define MD_MD_SERVER_SS_AUTH_MAPPING (IIS_MD_HTTP_BASE+200)
163
164#define MD_CERT_NO_REVOC_CHECK 0x00000001
165#define MD_CERT_CACHE_RETRIEVAL_ONLY 0x00000002
166#define MD_CERT_CHECK_REVOCATION_FRESHNESS_TIME 0x00000004
167#define MD_CERT_NO_USAGE_CHECK 0x00010000
168
169#define MD_HC_COMPRESSION_DIRECTORY (IIS_MD_HTTP_BASE+210)
170#define MD_HC_CACHE_CONTROL_HEADER (IIS_MD_HTTP_BASE+211)
171#define MD_HC_EXPIRES_HEADER (IIS_MD_HTTP_BASE+212)
172#define MD_HC_DO_DYNAMIC_COMPRESSION (IIS_MD_HTTP_BASE+213)
173#define MD_HC_DO_STATIC_COMPRESSION (IIS_MD_HTTP_BASE+214)
174#define MD_HC_DO_ON_DEMAND_COMPRESSION (IIS_MD_HTTP_BASE+215)
175#define MD_HC_DO_DISK_SPACE_LIMITING (IIS_MD_HTTP_BASE+216)
176#define MD_HC_NO_COMPRESSION_FOR_HTTP_10 (IIS_MD_HTTP_BASE+217)
177#define MD_HC_NO_COMPRESSION_FOR_PROXIES (IIS_MD_HTTP_BASE+218)
178#define MD_HC_NO_COMPRESSION_FOR_RANGE (IIS_MD_HTTP_BASE+219)
179#define MD_HC_SEND_CACHE_HEADERS (IIS_MD_HTTP_BASE+220)
180#define MD_HC_MAX_DISK_SPACE_USAGE (IIS_MD_HTTP_BASE+221)
181#define MD_HC_IO_BUFFER_SIZE (IIS_MD_HTTP_BASE+222)
182#define MD_HC_COMPRESSION_BUFFER_SIZE (IIS_MD_HTTP_BASE+223)
183#define MD_HC_MAX_QUEUE_LENGTH (IIS_MD_HTTP_BASE+224)
184#define MD_HC_FILES_DELETED_PER_DISK_FREE (IIS_MD_HTTP_BASE+225)
185#define MD_HC_MIN_FILE_SIZE_FOR_COMP (IIS_MD_HTTP_BASE+226)
186#define MD_HC_COMPRESSION_DLL (IIS_MD_HTTP_BASE+237)
187#define MD_HC_FILE_EXTENSIONS (IIS_MD_HTTP_BASE+238)
188#define MD_HC_MIME_TYPE (IIS_MD_HTTP_BASE+239)
189#define MD_HC_PRIORITY (IIS_MD_HTTP_BASE+240)
190#define MD_HC_DYNAMIC_COMPRESSION_LEVEL (IIS_MD_HTTP_BASE+241)
191#define MD_HC_ON_DEMAND_COMP_LEVEL (IIS_MD_HTTP_BASE+242)
192#define MD_HC_CREATE_FLAGS (IIS_MD_HTTP_BASE+243)
193#define MD_HC_SCRIPT_FILE_EXTENSIONS (IIS_MD_HTTP_BASE+244)
194
195#define MD_HC_DO_NAMESPACE_DYNAMIC_COMPRESSION (IIS_MD_HTTP_BASE+255)
196#define MD_HC_DO_NAMESPACE_STATIC_COMPRESSION (IIS_MD_HTTP_BASE+256)
197
198#define MD_WIN32_ERROR (IIS_MD_SERVER_BASE+99)
199
200#define IIS_MD_VR_BASE 3000
201
202#define MD_VR_PATH (IIS_MD_VR_BASE+1)
203#define MD_VR_USERNAME (IIS_MD_VR_BASE+2)
204#define MD_VR_PASSWORD (IIS_MD_VR_BASE+3)
205#define MD_VR_PASSTHROUGH (IIS_MD_VR_BASE+6)
206#define MD_VR_NO_CACHE (IIS_MD_VR_BASE+7)
207#define MD_VR_IGNORE_TRANSLATE (IIS_MD_VR_BASE+8)
208
209#define IIS_MD_LOG_BASE 4000
210
211#define MD_LOG_TYPE (IIS_MD_LOG_BASE+0)
212#define MD_LOGFILE_DIRECTORY (IIS_MD_LOG_BASE+1)
213#define MD_LOG_UNUSED1 (IIS_MD_LOG_BASE+2)
214#define MD_LOGFILE_PERIOD (IIS_MD_LOG_BASE+3)
215#define MD_LOGFILE_TRUNCATE_SIZE (IIS_MD_LOG_BASE+4)
216#define MD_LOG_PLUGIN_MOD_ID (IIS_MD_LOG_BASE+5)
217#define MD_LOG_PLUGIN_UI_ID (IIS_MD_LOG_BASE+6)
218#define MD_LOGSQL_DATA_SOURCES (IIS_MD_LOG_BASE+7)
219#define MD_LOGSQL_TABLE_NAME (IIS_MD_LOG_BASE+8)
220#define MD_LOGSQL_USER_NAME (IIS_MD_LOG_BASE+9)
221#define MD_LOGSQL_PASSWORD (IIS_MD_LOG_BASE+10)
222#define MD_LOG_PLUGIN_ORDER (IIS_MD_LOG_BASE+11)
223#define MD_LOG_PLUGINS_AVAILABLE (IIS_MD_LOG_BASE+12)
224#define MD_LOGEXT_FIELD_MASK (IIS_MD_LOG_BASE+13)
225#define MD_LOGEXT_FIELD_MASK2 (IIS_MD_LOG_BASE+14)
226
227#define MD_LOGFILE_LOCALTIME_ROLLOVER (IIS_MD_LOG_BASE+15)
228
229#define IIS_MD_LOG_LAST MD_LOGFILE_LOCALTIME_ROLLOVER
230
231#define MD_GLOBAL_BINARY_LOGGING_ENABLED (IIS_MD_LOG_BASE+16)
232
233#define MD_LOG_TYPE_DISABLED 0
234#define MD_LOG_TYPE_ENABLED 1
235
236#define MD_LOGFILE_PERIOD_NONE 0
237#define MD_LOGFILE_PERIOD_MAXSIZE 0
238#define MD_LOGFILE_PERIOD_DAILY 1
239#define MD_LOGFILE_PERIOD_WEEKLY 2
240#define MD_LOGFILE_PERIOD_MONTHLY 3
241#define MD_LOGFILE_PERIOD_HOURLY 4
242
243#define MD_EXTLOG_DATE 0x00000001
244#define MD_EXTLOG_TIME 0x00000002
245#define MD_EXTLOG_CLIENT_IP 0x00000004
246#define MD_EXTLOG_USERNAME 0x00000008
247#define MD_EXTLOG_SITE_NAME 0x00000010
248#define MD_EXTLOG_COMPUTER_NAME 0x00000020
249#define MD_EXTLOG_SERVER_IP 0x00000040
250#define MD_EXTLOG_METHOD 0x00000080
251#define MD_EXTLOG_URI_STEM 0x00000100
252#define MD_EXTLOG_URI_QUERY 0x00000200
253#define MD_EXTLOG_HTTP_STATUS 0x00000400
254#define MD_EXTLOG_WIN32_STATUS 0x00000800
255#define MD_EXTLOG_BYTES_SENT 0x00001000
256#define MD_EXTLOG_BYTES_RECV 0x00002000
257#define MD_EXTLOG_TIME_TAKEN 0x00004000
258#define MD_EXTLOG_SERVER_PORT 0x00008000
259#define MD_EXTLOG_USER_AGENT 0x00010000
260#define MD_EXTLOG_COOKIE 0x00020000
261#define MD_EXTLOG_REFERER 0x00040000
262#define MD_EXTLOG_PROTOCOL_VERSION 0x00080000
263#define MD_EXTLOG_HOST 0x00100000
264#define MD_EXTLOG_HTTP_SUB_STATUS 0x00200000
265
266#define MD_DEFAULT_EXTLOG_FIELDS (MD_EXTLOG_CLIENT_IP | MD_EXTLOG_TIME | MD_EXTLOG_METHOD | MD_EXTLOG_URI_STEM | MD_EXTLOG_HTTP_STATUS | MD_EXTLOG_HTTP_SUB_STATUS | MD_EXTLOG_SITE_NAME)
267
268#define IIS_MD_LOGCUSTOM_BASE 4500
269
270#define MD_LOGCUSTOM_PROPERTY_NAME (IIS_MD_LOGCUSTOM_BASE+1)
271#define MD_LOGCUSTOM_PROPERTY_HEADER (IIS_MD_LOGCUSTOM_BASE+2)
272#define MD_LOGCUSTOM_PROPERTY_ID (IIS_MD_LOGCUSTOM_BASE+3)
273#define MD_LOGCUSTOM_PROPERTY_MASK (IIS_MD_LOGCUSTOM_BASE+4)
274#define MD_LOGCUSTOM_PROPERTY_DATATYPE (IIS_MD_LOGCUSTOM_BASE+5)
275#define MD_LOGCUSTOM_SERVICES_STRING (IIS_MD_LOGCUSTOM_BASE+6)
276
277#define MD_CPU_LOGGING_MASK (IIS_MD_LOGCUSTOM_BASE+7)
278
279#define MD_LOGCUSTOM_PROPERTY_NODE_ID (IIS_MD_LOGCUSTOM_BASE+8)
280
281#define IIS_MD_LOGCUSTOM_LAST MD_LOGCUSTOM_PROPERTY_NODE_ID
282
283#define MD_LOGCUSTOM_DATATYPE_INT 0
284#define MD_LOGCUSTOM_DATATYPE_UINT 1
285#define MD_LOGCUSTOM_DATATYPE_LONG 2
286#define MD_LOGCUSTOM_DATATYPE_ULONG 3
287#define MD_LOGCUSTOM_DATATYPE_FLOAT 4
288#define MD_LOGCUSTOM_DATATYPE_DOUBLE 5
289#define MD_LOGCUSTOM_DATATYPE_LPSTR 6
290#define MD_LOGCUSTOM_DATATYPE_LPWSTR 7
291
292#define MD_NOTIFY_SECURE_PORT 0x00000001
293#define MD_NOTIFY_NONSECURE_PORT 0x00000002
294
295#define MD_NOTIFY_READ_RAW_DATA 0x00008000
296#define MD_NOTIFY_PREPROC_HEADERS 0x00004000
297#define MD_NOTIFY_AUTHENTICATION 0x00002000
298#define MD_NOTIFY_URL_MAP 0x00001000
299#define MD_NOTIFY_ACCESS_DENIED 0x00000800
300#define MD_NOTIFY_SEND_RESPONSE 0x00000040
301#define MD_NOTIFY_SEND_RAW_DATA 0x00000400
302#define MD_NOTIFY_LOG 0x00000200
303#define MD_NOTIFY_END_OF_REQUEST 0x00000080
304#define MD_NOTIFY_END_OF_NET_SESSION 0x00000100
305#define MD_NOTIFY_AUTH_COMPLETE 0x04000000
306
307#define MD_NOTIFY_ORDER_HIGH 0x00080000
308#define MD_NOTIFY_ORDER_MEDIUM 0x00040000
309#define MD_NOTIFY_ORDER_LOW 0x00020000
310#define MD_NOTIFY_ORDER_DEFAULT MD_NOTIFY_ORDER_LOW
311
312#define MD_NOTIFY_ORDER_MASK (MD_NOTIFY_ORDER_HIGH | MD_NOTIFY_ORDER_MEDIUM | MD_NOTIFY_ORDER_LOW)
313
314#define IIS_MD_FTP_BASE 5000
315
316#define MD_EXIT_MESSAGE (IIS_MD_FTP_BASE+1)
317#define MD_GREETING_MESSAGE (IIS_MD_FTP_BASE+2)
318#define MD_MAX_CLIENTS_MESSAGE (IIS_MD_FTP_BASE+3)
319#define MD_MSDOS_DIR_OUTPUT (IIS_MD_FTP_BASE+4)
320#define MD_ALLOW_ANONYMOUS (IIS_MD_FTP_BASE+5)
321#define MD_ANONYMOUS_ONLY (IIS_MD_FTP_BASE+6)
322#define MD_LOG_ANONYMOUS (IIS_MD_FTP_BASE+7)
323#define MD_LOG_NONANONYMOUS (IIS_MD_FTP_BASE+8)
324#define MD_ALLOW_REPLACE_ON_RENAME (IIS_MD_FTP_BASE+9)
325#define MD_SHOW_4_DIGIT_YEAR (IIS_MD_FTP_BASE+10)
326#define MD_BANNER_MESSAGE (IIS_MD_FTP_BASE+11)
327#define MD_USER_ISOLATION (IIS_MD_FTP_BASE+12)
328#define MD_FTP_LOG_IN_UTF_8 (IIS_MD_FTP_BASE+13)
329#define MD_AD_CONNECTIONS_USERNAME (IIS_MD_FTP_BASE+14)
330#define MD_AD_CONNECTIONS_PASSWORD (IIS_MD_FTP_BASE+15)
331#define MD_PASSIVE_PORT_RANGE (IIS_MD_FTP_BASE+16)
332#define MD_SUPPRESS_DEFAULT_BANNER (IIS_MD_FTP_BASE+17)
333
334#define IIS_MD_SSL_BASE 5500
335
336#define MD_SSL_PUBLIC_KEY (IIS_MD_SSL_BASE+0)
337#define MD_SSL_PRIVATE_KEY (IIS_MD_SSL_BASE+1)
338#define MD_SSL_KEY_PASSWORD (IIS_MD_SSL_BASE+2)
339#define MD_SSL_KEY_REQUEST (IIS_MD_SSL_BASE+3)
340
341#define MD_SSL_USE_DS_MAPPER (IIS_MD_SSL_BASE+19)
342
343#define MD_SSL_ALWAYS_NEGO_CLIENT_CERT (IIS_MD_SSL_BASE+21)
344
345#define IIS_MD_FILE_PROP_BASE 6000
346
347#define MD_AUTHORIZATION (IIS_MD_FILE_PROP_BASE)
348#define MD_REALM (IIS_MD_FILE_PROP_BASE+1)
349#define MD_HTTP_EXPIRES (IIS_MD_FILE_PROP_BASE+2)
350#define MD_HTTP_PICS (IIS_MD_FILE_PROP_BASE+3)
351#define MD_HTTP_CUSTOM (IIS_MD_FILE_PROP_BASE+4)
352#define MD_DIRECTORY_BROWSING (IIS_MD_FILE_PROP_BASE+5)
353#define MD_DEFAULT_LOAD_FILE (IIS_MD_FILE_PROP_BASE+6)
354#define MD_CUSTOM_ERROR (IIS_MD_FILE_PROP_BASE+8)
355#define MD_FOOTER_DOCUMENT (IIS_MD_FILE_PROP_BASE+9)
356#define MD_FOOTER_ENABLED (IIS_MD_FILE_PROP_BASE+10)
357#define MD_HTTP_REDIRECT (IIS_MD_FILE_PROP_BASE+11)
358#define MD_DEFAULT_LOGON_DOMAIN (IIS_MD_FILE_PROP_BASE+12)
359#define MD_LOGON_METHOD (IIS_MD_FILE_PROP_BASE+13)
360#define MD_SCRIPT_MAPS (IIS_MD_FILE_PROP_BASE+14)
361#define MD_MIME_MAP (IIS_MD_FILE_PROP_BASE+15)
362#define MD_ACCESS_PERM (IIS_MD_FILE_PROP_BASE+16)
363#define MD_IP_SEC (IIS_MD_FILE_PROP_BASE+19)
364#define MD_ANONYMOUS_USER_NAME (IIS_MD_FILE_PROP_BASE+20)
365#define MD_ANONYMOUS_PWD (IIS_MD_FILE_PROP_BASE+21)
366#define MD_ANONYMOUS_USE_SUBAUTH (IIS_MD_FILE_PROP_BASE+22)
367#define MD_DONT_LOG (IIS_MD_FILE_PROP_BASE+23)
368#define MD_ADMIN_ACL (IIS_MD_FILE_PROP_BASE+27)
369#define MD_SSI_EXEC_DISABLED (IIS_MD_FILE_PROP_BASE+28)
370#define MD_DO_REVERSE_DNS (IIS_MD_FILE_PROP_BASE+29)
371#define MD_SSL_ACCESS_PERM (IIS_MD_FILE_PROP_BASE+30)
372#define MD_AUTHORIZATION_PERSISTENCE (IIS_MD_FILE_PROP_BASE+31)
373#define MD_NTAUTHENTICATION_PROVIDERS (IIS_MD_FILE_PROP_BASE+32)
374#define MD_SCRIPT_TIMEOUT (IIS_MD_FILE_PROP_BASE+33)
375#define MD_CACHE_EXTENSIONS (IIS_MD_FILE_PROP_BASE+34)
376#define MD_CREATE_PROCESS_AS_USER (IIS_MD_FILE_PROP_BASE+35)
377#define MD_CREATE_PROC_NEW_CONSOLE (IIS_MD_FILE_PROP_BASE+36)
378#define MD_POOL_IDC_TIMEOUT (IIS_MD_FILE_PROP_BASE+37)
379#define MD_ALLOW_KEEPALIVES (IIS_MD_FILE_PROP_BASE+38)
380#define MD_IS_CONTENT_INDEXED (IIS_MD_FILE_PROP_BASE+39)
381#define MD_CC_NO_CACHE (IIS_MD_FILE_PROP_BASE+41)
382#define MD_CC_MAX_AGE (IIS_MD_FILE_PROP_BASE+42)
383#define MD_CC_OTHER (IIS_MD_FILE_PROP_BASE+43)
384#define MD_REDIRECT_HEADERS (IIS_MD_FILE_PROP_BASE+44)
385#define MD_UPLOAD_READAHEAD_SIZE (IIS_MD_FILE_PROP_BASE+45)
386#define MD_PUT_READ_SIZE (IIS_MD_FILE_PROP_BASE+46)
387#define MD_USE_DIGEST_SSP (IIS_MD_FILE_PROP_BASE+47)
388
389#define MD_ENABLE_URL_AUTHORIZATION (IIS_MD_FILE_PROP_BASE+48)
390#define MD_URL_AUTHORIZATION_STORE_NAME (IIS_MD_FILE_PROP_BASE+49)
391#define MD_URL_AUTHORIZATION_SCOPE_NAME (IIS_MD_FILE_PROP_BASE+50)
392
393#define MD_MAX_REQUEST_ENTITY_ALLOWED (IIS_MD_FILE_PROP_BASE+51)
394
395#define MD_PASSPORT_REQUIRE_AD_MAPPING (IIS_MD_FILE_PROP_BASE+52)
396
397#define MD_URL_AUTHORIZATION_IMPERSONATION_LEVEL (IIS_MD_FILE_PROP_BASE+53)
398
399#define ASP_MD_SERVER_BASE 7000
400
401#define MD_ASP_BUFFERINGON (ASP_MD_SERVER_BASE + 0)
402#define MD_ASP_LOGERRORREQUESTS (ASP_MD_SERVER_BASE + 1)
403#define MD_ASP_SCRIPTERRORSSENTTOBROWSER (ASP_MD_SERVER_BASE + 2)
404#define MD_ASP_SCRIPTERRORMESSAGE (ASP_MD_SERVER_BASE + 3)
405#define MD_ASP_SCRIPTFILECACHESIZE (ASP_MD_SERVER_BASE + 4)
406#define MD_ASP_SCRIPTENGINECACHEMAX (ASP_MD_SERVER_BASE + 5)
407#define MD_ASP_SCRIPTTIMEOUT (ASP_MD_SERVER_BASE + 6)
408#define MD_ASP_SESSIONTIMEOUT (ASP_MD_SERVER_BASE + 7)
409#define MD_ASP_ENABLEPARENTPATHS (ASP_MD_SERVER_BASE + 8)
410#define MD_ASP_MEMFREEFACTOR (ASP_MD_SERVER_BASE + 9)
411#define MD_ASP_MINUSEDBLOCKS (ASP_MD_SERVER_BASE + 10)
412#define MD_ASP_ALLOWSESSIONSTATE (ASP_MD_SERVER_BASE + 11)
413#define MD_ASP_SCRIPTLANGUAGE (ASP_MD_SERVER_BASE + 12)
414#define MD_ASP_QUEUETIMEOUT (ASP_MD_SERVER_BASE + 13)
415#define MD_ASP_ALLOWOUTOFPROCCOMPONENTS (ASP_MD_SERVER_BASE + 14)
416#define MD_ASP_ALLOWOUTOFPROCCMPNTS (MD_ASP_ALLOWOUTOFPROCCOMPONENTS)
417#define MD_ASP_EXCEPTIONCATCHENABLE (ASP_MD_SERVER_BASE + 15)
418#define MD_ASP_CODEPAGE (ASP_MD_SERVER_BASE + 16)
419#define MD_ASP_SCRIPTLANGUAGELIST (ASP_MD_SERVER_BASE + 17)
420#define MD_ASP_ENABLESERVERDEBUG (ASP_MD_SERVER_BASE + 18)
421#define MD_ASP_ENABLECLIENTDEBUG (ASP_MD_SERVER_BASE + 19)
422#define MD_ASP_TRACKTHREADINGMODEL (ASP_MD_SERVER_BASE + 20)
423
424#define MD_ASP_ENABLEASPHTMLFALLBACK (ASP_MD_SERVER_BASE + 21)
425#define MD_ASP_ENABLECHUNKEDENCODING (ASP_MD_SERVER_BASE + 22)
426#define MD_ASP_ENABLETYPELIBCACHE (ASP_MD_SERVER_BASE + 23)
427#define MD_ASP_ERRORSTONTLOG (ASP_MD_SERVER_BASE + 24)
428#define MD_ASP_PROCESSORTHREADMAX (ASP_MD_SERVER_BASE + 25)
429#define MD_ASP_REQEUSTQUEUEMAX (ASP_MD_SERVER_BASE + 26)
430#define MD_ASP_ENABLEAPPLICATIONRESTART (ASP_MD_SERVER_BASE + 27)
431#define MD_ASP_QUEUECONNECTIONTESTTIME (ASP_MD_SERVER_BASE + 28)
432#define MD_ASP_SESSIONMAX (ASP_MD_SERVER_BASE + 29)
433
434#define MD_ASP_THREADGATEENABLED (ASP_MD_SERVER_BASE + 30)
435#define MD_ASP_THREADGATETIMESLICE (ASP_MD_SERVER_BASE + 31)
436#define MD_ASP_THREADGATESLEEPDELAY (ASP_MD_SERVER_BASE + 32)
437#define MD_ASP_THREADGATESLEEPMAX (ASP_MD_SERVER_BASE + 33)
438#define MD_ASP_THREADGATELOADLOW (ASP_MD_SERVER_BASE + 34)
439#define MD_ASP_THREADGATELOADHIGH (ASP_MD_SERVER_BASE + 35)
440
441#define MD_ASP_DISKTEMPLATECACHEDIRECTORY (ASP_MD_SERVER_BASE + 36)
442#define MD_ASP_MAXDISKTEMPLATECACHEFILES (ASP_MD_SERVER_BASE + 40)
443#define MD_ASP_EXECUTEINMTA (ASP_MD_SERVER_BASE + 41)
444#define MD_ASP_LCID (ASP_MD_SERVER_BASE + 42)
445#define MD_ASP_KEEPSESSIONIDSECURE (ASP_MD_SERVER_BASE + 43)
446
447#define MD_ASP_SERVICE_FLAGS (ASP_MD_SERVER_BASE + 44)
448#define MD_ASP_SERVICE_FLAG_TRACKER (ASP_MD_SERVER_BASE + 45)
449#define MD_ASP_SERVICE_FLAG_FUSION (ASP_MD_SERVER_BASE + 46)
450#define MD_ASP_SERVICE_FLAG_PARTITIONS (ASP_MD_SERVER_BASE + 47)
451#define MD_ASP_SERVICE_PARTITION_ID (ASP_MD_SERVER_BASE + 48)
452#define MD_ASP_SERVICE_SXS_NAME (ASP_MD_SERVER_BASE + 49)
453
454#define MD_ASP_SERVICE_ENABLE_TRACKER 1
455#define MD_ASP_SERVICE_ENABLE_SXS 2
456#define MD_ASP_SERVICE_USE_PARTITION 4
457
458#define MD_ASP_CALCLINENUMBER (ASP_MD_SERVER_BASE + 50)
459
460#define MD_ASP_RUN_ONEND_ANON (ASP_MD_SERVER_BASE + 51)
461
462#define MD_ASP_BUFFER_LIMIT (ASP_MD_SERVER_BASE + 52)
463
464#define MD_ASP_MAX_REQUEST_ENTITY_ALLOWED (ASP_MD_SERVER_BASE + 53)
465#define MD_ASP_MAXREQUESTENTITY MD_ASP_MAX_REQUEST_ENTITY_ALLOWED
466
467#define MD_ASP_ID_LAST (ASP_MD_SERVER_BASE + 53)
468
469#define WAM_MD_SERVER_BASE 7500
470
471#define MD_WAM_USER_NAME (WAM_MD_SERVER_BASE+1)
472#define MD_WAM_PWD (WAM_MD_SERVER_BASE+2)
473
474#define WEBDAV_MD_SERVER_BASE 8500
475
476#define MD_WEBDAV_MAX_ATTRIBUTES_PER_ELEMENT (WEBDAV_MD_SERVER_BASE+1)
477
478#define IIS_MD_APPPOOL_BASE 9000
479
480#define MD_APPPOOL_PERIODIC_RESTART_TIME (IIS_MD_APPPOOL_BASE + 1)
481#define MD_APPPOOL_PERIODIC_RESTART_REQUEST_COUNT (IIS_MD_APPPOOL_BASE + 2)
482#define MD_APPPOOL_MAX_PROCESS_COUNT (IIS_MD_APPPOOL_BASE + 3)
483#define MD_APPPOOL_PINGING_ENABLED (IIS_MD_APPPOOL_BASE + 4)
484#define MD_APPPOOL_IDLE_TIMEOUT (IIS_MD_APPPOOL_BASE + 5)
485#define MD_APPPOOL_RAPID_FAIL_PROTECTION_ENABLED (IIS_MD_APPPOOL_BASE + 6)
486#define MD_APPPOOL_SMP_AFFINITIZED (IIS_MD_APPPOOL_BASE + 7)
487#define MD_APPPOOL_SMP_AFFINITIZED_PROCESSOR_MASK (IIS_MD_APPPOOL_BASE + 8)
488#define MD_APPPOOL_ORPHAN_PROCESSES_FOR_DEBUGGING (IIS_MD_APPPOOL_BASE + 9)
489#define MD_APPPOOL_STARTUP_TIMELIMIT (IIS_MD_APPPOOL_BASE + 11)
490#define MD_APPPOOL_SHUTDOWN_TIMELIMIT (IIS_MD_APPPOOL_BASE + 12)
491#define MD_APPPOOL_PING_INTERVAL (IIS_MD_APPPOOL_BASE + 13)
492#define MD_APPPOOL_PING_RESPONSE_TIMELIMIT (IIS_MD_APPPOOL_BASE + 14)
493#define MD_APPPOOL_DISALLOW_OVERLAPPING_ROTATION (IIS_MD_APPPOOL_BASE + 15)
494#define MD_APPPOOL_UL_APPPOOL_QUEUE_LENGTH (IIS_MD_APPPOOL_BASE + 17)
495#define MD_APPPOOL_DISALLOW_ROTATION_ON_CONFIG_CHANGE (IIS_MD_APPPOOL_BASE + 18)
496#define MD_APPPOOL_PERIODIC_RESTART_SCHEDULE (IIS_MD_APPPOOL_BASE + 20)
497#define MD_APPPOOL_IDENTITY_TYPE (IIS_MD_APPPOOL_BASE + 21)
498#define MD_CPU_ACTION (IIS_MD_APPPOOL_BASE + 22)
499#define MD_CPU_LIMIT (IIS_MD_APPPOOL_BASE + 23)
500#define MD_APPPOOL_PERIODIC_RESTART_MEMORY (IIS_MD_APPPOOL_BASE + 24)
501#define MD_APPPOOL_COMMAND (IIS_MD_APPPOOL_BASE + 26)
502#define MD_APPPOOL_STATE (IIS_MD_APPPOOL_BASE + 27)
503#define MD_APPPOOL_AUTO_START (IIS_MD_APPPOOL_BASE + 28)
504#define MD_RAPID_FAIL_PROTECTION_INTERVAL (IIS_MD_APPPOOL_BASE + 29)
505#define MD_RAPID_FAIL_PROTECTION_MAX_CRASHES (IIS_MD_APPPOOL_BASE + 30)
506#define MD_APPPOOL_ORPHAN_ACTION_EXE (IIS_MD_APPPOOL_BASE + 31)
507#define MD_APPPOOL_ORPHAN_ACTION_PARAMS (IIS_MD_APPPOOL_BASE + 32)
508#define MB_DONT_IMPERSONATE (IIS_MD_APPPOOL_BASE + 33)
509
510#define MD_LOAD_BALANCER_CAPABILITIES (IIS_MD_APPPOOL_BASE + 34)
511
512#define MD_APPPOOL_AUTO_SHUTDOWN_EXE (IIS_MD_APPPOOL_BASE + 35)
513#define MD_APPPOOL_AUTO_SHUTDOWN_PARAMS (IIS_MD_APPPOOL_BASE + 36)
514#define MD_APP_POOL_LOG_EVENT_ON_RECYCLE (IIS_MD_APPPOOL_BASE + 37)
515#define MD_APPPOOL_PERIODIC_RESTART_PRIVATE_MEMORY (IIS_MD_APPPOOL_BASE + 38)
516#define MD_APPPOOL_32_BIT_APP_ON_WIN64 (IIS_MD_APPPOOL_BASE + 40)
517
518#define MD_APP_POOL_RECYCLE_TIME 1
519#define MD_APP_POOL_RECYCLE_REQUESTS 2
520#define MD_APP_POOL_RECYCLE_SCHEDULE 4
521#define MD_APP_POOL_RECYCLE_MEMORY 8
522#define MD_APP_POOL_RECYCLE_ISAPI_UNHEALTHY 16
523#define MD_APP_POOL_RECYCLE_ON_DEMAND 32
524#define MD_APP_POOL_RECYCLE_CONFIG_CHANGE 64
525#define MD_APP_POOL_RECYCLE_PRIVATE_MEMORY 128
526
527#define MD_CPU_NO_ACTION 0
528#define MD_CPU_KILL_W3WP 1
529#define MD_CPU_TRACE 2
530#define MD_CPU_THROTTLE 3
531
532#define MD_APPPOOL_COMMAND_START 1
533#define MD_APPPOOL_COMMAND_STOP 2
534
535#define MD_APPPOOL_STATE_STARTING 1
536#define MD_APPPOOL_STATE_STARTED 2
537#define MD_APPPOOL_STATE_STOPPING 3
538#define MD_APPPOOL_STATE_STOPPED 4
539
540#define MD_APPPOOL_IDENTITY_TYPE_LOCALSYSTEM 0
541#define MD_APPPOOL_IDENTITY_TYPE_LOCALSERVICE 1
542#define MD_APPPOOL_IDENTITY_TYPE_NETWORKSERVICE 2
543#define MD_APPPOOL_IDENTITY_TYPE_SPECIFICUSER 3
544
545#define MD_LOAD_BALANCER_CAPABILITIES_BASIC 1
546#define MD_LOAD_BALANCER_CAPABILITIES_SOPHISTICATED 2
547
548#define IIS_MD_APP_BASE 9100
549#define MD_APP_APPPOOL_ID (IIS_MD_APP_BASE+1)
550#define MD_APP_ALLOW_TRANSIENT_REGISTRATION (IIS_MD_APP_BASE+2)
551#define MD_APP_AUTO_START (IIS_MD_APP_BASE+3)
552#define MD_APPPOOL_PERIODIC_RESTART_CONNECTIONS (IIS_MD_APP_BASE+4)
553
554#define MD_APPPOOL_APPPOOL_ID (IIS_MD_APP_BASE + 101)
555#define MD_APPPOOL_ALLOW_TRANSIENT_REGISTRATION (IIS_MD_APP_BASE + 102)
556
557#define IIS_MD_GLOBAL_BASE 9200
558#define MD_MAX_GLOBAL_BANDWIDTH (IIS_MD_GLOBAL_BASE+1)
559#define MD_MAX_GLOBAL_CONNECTIONS (IIS_MD_GLOBAL_BASE+2)
560#define MD_GLOBAL_STANDARD_APP_MODE_ENABLED (IIS_MD_GLOBAL_BASE+3)
561#define MD_HEADER_WAIT_TIMEOUT (IIS_MD_GLOBAL_BASE+4)
562#define MD_MIN_FILE_BYTES_PER_SEC (IIS_MD_GLOBAL_BASE+5)
563#define MD_GLOBAL_LOG_IN_UTF_8 (IIS_MD_GLOBAL_BASE+6)
564#define MD_DEMAND_START_THRESHOLD (IIS_MD_GLOBAL_BASE+7)
565
566#define MD_GLOBAL_SESSIONKEY 9999
567#define MD_ROOT_ENABLE_EDIT_WHILE_RUNNING 9998
568#define MD_GLOBAL_CHANGE_NUMBER 9997
569#define MD_ROOT_ENABLE_HISTORY 9996
570#define MD_ROOT_MAX_HISTORY_FILES 9995
571#define MD_GLOBAL_EDIT_WHILE_RUNNING_MAJOR_VERSION_NUMBER 9994
572#define MD_GLOBAL_EDIT_WHILE_RUNNING_MINOR_VERSION_NUMBER 9993
573#define MD_GLOBAL_XMLSCHEMATIMESTAMP 9992
574#define MD_GLOBAL_BINSCHEMATIMESTAMP 9991
575#define MD_COMMENTS 9990
576#define MD_LOCATION 9989
577#define MD_MAX_ERROR_FILES 9988
578#define MD_STOP_LISTENING 9987
579
580#define MD_AUTH_ANONYMOUS 0x00000001
581#define MD_AUTH_BASIC 0x00000002
582#define MD_AUTH_NT 0x00000004
583#define MD_AUTH_PASSPORT 0x00000040
584
585#define MD_AUTH_SINGLEREQUEST 0x00000040
586#define MD_AUTH_SINGLEREQUESTIFPROXY 0x00000080
587#define MD_AUTH_SINGLEREQUESTALWAYSIFPROXY 0x00000100
588
589#define MD_ACCESS_READ 0x00000001
590#define MD_ACCESS_WRITE 0x00000002
591#define MD_ACCESS_EXECUTE 0x00000004
592#define MD_ACCESS_SOURCE 0x00000010
593#define MD_ACCESS_SCRIPT 0x00000200
594#define MD_ACCESS_NO_REMOTE_WRITE 0x00000400
595#define MD_ACCESS_NO_REMOTE_READ 0x00001000
596#define MD_ACCESS_NO_REMOTE_EXECUTE 0x00002000
597#define MD_ACCESS_NO_REMOTE_SCRIPT 0x00004000
598#define MD_ACCESS_NO_PHYSICAL_DIR 0x00008000
599
600#define MD_NONSSL_ACCESS_MASK (MD_ACCESS_READ| MD_ACCESS_WRITE| MD_ACCESS_EXECUTE| MD_ACCESS_SOURCE| MD_ACCESS_SCRIPT| MD_ACCESS_NO_REMOTE_READ| MD_ACCESS_NO_REMOTE_WRITE| MD_ACCESS_NO_REMOTE_EXECUTE| MD_ACCESS_NO_REMOTE_SCRIPT| MD_ACCESS_NO_PHYSICAL_DIR)
601
602#define MD_ACCESS_SSL 0x00000008
603#define MD_ACCESS_NEGO_CERT 0x00000020
604#define MD_ACCESS_REQUIRE_CERT 0x00000040
605#define MD_ACCESS_MAP_CERT 0x00000080
606#define MD_ACCESS_SSL128 0x00000100
607
608#define MD_SSL_ACCESS_MASK (MD_ACCESS_SSL| MD_ACCESS_NEGO_CERT| MD_ACCESS_REQUIRE_CERT| MD_ACCESS_MAP_CERT| MD_ACCESS_SSL128)
609
610#define MD_ACCESS_MASK 0x0000ffff
611
612#define MD_DIRBROW_SHOW_DATE 0x00000002
613#define MD_DIRBROW_SHOW_TIME 0x00000004
614#define MD_DIRBROW_SHOW_SIZE 0x00000008
615#define MD_DIRBROW_SHOW_EXTENSION 0x00000010
616#define MD_DIRBROW_LONG_DATE 0x00000020
617
618#define MD_DIRBROW_ENABLED 0x80000000
619#define MD_DIRBROW_LOADDEFAULT 0x40000000
620
621#define MD_DIRBROW_MASK (MD_DIRBROW_SHOW_DATE | MD_DIRBROW_SHOW_TIME | MD_DIRBROW_SHOW_SIZE | MD_DIRBROW_SHOW_EXTENSION | MD_DIRBROW_LONG_DATE | MD_DIRBROW_LOADDEFAULT | MD_DIRBROW_ENABLED)
622
623#define MD_LOGON_INTERACTIVE 0
624#define MD_LOGON_BATCH 1
625#define MD_LOGON_NETWORK 2
626#define MD_LOGON_NETWORK_CLEARTEXT 3
627
628#define MD_PASSPORT_NO_MAPPING 0
629#define MD_PASSPORT_TRY_MAPPING 1
630#define MD_PASSPORT_NEED_MAPPING 2
631
632#define MD_NOTIFEXAUTH_NTLMSSL 1
633
634#define MD_FILTER_STATE_LOADED 1
635#define MD_FILTER_STATE_UNLOADED 4
636
637#define MD_SERVER_STATE_STARTING 1
638#define MD_SERVER_STATE_STARTED 2
639#define MD_SERVER_STATE_STOPPING 3
640#define MD_SERVER_STATE_STOPPED 4
641#define MD_SERVER_STATE_PAUSING 5
642#define MD_SERVER_STATE_PAUSED 6
643#define MD_SERVER_STATE_CONTINUING 7
644
645#define MD_SERVER_COMMAND_START 1
646#define MD_SERVER_COMMAND_STOP 2
647#define MD_SERVER_COMMAND_PAUSE 3
648#define MD_SERVER_COMMAND_CONTINUE 4
649
650#define MD_SERVER_SIZE_SMALL 0
651#define MD_SERVER_SIZE_MEDIUM 1
652#define MD_SERVER_SIZE_LARGE 2
653
654#define MD_SERVER_CONFIG_SSL_40 0x00000001
655#define MD_SERVER_CONFIG_SSL_128 0x00000002
656#define MD_SERVER_CONFIG_ALLOW_ENCRYPT 0x00000004
657#define MD_SERVER_CONFIG_AUTO_PW_SYNC 0x00000008
658
659#define MD_SERVER_CONFIGURATION_MASK (MD_SERVER_CONFIG_SSL_40 | MD_SERVER_CONFIG_SSL_128 | MD_SERVER_CONFIG_ENCRYPT | MD_SERVER_CONFIG_AUTO_PW_SYNC)
660
661#define MD_SCRIPTMAPFLAG_SCRIPT 0x00000001
662#define MD_SCRIPTMAPFLAG_CHECK_PATH_INFO 0x00000004
663
664#ifdef REMOVE
665
666#define MD_SCRIPTMAPFLAG_ALLOWED_ON_READ_DIR 0x00000001
667#endif
668
669#define MD_AUTH_CHANGE_UNSECURE 0x00000001
670#define MD_AUTH_CHANGE_DISABLE 0x00000002
671#define MD_AUTH_ADVNOTIFY_DISABLE 0x00000004
672
673#define MD_NETLOGON_WKS_NONE 0
674#define MD_NETLOGON_WKS_IP 1
675#define MD_NETLOGON_WKS_DNS 2
676
677#define MD_ERROR_SUB401_LOGON 1
678#define MD_ERROR_SUB401_LOGON_CONFIG 2
679#define MD_ERROR_SUB401_LOGON_ACL 3
680#define MD_ERROR_SUB401_FILTER 4
681#define MD_ERROR_SUB401_APPLICATION 5
682#define MD_ERROR_SUB401_URLAUTH_POLICY 7
683
684#define MD_ERROR_SUB403_EXECUTE_ACCESS_DENIED 1
685#define MD_ERROR_SUB403_READ_ACCESS_DENIED 2
686#define MD_ERROR_SUB403_WRITE_ACCESS_DENIED 3
687#define MD_ERROR_SUB403_SSL_REQUIRED 4
688#define MD_ERROR_SUB403_SSL128_REQUIRED 5
689#define MD_ERROR_SUB403_ADDR_REJECT 6
690#define MD_ERROR_SUB403_CERT_REQUIRED 7
691#define MD_ERROR_SUB403_SITE_ACCESS_DENIED 8
692#define MD_ERROR_SUB403_TOO_MANY_USERS 9
693#define MD_ERROR_SUB403_INVALID_CNFG 10
694#define MD_ERROR_SUB403_PWD_CHANGE 11
695#define MD_ERROR_SUB403_MAPPER_DENY_ACCESS 12
696#define MD_ERROR_SUB403_CERT_REVOKED 13
697#define MD_ERROR_SUB403_DIR_LIST_DENIED 14
698#define MD_ERROR_SUB403_CAL_EXCEEDED 15
699#define MD_ERROR_SUB403_CERT_BAD 16
700#define MD_ERROR_SUB403_CERT_TIME_INVALID 17
701#define MD_ERROR_SUB403_APPPOOL_DENIED 18
702#define MD_ERROR_SUB403_INSUFFICIENT_PRIVILEGE_FOR_CGI 19
703#define MD_ERROR_SUB403_PASSPORT_LOGIN_FAILURE 20
704
705#define MD_ERROR_SUB404_SITE_NOT_FOUND 1
706#define MD_ERROR_SUB404_DENIED_BY_POLICY 2
707#define MD_ERROR_SUB404_DENIED_BY_MIMEMAP 3
708
709#define MD_ERROR_SUB500_UNC_ACCESS 16
710#define MD_ERROR_SUB500_URLAUTH_NO_STORE 17
711#define MD_ERROR_SUB500_URLAUTH_STORE_ERROR 18
712#define MD_ERROR_SUB500_BAD_METADATA 19
713#define MD_ERROR_SUB500_URLAUTH_NO_SCOPE 20
714
715#define MD_ERROR_SUB502_TIMEOUT 1
716#define MD_ERROR_SUB502_PREMATURE_EXIT 2
717
718#define MD_ERROR_SUB503_CPU_LIMIT 1
719
720#define MD_ACR_READ 0x00000001
721#define MD_ACR_WRITE 0x00000002
722#define MD_ACR_RESTRICTED_WRITE 0x00000020
723#define MD_ACR_UNSECURE_PROPS_READ 0x00000080
724#define MD_ACR_ENUM_KEYS 0x00000008
725#define MD_ACR_WRITE_DAC 0x00040000
726
727#define MD_USER_ISOLATION_NONE 0
728#define MD_USER_ISOLATION_BASIC 1
729#define MD_USER_ISOLATION_AD 2
730#define MD_USER_ISOLATION_LAST 2
731
732#define MD_SET_DATA_RECORD(_pMDR,_id,_attr,_utype,_dtype,_dlen,_pData) { (_pMDR)->dwMDIdentifier=(_id); (_pMDR)->dwMDAttributes=(_attr); (_pMDR)->dwMDUserType=(_utype); (_pMDR)->dwMDDataType=(_dtype); (_pMDR)->dwMDDataLen=(_dlen); (_pMDR)->pbMDData=(LPBYTE)(_pData); }
733
734#define IIS_CLASS_COMPUTER "IIsComputer"
735#define IIS_CLASS_WEB_SERVICE "IIsWebService"
736#define IIS_CLASS_WEB_SERVER "IIsWebServer"
737#define IIS_CLASS_WEB_INFO "IIsWebInfo"
738#define IIS_CLASS_WEB_DIR "IIsWebDirectory"
739#define IIS_CLASS_WEB_VDIR "IIsWebVirtualDir"
740#define IIS_CLASS_WEB_FILE "IIsWebFile"
741#define IIS_CLASS_FTP_SERVICE "IIsFtpService"
742#define IIS_CLASS_FTP_SERVER "IIsFtpServer"
743#define IIS_CLASS_FTP_INFO "IIsFtpInfo"
744#define IIS_CLASS_FTP_VDIR "IIsFtpVirtualDir"
745#define IIS_CLASS_FILTERS "IIsFilters"
746#define IIS_CLASS_FILTER "IIsFilter"
747#define IIS_CLASS_LOG_MODULES "IIsLogModules"
748#define IIS_CLASS_LOG_MODULE "IIsLogModule"
749#define IIS_CLASS_MIMEMAP "IIsMimeMap"
750#define IIS_CLASS_CERTMAPPER "IIsCertMapper"
751#define IIS_CLASS_COMPRESS_SCHEMES "IIsCompressionSchemes"
752#define IIS_CLASS_COMPRESS_SCHEME "IIsCompressionScheme"
753
754#define IIS_CLASS_COMPUTER_W L"IIsComputer"
755#define IIS_CLASS_WEB_SERVICE_W L"IIsWebService"
756#define IIS_CLASS_WEB_SERVER_W L"IIsWebServer"
757#define IIS_CLASS_WEB_INFO_W L"IIsWebInfo"
758#define IIS_CLASS_WEB_DIR_W L"IIsWebDirectory"
759#define IIS_CLASS_WEB_VDIR_W L"IIsWebVirtualDir"
760#define IIS_CLASS_WEB_FILE_W L"IIsWebFile"
761#define IIS_CLASS_FTP_SERVICE_W L"IIsFtpService"
762#define IIS_CLASS_FTP_SERVER_W L"IIsFtpServer"
763#define IIS_CLASS_FTP_INFO_W L"IIsFtpInfo"
764#define IIS_CLASS_FTP_VDIR_W L"IIsFtpVirtualDir"
765#define IIS_CLASS_FILTERS_W L"IIsFilters"
766#define IIS_CLASS_FILTER_W L"IIsFilter"
767#define IIS_CLASS_LOG_MODULES_W L"IIsLogModules"
768#define IIS_CLASS_LOG_MODULE_W L"IIsLogModule"
769#define IIS_CLASS_MIMEMAP_W L"IIsMimeMap"
770#define IIS_CLASS_CERTMAPPER_W L"IIsCertMapper"
771#define IIS_CLASS_COMPRESS_SCHEMES_W L"IIsCompressionSchemes"
772#define IIS_CLASS_COMPRESS_SCHEME_W L"IIsCompressionScheme"
773#endif
Note: See TracBrowser for help on using the repository browser.