Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef _LMSERVER_
      7 #define _LMSERVER_
      8 
      9 #include <winsvc.h>
     10 
     11 #ifdef __cplusplus
     12 extern "C" {
     13 #endif
     14 
     15 #include <lmcons.h>
     16 
     17   NET_API_STATUS WINAPI NetServerEnum(LMCSTR servername,DWORD level,LPBYTE *bufptr,DWORD prefmaxlen,LPDWORD entriesread,LPDWORD totalentries,DWORD servertype,LMCSTR domain,LPDWORD resume_handle);
     18   NET_API_STATUS WINAPI NetServerEnumEx(LMCSTR ServerName,DWORD Level,LPBYTE *Bufptr,DWORD PrefMaxlen,LPDWORD EntriesRead,LPDWORD totalentries,DWORD servertype,LMCSTR domain,LMCSTR FirstNameToReturn);
     19   NET_API_STATUS WINAPI NetServerGetInfo(LMSTR servername,DWORD level,LPBYTE *bufptr);
     20   NET_API_STATUS WINAPI NetServerSetInfo(LMSTR servername,DWORD level,LPBYTE buf,LPDWORD ParmError);
     21   NET_API_STATUS NetServerSetInfoCommandLine(WORD argc,LMSTR argv[]);
     22   NET_API_STATUS WINAPI NetServerDiskEnum(LMSTR servername,DWORD level,LPBYTE *bufptr,DWORD prefmaxlen,LPDWORD entriesread,LPDWORD totalentries,LPDWORD resume_handle);
     23   NET_API_STATUS WINAPI NetServerComputerNameAdd(LMSTR ServerName,LMSTR EmulatedDomainName,LMSTR EmulatedServerName);
     24   NET_API_STATUS WINAPI NetServerComputerNameDel(LMSTR ServerName,LMSTR EmulatedServerName);
     25   NET_API_STATUS WINAPI NetServerTransportAdd(LMSTR servername,DWORD level,LPBYTE bufptr);
     26   NET_API_STATUS WINAPI NetServerTransportAddEx(LMSTR servername,DWORD level,LPBYTE bufptr);
     27   NET_API_STATUS WINAPI NetServerTransportDel(LMSTR servername,DWORD level,LPBYTE bufptr);
     28   NET_API_STATUS WINAPI NetServerTransportEnum(LMSTR servername,DWORD level,LPBYTE *bufptr,DWORD prefmaxlen,LPDWORD entriesread,LPDWORD totalentries,LPDWORD resumehandle);
     29   WINBOOL WINAPI SetServiceBits(SERVICE_STATUS_HANDLE hServiceStatus,DWORD dwServiceBits,WINBOOL bSetBitsOn,WINBOOL bUpdateImmediately);
     30 
     31   typedef struct _SERVER_INFO_100 {
     32     DWORD sv100_platform_id;
     33     LMSTR sv100_name;
     34   } SERVER_INFO_100,*PSERVER_INFO_100,*LPSERVER_INFO_100;
     35 
     36   typedef struct _SERVER_INFO_101 {
     37     DWORD sv101_platform_id;
     38     LMSTR sv101_name;
     39     DWORD sv101_version_major;
     40     DWORD sv101_version_minor;
     41     DWORD sv101_type;
     42     LMSTR sv101_comment;
     43   } SERVER_INFO_101,*PSERVER_INFO_101,*LPSERVER_INFO_101;
     44 
     45   typedef struct _SERVER_INFO_102 {
     46     DWORD sv102_platform_id;
     47     LMSTR sv102_name;
     48     DWORD sv102_version_major;
     49     DWORD sv102_version_minor;
     50     DWORD sv102_type;
     51     LMSTR sv102_comment;
     52     DWORD sv102_users;
     53     LONG sv102_disc;
     54     WINBOOL sv102_hidden;
     55     DWORD sv102_announce;
     56     DWORD sv102_anndelta;
     57     DWORD sv102_licenses;
     58     LMSTR sv102_userpath;
     59   } SERVER_INFO_102,*PSERVER_INFO_102,*LPSERVER_INFO_102;
     60 
     61   typedef struct _SERVER_INFO_402 {
     62     DWORD sv402_ulist_mtime;
     63     DWORD sv402_glist_mtime;
     64     DWORD sv402_alist_mtime;
     65     LMSTR sv402_alerts;
     66     DWORD sv402_security;
     67     DWORD sv402_numadmin;
     68     DWORD sv402_lanmask;
     69     LMSTR sv402_guestacct;
     70     DWORD sv402_chdevs;
     71     DWORD sv402_chdevq;
     72     DWORD sv402_chdevjobs;
     73     DWORD sv402_connections;
     74     DWORD sv402_shares;
     75     DWORD sv402_openfiles;
     76     DWORD sv402_sessopens;
     77     DWORD sv402_sessvcs;
     78     DWORD sv402_sessreqs;
     79     DWORD sv402_opensearch;
     80     DWORD sv402_activelocks;
     81     DWORD sv402_numreqbuf;
     82     DWORD sv402_sizreqbuf;
     83     DWORD sv402_numbigbuf;
     84     DWORD sv402_numfiletasks;
     85     DWORD sv402_alertsched;
     86     DWORD sv402_erroralert;
     87     DWORD sv402_logonalert;
     88     DWORD sv402_accessalert;
     89     DWORD sv402_diskalert;
     90     DWORD sv402_netioalert;
     91     DWORD sv402_maxauditsz;
     92     LMSTR sv402_srvheuristics;
     93   } SERVER_INFO_402,*PSERVER_INFO_402,*LPSERVER_INFO_402;
     94 
     95   typedef struct _SERVER_INFO_403 {
     96     DWORD sv403_ulist_mtime;
     97     DWORD sv403_glist_mtime;
     98     DWORD sv403_alist_mtime;
     99     LMSTR sv403_alerts;
    100     DWORD sv403_security;
    101     DWORD sv403_numadmin;
    102     DWORD sv403_lanmask;
    103     LMSTR sv403_guestacct;
    104     DWORD sv403_chdevs;
    105     DWORD sv403_chdevq;
    106     DWORD sv403_chdevjobs;
    107     DWORD sv403_connections;
    108     DWORD sv403_shares;
    109     DWORD sv403_openfiles;
    110     DWORD sv403_sessopens;
    111     DWORD sv403_sessvcs;
    112     DWORD sv403_sessreqs;
    113     DWORD sv403_opensearch;
    114     DWORD sv403_activelocks;
    115     DWORD sv403_numreqbuf;
    116     DWORD sv403_sizreqbuf;
    117     DWORD sv403_numbigbuf;
    118     DWORD sv403_numfiletasks;
    119     DWORD sv403_alertsched;
    120     DWORD sv403_erroralert;
    121     DWORD sv403_logonalert;
    122     DWORD sv403_accessalert;
    123     DWORD sv403_diskalert;
    124     DWORD sv403_netioalert;
    125     DWORD sv403_maxauditsz;
    126     LMSTR sv403_srvheuristics;
    127     DWORD sv403_auditedevents;
    128     DWORD sv403_autoprofile;
    129     LMSTR sv403_autopath;
    130   } SERVER_INFO_403,*PSERVER_INFO_403,*LPSERVER_INFO_403;
    131 
    132   typedef struct _SERVER_INFO_502 {
    133     DWORD sv502_sessopens;
    134     DWORD sv502_sessvcs;
    135     DWORD sv502_opensearch;
    136     DWORD sv502_sizreqbuf;
    137     DWORD sv502_initworkitems;
    138     DWORD sv502_maxworkitems;
    139     DWORD sv502_rawworkitems;
    140     DWORD sv502_irpstacksize;
    141     DWORD sv502_maxrawbuflen;
    142     DWORD sv502_sessusers;
    143     DWORD sv502_sessconns;
    144     DWORD sv502_maxpagedmemoryusage;
    145     DWORD sv502_maxnonpagedmemoryusage;
    146     WINBOOL sv502_enablesoftcompat;
    147     WINBOOL sv502_enableforcedlogoff;
    148     WINBOOL sv502_timesource;
    149     WINBOOL sv502_acceptdownlevelapis;
    150     WINBOOL sv502_lmannounce;
    151   } SERVER_INFO_502,*PSERVER_INFO_502,*LPSERVER_INFO_502;
    152 
    153   typedef struct _SERVER_INFO_503 {
    154     DWORD sv503_sessopens;
    155     DWORD sv503_sessvcs;
    156     DWORD sv503_opensearch;
    157     DWORD sv503_sizreqbuf;
    158     DWORD sv503_initworkitems;
    159     DWORD sv503_maxworkitems;
    160     DWORD sv503_rawworkitems;
    161     DWORD sv503_irpstacksize;
    162     DWORD sv503_maxrawbuflen;
    163     DWORD sv503_sessusers;
    164     DWORD sv503_sessconns;
    165     DWORD sv503_maxpagedmemoryusage;
    166     DWORD sv503_maxnonpagedmemoryusage;
    167     WINBOOL sv503_enablesoftcompat;
    168     WINBOOL sv503_enableforcedlogoff;
    169     WINBOOL sv503_timesource;
    170     WINBOOL sv503_acceptdownlevelapis;
    171     WINBOOL sv503_lmannounce;
    172     LMSTR sv503_domain;
    173     DWORD sv503_maxcopyreadlen;
    174     DWORD sv503_maxcopywritelen;
    175     DWORD sv503_minkeepsearch;
    176     DWORD sv503_maxkeepsearch;
    177     DWORD sv503_minkeepcomplsearch;
    178     DWORD sv503_maxkeepcomplsearch;
    179     DWORD sv503_threadcountadd;
    180     DWORD sv503_numblockthreads;
    181     DWORD sv503_scavtimeout;
    182     DWORD sv503_minrcvqueue;
    183     DWORD sv503_minfreeworkitems;
    184     DWORD sv503_xactmemsize;
    185     DWORD sv503_threadpriority;
    186     DWORD sv503_maxmpxct;
    187     DWORD sv503_oplockbreakwait;
    188     DWORD sv503_oplockbreakresponsewait;
    189     WINBOOL sv503_enableoplocks;
    190     WINBOOL sv503_enableoplockforceclose;
    191     WINBOOL sv503_enablefcbopens;
    192     WINBOOL sv503_enableraw;
    193     WINBOOL sv503_enablesharednetdrives;
    194     DWORD sv503_minfreeconnections;
    195     DWORD sv503_maxfreeconnections;
    196   } SERVER_INFO_503,*PSERVER_INFO_503,*LPSERVER_INFO_503;
    197 
    198   typedef struct _SERVER_INFO_599 {
    199     DWORD sv599_sessopens;
    200     DWORD sv599_sessvcs;
    201     DWORD sv599_opensearch;
    202     DWORD sv599_sizreqbuf;
    203     DWORD sv599_initworkitems;
    204     DWORD sv599_maxworkitems;
    205     DWORD sv599_rawworkitems;
    206     DWORD sv599_irpstacksize;
    207     DWORD sv599_maxrawbuflen;
    208     DWORD sv599_sessusers;
    209     DWORD sv599_sessconns;
    210     DWORD sv599_maxpagedmemoryusage;
    211     DWORD sv599_maxnonpagedmemoryusage;
    212     WINBOOL sv599_enablesoftcompat;
    213     WINBOOL sv599_enableforcedlogoff;
    214     WINBOOL sv599_timesource;
    215     WINBOOL sv599_acceptdownlevelapis;
    216     WINBOOL sv599_lmannounce;
    217     LMSTR sv599_domain;
    218     DWORD sv599_maxcopyreadlen;
    219     DWORD sv599_maxcopywritelen;
    220     DWORD sv599_minkeepsearch;
    221     DWORD sv599_maxkeepsearch;
    222     DWORD sv599_minkeepcomplsearch;
    223     DWORD sv599_maxkeepcomplsearch;
    224     DWORD sv599_threadcountadd;
    225     DWORD sv599_numblockthreads;
    226     DWORD sv599_scavtimeout;
    227     DWORD sv599_minrcvqueue;
    228     DWORD sv599_minfreeworkitems;
    229     DWORD sv599_xactmemsize;
    230     DWORD sv599_threadpriority;
    231     DWORD sv599_maxmpxct;
    232     DWORD sv599_oplockbreakwait;
    233     DWORD sv599_oplockbreakresponsewait;
    234     WINBOOL sv599_enableoplocks;
    235     WINBOOL sv599_enableoplockforceclose;
    236     WINBOOL sv599_enablefcbopens;
    237     WINBOOL sv599_enableraw;
    238     WINBOOL sv599_enablesharednetdrives;
    239     DWORD sv599_minfreeconnections;
    240     DWORD sv599_maxfreeconnections;
    241     DWORD sv599_initsesstable;
    242     DWORD sv599_initconntable;
    243     DWORD sv599_initfiletable;
    244     DWORD sv599_initsearchtable;
    245     DWORD sv599_alertschedule;
    246     DWORD sv599_errorthreshold;
    247     DWORD sv599_networkerrorthreshold;
    248     DWORD sv599_diskspacethreshold;
    249     DWORD sv599_reserved;
    250     DWORD sv599_maxlinkdelay;
    251     DWORD sv599_minlinkthroughput;
    252     DWORD sv599_linkinfovalidtime;
    253     DWORD sv599_scavqosinfoupdatetime;
    254     DWORD sv599_maxworkitemidletime;
    255   } SERVER_INFO_599,*PSERVER_INFO_599,*LPSERVER_INFO_599;
    256 
    257   typedef struct _SERVER_INFO_598 {
    258     DWORD sv598_maxrawworkitems;
    259     DWORD sv598_maxthreadsperqueue;
    260     DWORD sv598_producttype;
    261     DWORD sv598_serversize;
    262     DWORD sv598_connectionlessautodisc;
    263     DWORD sv598_sharingviolationretries;
    264     DWORD sv598_sharingviolationdelay;
    265     DWORD sv598_maxglobalopensearch;
    266     DWORD sv598_removeduplicatesearches;
    267     DWORD sv598_lockviolationoffset;
    268     DWORD sv598_lockviolationdelay;
    269     DWORD sv598_mdlreadswitchover;
    270     DWORD sv598_cachedopenlimit;
    271     DWORD sv598_otherqueueaffinity;
    272     WINBOOL sv598_restrictnullsessaccess;
    273     WINBOOL sv598_enablewfw311directipx;
    274     DWORD sv598_queuesamplesecs;
    275     DWORD sv598_balancecount;
    276     DWORD sv598_preferredaffinity;
    277     DWORD sv598_maxfreerfcbs;
    278     DWORD sv598_maxfreemfcbs;
    279     DWORD sv598_maxfreelfcbs;
    280     DWORD sv598_maxfreepagedpoolchunks;
    281     DWORD sv598_minpagedpoolchunksize;
    282     DWORD sv598_maxpagedpoolchunksize;
    283     WINBOOL sv598_sendsfrompreferredprocessor;
    284     DWORD sv598_cacheddirectorylimit;
    285     DWORD sv598_maxcopylength;
    286     WINBOOL sv598_enablecompression;
    287     WINBOOL sv598_autosharewks;
    288     WINBOOL sv598_autoshareserver;
    289     WINBOOL sv598_enablesecuritysignature;
    290     WINBOOL sv598_requiresecuritysignature;
    291     DWORD sv598_minclientbuffersize;
    292     GUID sv598_serverguid;
    293     DWORD sv598_ConnectionNoSessionsTimeout;
    294     DWORD sv598_IdleThreadTimeOut;
    295     WINBOOL sv598_enableW9xsecuritysignature;
    296     WINBOOL sv598_enforcekerberosreauthentication;
    297     WINBOOL sv598_disabledos;
    298     DWORD sv598_lowdiskspaceminimum;
    299     WINBOOL sv598_disablestrictnamechecking;
    300   } SERVER_INFO_598,*PSERVER_INFO_598,*LPSERVER_INFO_598;
    301 
    302   typedef struct _SERVER_INFO_1005 {
    303     LMSTR sv1005_comment;
    304   } SERVER_INFO_1005,*PSERVER_INFO_1005,*LPSERVER_INFO_1005;
    305 
    306   typedef struct _SERVER_INFO_1107 {
    307     DWORD sv1107_users;
    308   } SERVER_INFO_1107,*PSERVER_INFO_1107,*LPSERVER_INFO_1107;
    309 
    310   typedef struct _SERVER_INFO_1010 {
    311     LONG sv1010_disc;
    312   } SERVER_INFO_1010,*PSERVER_INFO_1010,*LPSERVER_INFO_1010;
    313 
    314   typedef struct _SERVER_INFO_1016 {
    315     WINBOOL sv1016_hidden;
    316   } SERVER_INFO_1016,*PSERVER_INFO_1016,*LPSERVER_INFO_1016;
    317 
    318   typedef struct _SERVER_INFO_1017 {
    319     DWORD sv1017_announce;
    320   } SERVER_INFO_1017,*PSERVER_INFO_1017,*LPSERVER_INFO_1017;
    321 
    322   typedef struct _SERVER_INFO_1018 {
    323     DWORD sv1018_anndelta;
    324   } SERVER_INFO_1018,*PSERVER_INFO_1018,*LPSERVER_INFO_1018;
    325 
    326   typedef struct _SERVER_INFO_1501 {
    327     DWORD sv1501_sessopens;
    328   } SERVER_INFO_1501,*PSERVER_INFO_1501,*LPSERVER_INFO_1501;
    329 
    330   typedef struct _SERVER_INFO_1502 {
    331     DWORD sv1502_sessvcs;
    332   } SERVER_INFO_1502,*PSERVER_INFO_1502,*LPSERVER_INFO_1502;
    333 
    334   typedef struct _SERVER_INFO_1503 {
    335     DWORD sv1503_opensearch;
    336   } SERVER_INFO_1503,*PSERVER_INFO_1503,*LPSERVER_INFO_1503;
    337 
    338   typedef struct _SERVER_INFO_1506 {
    339     DWORD sv1506_maxworkitems;
    340   } SERVER_INFO_1506,*PSERVER_INFO_1506,*LPSERVER_INFO_1506;
    341 
    342   typedef struct _SERVER_INFO_1509 {
    343     DWORD sv1509_maxrawbuflen;
    344   } SERVER_INFO_1509,*PSERVER_INFO_1509,*LPSERVER_INFO_1509;
    345 
    346   typedef struct _SERVER_INFO_1510 {
    347     DWORD sv1510_sessusers;
    348   } SERVER_INFO_1510,*PSERVER_INFO_1510,*LPSERVER_INFO_1510;
    349 
    350   typedef struct _SERVER_INFO_1511 {
    351     DWORD sv1511_sessconns;
    352   } SERVER_INFO_1511,*PSERVER_INFO_1511,*LPSERVER_INFO_1511;
    353 
    354   typedef struct _SERVER_INFO_1512 {
    355     DWORD sv1512_maxnonpagedmemoryusage;
    356   } SERVER_INFO_1512,*PSERVER_INFO_1512,*LPSERVER_INFO_1512;
    357 
    358   typedef struct _SERVER_INFO_1513 {
    359     DWORD sv1513_maxpagedmemoryusage;
    360   } SERVER_INFO_1513,*PSERVER_INFO_1513,*LPSERVER_INFO_1513;
    361 
    362   typedef struct _SERVER_INFO_1514 {
    363     WINBOOL sv1514_enablesoftcompat;
    364   } SERVER_INFO_1514,*PSERVER_INFO_1514,*LPSERVER_INFO_1514;
    365 
    366   typedef struct _SERVER_INFO_1515 {
    367     WINBOOL sv1515_enableforcedlogoff;
    368   } SERVER_INFO_1515,*PSERVER_INFO_1515,*LPSERVER_INFO_1515;
    369 
    370   typedef struct _SERVER_INFO_1516 {
    371     WINBOOL sv1516_timesource;
    372   } SERVER_INFO_1516,*PSERVER_INFO_1516,*LPSERVER_INFO_1516;
    373 
    374   typedef struct _SERVER_INFO_1518 {
    375     WINBOOL sv1518_lmannounce;
    376   } SERVER_INFO_1518,*PSERVER_INFO_1518,*LPSERVER_INFO_1518;
    377 
    378   typedef struct _SERVER_INFO_1520 {
    379     DWORD sv1520_maxcopyreadlen;
    380   } SERVER_INFO_1520,*PSERVER_INFO_1520,*LPSERVER_INFO_1520;
    381 
    382   typedef struct _SERVER_INFO_1521 {
    383     DWORD sv1521_maxcopywritelen;
    384   } SERVER_INFO_1521,*PSERVER_INFO_1521,*LPSERVER_INFO_1521;
    385 
    386   typedef struct _SERVER_INFO_1522 {
    387     DWORD sv1522_minkeepsearch;
    388   } SERVER_INFO_1522,*PSERVER_INFO_1522,*LPSERVER_INFO_1522;
    389 
    390   typedef struct _SERVER_INFO_1523 {
    391     DWORD sv1523_maxkeepsearch;
    392   } SERVER_INFO_1523,*PSERVER_INFO_1523,*LPSERVER_INFO_1523;
    393 
    394   typedef struct _SERVER_INFO_1524 {
    395     DWORD sv1524_minkeepcomplsearch;
    396   } SERVER_INFO_1524,*PSERVER_INFO_1524,*LPSERVER_INFO_1524;
    397 
    398   typedef struct _SERVER_INFO_1525 {
    399     DWORD sv1525_maxkeepcomplsearch;
    400   } SERVER_INFO_1525,*PSERVER_INFO_1525,*LPSERVER_INFO_1525;
    401 
    402   typedef struct _SERVER_INFO_1528 {
    403     DWORD sv1528_scavtimeout;
    404   } SERVER_INFO_1528,*PSERVER_INFO_1528,*LPSERVER_INFO_1528;
    405 
    406   typedef struct _SERVER_INFO_1529 {
    407     DWORD sv1529_minrcvqueue;
    408   } SERVER_INFO_1529,*PSERVER_INFO_1529,*LPSERVER_INFO_1529;
    409 
    410   typedef struct _SERVER_INFO_1530 {
    411     DWORD sv1530_minfreeworkitems;
    412   } SERVER_INFO_1530,*PSERVER_INFO_1530,*LPSERVER_INFO_1530;
    413 
    414   typedef struct _SERVER_INFO_1533 {
    415     DWORD sv1533_maxmpxct;
    416   } SERVER_INFO_1533,*PSERVER_INFO_1533,*LPSERVER_INFO_1533;
    417 
    418   typedef struct _SERVER_INFO_1534 {
    419     DWORD sv1534_oplockbreakwait;
    420   } SERVER_INFO_1534,*PSERVER_INFO_1534,*LPSERVER_INFO_1534;
    421 
    422   typedef struct _SERVER_INFO_1535 {
    423     DWORD sv1535_oplockbreakresponsewait;
    424   } SERVER_INFO_1535,*PSERVER_INFO_1535,*LPSERVER_INFO_1535;
    425 
    426   typedef struct _SERVER_INFO_1536 {
    427     WINBOOL sv1536_enableoplocks;
    428   } SERVER_INFO_1536,*PSERVER_INFO_1536,*LPSERVER_INFO_1536;
    429 
    430   typedef struct _SERVER_INFO_1537 {
    431     WINBOOL sv1537_enableoplockforceclose;
    432   } SERVER_INFO_1537,*PSERVER_INFO_1537,*LPSERVER_INFO_1537;
    433 
    434   typedef struct _SERVER_INFO_1538 {
    435     WINBOOL sv1538_enablefcbopens;
    436   } SERVER_INFO_1538,*PSERVER_INFO_1538,*LPSERVER_INFO_1538;
    437 
    438   typedef struct _SERVER_INFO_1539 {
    439     WINBOOL sv1539_enableraw;
    440   } SERVER_INFO_1539,*PSERVER_INFO_1539,*LPSERVER_INFO_1539;
    441 
    442   typedef struct _SERVER_INFO_1540 {
    443     WINBOOL sv1540_enablesharednetdrives;
    444   } SERVER_INFO_1540,*PSERVER_INFO_1540,*LPSERVER_INFO_1540;
    445 
    446   typedef struct _SERVER_INFO_1541 {
    447     WINBOOL sv1541_minfreeconnections;
    448   } SERVER_INFO_1541,*PSERVER_INFO_1541,*LPSERVER_INFO_1541;
    449 
    450   typedef struct _SERVER_INFO_1542 {
    451     WINBOOL sv1542_maxfreeconnections;
    452   } SERVER_INFO_1542,*PSERVER_INFO_1542,*LPSERVER_INFO_1542;
    453 
    454   typedef struct _SERVER_INFO_1543 {
    455     DWORD sv1543_initsesstable;
    456   } SERVER_INFO_1543,*PSERVER_INFO_1543,*LPSERVER_INFO_1543;
    457 
    458   typedef struct _SERVER_INFO_1544 {
    459     DWORD sv1544_initconntable;
    460   } SERVER_INFO_1544,*PSERVER_INFO_1544,*LPSERVER_INFO_1544;
    461 
    462   typedef struct _SERVER_INFO_1545 {
    463     DWORD sv1545_initfiletable;
    464   } SERVER_INFO_1545,*PSERVER_INFO_1545,*LPSERVER_INFO_1545;
    465 
    466   typedef struct _SERVER_INFO_1546 {
    467     DWORD sv1546_initsearchtable;
    468   } SERVER_INFO_1546,*PSERVER_INFO_1546,*LPSERVER_INFO_1546;
    469 
    470   typedef struct _SERVER_INFO_1547 {
    471     DWORD sv1547_alertschedule;
    472   } SERVER_INFO_1547,*PSERVER_INFO_1547,*LPSERVER_INFO_1547;
    473 
    474   typedef struct _SERVER_INFO_1548 {
    475     DWORD sv1548_errorthreshold;
    476   } SERVER_INFO_1548,*PSERVER_INFO_1548,*LPSERVER_INFO_1548;
    477 
    478   typedef struct _SERVER_INFO_1549 {
    479     DWORD sv1549_networkerrorthreshold;
    480   } SERVER_INFO_1549,*PSERVER_INFO_1549,*LPSERVER_INFO_1549;
    481 
    482   typedef struct _SERVER_INFO_1550 {
    483     DWORD sv1550_diskspacethreshold;
    484   } SERVER_INFO_1550,*PSERVER_INFO_1550,*LPSERVER_INFO_1550;
    485 
    486   typedef struct _SERVER_INFO_1552 {
    487     DWORD sv1552_maxlinkdelay;
    488   } SERVER_INFO_1552,*PSERVER_INFO_1552,*LPSERVER_INFO_1552;
    489 
    490   typedef struct _SERVER_INFO_1553 {
    491     DWORD sv1553_minlinkthroughput;
    492   } SERVER_INFO_1553,*PSERVER_INFO_1553,*LPSERVER_INFO_1553;
    493 
    494   typedef struct _SERVER_INFO_1554 {
    495     DWORD sv1554_linkinfovalidtime;
    496   } SERVER_INFO_1554,*PSERVER_INFO_1554,*LPSERVER_INFO_1554;
    497 
    498   typedef struct _SERVER_INFO_1555 {
    499     DWORD sv1555_scavqosinfoupdatetime;
    500   } SERVER_INFO_1555,*PSERVER_INFO_1555,*LPSERVER_INFO_1555;
    501 
    502   typedef struct _SERVER_INFO_1556 {
    503     DWORD sv1556_maxworkitemidletime;
    504   } SERVER_INFO_1556,*PSERVER_INFO_1556,*LPSERVER_INFO_1556;
    505 
    506   typedef struct _SERVER_INFO_1557 {
    507     DWORD sv1557_maxrawworkitems;
    508   } SERVER_INFO_1557,*PSERVER_INFO_1557,*LPSERVER_INFO_1557;
    509 
    510   typedef struct _SERVER_INFO_1560 {
    511     DWORD sv1560_producttype;
    512   } SERVER_INFO_1560,*PSERVER_INFO_1560,*LPSERVER_INFO_1560;
    513 
    514   typedef struct _SERVER_INFO_1561 {
    515     DWORD sv1561_serversize;
    516   } SERVER_INFO_1561,*PSERVER_INFO_1561,*LPSERVER_INFO_1561;
    517 
    518   typedef struct _SERVER_INFO_1562 {
    519     DWORD sv1562_connectionlessautodisc;
    520   } SERVER_INFO_1562,*PSERVER_INFO_1562,*LPSERVER_INFO_1562;
    521 
    522   typedef struct _SERVER_INFO_1563 {
    523     DWORD sv1563_sharingviolationretries;
    524   } SERVER_INFO_1563,*PSERVER_INFO_1563,*LPSERVER_INFO_1563;
    525 
    526   typedef struct _SERVER_INFO_1564 {
    527     DWORD sv1564_sharingviolationdelay;
    528   } SERVER_INFO_1564,*PSERVER_INFO_1564,*LPSERVER_INFO_1564;
    529 
    530   typedef struct _SERVER_INFO_1565 {
    531     DWORD sv1565_maxglobalopensearch;
    532   } SERVER_INFO_1565,*PSERVER_INFO_1565,*LPSERVER_INFO_1565;
    533 
    534   typedef struct _SERVER_INFO_1566 {
    535     WINBOOL sv1566_removeduplicatesearches;
    536   } SERVER_INFO_1566,*PSERVER_INFO_1566,*LPSERVER_INFO_1566;
    537 
    538   typedef struct _SERVER_INFO_1567 {
    539     DWORD sv1567_lockviolationretries;
    540   } SERVER_INFO_1567,*PSERVER_INFO_1567,*LPSERVER_INFO_1567;
    541 
    542   typedef struct _SERVER_INFO_1568 {
    543     DWORD sv1568_lockviolationoffset;
    544   } SERVER_INFO_1568,*PSERVER_INFO_1568,*LPSERVER_INFO_1568;
    545 
    546   typedef struct _SERVER_INFO_1569 {
    547     DWORD sv1569_lockviolationdelay;
    548   } SERVER_INFO_1569,*PSERVER_INFO_1569,*LPSERVER_INFO_1569;
    549 
    550   typedef struct _SERVER_INFO_1570 {
    551     DWORD sv1570_mdlreadswitchover;
    552   } SERVER_INFO_1570,*PSERVER_INFO_1570,*LPSERVER_INFO_1570;
    553 
    554   typedef struct _SERVER_INFO_1571 {
    555     DWORD sv1571_cachedopenlimit;
    556   } SERVER_INFO_1571,*PSERVER_INFO_1571,*LPSERVER_INFO_1571;
    557 
    558   typedef struct _SERVER_INFO_1572 {
    559     DWORD sv1572_criticalthreads;
    560   } SERVER_INFO_1572,*PSERVER_INFO_1572,*LPSERVER_INFO_1572;
    561 
    562   typedef struct _SERVER_INFO_1573 {
    563     DWORD sv1573_restrictnullsessaccess;
    564   } SERVER_INFO_1573,*PSERVER_INFO_1573,*LPSERVER_INFO_1573;
    565 
    566   typedef struct _SERVER_INFO_1574 {
    567     DWORD sv1574_enablewfw311directipx;
    568   } SERVER_INFO_1574,*PSERVER_INFO_1574,*LPSERVER_INFO_1574;
    569 
    570   typedef struct _SERVER_INFO_1575 {
    571     DWORD sv1575_otherqueueaffinity;
    572   } SERVER_INFO_1575,*PSERVER_INFO_1575,*LPSERVER_INFO_1575;
    573 
    574   typedef struct _SERVER_INFO_1576 {
    575     DWORD sv1576_queuesamplesecs;
    576   } SERVER_INFO_1576,*PSERVER_INFO_1576,*LPSERVER_INFO_1576;
    577 
    578   typedef struct _SERVER_INFO_1577 {
    579     DWORD sv1577_balancecount;
    580   } SERVER_INFO_1577,*PSERVER_INFO_1577,*LPSERVER_INFO_1577;
    581 
    582   typedef struct _SERVER_INFO_1578 {
    583     DWORD sv1578_preferredaffinity;
    584   } SERVER_INFO_1578,*PSERVER_INFO_1578,*LPSERVER_INFO_1578;
    585 
    586   typedef struct _SERVER_INFO_1579 {
    587     DWORD sv1579_maxfreerfcbs;
    588   } SERVER_INFO_1579,*PSERVER_INFO_1579,*LPSERVER_INFO_1579;
    589 
    590   typedef struct _SERVER_INFO_1580 {
    591     DWORD sv1580_maxfreemfcbs;
    592   } SERVER_INFO_1580,*PSERVER_INFO_1580,*LPSERVER_INFO_1580;
    593 
    594   typedef struct _SERVER_INFO_1581 {
    595     DWORD sv1581_maxfreemlcbs;
    596   } SERVER_INFO_1581,*PSERVER_INFO_1581,*LPSERVER_INFO_1581;
    597 
    598   typedef struct _SERVER_INFO_1582 {
    599     DWORD sv1582_maxfreepagedpoolchunks;
    600   } SERVER_INFO_1582,*PSERVER_INFO_1582,*LPSERVER_INFO_1582;
    601 
    602   typedef struct _SERVER_INFO_1583 {
    603     DWORD sv1583_minpagedpoolchunksize;
    604   } SERVER_INFO_1583,*PSERVER_INFO_1583,*LPSERVER_INFO_1583;
    605 
    606   typedef struct _SERVER_INFO_1584 {
    607     DWORD sv1584_maxpagedpoolchunksize;
    608   } SERVER_INFO_1584,*PSERVER_INFO_1584,*LPSERVER_INFO_1584;
    609 
    610   typedef struct _SERVER_INFO_1585 {
    611     WINBOOL sv1585_sendsfrompreferredprocessor;
    612   } SERVER_INFO_1585,*PSERVER_INFO_1585,*LPSERVER_INFO_1585;
    613 
    614   typedef struct _SERVER_INFO_1586 {
    615     DWORD sv1586_maxthreadsperqueue;
    616   } SERVER_INFO_1586,*PSERVER_INFO_1586,*LPSERVER_INFO_1586;
    617 
    618   typedef struct _SERVER_INFO_1587 {
    619     DWORD sv1587_cacheddirectorylimit;
    620   } SERVER_INFO_1587,*PSERVER_INFO_1587,*LPSERVER_INFO_1587;
    621 
    622   typedef struct _SERVER_INFO_1588 {
    623     DWORD sv1588_maxcopylength;
    624   } SERVER_INFO_1588,*PSERVER_INFO_1588,*LPSERVER_INFO_1588;
    625 
    626   typedef struct _SERVER_INFO_1590 {
    627     DWORD sv1590_enablecompression;
    628   } SERVER_INFO_1590,*PSERVER_INFO_1590,*LPSERVER_INFO_1590;
    629 
    630   typedef struct _SERVER_INFO_1591 {
    631     DWORD sv1591_autosharewks;
    632   } SERVER_INFO_1591,*PSERVER_INFO_1591,*LPSERVER_INFO_1591;
    633 
    634   typedef struct _SERVER_INFO_1592 {
    635     DWORD sv1592_autosharewks;
    636   } SERVER_INFO_1592,*PSERVER_INFO_1592,*LPSERVER_INFO_1592;
    637 
    638   typedef struct _SERVER_INFO_1593 {
    639     DWORD sv1593_enablesecuritysignature;
    640   } SERVER_INFO_1593,*PSERVER_INFO_1593,*LPSERVER_INFO_1593;
    641 
    642   typedef struct _SERVER_INFO_1594 {
    643     DWORD sv1594_requiresecuritysignature;
    644   } SERVER_INFO_1594,*PSERVER_INFO_1594,*LPSERVER_INFO_1594;
    645 
    646   typedef struct _SERVER_INFO_1595 {
    647     DWORD sv1595_minclientbuffersize;
    648   } SERVER_INFO_1595,*PSERVER_INFO_1595,*LPSERVER_INFO_1595;
    649 
    650   typedef struct _SERVER_INFO_1596 {
    651     DWORD sv1596_ConnectionNoSessionsTimeout;
    652   } SERVER_INFO_1596,*PSERVER_INFO_1596,*LPSERVER_INFO_1596;
    653 
    654   typedef struct _SERVER_INFO_1597 {
    655     DWORD sv1597_IdleThreadTimeOut;
    656   } SERVER_INFO_1597,*PSERVER_INFO_1597,*LPSERVER_INFO_1597;
    657 
    658   typedef struct _SERVER_INFO_1598 {
    659     DWORD sv1598_enableW9xsecuritysignature;
    660   } SERVER_INFO_1598,*PSERVER_INFO_1598,*LPSERVER_INFO_1598;
    661 
    662   typedef struct _SERVER_INFO_1599 {
    663     BOOLEAN sv1598_enforcekerberosreauthentication;
    664   } SERVER_INFO_1599,*PSERVER_INFO_1599,*LPSERVER_INFO_1599;
    665 
    666   typedef struct _SERVER_INFO_1600 {
    667     BOOLEAN sv1598_disabledos;
    668   } SERVER_INFO_1600,*PSERVER_INFO_1600,*LPSERVER_INFO_1600;
    669 
    670   typedef struct _SERVER_INFO_1601 {
    671     DWORD sv1598_lowdiskspaceminimum;
    672   } SERVER_INFO_1601,*PSERVER_INFO_1601,*LPSERVER_INFO_1601;
    673 
    674   typedef struct _SERVER_INFO_1602 {
    675     WINBOOL sv_1598_disablestrictnamechecking;
    676   } SERVER_INFO_1602,*PSERVER_INFO_1602,*LPSERVER_INFO_1602;
    677 
    678   typedef struct _SERVER_TRANSPORT_INFO_0 {
    679     DWORD svti0_numberofvcs;
    680     LMSTR svti0_transportname;
    681     LPBYTE svti0_transportaddress;
    682     DWORD svti0_transportaddresslength;
    683     LMSTR svti0_networkaddress;
    684   } SERVER_TRANSPORT_INFO_0,*PSERVER_TRANSPORT_INFO_0,*LPSERVER_TRANSPORT_INFO_0;
    685 
    686   typedef struct _SERVER_TRANSPORT_INFO_1 {
    687     DWORD svti1_numberofvcs;
    688     LMSTR svti1_transportname;
    689     LPBYTE svti1_transportaddress;
    690     DWORD svti1_transportaddresslength;
    691     LMSTR svti1_networkaddress;
    692     LMSTR svti1_domain;
    693   } SERVER_TRANSPORT_INFO_1,*PSERVER_TRANSPORT_INFO_1,*LPSERVER_TRANSPORT_INFO_1;
    694 
    695   typedef struct _SERVER_TRANSPORT_INFO_2 {
    696     DWORD svti2_numberofvcs;
    697     LMSTR svti2_transportname;
    698     LPBYTE svti2_transportaddress;
    699     DWORD svti2_transportaddresslength;
    700     LMSTR svti2_networkaddress;
    701     LMSTR svti2_domain;
    702     ULONG svti2_flags;
    703   } SERVER_TRANSPORT_INFO_2,*PSERVER_TRANSPORT_INFO_2,*LPSERVER_TRANSPORT_INFO_2;
    704 
    705   typedef struct _SERVER_TRANSPORT_INFO_3 {
    706     DWORD svti3_numberofvcs;
    707     LMSTR svti3_transportname;
    708     LPBYTE svti3_transportaddress;
    709     DWORD svti3_transportaddresslength;
    710     LMSTR svti3_networkaddress;
    711     LMSTR svti3_domain;
    712     ULONG svti3_flags;
    713     DWORD svti3_passwordlength;
    714     BYTE svti3_password[256 ];
    715   } SERVER_TRANSPORT_INFO_3,*PSERVER_TRANSPORT_INFO_3,*LPSERVER_TRANSPORT_INFO_3;
    716 
    717 #define SV_PLATFORM_ID_OS2 400
    718 #define SV_PLATFORM_ID_NT 500
    719 
    720 #define MAJOR_VERSION_MASK 0x0F
    721 
    722 #define SV_TYPE_WORKSTATION 0x00000001
    723 #define SV_TYPE_SERVER 0x00000002
    724 #define SV_TYPE_SQLSERVER 0x00000004
    725 #define SV_TYPE_DOMAIN_CTRL 0x00000008
    726 #define SV_TYPE_DOMAIN_BAKCTRL 0x00000010
    727 #define SV_TYPE_TIME_SOURCE 0x00000020
    728 #define SV_TYPE_AFP 0x00000040
    729 #define SV_TYPE_NOVELL 0x00000080
    730 #define SV_TYPE_DOMAIN_MEMBER 0x00000100
    731 #define SV_TYPE_PRINTQ_SERVER 0x00000200
    732 #define SV_TYPE_DIALIN_SERVER 0x00000400
    733 #define SV_TYPE_XENIX_SERVER 0x00000800
    734 #define SV_TYPE_SERVER_UNIX SV_TYPE_XENIX_SERVER
    735 #define SV_TYPE_NT 0x00001000
    736 #define SV_TYPE_WFW 0x00002000
    737 #define SV_TYPE_SERVER_MFPN 0x00004000
    738 #define SV_TYPE_SERVER_NT 0x00008000
    739 #define SV_TYPE_POTENTIAL_BROWSER 0x00010000
    740 #define SV_TYPE_BACKUP_BROWSER 0x00020000
    741 #define SV_TYPE_MASTER_BROWSER 0x00040000
    742 #define SV_TYPE_DOMAIN_MASTER 0x00080000
    743 #define SV_TYPE_SERVER_OSF 0x00100000
    744 #define SV_TYPE_SERVER_VMS 0x00200000
    745 #define SV_TYPE_WINDOWS 0x00400000
    746 #define SV_TYPE_DFS 0x00800000
    747 #define SV_TYPE_CLUSTER_NT 0x01000000
    748 #define SV_TYPE_TERMINALSERVER 0x02000000
    749 #define SV_TYPE_CLUSTER_VS_NT 0x04000000
    750 #define SV_TYPE_DCE 0x10000000
    751 #define SV_TYPE_ALTERNATE_XPORT 0x20000000
    752 #define SV_TYPE_LOCAL_LIST_ONLY 0x40000000
    753 #define SV_TYPE_DOMAIN_ENUM 0x80000000
    754 #define SV_TYPE_ALL 0xFFFFFFFF
    755 
    756 #define SV_NODISC (__MSABI_LONG(-1))
    757 
    758 #define SV_USERSECURITY 1
    759 #define SV_SHARESECURITY 0
    760 
    761 #define SV_HIDDEN 1
    762 #define SV_VISIBLE 0
    763 
    764 #define SV_PLATFORM_ID_PARMNUM 101
    765 #define SV_NAME_PARMNUM 102
    766 #define SV_VERSION_MAJOR_PARMNUM 103
    767 #define SV_VERSION_MINOR_PARMNUM 104
    768 #define SV_TYPE_PARMNUM 105
    769 #define SV_COMMENT_PARMNUM 5
    770 #define SV_USERS_PARMNUM 107
    771 #define SV_DISC_PARMNUM 10
    772 #define SV_HIDDEN_PARMNUM 16
    773 #define SV_ANNOUNCE_PARMNUM 17
    774 #define SV_ANNDELTA_PARMNUM 18
    775 #define SV_USERPATH_PARMNUM 112
    776 
    777 #define SV_ULIST_MTIME_PARMNUM 401
    778 #define SV_GLIST_MTIME_PARMNUM 402
    779 #define SV_ALIST_MTIME_PARMNUM 403
    780 #define SV_ALERTS_PARMNUM 11
    781 #define SV_SECURITY_PARMNUM 405
    782 #define SV_NUMADMIN_PARMNUM 406
    783 #define SV_LANMASK_PARMNUM 407
    784 #define SV_GUESTACC_PARMNUM 408
    785 #define SV_CHDEVQ_PARMNUM 410
    786 #define SV_CHDEVJOBS_PARMNUM 411
    787 #define SV_CONNECTIONS_PARMNUM 412
    788 #define SV_SHARES_PARMNUM 413
    789 #define SV_OPENFILES_PARMNUM 414
    790 #define SV_SESSREQS_PARMNUM 417
    791 #define SV_ACTIVELOCKS_PARMNUM 419
    792 #define SV_NUMREQBUF_PARMNUM 420
    793 #define SV_NUMBIGBUF_PARMNUM 422
    794 #define SV_NUMFILETASKS_PARMNUM 423
    795 #define SV_ALERTSCHED_PARMNUM 37
    796 #define SV_ERRORALERT_PARMNUM 38
    797 #define SV_LOGONALERT_PARMNUM 39
    798 #define SV_ACCESSALERT_PARMNUM 40
    799 #define SV_DISKALERT_PARMNUM 41
    800 #define SV_NETIOALERT_PARMNUM 42
    801 #define SV_MAXAUDITSZ_PARMNUM 43
    802 #define SV_SRVHEURISTICS_PARMNUM 431
    803 
    804 #define SV_SESSOPENS_PARMNUM 501
    805 #define SV_SESSVCS_PARMNUM 502
    806 #define SV_OPENSEARCH_PARMNUM 503
    807 #define SV_SIZREQBUF_PARMNUM 504
    808 #define SV_INITWORKITEMS_PARMNUM 505
    809 #define SV_MAXWORKITEMS_PARMNUM 506
    810 #define SV_RAWWORKITEMS_PARMNUM 507
    811 #define SV_IRPSTACKSIZE_PARMNUM 508
    812 #define SV_MAXRAWBUFLEN_PARMNUM 509
    813 #define SV_SESSUSERS_PARMNUM 510
    814 #define SV_SESSCONNS_PARMNUM 511
    815 #define SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM 512
    816 #define SV_MAXPAGEDMEMORYUSAGE_PARMNUM 513
    817 #define SV_ENABLESOFTCOMPAT_PARMNUM 514
    818 #define SV_ENABLEFORCEDLOGOFF_PARMNUM 515
    819 #define SV_TIMESOURCE_PARMNUM 516
    820 #define SV_ACCEPTDOWNLEVELAPIS_PARMNUM 517
    821 #define SV_LMANNOUNCE_PARMNUM 518
    822 #define SV_DOMAIN_PARMNUM 519
    823 #define SV_MAXCOPYREADLEN_PARMNUM 520
    824 #define SV_MAXCOPYWRITELEN_PARMNUM 521
    825 #define SV_MINKEEPSEARCH_PARMNUM 522
    826 #define SV_MAXKEEPSEARCH_PARMNUM 523
    827 #define SV_MINKEEPCOMPLSEARCH_PARMNUM 524
    828 #define SV_MAXKEEPCOMPLSEARCH_PARMNUM 525
    829 #define SV_THREADCOUNTADD_PARMNUM 526
    830 #define SV_NUMBLOCKTHREADS_PARMNUM 527
    831 #define SV_SCAVTIMEOUT_PARMNUM 528
    832 #define SV_MINRCVQUEUE_PARMNUM 529
    833 #define SV_MINFREEWORKITEMS_PARMNUM 530
    834 #define SV_XACTMEMSIZE_PARMNUM 531
    835 #define SV_THREADPRIORITY_PARMNUM 532
    836 #define SV_MAXMPXCT_PARMNUM 533
    837 #define SV_OPLOCKBREAKWAIT_PARMNUM 534
    838 #define SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM 535
    839 #define SV_ENABLEOPLOCKS_PARMNUM 536
    840 #define SV_ENABLEOPLOCKFORCECLOSE_PARMNUM 537
    841 #define SV_ENABLEFCBOPENS_PARMNUM 538
    842 #define SV_ENABLERAW_PARMNUM 539
    843 #define SV_ENABLESHAREDNETDRIVES_PARMNUM 540
    844 #define SV_MINFREECONNECTIONS_PARMNUM 541
    845 #define SV_MAXFREECONNECTIONS_PARMNUM 542
    846 #define SV_INITSESSTABLE_PARMNUM 543
    847 #define SV_INITCONNTABLE_PARMNUM 544
    848 #define SV_INITFILETABLE_PARMNUM 545
    849 #define SV_INITSEARCHTABLE_PARMNUM 546
    850 #define SV_ALERTSCHEDULE_PARMNUM 547
    851 #define SV_ERRORTHRESHOLD_PARMNUM 548
    852 #define SV_NETWORKERRORTHRESHOLD_PARMNUM 549
    853 #define SV_DISKSPACETHRESHOLD_PARMNUM 550
    854 #define SV_MAXLINKDELAY_PARMNUM 552
    855 #define SV_MINLINKTHROUGHPUT_PARMNUM 553
    856 #define SV_LINKINFOVALIDTIME_PARMNUM 554
    857 #define SV_SCAVQOSINFOUPDATETIME_PARMNUM 555
    858 #define SV_MAXWORKITEMIDLETIME_PARMNUM 556
    859 #define SV_MAXRAWWORKITEMS_PARMNUM 557
    860 #define SV_PRODUCTTYPE_PARMNUM 560
    861 #define SV_SERVERSIZE_PARMNUM 561
    862 #define SV_CONNECTIONLESSAUTODISC_PARMNUM 562
    863 #define SV_SHARINGVIOLATIONRETRIES_PARMNUM 563
    864 #define SV_SHARINGVIOLATIONDELAY_PARMNUM 564
    865 #define SV_MAXGLOBALOPENSEARCH_PARMNUM 565
    866 #define SV_REMOVEDUPLICATESEARCHES_PARMNUM 566
    867 #define SV_LOCKVIOLATIONRETRIES_PARMNUM 567
    868 #define SV_LOCKVIOLATIONOFFSET_PARMNUM 568
    869 #define SV_LOCKVIOLATIONDELAY_PARMNUM 569
    870 #define SV_MDLREADSWITCHOVER_PARMNUM 570
    871 #define SV_CACHEDOPENLIMIT_PARMNUM 571
    872 #define SV_CRITICALTHREADS_PARMNUM 572
    873 #define SV_RESTRICTNULLSESSACCESS_PARMNUM 573
    874 #define SV_ENABLEWFW311DIRECTIPX_PARMNUM 574
    875 #define SV_OTHERQUEUEAFFINITY_PARMNUM 575
    876 #define SV_QUEUESAMPLESECS_PARMNUM 576
    877 #define SV_BALANCECOUNT_PARMNUM 577
    878 #define SV_PREFERREDAFFINITY_PARMNUM 578
    879 #define SV_MAXFREERFCBS_PARMNUM 579
    880 #define SV_MAXFREEMFCBS_PARMNUM 580
    881 #define SV_MAXFREELFCBS_PARMNUM 581
    882 #define SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM 582
    883 #define SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM 583
    884 #define SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM 584
    885 #define SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM 585
    886 #define SV_MAXTHREADSPERQUEUE_PARMNUM 586
    887 #define SV_CACHEDDIRECTORYLIMIT_PARMNUM 587
    888 #define SV_MAXCOPYLENGTH_PARMNUM 588
    889 #define SV_ENABLECOMPRESSION_PARMNUM 590
    890 #define SV_AUTOSHAREWKS_PARMNUM 591
    891 #define SV_AUTOSHARESERVER_PARMNUM 592
    892 #define SV_ENABLESECURITYSIGNATURE_PARMNUM 593
    893 #define SV_REQUIRESECURITYSIGNATURE_PARMNUM 594
    894 #define SV_MINCLIENTBUFFERSIZE_PARMNUM 595
    895 #define SV_CONNECTIONNOSESSIONSTIMEOUT_PARMNUM 596
    896 #define SV_IDLETHREADTIMEOUT_PARMNUM 597
    897 #define SV_ENABLEW9XSECURITYSIGNATURE_PARMNUM 598
    898 #define SV_ENFORCEKERBEROSREAUTHENTICATION_PARMNUM 599
    899 #define SV_DISABLEDOS_PARMNUM 600
    900 #define SV_LOWDISKSPACEMINIMUM_PARMNUM 601
    901 #define SV_DISABLESTRICTNAMECHECKING_PARMNUM 602
    902 
    903 #define SV_COMMENT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_COMMENT_PARMNUM)
    904 #define SV_USERS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_USERS_PARMNUM)
    905 #define SV_DISC_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_DISC_PARMNUM)
    906 #define SV_HIDDEN_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_HIDDEN_PARMNUM)
    907 #define SV_ANNOUNCE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ANNOUNCE_PARMNUM)
    908 #define SV_ANNDELTA_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ANNDELTA_PARMNUM)
    909 #define SV_SESSOPENS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SESSOPENS_PARMNUM)
    910 #define SV_SESSVCS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SESSVCS_PARMNUM)
    911 #define SV_OPENSEARCH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_OPENSEARCH_PARMNUM)
    912 #define SV_MAXWORKITEMS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXWORKITEMS_PARMNUM)
    913 #define SV_MAXRAWBUFLEN_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXRAWBUFLEN_PARMNUM)
    914 #define SV_SESSUSERS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SESSUSERS_PARMNUM)
    915 #define SV_SESSCONNS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SESSCONNS_PARMNUM)
    916 #define SV_MAXNONPAGEDMEMORYUSAGE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM)
    917 #define SV_MAXPAGEDMEMORYUSAGE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXPAGEDMEMORYUSAGE_PARMNUM)
    918 #define SV_ENABLESOFTCOMPAT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLESOFTCOMPAT_PARMNUM)
    919 #define SV_ENABLEFORCEDLOGOFF_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLEFORCEDLOGOFF_PARMNUM)
    920 #define SV_TIMESOURCE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_TIMESOURCE_PARMNUM)
    921 #define SV_LMANNOUNCE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_LMANNOUNCE_PARMNUM)
    922 #define SV_MAXCOPYREADLEN_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYREADLEN_PARMNUM)
    923 #define SV_MAXCOPYWRITELEN_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYWRITELEN_PARMNUM)
    924 #define SV_MINKEEPSEARCH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINKEEPSEARCH_PARMNUM)
    925 #define SV_MAXKEEPSEARCH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXKEEPSEARCH_PARMNUM)
    926 #define SV_MINKEEPCOMPLSEARCH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINKEEPCOMPLSEARCH_PARMNUM)
    927 #define SV_MAXKEEPCOMPLSEARCH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXKEEPCOMPLSEARCH_PARMNUM)
    928 #define SV_SCAVTIMEOUT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SCAVTIMEOUT_PARMNUM)
    929 #define SV_MINRCVQUEUE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINRCVQUEUE_PARMNUM)
    930 #define SV_MINFREEWORKITEMS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINFREEWORKITEMS_PARMNUM)
    931 #define SV_MAXMPXCT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXMPXCT_PARMNUM)
    932 #define SV_OPLOCKBREAKWAIT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_OPLOCKBREAKWAIT_PARMNUM)
    933 #define SV_OPLOCKBREAKRESPONSEWAIT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM)
    934 #define SV_ENABLEOPLOCKS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLEOPLOCKS_PARMNUM)
    935 #define SV_ENABLEOPLOCKFORCECLOSE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLEOPLOCKFORCECLOSE_PARMNUM)
    936 #define SV_ENABLEFCBOPENS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLEFCBOPENS_PARMNUM)
    937 #define SV_ENABLERAW_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLERAW_PARMNUM)
    938 #define SV_ENABLESHAREDNETDRIVES_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLESHAREDNETDRIVES_PARMNUM)
    939 #define SV_MINFREECONNECTIONS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINFREECONNECTIONS_PARMNUM)
    940 #define SV_MAXFREECONNECTIONS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXFREECONNECTIONS_PARMNUM)
    941 #define SV_INITSESSTABLE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_INITSESSTABLE_PARMNUM)
    942 #define SV_INITCONNTABLE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_INITCONNTABLE_PARMNUM)
    943 #define SV_INITFILETABLE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_INITFILETABLE_PARMNUM)
    944 #define SV_INITSEARCHTABLE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_INITSEARCHTABLE_PARMNUM)
    945 #define SV_ALERTSCHEDULE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ALERTSCHEDULE_PARMNUM)
    946 #define SV_ERRORTHRESHOLD_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ERRORTHRESHOLD_PARMNUM)
    947 #define SV_NETWORKERRORTHRESHOLD_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_NETWORKERRORTHRESHOLD_PARMNUM)
    948 #define SV_DISKSPACETHRESHOLD_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_DISKSPACETHRESHOLD_PARMNUM)
    949 #define SV_MAXLINKDELAY_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXLINKDELAY_PARMNUM)
    950 #define SV_MINLINKTHROUGHPUT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINLINKTHROUGHPUT_PARMNUM)
    951 #define SV_LINKINFOVALIDTIME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_LINKINFOVALIDTIME_PARMNUM)
    952 #define SV_SCAVQOSINFOUPDATETIME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SCAVQOSINFOUPDATETIME_PARMNUM)
    953 #define SV_MAXWORKITEMIDLETIME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXWORKITEMIDLETIME_PARMNUM)
    954 #define SV_MAXRAWWORKITEMS_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXRAWWORKITEMS_PARMNUM)
    955 #define SV_PRODUCTTYPE_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_PRODUCTTYPE_PARMNUM)
    956 #define SV_SERVERSIZE_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_SERVERSIZE_PARMNUM)
    957 #define SV_CONNECTIONLESSAUTODISC_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_CONNECTIONLESSAUTODISC_PARMNUM)
    958 #define SV_SHARINGVIOLATIONRETRIES_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_SHARINGVIOLATIONRETRIES_PARMNUM)
    959 #define SV_SHARINGVIOLATIONDELAY_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_SHARINGVIOLATIONDELAY_PARMNUM)
    960 #define SV_MAXGLOBALOPENSEARCH_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXGLOBALOPENSEARCH_PARMNUM)
    961 #define SV_REMOVEDUPLICATESEARCHES_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_REMOVEDUPLICATESEARCHES_PARMNUM)
    962 #define SV_LOCKVIOLATIONRETRIES_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONRETRIES_PARMNUM)
    963 #define SV_LOCKVIOLATIONOFFSET_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONOFFSET_PARMNUM)
    964 #define SV_LOCKVIOLATIONDELAY_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONDELAY_PARMNUM)
    965 #define SV_MDLREADSWITCHOVER_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_MDLREADSWITCHOVER_PARMNUM)
    966 #define SV_CACHEDOPENLIMIT_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_CACHEDOPENLIMIT_PARMNUM)
    967 #define SV_CRITICALTHREADS_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_CRITICALTHREADS_PARMNUM)
    968 #define SV_RESTRICTNULLSESSACCESS_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_RESTRICTNULLSESSACCESS_PARMNUM)
    969 #define SV_ENABLEWFW311DIRECTIPX_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLEWFW311DIRECTIPX_PARMNUM)
    970 #define SV_OTHERQUEUEAFFINITY_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_OTHERQUEUEAFFINITY_PARMNUM)
    971 #define SV_QUEUESAMPLESECS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_QUEUESAMPLESECS_PARMNUM)
    972 #define SV_BALANCECOUNT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_BALANCECOUNT_PARMNUM)
    973 #define SV_PREFERREDAFFINITY_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_PREFERREDAFFINITY_PARMNUM)
    974 #define SV_MAXFREERFCBS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXFREERFCBS_PARMNUM)
    975 #define SV_MAXFREEMFCBS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXFREEMFCBS_PARMNUM)
    976 #define SV_MAXFREELFCBS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXFREELFCBS_PARMNUM)
    977 #define SV_MAXFREEPAGEDPOOLCHUNKS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM)
    978 #define SV_MINPAGEDPOOLCHUNKSIZE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM)
    979 #define SV_MAXPAGEDPOOLCHUNKSIZE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM)
    980 #define SV_SENDSFROMPREFERREDPROCESSOR_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM)
    981 #define SV_MAXTHREADSPERQUEUE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXTHREADSPERQUEUE_PARMNUM)
    982 #define SV_CACHEDDIRECTORYLIMIT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_CACHEDDIRECTORYLIMIT_PARMNUM)
    983 #define SV_MAXCOPYLENGTH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYLENGTH_PARMNUM)
    984 #define SV_ENABLECOMPRESSION_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLECOMPRESSION_PARMNUM)
    985 #define SV_AUTOSHAREWKS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_AUTOSHAREWKS_PARMNUM)
    986 #define SV_AUTOSHARESERVER_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_AUTOSHARESERVER_PARMNUM)
    987 #define SV_ENABLESECURITYSIGNATURE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLESECURITYSIGNATURE_PARMNUM)
    988 #define SV_REQUIRESECURITYSIGNATURE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_REQUIRESECURITYSIGNATURE_PARMNUM)
    989 #define SV_MINCLIENTBUFFERSIZE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINCLIENTBUFFERSIZE_PARMNUM)
    990 #define SV_CONNECTIONNOSESSIONSTIMEOUT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_CONNECTIONNOSESSIONSTIMEOUT_PARMNUM)
    991 #define SV_IDLETHREADTIMEOUT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_IDLETHREADTIMEOUT_PARMNUM)
    992 #define SV_ENABLEW9XSECURITYSIGNATURE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLEW9XSECURITYSIGNATURE_PARMNUM)
    993 #define SV_ENFORCEKERBEROSREAUTHENTICATION_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENFORCEKERBEROSREAUTHENTICATION_PARMNUM)
    994 #define SV_DISABLEDOS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_DISABLEDOS_PARMNUM)
    995 #define SV_LOWDISKSPACEMINIMUM_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_LOWDISKSPACEMINIMUM_PARMNUM)
    996 #define SV_DISABLESTRICTNAMECHECKING_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_DISABLESTRICTNAMECHECKING_PARMNUM)
    997 
    998 #define SVI1_NUM_ELEMENTS 5
    999 #define SVI2_NUM_ELEMENTS 40
   1000 #define SVI3_NUM_ELEMENTS 44
   1001 
   1002 #define SV_MAX_CMD_LEN PATHLEN
   1003 
   1004 #define SW_AUTOPROF_LOAD_MASK 0x1
   1005 #define SW_AUTOPROF_SAVE_MASK 0x2
   1006 
   1007 #define SV_MAX_SRV_HEUR_LEN 32
   1008 #define SV_USERS_PER_LICENSE 5
   1009 
   1010 #define SVTI2_REMAP_PIPE_NAMES 0x2
   1011 
   1012 #ifdef __cplusplus
   1013 }
   1014 #endif
   1015 #endif
   1016