1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
6 //! This file contains information about NetServer APIs
7 use shared::guiddef::GUID;
8 use shared::lmcons::{LMCSTR, LMSTR, NET_API_STATUS, PARMNUM_BASE_INFOLEVEL, PATHLEN};
9 use shared::minwindef::{BOOL, BYTE, DWORD, LPBYTE, LPDWORD, ULONG};
10 use um::winnt::{BOOLEAN, LONG};
11 use um::winsvc::SERVICE_STATUS_HANDLE;
12 extern "system" {
NetServerEnum( servername: LMCSTR, level: DWORD, bufptr: *mut LPBYTE, prefmaxlen: DWORD, entriesread: LPDWORD, totalentries: LPDWORD, servertype: DWORD, domain: LMCSTR, resumehandle: LPDWORD, ) -> NET_API_STATUS13     pub fn NetServerEnum(
14         servername: LMCSTR,
15         level: DWORD,
16         bufptr: *mut LPBYTE,
17         prefmaxlen: DWORD,
18         entriesread: LPDWORD,
19         totalentries: LPDWORD,
20         servertype: DWORD,
21         domain: LMCSTR,
22         resumehandle: LPDWORD,
23     ) -> NET_API_STATUS;
NetServerEnumEx( servername: LMCSTR, level: DWORD, bufptr: *mut LPBYTE, prefmaxlen: DWORD, entriesread: LPDWORD, totalentries: LPDWORD, servertype: DWORD, domain: LMCSTR, FirstNameToReturn: LMCSTR, ) -> NET_API_STATUS24     pub fn NetServerEnumEx(
25         servername: LMCSTR,
26         level: DWORD,
27         bufptr: *mut LPBYTE,
28         prefmaxlen: DWORD,
29         entriesread: LPDWORD,
30         totalentries: LPDWORD,
31         servertype: DWORD,
32         domain: LMCSTR,
33         FirstNameToReturn: LMCSTR,
34     ) -> NET_API_STATUS;
NetServerGetInfo( servername: LMSTR, level: DWORD, bufptr: *mut LPBYTE, ) -> NET_API_STATUS35     pub fn NetServerGetInfo(
36         servername: LMSTR,
37         level: DWORD,
38         bufptr: *mut LPBYTE,
39     ) -> NET_API_STATUS;
NetServerSetInfo( servername: LMSTR, level: DWORD, buf: LPBYTE, ParmError: LPDWORD, ) -> NET_API_STATUS40     pub fn NetServerSetInfo(
41         servername: LMSTR,
42         level: DWORD,
43         buf: LPBYTE,
44         ParmError: LPDWORD,
45     ) -> NET_API_STATUS;
NetServerDiskEnum( servername: LMSTR, level: DWORD, bufptr: *mut LPBYTE, prefmaxlen: DWORD, entriesread: LPDWORD, totalentries: LPDWORD, resumehandle: LPDWORD, ) -> NET_API_STATUS46     pub fn NetServerDiskEnum(
47         servername: LMSTR,
48         level: DWORD,
49         bufptr: *mut LPBYTE,
50         prefmaxlen: DWORD,
51         entriesread: LPDWORD,
52         totalentries: LPDWORD,
53         resumehandle: LPDWORD,
54     ) -> NET_API_STATUS;
NetServerComputerNameAdd( ServerName: LMSTR, EmulatedDomainName: LMSTR, EmulatedServerName: LMSTR, ) -> NET_API_STATUS55     pub fn NetServerComputerNameAdd(
56         ServerName: LMSTR,
57         EmulatedDomainName: LMSTR,
58         EmulatedServerName: LMSTR,
59     ) -> NET_API_STATUS;
NetServerComputerNameDel( ServerName: LMSTR, EmulatedServerName: LMSTR, ) -> NET_API_STATUS60     pub fn NetServerComputerNameDel(
61         ServerName: LMSTR,
62         EmulatedServerName: LMSTR,
63     ) -> NET_API_STATUS;
NetServerTransportAdd( servername: LMSTR, level: DWORD, bufptr: LPBYTE, ) -> NET_API_STATUS64     pub fn NetServerTransportAdd(
65         servername: LMSTR,
66         level: DWORD,
67         bufptr: LPBYTE,
68     ) -> NET_API_STATUS;
NetServerTransportAddEx( servername: LMSTR, level: DWORD, bufptr: LPBYTE, ) -> NET_API_STATUS69     pub fn NetServerTransportAddEx(
70         servername: LMSTR,
71         level: DWORD,
72         bufptr: LPBYTE,
73     ) -> NET_API_STATUS;
NetServerTransportDel( servername: LMSTR, level: DWORD, bufptr: LPBYTE, ) -> NET_API_STATUS74     pub fn NetServerTransportDel(
75         servername: LMSTR,
76         level: DWORD,
77         bufptr: LPBYTE,
78     ) -> NET_API_STATUS;
NetServerTransportEnum( servername: LMSTR, level: DWORD, bufptr: *mut LPBYTE, prefmaxlen: DWORD, entriesread: LPDWORD, totalentries: LPDWORD, resumehandle: LPDWORD, ) -> NET_API_STATUS79     pub fn NetServerTransportEnum(
80         servername: LMSTR,
81         level: DWORD,
82         bufptr: *mut LPBYTE,
83         prefmaxlen: DWORD,
84         entriesread: LPDWORD,
85         totalentries: LPDWORD,
86         resumehandle: LPDWORD,
87     ) -> NET_API_STATUS;
SetServiceBits( hServiceStatus: SERVICE_STATUS_HANDLE, dwServiceBits: DWORD, bSetBitsOn: BOOL, bUpdateImmediately: BOOL, ) -> BOOL88     pub fn SetServiceBits(
89         hServiceStatus: SERVICE_STATUS_HANDLE,
90         dwServiceBits: DWORD,
91         bSetBitsOn: BOOL,
92         bUpdateImmediately: BOOL,
93     ) -> BOOL;
94 }
95 STRUCT!{struct SERVER_INFO_100 {
96     sv100_platform_id: DWORD,
97     sv100_name: LMSTR,
98 }}
99 pub type PSERVER_INFO_100 = *mut SERVER_INFO_100;
100 pub type LPSERVER_INFO_100 = *mut SERVER_INFO_100;
101 STRUCT!{struct SERVER_INFO_101 {
102     sv101_platform_id: DWORD,
103     sv101_name: LMSTR,
104     sv101_version_major: DWORD,
105     sv101_version_minor: DWORD,
106     sv101_type: DWORD,
107     sv101_comment: LMSTR,
108 }}
109 pub type PSERVER_INFO_101 = *mut SERVER_INFO_101;
110 pub type LPSERVER_INFO_101 = *mut SERVER_INFO_101;
111 STRUCT!{struct SERVER_INFO_102 {
112     sv102_platform_id: DWORD,
113     sv102_name: LMSTR,
114     sv102_version_major: DWORD,
115     sv102_version_minor: DWORD,
116     sv102_type: DWORD,
117     sv102_comment: LMSTR,
118     sv102_users: DWORD,
119     sv102_disc: LONG,
120     sv102_hidden: BOOL,
121     sv102_announce: DWORD,
122     sv102_anndelta: DWORD,
123     sv102_licenses: DWORD,
124     sv102_userpath: LMSTR,
125 }}
126 pub type PSERVER_INFO_102 = *mut SERVER_INFO_102;
127 pub type LPSERVER_INFO_102 = *mut SERVER_INFO_102;
128 STRUCT!{struct SERVER_INFO_103 {
129     sv103_platform_id: DWORD,
130     sv103_name: LMSTR,
131     sv103_version_major: DWORD,
132     sv103_version_minor: DWORD,
133     sv103_type: DWORD,
134     sv103_comment: LMSTR,
135     sv103_users: DWORD,
136     sv103_disc: LONG,
137     sv103_hidden: BOOL,
138     sv103_announce: DWORD,
139     sv103_anndelta: DWORD,
140     sv103_licenses: DWORD,
141     sv103_userpath: LMSTR,
142     sv103_capabilities: DWORD,
143 }}
144 pub type PSERVER_INFO_103 = *mut SERVER_INFO_103;
145 pub type LPSERVER_INFO_103 = *mut SERVER_INFO_103;
146 STRUCT!{struct SERVER_INFO_402 {
147     sv402_ulist_mtime: DWORD,
148     sv402_glist_mtime: DWORD,
149     sv402_alist_mtime: DWORD,
150     sv402_alerts: LMSTR,
151     sv402_security: DWORD,
152     sv402_numadmin: DWORD,
153     sv402_lanmask: DWORD,
154     sv402_guestacct: LMSTR,
155     sv402_chdevs: DWORD,
156     sv402_chdevq: DWORD,
157     sv402_chdevjobs: DWORD,
158     sv402_connections: DWORD,
159     sv402_shares: DWORD,
160     sv402_openfiles: DWORD,
161     sv402_sessopens: DWORD,
162     sv402_sessvcs: DWORD,
163     sv402_sessreqs: DWORD,
164     sv402_opensearch: DWORD,
165     sv402_activelocks: DWORD,
166     sv402_numreqbuf: DWORD,
167     sv402_sizreqbuf: DWORD,
168     sv402_numbigbuf: DWORD,
169     sv402_numfiletasks: DWORD,
170     sv402_alertsched: DWORD,
171     sv402_erroralert: DWORD,
172     sv402_logonalert: DWORD,
173     sv402_accessalert: DWORD,
174     sv402_diskalert: DWORD,
175     sv402_netioalert: DWORD,
176     sv402_maxauditsz: DWORD,
177     sv402_srvheuristics: LMSTR,
178 }}
179 pub type PSERVER_INFO_402 = *mut SERVER_INFO_402;
180 pub type LPSERVER_INFO_402 = *mut SERVER_INFO_402;
181 STRUCT!{struct SERVER_INFO_403 {
182     sv403_ulist_mtime: DWORD,
183     sv403_glist_mtime: DWORD,
184     sv403_alist_mtime: DWORD,
185     sv403_alerts: LMSTR,
186     sv403_security: DWORD,
187     sv403_numadmin: DWORD,
188     sv403_lanmask: DWORD,
189     sv403_guestacct: LMSTR,
190     sv403_chdevs: DWORD,
191     sv403_chdevq: DWORD,
192     sv403_chdevjobs: DWORD,
193     sv403_connections: DWORD,
194     sv403_shares: DWORD,
195     sv403_openfiles: DWORD,
196     sv403_sessopens: DWORD,
197     sv403_sessvcs: DWORD,
198     sv403_sessreqs: DWORD,
199     sv403_opensearch: DWORD,
200     sv403_activelocks: DWORD,
201     sv403_numreqbuf: DWORD,
202     sv403_sizreqbuf: DWORD,
203     sv403_numbigbuf: DWORD,
204     sv403_numfiletasks: DWORD,
205     sv403_alertsched: DWORD,
206     sv403_erroralert: DWORD,
207     sv403_logonalert: DWORD,
208     sv403_accessalert: DWORD,
209     sv403_diskalert: DWORD,
210     sv403_netioalert: DWORD,
211     sv403_maxauditsz: DWORD,
212     sv403_srvheuristics: LMSTR,
213     sv403_auditedevents: DWORD,
214     sv403_autoprofile: DWORD,
215     sv403_autopath: LMSTR,
216 }}
217 pub type PSERVER_INFO_403 = *mut SERVER_INFO_403;
218 pub type LPSERVER_INFO_403 = *mut SERVER_INFO_403;
219 STRUCT!{struct SERVER_INFO_502 {
220     sv502_sessopens: DWORD,
221     sv502_sessvcs: DWORD,
222     sv502_opensearch: DWORD,
223     sv502_sizreqbuf: DWORD,
224     sv502_initworkitems: DWORD,
225     sv502_maxworkitems: DWORD,
226     sv502_rawworkitems: DWORD,
227     sv502_irpstacksize: DWORD,
228     sv502_maxrawbuflen: DWORD,
229     sv502_sessusers: DWORD,
230     sv502_sessconns: DWORD,
231     sv502_maxpagedmemoryusage: DWORD,
232     sv502_maxnonpagedmemoryusage: DWORD,
233     sv502_enablesoftcompat: BOOL,
234     sv502_enableforcedlogoff: BOOL,
235     sv502_timesource: BOOL,
236     sv502_acceptdownlevelapis: BOOL,
237     sv502_lmannounce: BOOL,
238 }}
239 pub type PSERVER_INFO_502 = *mut SERVER_INFO_502;
240 pub type LPSERVER_INFO_502 = *mut SERVER_INFO_502;
241 STRUCT!{struct SERVER_INFO_503 {
242     sv503_sessopens : DWORD,
243     sv503_sessvcs: DWORD,
244     sv503_opensearch: DWORD,
245     sv503_sizreqbuf: DWORD,
246     sv503_initworkitems: DWORD,
247     sv503_maxworkitems: DWORD,
248     sv503_rawworkitems: DWORD,
249     sv503_irpstacksize: DWORD,
250     sv503_maxrawbuflen: DWORD,
251     sv503_sessusers: DWORD,
252     sv503_sessconns: DWORD,
253     sv503_maxpagedmemoryusage: DWORD,
254     sv503_maxnonpagedmemoryusage: DWORD,
255     sv503_enablesoftcompat: BOOL,
256     sv503_enableforcedlogoff: BOOL,
257     sv503_timesource: BOOL,
258     sv503_acceptdownlevelapis: BOOL,
259     sv503_lmannounce: BOOL,
260     sv503_domain: LMSTR,
261     sv503_maxcopyreadlen: DWORD,
262     sv503_maxcopywritelen: DWORD,
263     sv503_minkeepsearch: DWORD,
264     sv503_maxkeepsearch: DWORD,
265     sv503_minkeepcomplsearch: DWORD,
266     sv503_maxkeepcomplsearch: DWORD,
267     sv503_threadcountadd: DWORD,
268     sv503_numblockthreads: DWORD,
269     sv503_scavtimeout: DWORD,
270     sv503_minrcvqueue: DWORD,
271     sv503_minfreeworkitems: DWORD,
272     sv503_xactmemsize: DWORD,
273     sv503_threadpriority: DWORD,
274     sv503_maxmpxct: DWORD,
275     sv503_oplockbreakwait: DWORD,
276     sv503_oplockbreakresponsewait: DWORD,
277     sv503_enableoplocks: BOOL,
278     sv503_enableoplockforceclose: BOOL,
279     sv503_enablefcbopens: BOOL,
280     sv503_enableraw: BOOL,
281     sv503_enablesharednetdrives: BOOL,
282     sv503_minfreeconnections: DWORD,
283     sv503_maxfreeconnections: DWORD,
284 }}
285 pub type PSERVER_INFO_503 = *mut SERVER_INFO_503;
286 pub type LPSERVER_INFO_503 = *mut SERVER_INFO_503;
287 STRUCT!{struct SERVER_INFO_599 {
288     sv599_sessopens: DWORD,
289     sv599_sessvcs: DWORD,
290     sv599_opensearch: DWORD,
291     sv599_sizreqbuf: DWORD,
292     sv599_initworkitems: DWORD,
293     sv599_maxworkitems: DWORD,
294     sv599_rawworkitems: DWORD,
295     sv599_irpstacksize: DWORD,
296     sv599_maxrawbuflen: DWORD,
297     sv599_sessusers: DWORD,
298     sv599_sessconns: DWORD,
299     sv599_maxpagedmemoryusage: DWORD,
300     sv599_maxnonpagedmemoryusage: DWORD,
301     sv599_enablesoftcompat: BOOL,
302     sv599_enableforcedlogoff: BOOL,
303     sv599_timesource: BOOL,
304     sv599_acceptdownlevelapis: BOOL,
305     sv599_lmannounce: BOOL,
306     sv599_domain: LMSTR,
307     sv599_maxcopyreadlen: DWORD,
308     sv599_maxcopywritelen: DWORD,
309     sv599_minkeepsearch: DWORD,
310     sv599_maxkeepsearch: DWORD,
311     sv599_minkeepcomplsearch: DWORD,
312     sv599_maxkeepcomplsearch: DWORD,
313     sv599_threadcountadd: DWORD,
314     sv599_numblockthreads: DWORD,
315     sv599_scavtimeout: DWORD,
316     sv599_minrcvqueue: DWORD,
317     sv599_minfreeworkitems: DWORD,
318     sv599_xactmemsize: DWORD,
319     sv599_threadpriority: DWORD,
320     sv599_maxmpxct: DWORD,
321     sv599_oplockbreakwait: DWORD,
322     sv599_oplockbreakresponsewait: DWORD,
323     sv599_enableoplocks: BOOL,
324     sv599_enableoplockforceclose: BOOL,
325     sv599_enablefcbopens: BOOL,
326     sv599_enableraw: BOOL,
327     sv599_enablesharednetdrives: BOOL,
328     sv599_minfreeconnections: DWORD,
329     sv599_maxfreeconnections: DWORD,
330     sv599_initsesstable: DWORD,
331     sv599_initconntable: DWORD,
332     sv599_initfiletable: DWORD,
333     sv599_initsearchtable: DWORD,
334     sv599_alertschedule: DWORD,
335     sv599_errorthreshold: DWORD,
336     sv599_networkerrorthreshold: DWORD,
337     sv599_diskspacethreshold: DWORD,
338     sv599_reserved: DWORD,
339     sv599_maxlinkdelay: DWORD,
340     sv599_minlinkthroughput: DWORD,
341     sv599_linkinfovalidtime: DWORD,
342     sv599_scavqosinfoupdatetime: DWORD,
343     sv599_maxworkitemidletime: DWORD,
344 }}
345 pub type PSERVER_INFO_599 = *mut SERVER_INFO_599;
346 pub type LPSERVER_INFO_599 = *mut SERVER_INFO_599;
347 STRUCT!{struct SERVER_INFO_598 {
348     sv598_maxrawworkitems: DWORD,
349     sv598_maxthreadsperqueue: DWORD,
350     sv598_producttype: DWORD,
351     sv598_serversize: DWORD,
352     sv598_connectionlessautodisc: DWORD,
353     sv598_sharingviolationretries: DWORD,
354     sv598_sharingviolationdelay: DWORD,
355     sv598_maxglobalopensearch: DWORD,
356     sv598_removeduplicatesearches: DWORD,
357     sv598_lockviolationoffset: DWORD,
358     sv598_lockviolationdelay: DWORD,
359     sv598_mdlreadswitchover: DWORD,
360     sv598_cachedopenlimit: DWORD,
361     sv598_otherqueueaffinity: DWORD,
362     sv598_restrictnullsessaccess: BOOL,
363     sv598_enablewfw311directipx: BOOL,
364     sv598_queuesamplesecs: DWORD,
365     sv598_balancecount: DWORD,
366     sv598_preferredaffinity: DWORD,
367     sv598_maxfreerfcbs: DWORD,
368     sv598_maxfreemfcbs: DWORD,
369     sv598_maxfreelfcbs: DWORD,
370     sv598_maxfreepagedpoolchunks: DWORD,
371     sv598_minpagedpoolchunksize: DWORD,
372     sv598_maxpagedpoolchunksize: DWORD,
373     sv598_sendsfrompreferredprocessor: BOOL,
374     sv598_cacheddirectorylimit: DWORD,
375     sv598_maxcopylength: DWORD,
376     sv598_enablecompression: BOOL,
377     sv598_autosharewks: BOOL,
378     sv598_autoshareserver: BOOL,
379     sv598_enablesecuritysignature: BOOL,
380     sv598_requiresecuritysignature: BOOL,
381     sv598_minclientbuffersize: DWORD,
382     sv598_serverguid: GUID,
383     sv598_ConnectionNoSessionsTimeout: DWORD,
384     sv598_IdleThreadTimeOut: DWORD,
385     sv598_enableW9xsecuritysignature: BOOL,
386     sv598_enforcekerberosreauthentication: BOOL,
387     sv598_disabledos: BOOL,
388     sv598_lowdiskspaceminimum: DWORD,
389     sv598_disablestrictnamechecking: BOOL,
390     sv598_enableauthenticateusersharing: BOOL,
391 }}
392 pub type PSERVER_INFO_598 = *mut SERVER_INFO_598;
393 pub type LPSERVER_INFO_598 = *mut SERVER_INFO_598;
394 STRUCT!{struct SERVER_INFO_1005 {
395     sv1005_comment: LMSTR,
396 }}
397 pub type PSERVER_INFO_1005 = *mut SERVER_INFO_1005;
398 pub type LPSERVER_INFO_1005 = *mut SERVER_INFO_1005;
399 STRUCT!{struct SERVER_INFO_1107 {
400     sv1107_users: DWORD,
401 }}
402 pub type PSERVER_INFO_1107 = *mut SERVER_INFO_1107;
403 pub type LPSERVER_INFO_1107 = *mut SERVER_INFO_1107;
404 STRUCT!{struct SERVER_INFO_1010 {
405     sv1010_disc: LONG,
406 }}
407 pub type PSERVER_INFO_1010 = *mut SERVER_INFO_1010;
408 pub type LPSERVER_INFO_1010 = *mut SERVER_INFO_1010;
409 STRUCT!{struct SERVER_INFO_1016 {
410     sv1016_hidden: BOOL,
411 }}
412 pub type PSERVER_INFO_1016 = *mut SERVER_INFO_1016;
413 pub type LPSERVER_INFO_1016 = *mut SERVER_INFO_1016;
414 STRUCT!{struct SERVER_INFO_1017 {
415     sv1017_announce: DWORD,
416 }}
417 pub type PSERVER_INFO_1017 = *mut SERVER_INFO_1017;
418 pub type LPSERVER_INFO_1017 = *mut SERVER_INFO_1017;
419 STRUCT!{struct SERVER_INFO_1018 {
420     sv1018_anndelta: DWORD,
421 }}
422 pub type PSERVER_INFO_1018 = *mut SERVER_INFO_1018;
423 pub type LPSERVER_INFO_1018 = *mut SERVER_INFO_1018;
424 STRUCT!{struct SERVER_INFO_1501 {
425     sv1501_sessopens: DWORD,
426 }}
427 pub type PSERVER_INFO_1501 = *mut SERVER_INFO_1501;
428 pub type LPSERVER_INFO_1501 = *mut SERVER_INFO_1501;
429 STRUCT!{struct SERVER_INFO_1502 {
430     sv1502_sessvcs: DWORD,
431 }}
432 pub type PSERVER_INFO_1502 = *mut SERVER_INFO_1502;
433 pub type LPSERVER_INFO_1502 = *mut SERVER_INFO_1502;
434 STRUCT!{struct SERVER_INFO_1503 {
435     sv1503_opensearch: DWORD,
436 }}
437 pub type PSERVER_INFO_1503 = *mut SERVER_INFO_1503;
438 pub type LPSERVER_INFO_1503 = *mut SERVER_INFO_1503;
439 STRUCT!{struct SERVER_INFO_1506 {
440     sv1506_maxworkitems: DWORD,
441 }}
442 pub type PSERVER_INFO_1506 = *mut SERVER_INFO_1506;
443 pub type LPSERVER_INFO_1506 = *mut SERVER_INFO_1506;
444 STRUCT!{struct SERVER_INFO_1509 {
445     sv1509_maxrawbuflen: DWORD,
446 }}
447 pub type PSERVER_INFO_1509 = *mut SERVER_INFO_1509;
448 pub type LPSERVER_INFO_1509 = *mut SERVER_INFO_1509;
449 STRUCT!{struct SERVER_INFO_1510 {
450     sv1510_sessusers: DWORD,
451 }}
452 pub type PSERVER_INFO_1510 = *mut SERVER_INFO_1510;
453 pub type LPSERVER_INFO_1510 = *mut SERVER_INFO_1510;
454 STRUCT!{struct SERVER_INFO_1511 {
455     sv1511_sessconns: DWORD,
456 }}
457 pub type PSERVER_INFO_1511 = *mut SERVER_INFO_1511;
458 pub type LPSERVER_INFO_1511 = *mut SERVER_INFO_1511;
459 STRUCT!{struct SERVER_INFO_1512 {
460     sv1512_maxnonpagedmemoryusage: DWORD,
461 }}
462 pub type PSERVER_INFO_1512 = *mut SERVER_INFO_1512;
463 pub type LPSERVER_INFO_1512 = *mut SERVER_INFO_1512;
464 STRUCT!{struct SERVER_INFO_1513 {
465     sv1513_maxpagedmemoryusage: DWORD,
466 }}
467 pub type PSERVER_INFO_1513 = *mut SERVER_INFO_1513;
468 pub type LPSERVER_INFO_1513 = *mut SERVER_INFO_1513;
469 STRUCT!{struct SERVER_INFO_1514 {
470     sv1514_enablesoftcompat: BOOL,
471 }}
472 pub type PSERVER_INFO_1514 = *mut SERVER_INFO_1514;
473 pub type LPSERVER_INFO_1514 = *mut SERVER_INFO_1514;
474 STRUCT!{struct SERVER_INFO_1515 {
475     sv1515_enableforcedlogoff: BOOL,
476 }}
477 pub type PSERVER_INFO_1515 = *mut SERVER_INFO_1515;
478 pub type LPSERVER_INFO_1515 = *mut SERVER_INFO_1515;
479 STRUCT!{struct SERVER_INFO_1516 {
480     sv1516_timesource: BOOL,
481 }}
482 pub type PSERVER_INFO_1516 = *mut SERVER_INFO_1516;
483 pub type LPSERVER_INFO_1516 = *mut SERVER_INFO_1516;
484 STRUCT!{struct SERVER_INFO_1518 {
485     sv1518_lmannounce: BOOL,
486 }}
487 pub type PSERVER_INFO_1518 = *mut SERVER_INFO_1518;
488 pub type LPSERVER_INFO_1518 = *mut SERVER_INFO_1518;
489 STRUCT!{struct SERVER_INFO_1520 {
490     sv1520_maxcopyreadlen: DWORD,
491 }}
492 pub type PSERVER_INFO_1520 = *mut SERVER_INFO_1520;
493 pub type LPSERVER_INFO_1520 = *mut SERVER_INFO_1520;
494 STRUCT!{struct SERVER_INFO_1521 {
495     sv1521_maxcopywritelen: DWORD,
496 }}
497 pub type PSERVER_INFO_1521 = *mut SERVER_INFO_1521;
498 pub type LPSERVER_INFO_1521 = *mut SERVER_INFO_1521;
499 STRUCT!{struct SERVER_INFO_1522 {
500     sv1522_minkeepsearch: DWORD,
501 }}
502 pub type PSERVER_INFO_1522 = *mut SERVER_INFO_1522;
503 pub type LPSERVER_INFO_1522 = *mut SERVER_INFO_1522;
504 STRUCT!{struct SERVER_INFO_1523 {
505     sv1523_maxkeepsearch: DWORD,
506 }}
507 pub type PSERVER_INFO_1523 = *mut SERVER_INFO_1523;
508 pub type LPSERVER_INFO_1523 = *mut SERVER_INFO_1523;
509 STRUCT!{struct SERVER_INFO_1524 {
510     sv1524_minkeepcomplsearch: DWORD,
511 }}
512 pub type PSERVER_INFO_1524 = *mut SERVER_INFO_1524;
513 pub type LPSERVER_INFO_1524 = *mut SERVER_INFO_1524;
514 STRUCT!{struct SERVER_INFO_1525 {
515     sv1525_maxkeepcomplsearch: DWORD,
516 }}
517 pub type PSERVER_INFO_1525 = *mut SERVER_INFO_1525;
518 pub type LPSERVER_INFO_1525 = *mut SERVER_INFO_1525;
519 STRUCT!{struct SERVER_INFO_1528 {
520     sv1528_scavtimeout: DWORD,
521 }}
522 pub type PSERVER_INFO_1528 = *mut SERVER_INFO_1528;
523 pub type LPSERVER_INFO_1528 = *mut SERVER_INFO_1528;
524 STRUCT!{struct SERVER_INFO_1529 {
525     sv1529_minrcvqueue: DWORD,
526 }}
527 pub type PSERVER_INFO_1529 = *mut SERVER_INFO_1529;
528 pub type LPSERVER_INFO_1529 = *mut SERVER_INFO_1529;
529 STRUCT!{struct SERVER_INFO_1530 {
530     sv1530_minfreeworkitems: DWORD,
531 }}
532 pub type PSERVER_INFO_1530 = *mut SERVER_INFO_1530;
533 pub type LPSERVER_INFO_1530 = *mut SERVER_INFO_1530;
534 STRUCT!{struct SERVER_INFO_1533 {
535     sv1533_maxmpxct: DWORD,
536 }}
537 pub type PSERVER_INFO_1533 = *mut SERVER_INFO_1533;
538 pub type LPSERVER_INFO_1533 = *mut SERVER_INFO_1533;
539 STRUCT!{struct SERVER_INFO_1534 {
540     sv1534_oplockbreakwait: DWORD,
541 }}
542 pub type PSERVER_INFO_1534 = *mut SERVER_INFO_1534;
543 pub type LPSERVER_INFO_1534 = *mut SERVER_INFO_1534;
544 STRUCT!{struct SERVER_INFO_1535 {
545     sv1535_oplockbreakresponsewait: DWORD,
546 }}
547 pub type PSERVER_INFO_1535 = *mut SERVER_INFO_1535;
548 pub type LPSERVER_INFO_1535 = *mut SERVER_INFO_1535;
549 STRUCT!{struct SERVER_INFO_1536 {
550     sv1536_enableoplocks: BOOL,
551 }}
552 pub type PSERVER_INFO_1536 = *mut SERVER_INFO_1536;
553 pub type LPSERVER_INFO_1536 = *mut SERVER_INFO_1536;
554 STRUCT!{struct SERVER_INFO_1537 {
555     sv1537_enableoplockforceclose: BOOL,
556 }}
557 pub type PSERVER_INFO_1537 = *mut SERVER_INFO_1537;
558 pub type LPSERVER_INFO_1537 = *mut SERVER_INFO_1537;
559 STRUCT!{struct SERVER_INFO_1538 {
560     sv1538_enablefcbopens: BOOL,
561 }}
562 pub type PSERVER_INFO_1538 = *mut SERVER_INFO_1538;
563 pub type LPSERVER_INFO_1538 = *mut SERVER_INFO_1538;
564 STRUCT!{struct SERVER_INFO_1539 {
565     sv1539_enableraw: BOOL,
566 }}
567 pub type PSERVER_INFO_1539 = *mut SERVER_INFO_1539;
568 pub type LPSERVER_INFO_1539 = *mut SERVER_INFO_1539;
569 STRUCT!{struct SERVER_INFO_1540 {
570     sv1540_enablesharednetdrives: BOOL,
571 }}
572 pub type PSERVER_INFO_1540 = *mut SERVER_INFO_1540;
573 pub type LPSERVER_INFO_1540 = *mut SERVER_INFO_1540;
574 STRUCT!{struct SERVER_INFO_1541 {
575     sv1541_minfreeconnections: BOOL,
576 }}
577 pub type PSERVER_INFO_1541 = *mut SERVER_INFO_1541;
578 pub type LPSERVER_INFO_1541 = *mut SERVER_INFO_1541;
579 STRUCT!{struct SERVER_INFO_1542 {
580     sv1542_maxfreeconnections: BOOL,
581 }}
582 pub type PSERVER_INFO_1542 = *mut SERVER_INFO_1542;
583 pub type LPSERVER_INFO_1542 = *mut SERVER_INFO_1542;
584 STRUCT!{struct SERVER_INFO_1543 {
585     sv1543_initsesstable: DWORD,
586 }}
587 pub type PSERVER_INFO_1543 = *mut SERVER_INFO_1543;
588 pub type LPSERVER_INFO_1543 = *mut SERVER_INFO_1543;
589 STRUCT!{struct SERVER_INFO_1544 {
590     sv1544_initconntable: DWORD,
591 }}
592 pub type PSERVER_INFO_1544 = *mut SERVER_INFO_1544;
593 pub type LPSERVER_INFO_1544 = *mut SERVER_INFO_1544;
594 STRUCT!{struct SERVER_INFO_1545 {
595     sv1545_initfiletable: DWORD,
596 }}
597 pub type PSERVER_INFO_1545 = *mut SERVER_INFO_1545;
598 pub type LPSERVER_INFO_1545 = *mut SERVER_INFO_1545;
599 STRUCT!{struct SERVER_INFO_1546 {
600     sv1546_initsearchtable: DWORD,
601 }}
602 pub type PSERVER_INFO_1546 = *mut SERVER_INFO_1546;
603 pub type LPSERVER_INFO_1546 = *mut SERVER_INFO_1546;
604 STRUCT!{struct SERVER_INFO_1547 {
605     sv1547_alertschedule: DWORD,
606 }}
607 pub type PSERVER_INFO_1547 = *mut SERVER_INFO_1547;
608 pub type LPSERVER_INFO_1547 = *mut SERVER_INFO_1547;
609 STRUCT!{struct SERVER_INFO_1548 {
610     sv1548_errorthreshold: DWORD,
611 }}
612 pub type PSERVER_INFO_1548 = *mut SERVER_INFO_1548;
613 pub type LPSERVER_INFO_1548 = *mut SERVER_INFO_1548;
614 STRUCT!{struct SERVER_INFO_1549 {
615     sv1549_networkerrorthreshold: DWORD,
616 }}
617 pub type PSERVER_INFO_1549 = *mut SERVER_INFO_1549;
618 pub type LPSERVER_INFO_1549 = *mut SERVER_INFO_1549;
619 STRUCT!{struct SERVER_INFO_1550 {
620     sv1550_diskspacethreshold: DWORD,
621 }}
622 pub type PSERVER_INFO_1550 = *mut SERVER_INFO_1550;
623 pub type LPSERVER_INFO_1550 = *mut SERVER_INFO_1550;
624 STRUCT!{struct SERVER_INFO_1552 {
625     sv1552_maxlinkdelay: DWORD,
626 }}
627 pub type PSERVER_INFO_1552 = *mut SERVER_INFO_1552;
628 pub type LPSERVER_INFO_1552 = *mut SERVER_INFO_1552;
629 STRUCT!{struct SERVER_INFO_1553 {
630     sv1553_minlinkthroughput: DWORD,
631 }}
632 pub type PSERVER_INFO_1553 = *mut SERVER_INFO_1553;
633 pub type LPSERVER_INFO_1553 = *mut SERVER_INFO_1553;
634 STRUCT!{struct SERVER_INFO_1554 {
635     sv1554_linkinfovalidtime: DWORD,
636 }}
637 pub type PSERVER_INFO_1554 = *mut SERVER_INFO_1554;
638 pub type LPSERVER_INFO_1554 = *mut SERVER_INFO_1554;
639 STRUCT!{struct SERVER_INFO_1555 {
640     sv1555_scavqosinfoupdatetime: DWORD,
641 }}
642 pub type PSERVER_INFO_1555 = *mut SERVER_INFO_1555;
643 pub type LPSERVER_INFO_1555 = *mut SERVER_INFO_1555;
644 STRUCT!{struct SERVER_INFO_1556 {
645     sv1556_maxworkitemidletime: DWORD,
646 }}
647 pub type PSERVER_INFO_1556 = *mut SERVER_INFO_1556;
648 pub type LPSERVER_INFO_1556 = *mut SERVER_INFO_1556;
649 STRUCT!{struct SERVER_INFO_1557 {
650     sv1557_maxrawworkitems: DWORD,
651 }}
652 pub type PSERVER_INFO_1557 = *mut SERVER_INFO_1557;
653 pub type LPSERVER_INFO_1557 = *mut SERVER_INFO_1557;
654 STRUCT!{struct SERVER_INFO_1560 {
655     sv1560_producttype: DWORD,
656 }}
657 pub type PSERVER_INFO_1560 = *mut SERVER_INFO_1560;
658 pub type LPSERVER_INFO_1560 = *mut SERVER_INFO_1560;
659 STRUCT!{struct SERVER_INFO_1561 {
660     sv1561_serversize: DWORD,
661 }}
662 pub type PSERVER_INFO_1561 = *mut SERVER_INFO_1561;
663 pub type LPSERVER_INFO_1561 = *mut SERVER_INFO_1561;
664 STRUCT!{struct SERVER_INFO_1562 {
665     sv1562_connectionlessautodisc: DWORD,
666 }}
667 pub type PSERVER_INFO_1562 = *mut SERVER_INFO_1562;
668 pub type LPSERVER_INFO_1562 = *mut SERVER_INFO_1562;
669 STRUCT!{struct SERVER_INFO_1563 {
670     sv1563_sharingviolationretries: DWORD,
671 }}
672 pub type PSERVER_INFO_1563 = *mut SERVER_INFO_1563;
673 pub type LPSERVER_INFO_1563 = *mut SERVER_INFO_1563;
674 STRUCT!{struct SERVER_INFO_1564 {
675     sv1564_sharingviolationdelay: DWORD,
676 }}
677 pub type PSERVER_INFO_1564 = *mut SERVER_INFO_1564;
678 pub type LPSERVER_INFO_1564 = *mut SERVER_INFO_1564;
679 STRUCT!{struct SERVER_INFO_1565 {
680     sv1565_maxglobalopensearch: DWORD,
681 }}
682 pub type PSERVER_INFO_1565 = *mut SERVER_INFO_1565;
683 pub type LPSERVER_INFO_1565 = *mut SERVER_INFO_1565;
684 STRUCT!{struct SERVER_INFO_1566 {
685     sv1566_removeduplicatesearches: BOOL,
686 }}
687 pub type PSERVER_INFO_1566 = *mut SERVER_INFO_1566;
688 pub type LPSERVER_INFO_1566 = *mut SERVER_INFO_1566;
689 STRUCT!{struct SERVER_INFO_1567 {
690     sv1567_lockviolationretries: DWORD,
691 }}
692 pub type PSERVER_INFO_1567 = *mut SERVER_INFO_1567;
693 pub type LPSERVER_INFO_1567 = *mut SERVER_INFO_1567;
694 STRUCT!{struct SERVER_INFO_1568 {
695     sv1568_lockviolationoffset: DWORD,
696 }}
697 pub type PSERVER_INFO_1568 = *mut SERVER_INFO_1568;
698 pub type LPSERVER_INFO_1568 = *mut SERVER_INFO_1568;
699 STRUCT!{struct SERVER_INFO_1569 {
700     sv1569_lockviolationdelay: DWORD,
701 }}
702 pub type PSERVER_INFO_1569 = *mut SERVER_INFO_1569;
703 pub type LPSERVER_INFO_1569 = *mut SERVER_INFO_1569;
704 STRUCT!{struct SERVER_INFO_1570 {
705     sv1570_mdlreadswitchover: DWORD,
706 }}
707 pub type PSERVER_INFO_1570 = *mut SERVER_INFO_1570;
708 pub type LPSERVER_INFO_1570 = *mut SERVER_INFO_1570;
709 STRUCT!{struct SERVER_INFO_1571 {
710     sv1571_cachedopenlimit: DWORD,
711 }}
712 pub type PSERVER_INFO_1571 = *mut SERVER_INFO_1571;
713 pub type LPSERVER_INFO_1571 = *mut SERVER_INFO_1571;
714 STRUCT!{struct SERVER_INFO_1572 {
715     sv1572_criticalthreads: DWORD,
716 }}
717 pub type PSERVER_INFO_1572 = *mut SERVER_INFO_1572;
718 pub type LPSERVER_INFO_1572 = *mut SERVER_INFO_1572;
719 STRUCT!{struct SERVER_INFO_1573 {
720     sv1573_restrictnullsessaccess: DWORD,
721 }}
722 pub type PSERVER_INFO_1573 = *mut SERVER_INFO_1573;
723 pub type LPSERVER_INFO_1573 = *mut SERVER_INFO_1573;
724 STRUCT!{struct SERVER_INFO_1574 {
725     sv1574_enablewfw311directipx: DWORD,
726 }}
727 pub type PSERVER_INFO_1574 = *mut SERVER_INFO_1574;
728 pub type LPSERVER_INFO_1574 = *mut SERVER_INFO_1574;
729 STRUCT!{struct SERVER_INFO_1575 {
730     sv1575_otherqueueaffinity: DWORD,
731 }}
732 pub type PSERVER_INFO_1575 = *mut SERVER_INFO_1575;
733 pub type LPSERVER_INFO_1575 = *mut SERVER_INFO_1575;
734 STRUCT!{struct SERVER_INFO_1576 {
735     sv1576_queuesamplesecs: DWORD,
736 }}
737 pub type PSERVER_INFO_1576 = *mut SERVER_INFO_1576;
738 pub type LPSERVER_INFO_1576 = *mut SERVER_INFO_1576;
739 STRUCT!{struct SERVER_INFO_1577 {
740     sv1577_balancecount: DWORD,
741 }}
742 pub type PSERVER_INFO_1577 = *mut SERVER_INFO_1577;
743 pub type LPSERVER_INFO_1577 = *mut SERVER_INFO_1577;
744 STRUCT!{struct SERVER_INFO_1578 {
745     sv1578_preferredaffinity: DWORD,
746 }}
747 pub type PSERVER_INFO_1578 = *mut SERVER_INFO_1578;
748 pub type LPSERVER_INFO_1578 = *mut SERVER_INFO_1578;
749 STRUCT!{struct SERVER_INFO_1579 {
750     sv1579_maxfreerfcbs: DWORD,
751 }}
752 pub type PSERVER_INFO_1579 = *mut SERVER_INFO_1579;
753 pub type LPSERVER_INFO_1579 = *mut SERVER_INFO_1579;
754 STRUCT!{struct SERVER_INFO_1580 {
755     sv1580_maxfreemfcbs: DWORD,
756 }}
757 pub type PSERVER_INFO_1580 = *mut SERVER_INFO_1580;
758 pub type LPSERVER_INFO_1580 = *mut SERVER_INFO_1580;
759 STRUCT!{struct SERVER_INFO_1581 {
760     sv1581_maxfreemlcbs: DWORD,
761 }}
762 pub type PSERVER_INFO_1581 = *mut SERVER_INFO_1581;
763 pub type LPSERVER_INFO_1581 = *mut SERVER_INFO_1581;
764 STRUCT!{struct SERVER_INFO_1582 {
765     sv1582_maxfreepagedpoolchunks: DWORD,
766 }}
767 pub type PSERVER_INFO_1582 = *mut SERVER_INFO_1582;
768 pub type LPSERVER_INFO_1582 = *mut SERVER_INFO_1582;
769 STRUCT!{struct SERVER_INFO_1583 {
770     sv1583_minpagedpoolchunksize: DWORD,
771 }}
772 pub type PSERVER_INFO_1583 = *mut SERVER_INFO_1583;
773 pub type LPSERVER_INFO_1583 = *mut SERVER_INFO_1583;
774 STRUCT!{struct SERVER_INFO_1584 {
775     sv1584_maxpagedpoolchunksize: DWORD,
776 }}
777 pub type PSERVER_INFO_1584 = *mut SERVER_INFO_1584;
778 pub type LPSERVER_INFO_1584 = *mut SERVER_INFO_1584;
779 STRUCT!{struct SERVER_INFO_1585 {
780     sv1585_sendsfrompreferredprocessor: BOOL,
781 }}
782 pub type PSERVER_INFO_1585 = *mut SERVER_INFO_1585;
783 pub type LPSERVER_INFO_1585 = *mut SERVER_INFO_1585;
784 STRUCT!{struct SERVER_INFO_1586 {
785     sv1586_maxthreadsperqueue: DWORD,
786 }}
787 pub type PSERVER_INFO_1586 = *mut SERVER_INFO_1586;
788 pub type LPSERVER_INFO_1586 = *mut SERVER_INFO_1586;
789 STRUCT!{struct SERVER_INFO_1587 {
790     sv1587_cacheddirectorylimit: DWORD,
791 }}
792 pub type PSERVER_INFO_1587 = *mut SERVER_INFO_1587;
793 pub type LPSERVER_INFO_1587 = *mut SERVER_INFO_1587;
794 STRUCT!{struct SERVER_INFO_1588 {
795     sv1588_maxcopylength: DWORD,
796 }}
797 pub type PSERVER_INFO_1588 = *mut SERVER_INFO_1588;
798 pub type LPSERVER_INFO_1588 = *mut SERVER_INFO_1588;
799 STRUCT!{struct SERVER_INFO_1590 {
800     sv1590_enablecompression: DWORD,
801 }}
802 pub type PSERVER_INFO_1590 = *mut SERVER_INFO_1590;
803 pub type LPSERVER_INFO_1590 = *mut SERVER_INFO_1590;
804 STRUCT!{struct SERVER_INFO_1591 {
805     sv1591_autosharewks: DWORD,
806 }}
807 pub type PSERVER_INFO_1591 = *mut SERVER_INFO_1591;
808 pub type LPSERVER_INFO_1591 = *mut SERVER_INFO_1591;
809 STRUCT!{struct SERVER_INFO_1592 {
810     sv1592_autosharewks: DWORD,
811 }}
812 pub type PSERVER_INFO_1592 = *mut SERVER_INFO_1592;
813 pub type LPSERVER_INFO_1592 = *mut SERVER_INFO_1592;
814 STRUCT!{struct SERVER_INFO_1593 {
815     sv1593_enablesecuritysignature: DWORD,
816 }}
817 pub type PSERVER_INFO_1593 = *mut SERVER_INFO_1593;
818 pub type LPSERVER_INFO_1593 = *mut SERVER_INFO_1593;
819 STRUCT!{struct SERVER_INFO_1594 {
820     sv1594_requiresecuritysignature: DWORD,
821 }}
822 pub type PSERVER_INFO_1594 = *mut SERVER_INFO_1594;
823 pub type LPSERVER_INFO_1594 = *mut SERVER_INFO_1594;
824 STRUCT!{struct SERVER_INFO_1595 {
825     sv1595_minclientbuffersize: DWORD,
826 }}
827 pub type PSERVER_INFO_1595 = *mut SERVER_INFO_1595;
828 pub type LPSERVER_INFO_1595 = *mut SERVER_INFO_1595;
829 STRUCT!{struct SERVER_INFO_1596 {
830     sv1596_ConnectionNoSessionsTimeout: DWORD,
831 }}
832 pub type PSERVER_INFO_1596 = *mut SERVER_INFO_1596;
833 pub type LPSERVER_INFO_1596 = *mut SERVER_INFO_1596;
834 STRUCT!{struct SERVER_INFO_1597 {
835     sv1597_IdleThreadTimeOut: DWORD,
836 }}
837 pub type PSERVER_INFO_1597 = *mut SERVER_INFO_1597;
838 pub type LPSERVER_INFO_1597 = *mut SERVER_INFO_1597;
839 STRUCT!{struct SERVER_INFO_1598 {
840     sv1598_enableW9xsecuritysignature: DWORD,
841 }}
842 pub type PSERVER_INFO_1598 = *mut SERVER_INFO_1598;
843 pub type LPSERVER_INFO_1598 = *mut SERVER_INFO_1598;
844 STRUCT!{struct SERVER_INFO_1599 {
845     sv1598_enforcekerberosreauthentication: BOOLEAN,
846 }}
847 pub type PSERVER_INFO_1599 = *mut SERVER_INFO_1599;
848 pub type LPSERVER_INFO_1599 = *mut SERVER_INFO_1599;
849 STRUCT!{struct SERVER_INFO_1600 {
850     sv1598_disabledos: BOOLEAN,
851 }}
852 pub type PSERVER_INFO_1600 = *mut SERVER_INFO_1600;
853 pub type LPSERVER_INFO_1600 = *mut SERVER_INFO_1600;
854 STRUCT!{struct SERVER_INFO_1601 {
855     sv1598_lowdiskspaceminimum: DWORD,
856 }}
857 pub type PSERVER_INFO_1601 = *mut SERVER_INFO_1601;
858 pub type LPSERVER_INFO_1601 = *mut SERVER_INFO_1601;
859 STRUCT!{struct SERVER_INFO_1602 {
860     sv_1598_disablestrictnamechecking: BOOL,
861 }}
862 pub type PSERVER_INFO_1602 = *mut SERVER_INFO_1602;
863 pub type LPSERVER_INFO_1602 = *mut SERVER_INFO_1602;
864 STRUCT!{struct SERVER_TRANSPORT_INFO_0 {
865     svti0_numberofvcs: DWORD,
866     svti0_transportname: LMSTR,
867     svti0_transportaddress: LPBYTE,
868     svti0_transportaddresslength: DWORD,
869     svti0_networkaddress: LMSTR,
870 }}
871 pub type PSERVER_TRANSPORT_INFO_0 = *mut SERVER_TRANSPORT_INFO_0;
872 pub type LPSERVER_TRANSPORT_INFO_0 = *mut SERVER_TRANSPORT_INFO_0;
873 STRUCT!{struct SERVER_TRANSPORT_INFO_1 {
874     svti1_numberofvcs: DWORD,
875     svti1_transportname: LMSTR,
876     svti1_transportaddress: LPBYTE,
877     svti1_transportaddresslength: DWORD,
878     svti1_networkaddress: LMSTR,
879     svti1_domain: LMSTR,
880 }}
881 pub type PSERVER_TRANSPORT_INFO_1 = *mut SERVER_TRANSPORT_INFO_1;
882 pub type LPSERVER_TRANSPORT_INFO_1 = *mut SERVER_TRANSPORT_INFO_1;
883 STRUCT!{struct SERVER_TRANSPORT_INFO_2 {
884     svti2_numberofvcs: DWORD,
885     svti2_transportname: LMSTR,
886     svti2_transportaddress: LPBYTE,
887     svti2_transportaddresslength: DWORD,
888     svti2_networkaddress: LMSTR,
889     svti2_domain: LMSTR,
890     svti2_flags: ULONG,
891 }}
892 pub type PSERVER_TRANSPORT_INFO_2 = *mut SERVER_TRANSPORT_INFO_2;
893 pub type LPSERVER_TRANSPORT_INFO_2 = *mut SERVER_TRANSPORT_INFO_2;
894 STRUCT!{struct SERVER_TRANSPORT_INFO_3 {
895     svti3_numberofvcs: DWORD,
896     svti3_transportname: LMSTR,
897     svti3_transportaddress: LPBYTE,
898     svti3_transportaddresslength: DWORD,
899     svti3_networkaddress: LMSTR,
900     svti3_domain: LMSTR,
901     svti3_flags: ULONG,
902     svti3_passwordlength: DWORD,
903     svti3_password: [BYTE; 256],
904 }}
905 pub type PSERVER_TRANSPORT_INFO_3 = *mut SERVER_TRANSPORT_INFO_3;
906 pub type LPSERVER_TRANSPORT_INFO_3 = *mut SERVER_TRANSPORT_INFO_3;
907 pub const SV_PLATFORM_ID_OS2: DWORD = 400;
908 pub const SV_PLATFORM_ID_NT: DWORD = 500;
909 pub const MAJOR_VERSION_MASK: DWORD = 0x0F;
910 pub const SV_TYPE_WORKSTATION: DWORD = 0x00000001;
911 pub const SV_TYPE_SERVER: DWORD = 0x00000002;
912 pub const SV_TYPE_SQLSERVER: DWORD = 0x00000004;
913 pub const SV_TYPE_DOMAIN_CTRL: DWORD = 0x00000008;
914 pub const SV_TYPE_DOMAIN_BAKCTRL: DWORD = 0x00000010;
915 pub const SV_TYPE_TIME_SOURCE: DWORD = 0x00000020;
916 pub const SV_TYPE_AFP: DWORD = 0x00000040;
917 pub const SV_TYPE_NOVELL: DWORD = 0x00000080;
918 pub const SV_TYPE_DOMAIN_MEMBER: DWORD = 0x00000100;
919 pub const SV_TYPE_PRINTQ_SERVER: DWORD = 0x00000200;
920 pub const SV_TYPE_DIALIN_SERVER: DWORD = 0x00000400;
921 pub const SV_TYPE_XENIX_SERVER: DWORD = 0x00000800;
922 pub const SV_TYPE_SERVER_UNIX: DWORD = SV_TYPE_XENIX_SERVER;
923 pub const SV_TYPE_NT: DWORD = 0x00001000;
924 pub const SV_TYPE_WFW: DWORD = 0x00002000;
925 pub const SV_TYPE_SERVER_MFPN: DWORD = 0x00004000;
926 pub const SV_TYPE_SERVER_NT: DWORD = 0x00008000;
927 pub const SV_TYPE_POTENTIAL_BROWSER: DWORD = 0x00010000;
928 pub const SV_TYPE_BACKUP_BROWSER: DWORD = 0x00020000;
929 pub const SV_TYPE_MASTER_BROWSER: DWORD = 0x00040000;
930 pub const SV_TYPE_DOMAIN_MASTER: DWORD = 0x00080000;
931 pub const SV_TYPE_SERVER_OSF: DWORD = 0x00100000;
932 pub const SV_TYPE_SERVER_VMS: DWORD = 0x00200000;
933 pub const SV_TYPE_WINDOWS: DWORD = 0x00400000;
934 pub const SV_TYPE_DFS: DWORD = 0x00800000;
935 pub const SV_TYPE_CLUSTER_NT: DWORD = 0x01000000;
936 pub const SV_TYPE_TERMINALSERVER: DWORD = 0x02000000;
937 pub const SV_TYPE_CLUSTER_VS_NT: DWORD = 0x04000000;
938 pub const SV_TYPE_DCE: DWORD = 0x10000000;
939 pub const SV_TYPE_ALTERNATE_XPORT: DWORD = 0x20000000;
940 pub const SV_TYPE_LOCAL_LIST_ONLY: DWORD = 0x40000000;
941 pub const SV_TYPE_DOMAIN_ENUM: DWORD = 0x80000000;
942 pub const SV_TYPE_ALL: DWORD = 0xFFFFFFFF;
943 pub const SV_NODISC: DWORD = -1i32 as u32;
944 pub const SV_USERSECURITY: DWORD = 1;
945 pub const SV_SHARESECURITY: DWORD = 0;
946 pub const SV_HIDDEN: DWORD = 1;
947 pub const SV_VISIBLE: DWORD = 0;
948 pub const SV_PLATFORM_ID_PARMNUM: DWORD = 101;
949 pub const SV_NAME_PARMNUM: DWORD = 102;
950 pub const SV_VERSION_MAJOR_PARMNUM: DWORD = 103;
951 pub const SV_VERSION_MINOR_PARMNUM: DWORD = 104;
952 pub const SV_TYPE_PARMNUM: DWORD = 105;
953 pub const SV_COMMENT_PARMNUM: DWORD = 5;
954 pub const SV_USERS_PARMNUM: DWORD = 107;
955 pub const SV_DISC_PARMNUM: DWORD = 10;
956 pub const SV_HIDDEN_PARMNUM: DWORD = 16;
957 pub const SV_ANNOUNCE_PARMNUM: DWORD = 17;
958 pub const SV_ANNDELTA_PARMNUM: DWORD = 18;
959 pub const SV_USERPATH_PARMNUM: DWORD = 112;
960 pub const SV_ULIST_MTIME_PARMNUM: DWORD = 401;
961 pub const SV_GLIST_MTIME_PARMNUM: DWORD = 402;
962 pub const SV_ALIST_MTIME_PARMNUM: DWORD = 403;
963 pub const SV_ALERTS_PARMNUM: DWORD = 11;
964 pub const SV_SECURITY_PARMNUM: DWORD = 405;
965 pub const SV_NUMADMIN_PARMNUM: DWORD = 406;
966 pub const SV_LANMASK_PARMNUM: DWORD = 407;
967 pub const SV_GUESTACC_PARMNUM: DWORD = 408;
968 pub const SV_CHDEVQ_PARMNUM: DWORD = 410;
969 pub const SV_CHDEVJOBS_PARMNUM: DWORD = 411;
970 pub const SV_CONNECTIONS_PARMNUM: DWORD = 412;
971 pub const SV_SHARES_PARMNUM: DWORD = 413;
972 pub const SV_OPENFILES_PARMNUM: DWORD = 414;
973 pub const SV_SESSREQS_PARMNUM: DWORD = 417;
974 pub const SV_ACTIVELOCKS_PARMNUM: DWORD = 419;
975 pub const SV_NUMREQBUF_PARMNUM: DWORD = 420;
976 pub const SV_NUMBIGBUF_PARMNUM: DWORD = 422;
977 pub const SV_NUMFILETASKS_PARMNUM: DWORD = 423;
978 pub const SV_ALERTSCHED_PARMNUM: DWORD = 37;
979 pub const SV_ERRORALERT_PARMNUM: DWORD = 38;
980 pub const SV_LOGONALERT_PARMNUM: DWORD = 39;
981 pub const SV_ACCESSALERT_PARMNUM: DWORD = 40;
982 pub const SV_DISKALERT_PARMNUM: DWORD = 41;
983 pub const SV_NETIOALERT_PARMNUM: DWORD = 42;
984 pub const SV_MAXAUDITSZ_PARMNUM: DWORD = 43;
985 pub const SV_SRVHEURISTICS_PARMNUM: DWORD = 431;
986 pub const SV_SESSOPENS_PARMNUM: DWORD = 501;
987 pub const SV_SESSVCS_PARMNUM: DWORD = 502;
988 pub const SV_OPENSEARCH_PARMNUM: DWORD = 503;
989 pub const SV_SIZREQBUF_PARMNUM: DWORD = 504;
990 pub const SV_INITWORKITEMS_PARMNUM: DWORD = 505;
991 pub const SV_MAXWORKITEMS_PARMNUM: DWORD = 506;
992 pub const SV_RAWWORKITEMS_PARMNUM: DWORD = 507;
993 pub const SV_IRPSTACKSIZE_PARMNUM: DWORD = 508;
994 pub const SV_MAXRAWBUFLEN_PARMNUM: DWORD = 509;
995 pub const SV_SESSUSERS_PARMNUM: DWORD = 510;
996 pub const SV_SESSCONNS_PARMNUM: DWORD = 511;
997 pub const SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM: DWORD = 512;
998 pub const SV_MAXPAGEDMEMORYUSAGE_PARMNUM: DWORD = 513;
999 pub const SV_ENABLESOFTCOMPAT_PARMNUM: DWORD = 514;
1000 pub const SV_ENABLEFORCEDLOGOFF_PARMNUM: DWORD = 515;
1001 pub const SV_TIMESOURCE_PARMNUM: DWORD = 516;
1002 pub const SV_ACCEPTDOWNLEVELAPIS_PARMNUM: DWORD = 517;
1003 pub const SV_LMANNOUNCE_PARMNUM: DWORD = 518;
1004 pub const SV_DOMAIN_PARMNUM: DWORD = 519;
1005 pub const SV_MAXCOPYREADLEN_PARMNUM: DWORD = 520;
1006 pub const SV_MAXCOPYWRITELEN_PARMNUM: DWORD = 521;
1007 pub const SV_MINKEEPSEARCH_PARMNUM: DWORD = 522;
1008 pub const SV_MAXKEEPSEARCH_PARMNUM: DWORD = 523;
1009 pub const SV_MINKEEPCOMPLSEARCH_PARMNUM: DWORD = 524;
1010 pub const SV_MAXKEEPCOMPLSEARCH_PARMNUM: DWORD = 525;
1011 pub const SV_THREADCOUNTADD_PARMNUM: DWORD = 526;
1012 pub const SV_NUMBLOCKTHREADS_PARMNUM: DWORD = 527;
1013 pub const SV_SCAVTIMEOUT_PARMNUM: DWORD = 528;
1014 pub const SV_MINRCVQUEUE_PARMNUM: DWORD = 529;
1015 pub const SV_MINFREEWORKITEMS_PARMNUM: DWORD = 530;
1016 pub const SV_XACTMEMSIZE_PARMNUM: DWORD = 531;
1017 pub const SV_THREADPRIORITY_PARMNUM: DWORD = 532;
1018 pub const SV_MAXMPXCT_PARMNUM: DWORD = 533;
1019 pub const SV_OPLOCKBREAKWAIT_PARMNUM: DWORD = 534;
1020 pub const SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM: DWORD = 535;
1021 pub const SV_ENABLEOPLOCKS_PARMNUM: DWORD = 536;
1022 pub const SV_ENABLEOPLOCKFORCECLOSE_PARMNUM: DWORD = 537;
1023 pub const SV_ENABLEFCBOPENS_PARMNUM: DWORD = 538;
1024 pub const SV_ENABLERAW_PARMNUM: DWORD = 539;
1025 pub const SV_ENABLESHAREDNETDRIVES_PARMNUM: DWORD = 540;
1026 pub const SV_MINFREECONNECTIONS_PARMNUM: DWORD = 541;
1027 pub const SV_MAXFREECONNECTIONS_PARMNUM: DWORD = 542;
1028 pub const SV_INITSESSTABLE_PARMNUM: DWORD = 543;
1029 pub const SV_INITCONNTABLE_PARMNUM: DWORD = 544;
1030 pub const SV_INITFILETABLE_PARMNUM: DWORD = 545;
1031 pub const SV_INITSEARCHTABLE_PARMNUM: DWORD = 546;
1032 pub const SV_ALERTSCHEDULE_PARMNUM: DWORD = 547;
1033 pub const SV_ERRORTHRESHOLD_PARMNUM: DWORD = 548;
1034 pub const SV_NETWORKERRORTHRESHOLD_PARMNUM: DWORD = 549;
1035 pub const SV_DISKSPACETHRESHOLD_PARMNUM: DWORD = 550;
1036 pub const SV_MAXLINKDELAY_PARMNUM: DWORD = 552;
1037 pub const SV_MINLINKTHROUGHPUT_PARMNUM: DWORD = 553;
1038 pub const SV_LINKINFOVALIDTIME_PARMNUM: DWORD = 554;
1039 pub const SV_SCAVQOSINFOUPDATETIME_PARMNUM: DWORD = 555;
1040 pub const SV_MAXWORKITEMIDLETIME_PARMNUM: DWORD = 556;
1041 pub const SV_MAXRAWWORKITEMS_PARMNUM: DWORD = 557;
1042 pub const SV_PRODUCTTYPE_PARMNUM: DWORD = 560;
1043 pub const SV_SERVERSIZE_PARMNUM: DWORD = 561;
1044 pub const SV_CONNECTIONLESSAUTODISC_PARMNUM: DWORD = 562;
1045 pub const SV_SHARINGVIOLATIONRETRIES_PARMNUM: DWORD = 563;
1046 pub const SV_SHARINGVIOLATIONDELAY_PARMNUM: DWORD = 564;
1047 pub const SV_MAXGLOBALOPENSEARCH_PARMNUM: DWORD = 565;
1048 pub const SV_REMOVEDUPLICATESEARCHES_PARMNUM: DWORD = 566;
1049 pub const SV_LOCKVIOLATIONRETRIES_PARMNUM: DWORD = 567;
1050 pub const SV_LOCKVIOLATIONOFFSET_PARMNUM: DWORD = 568;
1051 pub const SV_LOCKVIOLATIONDELAY_PARMNUM: DWORD = 569;
1052 pub const SV_MDLREADSWITCHOVER_PARMNUM: DWORD = 570;
1053 pub const SV_CACHEDOPENLIMIT_PARMNUM: DWORD = 571;
1054 pub const SV_CRITICALTHREADS_PARMNUM: DWORD = 572;
1055 pub const SV_RESTRICTNULLSESSACCESS_PARMNUM: DWORD = 573;
1056 pub const SV_ENABLEWFW311DIRECTIPX_PARMNUM: DWORD = 574;
1057 pub const SV_OTHERQUEUEAFFINITY_PARMNUM: DWORD = 575;
1058 pub const SV_QUEUESAMPLESECS_PARMNUM: DWORD = 576;
1059 pub const SV_BALANCECOUNT_PARMNUM: DWORD = 577;
1060 pub const SV_PREFERREDAFFINITY_PARMNUM: DWORD = 578;
1061 pub const SV_MAXFREERFCBS_PARMNUM: DWORD = 579;
1062 pub const SV_MAXFREEMFCBS_PARMNUM: DWORD = 580;
1063 pub const SV_MAXFREELFCBS_PARMNUM: DWORD = 581;
1064 pub const SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM: DWORD = 582;
1065 pub const SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM: DWORD = 583;
1066 pub const SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM: DWORD = 584;
1067 pub const SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM: DWORD = 585;
1068 pub const SV_MAXTHREADSPERQUEUE_PARMNUM: DWORD = 586;
1069 pub const SV_CACHEDDIRECTORYLIMIT_PARMNUM: DWORD = 587;
1070 pub const SV_MAXCOPYLENGTH_PARMNUM: DWORD = 588;
1071 pub const SV_ENABLECOMPRESSION_PARMNUM: DWORD = 590;
1072 pub const SV_AUTOSHAREWKS_PARMNUM: DWORD = 591;
1073 pub const SV_AUTOSHARESERVER_PARMNUM: DWORD = 592;
1074 pub const SV_ENABLESECURITYSIGNATURE_PARMNUM: DWORD = 593;
1075 pub const SV_REQUIRESECURITYSIGNATURE_PARMNUM: DWORD = 594;
1076 pub const SV_MINCLIENTBUFFERSIZE_PARMNUM: DWORD = 595;
1077 pub const SV_CONNECTIONNOSESSIONSTIMEOUT_PARMNUM: DWORD = 596;
1078 pub const SV_IDLETHREADTIMEOUT_PARMNUM: DWORD = 597;
1079 pub const SV_ENABLEW9XSECURITYSIGNATURE_PARMNUM: DWORD = 598;
1080 pub const SV_ENFORCEKERBEROSREAUTHENTICATION_PARMNUM: DWORD = 599;
1081 pub const SV_DISABLEDOS_PARMNUM: DWORD = 600;
1082 pub const SV_LOWDISKSPACEMINIMUM_PARMNUM: DWORD = 601;
1083 pub const SV_DISABLESTRICTNAMECHECKING_PARMNUM: DWORD = 602;
1084 pub const SV_ENABLEAUTHENTICATEUSERSHARING_PARMNUM: DWORD = 603;
1085 pub const SV_COMMENT_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_COMMENT_PARMNUM;
1086 pub const SV_USERS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_USERS_PARMNUM;
1087 pub const SV_DISC_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_DISC_PARMNUM;
1088 pub const SV_HIDDEN_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_HIDDEN_PARMNUM;
1089 pub const SV_ANNOUNCE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_ANNOUNCE_PARMNUM;
1090 pub const SV_ANNDELTA_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_ANNDELTA_PARMNUM;
1091 pub const SV_SESSOPENS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_SESSOPENS_PARMNUM;
1092 pub const SV_SESSVCS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_SESSVCS_PARMNUM;
1093 pub const SV_OPENSEARCH_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_OPENSEARCH_PARMNUM;
1094 pub const SV_MAXWORKITEMS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MAXWORKITEMS_PARMNUM;
1095 pub const SV_MAXRAWBUFLEN_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MAXRAWBUFLEN_PARMNUM;
1096 pub const SV_SESSUSERS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_SESSUSERS_PARMNUM;
1097 pub const SV_SESSCONNS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_SESSCONNS_PARMNUM;
1098 pub const SV_MAXNONPAGEDMEMORYUSAGE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1099     + SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM;
1100 pub const SV_MAXPAGEDMEMORYUSAGE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1101     + SV_MAXPAGEDMEMORYUSAGE_PARMNUM;
1102 pub const SV_ENABLESOFTCOMPAT_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1103     + SV_ENABLESOFTCOMPAT_PARMNUM;
1104 pub const SV_ENABLEFORCEDLOGOFF_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1105     + SV_ENABLEFORCEDLOGOFF_PARMNUM;
1106 pub const SV_TIMESOURCE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_TIMESOURCE_PARMNUM;
1107 pub const SV_LMANNOUNCE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_LMANNOUNCE_PARMNUM;
1108 pub const SV_MAXCOPYREADLEN_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYREADLEN_PARMNUM;
1109 pub const SV_MAXCOPYWRITELEN_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1110     + SV_MAXCOPYWRITELEN_PARMNUM;
1111 pub const SV_MINKEEPSEARCH_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MINKEEPSEARCH_PARMNUM;
1112 pub const SV_MAXKEEPSEARCH_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MAXKEEPSEARCH_PARMNUM;
1113 pub const SV_MINKEEPCOMPLSEARCH_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1114     + SV_MINKEEPCOMPLSEARCH_PARMNUM;
1115 pub const SV_MAXKEEPCOMPLSEARCH_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1116     + SV_MAXKEEPCOMPLSEARCH_PARMNUM;
1117 pub const SV_SCAVTIMEOUT_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_SCAVTIMEOUT_PARMNUM;
1118 pub const SV_MINRCVQUEUE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MINRCVQUEUE_PARMNUM;
1119 pub const SV_MINFREEWORKITEMS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1120     + SV_MINFREEWORKITEMS_PARMNUM;
1121 pub const SV_MAXMPXCT_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MAXMPXCT_PARMNUM;
1122 pub const SV_OPLOCKBREAKWAIT_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1123     + SV_OPLOCKBREAKWAIT_PARMNUM;
1124 pub const SV_OPLOCKBREAKRESPONSEWAIT_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1125     + SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM;
1126 pub const SV_ENABLEOPLOCKS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_ENABLEOPLOCKS_PARMNUM;
1127 pub const SV_ENABLEOPLOCKFORCECLOSE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1128     + SV_ENABLEOPLOCKFORCECLOSE_PARMNUM;
1129 pub const SV_ENABLEFCBOPENS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_ENABLEFCBOPENS_PARMNUM;
1130 pub const SV_ENABLERAW_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_ENABLERAW_PARMNUM;
1131 pub const SV_ENABLESHAREDNETDRIVES_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1132     + SV_ENABLESHAREDNETDRIVES_PARMNUM;
1133 pub const SV_MINFREECONNECTIONS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1134     + SV_MINFREECONNECTIONS_PARMNUM;
1135 pub const SV_MAXFREECONNECTIONS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1136     + SV_MAXFREECONNECTIONS_PARMNUM;
1137 pub const SV_INITSESSTABLE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_INITSESSTABLE_PARMNUM;
1138 pub const SV_INITCONNTABLE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_INITCONNTABLE_PARMNUM;
1139 pub const SV_INITFILETABLE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_INITFILETABLE_PARMNUM;
1140 pub const SV_INITSEARCHTABLE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1141     + SV_INITSEARCHTABLE_PARMNUM;
1142 pub const SV_ALERTSCHEDULE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_ALERTSCHEDULE_PARMNUM;
1143 pub const SV_ERRORTHRESHOLD_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_ERRORTHRESHOLD_PARMNUM;
1144 pub const SV_NETWORKERRORTHRESHOLD_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1145     + SV_NETWORKERRORTHRESHOLD_PARMNUM;
1146 pub const SV_DISKSPACETHRESHOLD_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1147     + SV_DISKSPACETHRESHOLD_PARMNUM;
1148 pub const SV_MAXLINKDELAY_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MAXLINKDELAY_PARMNUM;
1149 pub const SV_MINLINKTHROUGHPUT_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1150     + SV_MINLINKTHROUGHPUT_PARMNUM;
1151 pub const SV_LINKINFOVALIDTIME_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1152     + SV_LINKINFOVALIDTIME_PARMNUM;
1153 pub const SV_SCAVQOSINFOUPDATETIME_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1154     + SV_SCAVQOSINFOUPDATETIME_PARMNUM;
1155 pub const SV_MAXWORKITEMIDLETIME_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1156     + SV_MAXWORKITEMIDLETIME_PARMNUM;
1157 pub const SV_MAXRAWWORKITEMS_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1158     + SV_MAXRAWWORKITEMS_PARMNUM;
1159 pub const SV_PRODUCTTYPE_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_PRODUCTTYPE_PARMNUM;
1160 pub const SV_SERVERSIZE_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_SERVERSIZE_PARMNUM;
1161 pub const SV_CONNECTIONLESSAUTODISC_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1162     + SV_CONNECTIONLESSAUTODISC_PARMNUM;
1163 pub const SV_SHARINGVIOLATIONRETRIES_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1164     + SV_SHARINGVIOLATIONRETRIES_PARMNUM;
1165 pub const SV_SHARINGVIOLATIONDELAY_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1166     + SV_SHARINGVIOLATIONDELAY_PARMNUM;
1167 pub const SV_MAXGLOBALOPENSEARCH_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1168     + SV_MAXGLOBALOPENSEARCH_PARMNUM;
1169 pub const SV_REMOVEDUPLICATESEARCHES_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1170     + SV_REMOVEDUPLICATESEARCHES_PARMNUM;
1171 pub const SV_LOCKVIOLATIONRETRIES_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1172     + SV_LOCKVIOLATIONRETRIES_PARMNUM;
1173 pub const SV_LOCKVIOLATIONOFFSET_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1174     + SV_LOCKVIOLATIONOFFSET_PARMNUM;
1175 pub const SV_LOCKVIOLATIONDELAY_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1176     + SV_LOCKVIOLATIONDELAY_PARMNUM;
1177 pub const SV_MDLREADSWITCHOVER_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1178     + SV_MDLREADSWITCHOVER_PARMNUM;
1179 pub const SV_CACHEDOPENLIMIT_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1180     + SV_CACHEDOPENLIMIT_PARMNUM;
1181 pub const SV_CRITICALTHREADS_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1182     + SV_CRITICALTHREADS_PARMNUM;
1183 pub const SV_RESTRICTNULLSESSACCESS_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1184     + SV_RESTRICTNULLSESSACCESS_PARMNUM;
1185 pub const SV_ENABLEWFW311DIRECTIPX_INFOLOEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1186     + SV_ENABLEWFW311DIRECTIPX_PARMNUM;
1187 pub const SV_OTHERQUEUEAFFINITY_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1188     + SV_OTHERQUEUEAFFINITY_PARMNUM;
1189 pub const SV_QUEUESAMPLESECS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1190     + SV_QUEUESAMPLESECS_PARMNUM;
1191 pub const SV_BALANCECOUNT_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_BALANCECOUNT_PARMNUM;
1192 pub const SV_PREFERREDAFFINITY_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1193     + SV_PREFERREDAFFINITY_PARMNUM;
1194 pub const SV_MAXFREERFCBS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MAXFREERFCBS_PARMNUM;
1195 pub const SV_MAXFREEMFCBS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MAXFREEMFCBS_PARMNUM;
1196 pub const SV_MAXFREELFCBS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MAXFREELFCBS_PARMNUM;
1197 pub const SV_MAXFREEPAGEDPOOLCHUNKS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1198     + SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM;
1199 pub const SV_MINPAGEDPOOLCHUNKSIZE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1200     + SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM;
1201 pub const SV_MAXPAGEDPOOLCHUNKSIZE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1202     + SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM;
1203 pub const SV_SENDSFROMPREFERREDPROCESSOR_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1204     + SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM;
1205 pub const SV_MAXTHREADSPERQUEUE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1206     + SV_MAXTHREADSPERQUEUE_PARMNUM;
1207 pub const SV_CACHEDDIRECTORYLIMIT_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1208     + SV_CACHEDDIRECTORYLIMIT_PARMNUM;
1209 pub const SV_MAXCOPYLENGTH_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYLENGTH_PARMNUM;
1210 pub const SV_ENABLECOMPRESSION_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1211     + SV_ENABLECOMPRESSION_PARMNUM;
1212 pub const SV_AUTOSHAREWKS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_AUTOSHAREWKS_PARMNUM;
1213 pub const SV_AUTOSHARESERVER_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1214     + SV_AUTOSHARESERVER_PARMNUM;
1215 pub const SV_ENABLESECURITYSIGNATURE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1216     + SV_ENABLESECURITYSIGNATURE_PARMNUM;
1217 pub const SV_REQUIRESECURITYSIGNATURE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1218     + SV_REQUIRESECURITYSIGNATURE_PARMNUM;
1219 pub const SV_MINCLIENTBUFFERSIZE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1220     + SV_MINCLIENTBUFFERSIZE_PARMNUM;
1221 pub const SV_CONNECTIONNOSESSIONSTIMEOUT_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1222     + SV_CONNECTIONNOSESSIONSTIMEOUT_PARMNUM;
1223 pub const SV_IDLETHREADTIMEOUT_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1224     + SV_IDLETHREADTIMEOUT_PARMNUM;
1225 pub const SV_ENABLEW9XSECURITYSIGNATURE_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1226     + SV_ENABLEW9XSECURITYSIGNATURE_PARMNUM;
1227 pub const SV_ENFORCEKERBEROSREAUTHENTICATION_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1228     + SV_ENFORCEKERBEROSREAUTHENTICATION_PARMNUM;
1229 pub const SV_DISABLEDOS_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL + SV_DISABLEDOS_PARMNUM;
1230 pub const SV_LOWDISKSPACEMINIMUM_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1231     + SV_LOWDISKSPACEMINIMUM_PARMNUM;
1232 pub const SV_DISABLESTRICTNAMECHECKING_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1233     + SV_DISABLESTRICTNAMECHECKING_PARMNUM;
1234 pub const SV_ENABLEAUTHENTICATEUSERSHARING_INFOLEVEL: DWORD = PARMNUM_BASE_INFOLEVEL
1235     + SV_ENABLEAUTHENTICATEUSERSHARING_PARMNUM;
1236 pub const SVI1_NUM_ELEMENTS: DWORD = 5;
1237 pub const SVI2_NUM_ELEMENTS: DWORD = 40;
1238 pub const SVI3_NUM_ELEMENTS: DWORD = 44;
1239 pub const SV_MAX_CMD_LEN: DWORD = PATHLEN;
1240 pub const SW_AUTOPROF_LOAD_MASK: DWORD = 0x1;
1241 pub const SW_AUTOPROF_SAVE_MASK: DWORD = 0x2;
1242 pub const SV_MAX_SRV_HEUR_LEN: DWORD = 32;
1243 pub const SV_USERS_PER_LICENSE: DWORD = 5;
1244 pub const SVTI2_REMAP_PIPE_NAMES: DWORD = 0x02;
1245 pub const SVTI2_SCOPED_NAME: DWORD = 0x04;
1246 pub const SVTI2_CLUSTER_NAME: DWORD = 0x08;
1247 pub const SVTI2_CLUSTER_DNN_NAME: DWORD = 0x10;
1248 pub const SVTI2_UNICODE_TRANSPORT_ADDRESS: DWORD = 0x20;
1249 pub const SVTI2_RESERVED1: DWORD = 0x1000;
1250 pub const SVTI2_RESERVED2: DWORD = 0x2000;
1251 pub const SVTI2_RESERVED3: DWORD = 0x4000;
1252 pub const SVTI2_VALID_FLAGS: DWORD = SVTI2_REMAP_PIPE_NAMES | SVTI2_SCOPED_NAME
1253     | SVTI2_CLUSTER_NAME | SVTI2_CLUSTER_DNN_NAME | SVTI2_UNICODE_TRANSPORT_ADDRESS;
1254 pub const SRV_SUPPORT_HASH_GENERATION: DWORD = 0x0001;
1255 pub const SRV_HASH_GENERATION_ACTIVE: DWORD = 0x0002;
1256