1 /***********************************************************************\
2 *                               lmserver.d                              *
3 *                                                                       *
4 *                       Windows API header module                       *
5 *                                                                       *
6 *                 Translated from MinGW Windows headers                 *
7 *                                                                       *
8 *                       Placed into public domain                       *
9 \***********************************************************************/
10 module win32.lmserver;
11 version(Windows):
12 
13 import win32.winsvc;
14 private import win32.lmcons, win32.windef;
15 
16 struct SERVER_INFO_100 {
17 	DWORD  sv100_platform_id;
18 	LPWSTR sv100_name;
19 }
20 alias SERVER_INFO_100* PSERVER_INFO_100, LPSERVER_INFO_100;
21 
22 struct SERVER_INFO_101 {
23 	DWORD  sv101_platform_id;
24 	LPWSTR sv101_name;
25 	DWORD  sv101_version_major;
26 	DWORD  sv101_version_minor;
27 	DWORD  sv101_type;
28 	LPWSTR sv101_comment;
29 }
30 alias SERVER_INFO_101* PSERVER_INFO_101, LPSERVER_INFO_101;
31 
32 struct SERVER_INFO_102 {
33 	DWORD  sv102_platform_id;
34 	LPWSTR sv102_name;
35 	DWORD  sv102_version_major;
36 	DWORD  sv102_version_minor;
37 	DWORD  sv102_type;
38 	LPWSTR sv102_comment;
39 	DWORD  sv102_users;
40 	LONG   sv102_disc;
41 	BOOL   sv102_hidden;
42 	DWORD  sv102_announce;
43 	DWORD  sv102_anndelta;
44 	DWORD  sv102_licenses;
45 	LPWSTR sv102_userpath;
46 }
47 alias SERVER_INFO_102* PSERVER_INFO_102, LPSERVER_INFO_102;
48 
49 struct SERVER_INFO_402 {
50 	DWORD  sv402_ulist_mtime;
51 	DWORD  sv402_glist_mtime;
52 	DWORD  sv402_alist_mtime;
53 	LPWSTR sv402_alerts;
54 	DWORD  sv402_security;
55 	DWORD  sv402_numadmin;
56 	DWORD  sv402_lanmask;
57 	LPWSTR sv402_guestacct;
58 	DWORD  sv402_chdevs;
59 	DWORD  sv402_chdevq;
60 	DWORD  sv402_chdevjobs;
61 	DWORD  sv402_connections;
62 	DWORD  sv402_shares;
63 	DWORD  sv402_openfiles;
64 	DWORD  sv402_sessopens;
65 	DWORD  sv402_sessvcs;
66 	DWORD  sv402_sessreqs;
67 	DWORD  sv402_opensearch;
68 	DWORD  sv402_activelocks;
69 	DWORD  sv402_numreqbuf;
70 	DWORD  sv402_sizreqbuf;
71 	DWORD  sv402_numbigbuf;
72 	DWORD  sv402_numfiletasks;
73 	DWORD  sv402_alertsched;
74 	DWORD  sv402_erroralert;
75 	DWORD  sv402_logonalert;
76 	DWORD  sv402_accessalert;
77 	DWORD  sv402_diskalert;
78 	DWORD  sv402_netioalert;
79 	DWORD  sv402_maxauditsz;
80 	LPWSTR sv402_srvheuristics;
81 }
82 alias SERVER_INFO_402* PSERVER_INFO_402, LPSERVER_INFO_402;
83 
84 struct SERVER_INFO_403 {
85 	DWORD  sv403_ulist_mtime;
86 	DWORD  sv403_glist_mtime;
87 	DWORD  sv403_alist_mtime;
88 	LPWSTR sv403_alerts;
89 	DWORD  sv403_security;
90 	DWORD  sv403_numadmin;
91 	DWORD  sv403_lanmask;
92 	LPWSTR sv403_guestacct;
93 	DWORD  sv403_chdevs;
94 	DWORD  sv403_chdevq;
95 	DWORD  sv403_chdevjobs;
96 	DWORD  sv403_connections;
97 	DWORD  sv403_shares;
98 	DWORD  sv403_openfiles;
99 	DWORD  sv403_sessopens;
100 	DWORD  sv403_sessvcs;
101 	DWORD  sv403_sessreqs;
102 	DWORD  sv403_opensearch;
103 	DWORD  sv403_activelocks;
104 	DWORD  sv403_numreqbuf;
105 	DWORD  sv403_sizreqbuf;
106 	DWORD  sv403_numbigbuf;
107 	DWORD  sv403_numfiletasks;
108 	DWORD  sv403_alertsched;
109 	DWORD  sv403_erroralert;
110 	DWORD  sv403_logonalert;
111 	DWORD  sv403_accessalert;
112 	DWORD  sv403_diskalert;
113 	DWORD  sv403_netioalert;
114 	DWORD  sv403_maxauditsz;
115 	LPWSTR sv403_srvheuristics;
116 	DWORD  sv403_auditedevents;
117 	DWORD  sv403_autoprofile;
118 	LPWSTR sv403_autopath;
119 }
120 alias SERVER_INFO_403* PSERVER_INFO_403, LPSERVER_INFO_403;
121 
122 struct SERVER_INFO_502 {
123 	DWORD sv502_sessopens;
124 	DWORD sv502_sessvcs;
125 	DWORD sv502_opensearch;
126 	DWORD sv502_sizreqbuf;
127 	DWORD sv502_initworkitems;
128 	DWORD sv502_maxworkitems;
129 	DWORD sv502_rawworkitems;
130 	DWORD sv502_irpstacksize;
131 	DWORD sv502_maxrawbuflen;
132 	DWORD sv502_sessusers;
133 	DWORD sv502_sessconns;
134 	DWORD sv502_maxpagedmemoryusage;
135 	DWORD sv502_maxnonpagedmemoryusage;
136 	BOOL  sv502_enablesoftcompat;
137 	BOOL  sv502_enableforcedlogoff;
138 	BOOL  sv502_timesource;
139 	BOOL  sv502_acceptdownlevelapis;
140 	BOOL  sv502_lmannounce;
141 }
142 alias SERVER_INFO_502* PSERVER_INFO_502, LPSERVER_INFO_502;
143 
144 struct SERVER_INFO_503 {
145 	DWORD  sv503_sessopens;
146 	DWORD  sv503_sessvcs;
147 	DWORD  sv503_opensearch;
148 	DWORD  sv503_sizreqbuf;
149 	DWORD  sv503_initworkitems;
150 	DWORD  sv503_maxworkitems;
151 	DWORD  sv503_rawworkitems;
152 	DWORD  sv503_irpstacksize;
153 	DWORD  sv503_maxrawbuflen;
154 	DWORD  sv503_sessusers;
155 	DWORD  sv503_sessconns;
156 	DWORD  sv503_maxpagedmemoryusage;
157 	DWORD  sv503_maxnonpagedmemoryusage;
158 	BOOL   sv503_enablesoftcompat;
159 	BOOL   sv503_enableforcedlogoff;
160 	BOOL   sv503_timesource;
161 	BOOL   sv503_acceptdownlevelapis;
162 	BOOL   sv503_lmannounce;
163 	LPWSTR sv503_domain;
164 	DWORD  sv503_maxcopyreadlen;
165 	DWORD  sv503_maxcopywritelen;
166 	DWORD  sv503_minkeepsearch;
167 	DWORD  sv503_maxkeepsearch;
168 	DWORD  sv503_minkeepcomplsearch;
169 	DWORD  sv503_maxkeepcomplsearch;
170 	DWORD  sv503_threadcountadd;
171 	DWORD  sv503_numblockthreads;
172 	DWORD  sv503_scavtimeout;
173 	DWORD  sv503_minrcvqueue;
174 	DWORD  sv503_minfreeworkitems;
175 	DWORD  sv503_xactmemsize;
176 	DWORD  sv503_threadpriority;
177 	DWORD  sv503_maxmpxct;
178 	DWORD  sv503_oplockbreakwait;
179 	DWORD  sv503_oplockbreakresponsewait;
180 	BOOL   sv503_enableoplocks;
181 	BOOL   sv503_enableoplockforceclose;
182 	BOOL   sv503_enablefcbopens;
183 	BOOL   sv503_enableraw;
184 	BOOL   sv503_enablesharednetdrives;
185 	DWORD  sv503_minfreeconnections;
186 	DWORD  sv503_maxfreeconnections;
187 }
188 alias SERVER_INFO_503* PSERVER_INFO_503, LPSERVER_INFO_503;
189 
190 struct SERVER_INFO_599 {
191 	DWORD  sv599_sessopens;
192 	DWORD  sv599_sessvcs;
193 	DWORD  sv599_opensearch;
194 	DWORD  sv599_sizreqbuf;
195 	DWORD  sv599_initworkitems;
196 	DWORD  sv599_maxworkitems;
197 	DWORD  sv599_rawworkitems;
198 	DWORD  sv599_irpstacksize;
199 	DWORD  sv599_maxrawbuflen;
200 	DWORD  sv599_sessusers;
201 	DWORD  sv599_sessconns;
202 	DWORD  sv599_maxpagedmemoryusage;
203 	DWORD  sv599_maxnonpagedmemoryusage;
204 	BOOL   sv599_enablesoftcompat;
205 	BOOL   sv599_enableforcedlogoff;
206 	BOOL   sv599_timesource;
207 	BOOL   sv599_acceptdownlevelapis;
208 	BOOL   sv599_lmannounce;
209 	LPWSTR sv599_domain;
210 	DWORD  sv599_maxcopyreadlen;
211 	DWORD  sv599_maxcopywritelen;
212 	DWORD  sv599_minkeepsearch;
213 	DWORD  sv599_maxkeepsearch;
214 	DWORD  sv599_minkeepcomplsearch;
215 	DWORD  sv599_maxkeepcomplsearch;
216 	DWORD  sv599_threadcountadd;
217 	DWORD  sv599_numblockthreads;
218 	DWORD  sv599_scavtimeout;
219 	DWORD  sv599_minrcvqueue;
220 	DWORD  sv599_minfreeworkitems;
221 	DWORD  sv599_xactmemsize;
222 	DWORD  sv599_threadpriority;
223 	DWORD  sv599_maxmpxct;
224 	DWORD  sv599_oplockbreakwait;
225 	DWORD  sv599_oplockbreakresponsewait;
226 	BOOL   sv599_enableoplocks;
227 	BOOL   sv599_enableoplockforceclose;
228 	BOOL   sv599_enablefcbopens;
229 	BOOL   sv599_enableraw;
230 	BOOL   sv599_enablesharednetdrives;
231 	DWORD  sv599_minfreeconnections;
232 	DWORD  sv599_maxfreeconnections;
233 	DWORD  sv599_initsesstable;
234 	DWORD  sv599_initconntable;
235 	DWORD  sv599_initfiletable;
236 	DWORD  sv599_initsearchtable;
237 	DWORD  sv599_alertschedule;
238 	DWORD  sv599_errorthreshold;
239 	DWORD  sv599_networkerrorthreshold;
240 	DWORD  sv599_diskspacethreshold;
241 	DWORD  sv599_reserved;
242 	DWORD  sv599_maxlinkdelay;
243 	DWORD  sv599_minlinkthroughput;
244 	DWORD  sv599_linkinfovalidtime;
245 	DWORD  sv599_scavqosinfoupdatetime;
246 	DWORD  sv599_maxworkitemidletime;
247 }
248 alias SERVER_INFO_599* PSERVER_INFO_599, LPSERVER_INFO_599;
249 
250 struct SERVER_INFO_598 {
251 	DWORD sv598_maxrawworkitems;
252 	DWORD sv598_maxthreadsperqueue;
253 	DWORD sv598_producttype;
254 	DWORD sv598_serversize;
255 	DWORD sv598_connectionlessautodisc;
256 	DWORD sv598_sharingviolationretries;
257 	DWORD sv598_sharingviolationdelay;
258 	DWORD sv598_maxglobalopensearch;
259 	DWORD sv598_removeduplicatesearches;
260 	DWORD sv598_lockviolationoffset;
261 	DWORD sv598_lockviolationdelay;
262 	DWORD sv598_mdlreadswitchover;
263 	DWORD sv598_cachedopenlimit;
264 	DWORD sv598_otherqueueaffinity;
265 	BOOL  sv598_restrictnullsessaccess;
266 	BOOL  sv598_enablewfw311directipx;
267 	DWORD sv598_queuesamplesecs;
268 	DWORD sv598_balancecount;
269 	DWORD sv598_preferredaffinity;
270 	DWORD sv598_maxfreerfcbs;
271 	DWORD sv598_maxfreemfcbs;
272 	DWORD sv598_maxfreelfcbs;
273 	DWORD sv598_maxfreepagedpoolchunks;
274 	DWORD sv598_minpagedpoolchunksize;
275 	DWORD sv598_maxpagedpoolchunksize;
276 	BOOL  sv598_sendsfrompreferredprocessor;
277 }
278 alias SERVER_INFO_598* PSERVER_INFO_598, LPSERVER_INFO_598;
279 
280 struct SERVER_INFO_1005 {
281 	LPWSTR sv1005_comment;
282 }
283 alias SERVER_INFO_1005* PSERVER_INFO_1005, LPSERVER_INFO_1005;
284 
285 struct SERVER_INFO_1107 {
286 	DWORD sv1107_users;
287 }
288 alias SERVER_INFO_1107* PSERVER_INFO_1107, LPSERVER_INFO_1107;
289 
290 struct SERVER_INFO_1010 {
291 	LONG sv1010_disc;
292 }
293 alias SERVER_INFO_1010* PSERVER_INFO_1010, LPSERVER_INFO_1010;
294 
295 struct SERVER_INFO_1016 {
296 	BOOL sv1016_hidden;
297 }
298 alias SERVER_INFO_1016* PSERVER_INFO_1016, LPSERVER_INFO_1016;
299 
300 struct SERVER_INFO_1017 {
301 	DWORD sv1017_announce;
302 }
303 alias SERVER_INFO_1017* PSERVER_INFO_1017, LPSERVER_INFO_1017;
304 
305 struct SERVER_INFO_1018 {
306 	DWORD sv1018_anndelta;
307 }
308 alias SERVER_INFO_1018* PSERVER_INFO_1018, LPSERVER_INFO_1018;
309 
310 struct SERVER_INFO_1501 {
311 	DWORD sv1501_sessopens;
312 }
313 alias SERVER_INFO_1501* PSERVER_INFO_1501, LPSERVER_INFO_1501;
314 
315 struct SERVER_INFO_1502 {
316 	DWORD sv1502_sessvcs;
317 }
318 alias SERVER_INFO_1502* PSERVER_INFO_1502, LPSERVER_INFO_1502;
319 
320 struct SERVER_INFO_1503 {
321 	DWORD sv1503_opensearch;
322 }
323 alias SERVER_INFO_1503* PSERVER_INFO_1503, LPSERVER_INFO_1503;
324 
325 struct SERVER_INFO_1506 {
326 	DWORD sv1506_maxworkitems;
327 }
328 alias SERVER_INFO_1506* PSERVER_INFO_1506, LPSERVER_INFO_1506;
329 
330 struct SERVER_INFO_1509 {
331 	DWORD sv1509_maxrawbuflen;
332 }
333 alias SERVER_INFO_1509* PSERVER_INFO_1509, LPSERVER_INFO_1509;
334 
335 struct SERVER_INFO_1510 {
336 	DWORD sv1510_sessusers;
337 }
338 alias SERVER_INFO_1510* PSERVER_INFO_1510, LPSERVER_INFO_1510;
339 
340 struct SERVER_INFO_1511 {
341 	DWORD sv1511_sessconns;
342 } alias SERVER_INFO_1511* PSERVER_INFO_1511, LPSERVER_INFO_1511;
343 
344 struct SERVER_INFO_1512 {
345 	DWORD sv1512_maxnonpagedmemoryusage;
346 }
347 alias SERVER_INFO_1512* PSERVER_INFO_1512, LPSERVER_INFO_1512;
348 
349 struct SERVER_INFO_1513 {
350 	DWORD sv1513_maxpagedmemoryusage;
351 }
352 alias SERVER_INFO_1513* PSERVER_INFO_1513, LPSERVER_INFO_1513;
353 
354 struct SERVER_INFO_1514 {
355 	BOOL sv1514_enablesoftcompat;
356 }
357 alias SERVER_INFO_1514* PSERVER_INFO_1514, LPSERVER_INFO_1514;
358 
359 struct SERVER_INFO_1515 {
360 	BOOL sv1515_enableforcedlogoff;
361 }
362 alias SERVER_INFO_1515* PSERVER_INFO_1515, LPSERVER_INFO_1515;
363 
364 struct SERVER_INFO_1516 {
365 	BOOL sv1516_timesource;
366 }
367 alias SERVER_INFO_1516* PSERVER_INFO_1516, LPSERVER_INFO_1516;
368 
369 struct SERVER_INFO_1518 {
370 	BOOL sv1518_lmannounce;
371 }
372 alias SERVER_INFO_1518* PSERVER_INFO_1518, LPSERVER_INFO_1518;
373 
374 struct SERVER_INFO_1520 {
375 	DWORD sv1520_maxcopyreadlen;
376 }
377 alias SERVER_INFO_1520* PSERVER_INFO_1520, LPSERVER_INFO_1520;
378 
379 struct SERVER_INFO_1521 {
380 	DWORD sv1521_maxcopywritelen;
381 }
382 alias SERVER_INFO_1521* PSERVER_INFO_1521, LPSERVER_INFO_1521;
383 
384 struct SERVER_INFO_1522 {
385 	DWORD sv1522_minkeepsearch;
386 }
387 alias SERVER_INFO_1522* PSERVER_INFO_1522, LPSERVER_INFO_1522;
388 
389 struct SERVER_INFO_1523 {
390 	DWORD sv1523_maxkeepsearch;
391 }
392 alias SERVER_INFO_1523* PSERVER_INFO_1523, LPSERVER_INFO_1523;
393 
394 struct SERVER_INFO_1524 {
395 	DWORD sv1524_minkeepcomplsearch;
396 }
397 alias SERVER_INFO_1524* PSERVER_INFO_1524, LPSERVER_INFO_1524;
398 
399 struct SERVER_INFO_1525 {
400 	DWORD sv1525_maxkeepcomplsearch;
401 }
402 alias SERVER_INFO_1525* PSERVER_INFO_1525, LPSERVER_INFO_1525;
403 
404 struct SERVER_INFO_1528 {
405 	DWORD sv1528_scavtimeout;
406 }
407 alias SERVER_INFO_1528* PSERVER_INFO_1528, LPSERVER_INFO_1528;
408 
409 struct SERVER_INFO_1529 {
410 	DWORD sv1529_minrcvqueue;
411 }
412 alias SERVER_INFO_1529* PSERVER_INFO_1529, LPSERVER_INFO_1529;
413 
414 struct SERVER_INFO_1530 {
415 	DWORD sv1530_minfreeworkitems;
416 }
417 alias SERVER_INFO_1530* PSERVER_INFO_1530, LPSERVER_INFO_1530;
418 
419 struct SERVER_INFO_1533 {
420 	DWORD sv1533_maxmpxct;
421 }
422 alias SERVER_INFO_1533* PSERVER_INFO_1533, LPSERVER_INFO_1533;
423 
424 struct SERVER_INFO_1534 {
425 	DWORD sv1534_oplockbreakwait;
426 }
427 alias SERVER_INFO_1534* PSERVER_INFO_1534, LPSERVER_INFO_1534;
428 
429 struct SERVER_INFO_1535 {
430 	DWORD sv1535_oplockbreakresponsewait;
431 }
432 alias SERVER_INFO_1535* PSERVER_INFO_1535, LPSERVER_INFO_1535;
433 
434 struct SERVER_INFO_1536 {
435 	BOOL sv1536_enableoplocks;
436 }
437 alias SERVER_INFO_1536* PSERVER_INFO_1536, LPSERVER_INFO_1536;
438 
439 struct SERVER_INFO_1537 {
440 	BOOL sv1537_enableoplockforceclose;
441 }
442 alias SERVER_INFO_1537* PSERVER_INFO_1537, LPSERVER_INFO_1537;
443 
444 struct SERVER_INFO_1538 {
445 	BOOL sv1538_enablefcbopens;
446 }
447 alias SERVER_INFO_1538* PSERVER_INFO_1538, LPSERVER_INFO_1538;
448 
449 struct SERVER_INFO_1539 {
450 	BOOL sv1539_enableraw;
451 }
452 alias SERVER_INFO_1539* PSERVER_INFO_1539, LPSERVER_INFO_1539;
453 
454 struct SERVER_INFO_1540 {
455 	BOOL sv1540_enablesharednetdrives;
456 }
457 alias SERVER_INFO_1540* PSERVER_INFO_1540, LPSERVER_INFO_1540;
458 
459 struct SERVER_INFO_1541 {
460 	BOOL sv1541_minfreeconnections;
461 }
462 alias SERVER_INFO_1541* PSERVER_INFO_1541, LPSERVER_INFO_1541;
463 
464 struct SERVER_INFO_1542 {
465 	BOOL sv1542_maxfreeconnections;
466 }
467 alias SERVER_INFO_1542* PSERVER_INFO_1542, LPSERVER_INFO_1542;
468 
469 struct SERVER_INFO_1543 {
470 	DWORD sv1543_initsesstable;
471 }
472 alias SERVER_INFO_1543* PSERVER_INFO_1543, LPSERVER_INFO_1543;
473 
474 struct SERVER_INFO_1544 {
475 	DWORD sv1544_initconntable;
476 }
477 alias SERVER_INFO_1544* PSERVER_INFO_1544, LPSERVER_INFO_1544;
478 
479 struct SERVER_INFO_1545 {
480 	DWORD sv1545_initfiletable;
481 }
482 alias SERVER_INFO_1545* PSERVER_INFO_1545, LPSERVER_INFO_1545;
483 
484 struct SERVER_INFO_1546 {
485 	DWORD sv1546_initsearchtable;
486 }
487 alias SERVER_INFO_1546* PSERVER_INFO_1546, LPSERVER_INFO_1546;
488 
489 struct SERVER_INFO_1547 {
490 	DWORD sv1547_alertschedule;
491 }
492 alias SERVER_INFO_1547* PSERVER_INFO_1547, LPSERVER_INFO_1547;
493 
494 struct SERVER_INFO_1548 {
495 	DWORD sv1548_errorthreshold;
496 }
497 alias SERVER_INFO_1548* PSERVER_INFO_1548, LPSERVER_INFO_1548;
498 
499 struct SERVER_INFO_1549 {
500 	DWORD sv1549_networkerrorthreshold;
501 }
502 alias SERVER_INFO_1549* PSERVER_INFO_1549, LPSERVER_INFO_1549;
503 
504 struct SERVER_INFO_1550 {
505 	DWORD sv1550_diskspacethreshold;
506 }
507 alias SERVER_INFO_1550* PSERVER_INFO_1550, LPSERVER_INFO_1550;
508 
509 struct SERVER_INFO_1552 {
510 	DWORD sv1552_maxlinkdelay;
511 }
512 alias SERVER_INFO_1552* PSERVER_INFO_1552, LPSERVER_INFO_1552;
513 
514 struct SERVER_INFO_1553 {
515 	DWORD sv1553_minlinkthroughput;
516 }
517 alias SERVER_INFO_1553* PSERVER_INFO_1553, LPSERVER_INFO_1553;
518 
519 struct SERVER_INFO_1554 {
520 	DWORD sv1554_linkinfovalidtime;
521 }
522 alias SERVER_INFO_1554* PSERVER_INFO_1554, LPSERVER_INFO_1554;
523 
524 struct SERVER_INFO_1555 {
525 	DWORD sv1555_scavqosinfoupdatetime;
526 }
527 alias SERVER_INFO_1555* PSERVER_INFO_1555, LPSERVER_INFO_1555;
528 
529 struct SERVER_INFO_1556 {
530 	DWORD sv1556_maxworkitemidletime;
531 }
532 alias SERVER_INFO_1556* PSERVER_INFO_1556, LPSERVER_INFO_1556;
533 
534 struct SERVER_INFO_1557 {
535 	DWORD sv1557_maxrawworkitems;
536 }
537 alias SERVER_INFO_1557* PSERVER_INFO_1557, LPSERVER_INFO_1557;
538 
539 struct SERVER_INFO_1560 {
540 	DWORD sv1560_producttype;
541 }
542 alias SERVER_INFO_1560* PSERVER_INFO_1560, LPSERVER_INFO_1560;
543 
544 struct SERVER_INFO_1561 {
545 	DWORD sv1561_serversize;
546 }
547 alias SERVER_INFO_1561* PSERVER_INFO_1561, LPSERVER_INFO_1561;
548 
549 struct SERVER_INFO_1562 {
550 	DWORD sv1562_connectionlessautodisc;
551 }
552 alias SERVER_INFO_1562* PSERVER_INFO_1562, LPSERVER_INFO_1562;
553 
554 struct SERVER_INFO_1563 {
555 	DWORD sv1563_sharingviolationretries;
556 }
557 alias SERVER_INFO_1563* PSERVER_INFO_1563, LPSERVER_INFO_1563;
558 
559 struct SERVER_INFO_1564 {
560 	DWORD sv1564_sharingviolationdelay;
561 }
562 alias SERVER_INFO_1564* PSERVER_INFO_1564, LPSERVER_INFO_1564;
563 
564 struct SERVER_INFO_1565 {
565 	DWORD sv1565_maxglobalopensearch;
566 }
567 alias SERVER_INFO_1565* PSERVER_INFO_1565, LPSERVER_INFO_1565;
568 
569 struct SERVER_INFO_1566 {
570 	BOOL sv1566_removeduplicatesearches;
571 }
572 alias SERVER_INFO_1566* PSERVER_INFO_1566, LPSERVER_INFO_1566;
573 
574 struct SERVER_INFO_1567 {
575 	DWORD sv1567_lockviolationretries;
576 }
577 alias SERVER_INFO_1567* PSERVER_INFO_1567, LPSERVER_INFO_1567;
578 
579 struct SERVER_INFO_1568 {
580 	DWORD sv1568_lockviolationoffset;
581 }
582 alias SERVER_INFO_1568* PSERVER_INFO_1568, LPSERVER_INFO_1568;
583 
584 struct SERVER_INFO_1569 {
585 	DWORD sv1569_lockviolationdelay;
586 }
587 alias SERVER_INFO_1569* PSERVER_INFO_1569, LPSERVER_INFO_1569;
588 
589 struct SERVER_INFO_1570 {
590 	DWORD sv1570_mdlreadswitchover;
591 }
592 alias SERVER_INFO_1570* PSERVER_INFO_1570, LPSERVER_INFO_1570;
593 
594 struct SERVER_INFO_1571 {
595 	DWORD sv1571_cachedopenlimit;
596 }
597 alias SERVER_INFO_1571* PSERVER_INFO_1571, LPSERVER_INFO_1571;
598 
599 struct SERVER_INFO_1572 {
600 	DWORD sv1572_criticalthreads;
601 }
602 alias SERVER_INFO_1572* PSERVER_INFO_1572, LPSERVER_INFO_1572;
603 
604 struct SERVER_INFO_1573 {
605 	DWORD sv1573_restrictnullsessaccess;
606 }
607 alias SERVER_INFO_1573* PSERVER_INFO_1573, LPSERVER_INFO_1573;
608 
609 struct SERVER_INFO_1574 {
610 	DWORD sv1574_enablewfw311directipx;
611 }
612 alias SERVER_INFO_1574* PSERVER_INFO_1574, LPSERVER_INFO_1574;
613 
614 struct SERVER_INFO_1575 {
615 	DWORD sv1575_otherqueueaffinity;
616 }
617 alias SERVER_INFO_1575* PSERVER_INFO_1575, LPSERVER_INFO_1575;
618 
619 struct SERVER_INFO_1576 {
620 	DWORD sv1576_queuesamplesecs;
621 }
622 alias SERVER_INFO_1576* PSERVER_INFO_1576, LPSERVER_INFO_1576;
623 
624 struct SERVER_INFO_1577 {
625 	DWORD sv1577_balancecount;
626 }
627 alias SERVER_INFO_1577* PSERVER_INFO_1577, LPSERVER_INFO_1577;
628 
629 struct SERVER_INFO_1578 {
630 	DWORD sv1578_preferredaffinity;
631 }
632 alias SERVER_INFO_1578* PSERVER_INFO_1578, LPSERVER_INFO_1578;
633 
634 struct SERVER_INFO_1579 {
635 	DWORD sv1579_maxfreerfcbs;
636 }
637 alias SERVER_INFO_1579* PSERVER_INFO_1579, LPSERVER_INFO_1579;
638 
639 struct SERVER_INFO_1580 {
640 	DWORD sv1580_maxfreemfcbs;
641 }
642 alias SERVER_INFO_1580* PSERVER_INFO_1580, LPSERVER_INFO_1580;
643 
644 struct SERVER_INFO_1581 {
645 	DWORD sv1581_maxfreemlcbs;
646 }
647 alias SERVER_INFO_1581* PSERVER_INFO_1581, LPSERVER_INFO_1581;
648 
649 struct SERVER_INFO_1582 {
650 	DWORD sv1582_maxfreepagedpoolchunks;
651 }
652 alias SERVER_INFO_1582* PSERVER_INFO_1582, LPSERVER_INFO_1582;
653 
654 struct SERVER_INFO_1583 {
655 	DWORD sv1583_minpagedpoolchunksize;
656 }
657 alias SERVER_INFO_1583* PSERVER_INFO_1583, LPSERVER_INFO_1583;
658 
659 struct SERVER_INFO_1584 {
660 	DWORD sv1584_maxpagedpoolchunksize;
661 }
662 alias SERVER_INFO_1584* PSERVER_INFO_1584, LPSERVER_INFO_1584;
663 
664 struct SERVER_INFO_1585 {
665 	BOOL sv1585_sendsfrompreferredprocessor;
666 }
667 alias SERVER_INFO_1585* PSERVER_INFO_1585, LPSERVER_INFO_1585;
668 
669 struct SERVER_INFO_1586 {
670 	BOOL sv1586_maxthreadsperqueue;
671 }
672 alias SERVER_INFO_1586* PSERVER_INFO_1586, LPSERVER_INFO_1586;
673 
674 struct SERVER_TRANSPORT_INFO_0 {
675 	DWORD  svti0_numberofvcs;
676 	LPWSTR svti0_transportname;
677 	PBYTE  svti0_transportaddress;
678 	DWORD  svti0_transportaddresslength;
679 	LPWSTR svti0_networkaddress;
680 }
681 alias SERVER_TRANSPORT_INFO_0* PSERVER_TRANSPORT_INFO_0,
682   LPSERVER_TRANSPORT_INFO_0;
683 
684 extern (Windows):
685 NET_API_STATUS NetServerEnum(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,DWORD,LPCWSTR,PDWORD);
686 NET_API_STATUS NetServerEnumEx(LPCWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,DWORD,LPCWSTR,LPCWSTR);
687 NET_API_STATUS NetServerGetInfo(LPWSTR,DWORD,PBYTE*);
688 NET_API_STATUS NetServerSetInfo(LPWSTR,DWORD,PBYTE,PDWORD);
689 NET_API_STATUS NetServerSetInfoCommandLine(WORD,LPWSTR*);
690 NET_API_STATUS NetServerDiskEnum(LPWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
691 NET_API_STATUS NetServerComputerNameAdd(LPWSTR,LPWSTR,LPWSTR);
692 NET_API_STATUS NetServerComputerNameDel(LPWSTR,LPWSTR);
693 NET_API_STATUS NetServerTransportAdd(LPWSTR,DWORD,PBYTE);
694 NET_API_STATUS NetServerTransportAddEx(LPWSTR,DWORD,PBYTE);
695 NET_API_STATUS NetServerTransportDel(LPWSTR,DWORD,PBYTE);
696 NET_API_STATUS NetServerTransportEnum(LPWSTR,DWORD,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
697 BOOL SetServiceBits(SERVICE_STATUS_HANDLE,DWORD,BOOL,BOOL);
698 
699 const SVI1_NUM_ELEMENTS=5;
700 const SVI2_NUM_ELEMENTS=40;
701 const SVI3_NUM_ELEMENTS=44;
702 const SV_MAX_CMD_LEN=PATHLEN;
703 const SW_AUTOPROF_LOAD_MASK=1;
704 const SW_AUTOPROF_SAVE_MASK=2;
705 const SV_MAX_SRV_HEUR_LEN=32;
706 const SV_USERS_PER_LICENSE=5;
707 const SV_PLATFORM_ID_OS2=400;
708 const SV_PLATFORM_ID_NT=500;
709 const MAJOR_VERSION_MASK=15;
710 const SV_TYPE_WORKSTATION=1;
711 const SV_TYPE_SERVER=2;
712 const SV_TYPE_SQLSERVER=4;
713 const SV_TYPE_DOMAIN_CTRL=8;
714 const SV_TYPE_DOMAIN_BAKCTRL=16;
715 const SV_TYPE_TIME_SOURCE=32;
716 const SV_TYPE_AFP=64;
717 const SV_TYPE_NOVELL=128;
718 const SV_TYPE_DOMAIN_MEMBER=256;
719 const SV_TYPE_PRINTQ_SERVER=512;
720 const SV_TYPE_DIALIN_SERVER=1024;
721 const SV_TYPE_XENIX_SERVER=2048;
722 const SV_TYPE_SERVER_UNIX=SV_TYPE_XENIX_SERVER;
723 const SV_TYPE_NT=4096;
724 const SV_TYPE_WFW=8192;
725 const SV_TYPE_SERVER_MFPN=16384;
726 const SV_TYPE_SERVER_NT=32768;
727 const SV_TYPE_POTENTIAL_BROWSER=65536;
728 const SV_TYPE_BACKUP_BROWSER=0x20000;
729 const SV_TYPE_MASTER_BROWSER=0x40000;
730 const SV_TYPE_DOMAIN_MASTER=0x80000;
731 const SV_TYPE_SERVER_OSF=0x100000;
732 const SV_TYPE_SERVER_VMS=0x200000;
733 const SV_TYPE_WINDOWS=0x400000;
734 const SV_TYPE_ALTERNATE_XPORT=0x20000000;
735 const SV_TYPE_LOCAL_LIST_ONLY=0x40000000;
736 const SV_TYPE_DOMAIN_ENUM=0x80000000;
737 const SV_TYPE_ALL=0xFFFFFFFF;
738 const SV_NODISC=(-1);
739 const SV_USERSECURITY=1;
740 const SV_SHARESECURITY=0;
741 const SV_HIDDEN=1;
742 const SV_VISIBLE=0;
743 const SV_PLATFORM_ID_PARMNUM=101;
744 const SV_NAME_PARMNUM=102;
745 const SV_VERSION_MAJOR_PARMNUM=103;
746 const SV_VERSION_MINOR_PARMNUM=104;
747 const SV_TYPE_PARMNUM=105;
748 const SV_COMMENT_PARMNUM=5;
749 const SV_USERS_PARMNUM=107;
750 const SV_DISC_PARMNUM=10;
751 const SV_HIDDEN_PARMNUM=16;
752 const SV_ANNOUNCE_PARMNUM=17;
753 const SV_ANNDELTA_PARMNUM=18;
754 const SV_USERPATH_PARMNUM=112;
755 const SV_ULIST_MTIME_PARMNUM=401;
756 const SV_GLIST_MTIME_PARMNUM=402;
757 const SV_ALIST_MTIME_PARMNUM=403;
758 const SV_ALERTS_PARMNUM=11;
759 const SV_SECURITY_PARMNUM=405;
760 const SV_NUMADMIN_PARMNUM=406;
761 const SV_LANMASK_PARMNUM=407;
762 const SV_GUESTACC_PARMNUM=408;
763 const SV_CHDEVQ_PARMNUM=410;
764 const SV_CHDEVJOBS_PARMNUM=411;
765 const SV_CONNECTIONS_PARMNUM=412;
766 const SV_SHARES_PARMNUM=413;
767 const SV_OPENFILES_PARMNUM=414;
768 const SV_SESSREQS_PARMNUM=417;
769 const SV_ACTIVELOCKS_PARMNUM=419;
770 const SV_NUMREQBUF_PARMNUM=420;
771 const SV_NUMBIGBUF_PARMNUM=422;
772 const SV_NUMFILETASKS_PARMNUM=423;
773 const SV_ALERTSCHED_PARMNUM=37;
774 const SV_ERRORALERT_PARMNUM=38;
775 const SV_LOGONALERT_PARMNUM=39;
776 const SV_ACCESSALERT_PARMNUM=40;
777 const SV_DISKALERT_PARMNUM=41;
778 const SV_NETIOALERT_PARMNUM=42;
779 const SV_MAXAUDITSZ_PARMNUM=43;
780 const SV_SRVHEURISTICS_PARMNUM=431;
781 const SV_SESSOPENS_PARMNUM=501;
782 const SV_SESSVCS_PARMNUM=502;
783 const SV_OPENSEARCH_PARMNUM=503;
784 const SV_SIZREQBUF_PARMNUM=504;
785 const SV_INITWORKITEMS_PARMNUM=505;
786 const SV_MAXWORKITEMS_PARMNUM=506;
787 const SV_RAWWORKITEMS_PARMNUM=507;
788 const SV_IRPSTACKSIZE_PARMNUM=508;
789 const SV_MAXRAWBUFLEN_PARMNUM=509;
790 const SV_SESSUSERS_PARMNUM=510;
791 const SV_SESSCONNS_PARMNUM=511;
792 const SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM=512;
793 const SV_MAXPAGEDMEMORYUSAGE_PARMNUM=513;
794 const SV_ENABLESOFTCOMPAT_PARMNUM=514;
795 const SV_ENABLEFORCEDLOGOFF_PARMNUM=515;
796 const SV_TIMESOURCE_PARMNUM=516;
797 const SV_ACCEPTDOWNLEVELAPIS_PARMNUM=517;
798 const SV_LMANNOUNCE_PARMNUM=518;
799 const SV_DOMAIN_PARMNUM=519;
800 const SV_MAXCOPYREADLEN_PARMNUM=520;
801 const SV_MAXCOPYWRITELEN_PARMNUM=521;
802 const SV_MINKEEPSEARCH_PARMNUM=522;
803 const SV_MAXKEEPSEARCH_PARMNUM=523;
804 const SV_MINKEEPCOMPLSEARCH_PARMNUM=524;
805 const SV_MAXKEEPCOMPLSEARCH_PARMNUM=525;
806 const SV_THREADCOUNTADD_PARMNUM=526;
807 const SV_NUMBLOCKTHREADS_PARMNUM=527;
808 const SV_SCAVTIMEOUT_PARMNUM=528;
809 const SV_MINRCVQUEUE_PARMNUM=529;
810 const SV_MINFREEWORKITEMS_PARMNUM=530;
811 const SV_XACTMEMSIZE_PARMNUM=531;
812 const SV_THREADPRIORITY_PARMNUM=532;
813 const SV_MAXMPXCT_PARMNUM=533;
814 const SV_OPLOCKBREAKWAIT_PARMNUM=534;
815 const SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM=535;
816 const SV_ENABLEOPLOCKS_PARMNUM=536;
817 const SV_ENABLEOPLOCKFORCECLOSE_PARMNUM=537;
818 const SV_ENABLEFCBOPENS_PARMNUM=538;
819 const SV_ENABLERAW_PARMNUM=539;
820 const SV_ENABLESHAREDNETDRIVES_PARMNUM=540;
821 const SV_MINFREECONNECTIONS_PARMNUM=541;
822 const SV_MAXFREECONNECTIONS_PARMNUM=542;
823 const SV_INITSESSTABLE_PARMNUM=543;
824 const SV_INITCONNTABLE_PARMNUM=544;
825 const SV_INITFILETABLE_PARMNUM=545;
826 const SV_INITSEARCHTABLE_PARMNUM=546;
827 const SV_ALERTSCHEDULE_PARMNUM=547;
828 const SV_ERRORTHRESHOLD_PARMNUM=548;
829 const SV_NETWORKERRORTHRESHOLD_PARMNUM=549;
830 const SV_DISKSPACETHRESHOLD_PARMNUM=550;
831 const SV_MAXLINKDELAY_PARMNUM=552;
832 const SV_MINLINKTHROUGHPUT_PARMNUM=553;
833 const SV_LINKINFOVALIDTIME_PARMNUM=554;
834 const SV_SCAVQOSINFOUPDATETIME_PARMNUM=555;
835 const SV_MAXWORKITEMIDLETIME_PARMNUM=556;
836 const SV_MAXRAWWORKITEMS_PARMNUM=557;
837 const SV_PRODUCTTYPE_PARMNUM=560;
838 const SV_SERVERSIZE_PARMNUM=561;
839 const SV_CONNECTIONLESSAUTODISC_PARMNUM=562;
840 const SV_SHARINGVIOLATIONRETRIES_PARMNUM=563;
841 const SV_SHARINGVIOLATIONDELAY_PARMNUM=564;
842 const SV_MAXGLOBALOPENSEARCH_PARMNUM=565;
843 const SV_REMOVEDUPLICATESEARCHES_PARMNUM=566;
844 const SV_LOCKVIOLATIONRETRIES_PARMNUM=567;
845 const SV_LOCKVIOLATIONOFFSET_PARMNUM=568;
846 const SV_LOCKVIOLATIONDELAY_PARMNUM=569;
847 const SV_MDLREADSWITCHOVER_PARMNUM=570;
848 const SV_CACHEDOPENLIMIT_PARMNUM=571;
849 const SV_CRITICALTHREADS_PARMNUM=572;
850 const SV_RESTRICTNULLSESSACCESS_PARMNUM=573;
851 const SV_ENABLEWFW311DIRECTIPX_PARMNUM=574;
852 const SV_OTHERQUEUEAFFINITY_PARMNUM=575;
853 const SV_QUEUESAMPLESECS_PARMNUM=576;
854 const SV_BALANCECOUNT_PARMNUM=577;
855 const SV_PREFERREDAFFINITY_PARMNUM=578;
856 const SV_MAXFREERFCBS_PARMNUM=579;
857 const SV_MAXFREEMFCBS_PARMNUM=580;
858 const SV_MAXFREELFCBS_PARMNUM=581;
859 const SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM=582;
860 const SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM=583;
861 const SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM=584;
862 const SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM=585;
863 const SV_MAXTHREADSPERQUEUE_PARMNUM=586;
864 const SV_COMMENT_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_COMMENT_PARMNUM);
865 const SV_USERS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_USERS_PARMNUM);
866 const SV_DISC_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_DISC_PARMNUM);
867 const SV_HIDDEN_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_HIDDEN_PARMNUM);
868 const SV_ANNOUNCE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ANNOUNCE_PARMNUM);
869 const SV_ANNDELTA_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ANNDELTA_PARMNUM);
870 const SV_SESSOPENS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_SESSOPENS_PARMNUM);
871 const SV_SESSVCS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_SESSVCS_PARMNUM);
872 const SV_OPENSEARCH_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_OPENSEARCH_PARMNUM);
873 const SV_MAXWORKITEMS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXWORKITEMS_PARMNUM);
874 const SV_MAXRAWBUFLEN_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXRAWBUFLEN_PARMNUM);
875 const SV_SESSUSERS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_SESSUSERS_PARMNUM);
876 const SV_SESSCONNS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_SESSCONNS_PARMNUM);
877 const SV_MAXNONPAGEDMEMORYUSAGE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM);
878 const SV_MAXPAGEDMEMORYUSAGE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXPAGEDMEMORYUSAGE_PARMNUM);
879 const SV_ENABLESOFTCOMPAT_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ENABLESOFTCOMPAT_PARMNUM);
880 const SV_ENABLEFORCEDLOGOFF_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ENABLEFORCEDLOGOFF_PARMNUM);
881 const SV_TIMESOURCE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_TIMESOURCE_PARMNUM);
882 const SV_LMANNOUNCE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_LMANNOUNCE_PARMNUM);
883 const SV_MAXCOPYREADLEN_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXCOPYREADLEN_PARMNUM);
884 const SV_MAXCOPYWRITELEN_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXCOPYWRITELEN_PARMNUM);
885 const SV_MINKEEPSEARCH_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MINKEEPSEARCH_PARMNUM);
886 const SV_MAXKEEPSEARCH_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXKEEPSEARCH_PARMNUM);
887 const SV_MINKEEPCOMPLSEARCH_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MINKEEPCOMPLSEARCH_PARMNUM);
888 const SV_MAXKEEPCOMPLSEARCH_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXKEEPCOMPLSEARCH_PARMNUM);
889 const SV_SCAVTIMEOUT_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_SCAVTIMEOUT_PARMNUM);
890 const SV_MINRCVQUEUE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MINRCVQUEUE_PARMNUM);
891 const SV_MINFREEWORKITEMS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MINFREEWORKITEMS_PARMNUM);
892 const SV_MAXMPXCT_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXMPXCT_PARMNUM);
893 const SV_OPLOCKBREAKWAIT_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_OPLOCKBREAKWAIT_PARMNUM);
894 const SV_OPLOCKBREAKRESPONSEWAIT_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM);
895 const SV_ENABLEOPLOCKS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ENABLEOPLOCKS_PARMNUM);
896 const SV_ENABLEOPLOCKFORCECLOSE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ENABLEOPLOCKFORCECLOSE_PARMNUM);
897 const SV_ENABLEFCBOPENS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ENABLEFCBOPENS_PARMNUM);
898 const SV_ENABLERAW_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ENABLERAW_PARMNUM);
899 const SV_ENABLESHAREDNETDRIVES_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ENABLESHAREDNETDRIVES_PARMNUM);
900 const SV_MINFREECONNECTIONS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MINFREECONNECTIONS_PARMNUM);
901 const SV_MAXFREECONNECTIONS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXFREECONNECTIONS_PARMNUM);
902 const SV_INITSESSTABLE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_INITSESSTABLE_PARMNUM);
903 const SV_INITCONNTABLE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_INITCONNTABLE_PARMNUM);
904 const SV_INITFILETABLE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_INITFILETABLE_PARMNUM);
905 const SV_INITSEARCHTABLE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_INITSEARCHTABLE_PARMNUM);
906 const SV_ALERTSCHEDULE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ALERTSCHEDULE_PARMNUM);
907 const SV_ERRORTHRESHOLD_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ERRORTHRESHOLD_PARMNUM);
908 const SV_NETWORKERRORTHRESHOLD_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_NETWORKERRORTHRESHOLD_PARMNUM);
909 const SV_DISKSPACETHRESHOLD_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_DISKSPACETHRESHOLD_PARMNUM);
910 const SV_MAXLINKDELAY_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXLINKDELAY_PARMNUM);
911 const SV_MINLINKTHROUGHPUT_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MINLINKTHROUGHPUT_PARMNUM);
912 const SV_LINKINFOVALIDTIME_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_LINKINFOVALIDTIME_PARMNUM);
913 const SV_SCAVQOSINFOUPDATETIME_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_SCAVQOSINFOUPDATETIME_PARMNUM);
914 const SV_MAXWORKITEMIDLETIME_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXWORKITEMIDLETIME_PARMNUM);
915 const SV_MAXRAWWORKITEMS_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXRAWWORKITEMS_PARMNUM);
916 const SV_PRODUCTTYPE_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_PRODUCTTYPE_PARMNUM);
917 const SV_SERVERSIZE_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_SERVERSIZE_PARMNUM);
918 const SV_CONNECTIONLESSAUTODISC_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_CONNECTIONLESSAUTODISC_PARMNUM);
919 const SV_SHARINGVIOLATIONRETRIES_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_SHARINGVIOLATIONRETRIES_PARMNUM);
920 const SV_SHARINGVIOLATIONDELAY_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_SHARINGVIOLATIONDELAY_PARMNUM);
921 const SV_MAXGLOBALOPENSEARCH_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXGLOBALOPENSEARCH_PARMNUM);
922 const SV_REMOVEDUPLICATESEARCHES_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_REMOVEDUPLICATESEARCHES_PARMNUM);
923 const SV_LOCKVIOLATIONRETRIES_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_LOCKVIOLATIONRETRIES_PARMNUM);
924 const SV_LOCKVIOLATIONOFFSET_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_LOCKVIOLATIONOFFSET_PARMNUM);
925 const SV_LOCKVIOLATIONDELAY_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_LOCKVIOLATIONDELAY_PARMNUM);
926 const SV_MDLREADSWITCHOVER_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MDLREADSWITCHOVER_PARMNUM);
927 const SV_CACHEDOPENLIMIT_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_CACHEDOPENLIMIT_PARMNUM);
928 const SV_CRITICALTHREADS_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_CRITICALTHREADS_PARMNUM);
929 const SV_RESTRICTNULLSESSACCESS_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_RESTRICTNULLSESSACCESS_PARMNUM);
930 const SV_ENABLEWFW311DIRECTIPX_INFOLOEVEL=(PARMNUM_BASE_INFOLEVEL+SV_ENABLEWFW311DIRECTIPX_PARMNUM);
931 const SV_OTHERQUEUEAFFINITY_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_OTHERQUEUEAFFINITY_PARMNUM);
932 const SV_QUEUESAMPLESECS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_QUEUESAMPLESECS_PARMNUM);
933 const SV_BALANCECOUNT_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_BALANCECOUNT_PARMNUM);
934 const SV_PREFERREDAFFINITY_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_PREFERREDAFFINITY_PARMNUM);
935 const SV_MAXFREERFCBS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXFREERFCBS_PARMNUM);
936 const SV_MAXFREEMFCBS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXFREEMFCBS_PARMNUM);
937 const SV_MAXFREELFCBS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXFREELFCBS_PARMNUM);
938 const SV_MAXFREEPAGEDPOOLCHUNKS_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM);
939 const SV_MINPAGEDPOOLCHUNKSIZE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM);
940 const SV_MAXPAGEDPOOLCHUNKSIZE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM);
941 const SV_SENDSFROMPREFERREDPROCESSOR_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM);
942 const SV_MAXTHREADSPERQUEUE_INFOLEVEL=(PARMNUM_BASE_INFOLEVEL+SV_MAXTHREADSPERQUEUE_PARMNUM);