1c2c66affSColin Finck #ifndef _LMSERVER_H 2c2c66affSColin Finck #define _LMSERVER_H 3c2c66affSColin Finck 4c2c66affSColin Finck #ifdef __cplusplus 5c2c66affSColin Finck extern "C" { 6c2c66affSColin Finck #endif 7c2c66affSColin Finck 8c2c66affSColin Finck #include <winsvc.h> 9c2c66affSColin Finck #include <lmcons.h> 10c2c66affSColin Finck 11c2c66affSColin Finck typedef struct _SERVER_INFO_100 { 12c2c66affSColin Finck DWORD sv100_platform_id; 13c2c66affSColin Finck LPWSTR sv100_name; 14c2c66affSColin Finck } SERVER_INFO_100, *PSERVER_INFO_100, *LPSERVER_INFO_100; 15c2c66affSColin Finck 16c2c66affSColin Finck typedef struct _SERVER_INFO_101 { 17c2c66affSColin Finck DWORD sv101_platform_id; 18c2c66affSColin Finck LPWSTR sv101_name; 19c2c66affSColin Finck DWORD sv101_version_major; 20c2c66affSColin Finck DWORD sv101_version_minor; 21c2c66affSColin Finck DWORD sv101_type; 22c2c66affSColin Finck LPWSTR sv101_comment; 23c2c66affSColin Finck } SERVER_INFO_101, *PSERVER_INFO_101, *LPSERVER_INFO_101; 24c2c66affSColin Finck 25c2c66affSColin Finck typedef struct _SERVER_INFO_102 { 26c2c66affSColin Finck DWORD sv102_platform_id; 27c2c66affSColin Finck LPWSTR sv102_name; 28c2c66affSColin Finck DWORD sv102_version_major; 29c2c66affSColin Finck DWORD sv102_version_minor; 30c2c66affSColin Finck DWORD sv102_type; 31c2c66affSColin Finck LPWSTR sv102_comment; 32c2c66affSColin Finck DWORD sv102_users; 33c2c66affSColin Finck LONG sv102_disc; 34c2c66affSColin Finck BOOL sv102_hidden; 35c2c66affSColin Finck DWORD sv102_announce; 36c2c66affSColin Finck DWORD sv102_anndelta; 37c2c66affSColin Finck DWORD sv102_licenses; 38c2c66affSColin Finck LPWSTR sv102_userpath; 39c2c66affSColin Finck } SERVER_INFO_102, *PSERVER_INFO_102, *LPSERVER_INFO_102; 40c2c66affSColin Finck 41c2c66affSColin Finck typedef struct _SERVER_INFO_402 { 42c2c66affSColin Finck DWORD sv402_ulist_mtime; 43c2c66affSColin Finck DWORD sv402_glist_mtime; 44c2c66affSColin Finck DWORD sv402_alist_mtime; 45c2c66affSColin Finck LPWSTR sv402_alerts; 46c2c66affSColin Finck DWORD sv402_security; 47c2c66affSColin Finck DWORD sv402_numadmin; 48c2c66affSColin Finck DWORD sv402_lanmask; 49c2c66affSColin Finck LPWSTR sv402_guestacct; 50c2c66affSColin Finck DWORD sv402_chdevs; 51c2c66affSColin Finck DWORD sv402_chdevq; 52c2c66affSColin Finck DWORD sv402_chdevjobs; 53c2c66affSColin Finck DWORD sv402_connections; 54c2c66affSColin Finck DWORD sv402_shares; 55c2c66affSColin Finck DWORD sv402_openfiles; 56c2c66affSColin Finck DWORD sv402_sessopens; 57c2c66affSColin Finck DWORD sv402_sessvcs; 58c2c66affSColin Finck DWORD sv402_sessreqs; 59c2c66affSColin Finck DWORD sv402_opensearch; 60c2c66affSColin Finck DWORD sv402_activelocks; 61c2c66affSColin Finck DWORD sv402_numreqbuf; 62c2c66affSColin Finck DWORD sv402_sizreqbuf; 63c2c66affSColin Finck DWORD sv402_numbigbuf; 64c2c66affSColin Finck DWORD sv402_numfiletasks; 65c2c66affSColin Finck DWORD sv402_alertsched; 66c2c66affSColin Finck DWORD sv402_erroralert; 67c2c66affSColin Finck DWORD sv402_logonalert; 68c2c66affSColin Finck DWORD sv402_accessalert; 69c2c66affSColin Finck DWORD sv402_diskalert; 70c2c66affSColin Finck DWORD sv402_netioalert; 71c2c66affSColin Finck DWORD sv402_maxauditsz; 72c2c66affSColin Finck LPWSTR sv402_srvheuristics; 73c2c66affSColin Finck } SERVER_INFO_402, *PSERVER_INFO_402, *LPSERVER_INFO_402; 74c2c66affSColin Finck 75c2c66affSColin Finck typedef struct _SERVER_INFO_403 { 76c2c66affSColin Finck DWORD sv403_ulist_mtime; 77c2c66affSColin Finck DWORD sv403_glist_mtime; 78c2c66affSColin Finck DWORD sv403_alist_mtime; 79c2c66affSColin Finck LPWSTR sv403_alerts; 80c2c66affSColin Finck DWORD sv403_security; 81c2c66affSColin Finck DWORD sv403_numadmin; 82c2c66affSColin Finck DWORD sv403_lanmask; 83c2c66affSColin Finck LPWSTR sv403_guestacct; 84c2c66affSColin Finck DWORD sv403_chdevs; 85c2c66affSColin Finck DWORD sv403_chdevq; 86c2c66affSColin Finck DWORD sv403_chdevjobs; 87c2c66affSColin Finck DWORD sv403_connections; 88c2c66affSColin Finck DWORD sv403_shares; 89c2c66affSColin Finck DWORD sv403_openfiles; 90c2c66affSColin Finck DWORD sv403_sessopens; 91c2c66affSColin Finck DWORD sv403_sessvcs; 92c2c66affSColin Finck DWORD sv403_sessreqs; 93c2c66affSColin Finck DWORD sv403_opensearch; 94c2c66affSColin Finck DWORD sv403_activelocks; 95c2c66affSColin Finck DWORD sv403_numreqbuf; 96c2c66affSColin Finck DWORD sv403_sizreqbuf; 97c2c66affSColin Finck DWORD sv403_numbigbuf; 98c2c66affSColin Finck DWORD sv403_numfiletasks; 99c2c66affSColin Finck DWORD sv403_alertsched; 100c2c66affSColin Finck DWORD sv403_erroralert; 101c2c66affSColin Finck DWORD sv403_logonalert; 102c2c66affSColin Finck DWORD sv403_accessalert; 103c2c66affSColin Finck DWORD sv403_diskalert; 104c2c66affSColin Finck DWORD sv403_netioalert; 105c2c66affSColin Finck DWORD sv403_maxauditsz; 106c2c66affSColin Finck LPWSTR sv403_srvheuristics; 107c2c66affSColin Finck DWORD sv403_auditedevents; 108c2c66affSColin Finck DWORD sv403_autoprofile; 109c2c66affSColin Finck LPWSTR sv403_autopath; 110c2c66affSColin Finck } SERVER_INFO_403, *PSERVER_INFO_403, *LPSERVER_INFO_403; 111c2c66affSColin Finck 112c2c66affSColin Finck typedef struct _SERVER_INFO_502 { 113c2c66affSColin Finck DWORD sv502_sessopens; 114c2c66affSColin Finck DWORD sv502_sessvcs; 115c2c66affSColin Finck DWORD sv502_opensearch; 116c2c66affSColin Finck DWORD sv502_sizreqbuf; 117c2c66affSColin Finck DWORD sv502_initworkitems; 118c2c66affSColin Finck DWORD sv502_maxworkitems; 119c2c66affSColin Finck DWORD sv502_rawworkitems; 120c2c66affSColin Finck DWORD sv502_irpstacksize; 121c2c66affSColin Finck DWORD sv502_maxrawbuflen; 122c2c66affSColin Finck DWORD sv502_sessusers; 123c2c66affSColin Finck DWORD sv502_sessconns; 124c2c66affSColin Finck DWORD sv502_maxpagedmemoryusage; 125c2c66affSColin Finck DWORD sv502_maxnonpagedmemoryusage; 126c2c66affSColin Finck BOOL sv502_enablesoftcompat; 127c2c66affSColin Finck BOOL sv502_enableforcedlogoff; 128c2c66affSColin Finck BOOL sv502_timesource; 129c2c66affSColin Finck BOOL sv502_acceptdownlevelapis; 130c2c66affSColin Finck BOOL sv502_lmannounce; 131c2c66affSColin Finck } SERVER_INFO_502, *PSERVER_INFO_502, *LPSERVER_INFO_502; 132c2c66affSColin Finck 133c2c66affSColin Finck typedef struct _SERVER_INFO_503 { 134c2c66affSColin Finck DWORD sv503_sessopens; 135c2c66affSColin Finck DWORD sv503_sessvcs; 136c2c66affSColin Finck DWORD sv503_opensearch; 137c2c66affSColin Finck DWORD sv503_sizreqbuf; 138c2c66affSColin Finck DWORD sv503_initworkitems; 139c2c66affSColin Finck DWORD sv503_maxworkitems; 140c2c66affSColin Finck DWORD sv503_rawworkitems; 141c2c66affSColin Finck DWORD sv503_irpstacksize; 142c2c66affSColin Finck DWORD sv503_maxrawbuflen; 143c2c66affSColin Finck DWORD sv503_sessusers; 144c2c66affSColin Finck DWORD sv503_sessconns; 145c2c66affSColin Finck DWORD sv503_maxpagedmemoryusage; 146c2c66affSColin Finck DWORD sv503_maxnonpagedmemoryusage; 147c2c66affSColin Finck BOOL sv503_enablesoftcompat; 148c2c66affSColin Finck BOOL sv503_enableforcedlogoff; 149c2c66affSColin Finck BOOL sv503_timesource; 150c2c66affSColin Finck BOOL sv503_acceptdownlevelapis; 151c2c66affSColin Finck BOOL sv503_lmannounce; 152c2c66affSColin Finck LPWSTR sv503_domain; 153c2c66affSColin Finck DWORD sv503_maxcopyreadlen; 154c2c66affSColin Finck DWORD sv503_maxcopywritelen; 155c2c66affSColin Finck DWORD sv503_minkeepsearch; 156c2c66affSColin Finck DWORD sv503_maxkeepsearch; 157c2c66affSColin Finck DWORD sv503_minkeepcomplsearch; 158c2c66affSColin Finck DWORD sv503_maxkeepcomplsearch; 159c2c66affSColin Finck DWORD sv503_threadcountadd; 160c2c66affSColin Finck DWORD sv503_numblockthreads; 161c2c66affSColin Finck DWORD sv503_scavtimeout; 162c2c66affSColin Finck DWORD sv503_minrcvqueue; 163c2c66affSColin Finck DWORD sv503_minfreeworkitems; 164c2c66affSColin Finck DWORD sv503_xactmemsize; 165c2c66affSColin Finck DWORD sv503_threadpriority; 166c2c66affSColin Finck DWORD sv503_maxmpxct; 167c2c66affSColin Finck DWORD sv503_oplockbreakwait; 168c2c66affSColin Finck DWORD sv503_oplockbreakresponsewait; 169c2c66affSColin Finck BOOL sv503_enableoplocks; 170c2c66affSColin Finck BOOL sv503_enableoplockforceclose; 171c2c66affSColin Finck BOOL sv503_enablefcbopens; 172c2c66affSColin Finck BOOL sv503_enableraw; 173c2c66affSColin Finck BOOL sv503_enablesharednetdrives; 174c2c66affSColin Finck DWORD sv503_minfreeconnections; 175c2c66affSColin Finck DWORD sv503_maxfreeconnections; 176c2c66affSColin Finck } SERVER_INFO_503, *PSERVER_INFO_503, *LPSERVER_INFO_503; 177c2c66affSColin Finck 178c2c66affSColin Finck typedef struct _SERVER_INFO_599 { 179c2c66affSColin Finck DWORD sv599_sessopens; 180c2c66affSColin Finck DWORD sv599_sessvcs; 181c2c66affSColin Finck DWORD sv599_opensearch; 182c2c66affSColin Finck DWORD sv599_sizreqbuf; 183c2c66affSColin Finck DWORD sv599_initworkitems; 184c2c66affSColin Finck DWORD sv599_maxworkitems; 185c2c66affSColin Finck DWORD sv599_rawworkitems; 186c2c66affSColin Finck DWORD sv599_irpstacksize; 187c2c66affSColin Finck DWORD sv599_maxrawbuflen; 188c2c66affSColin Finck DWORD sv599_sessusers; 189c2c66affSColin Finck DWORD sv599_sessconns; 190c2c66affSColin Finck DWORD sv599_maxpagedmemoryusage; 191c2c66affSColin Finck DWORD sv599_maxnonpagedmemoryusage; 192c2c66affSColin Finck BOOL sv599_enablesoftcompat; 193c2c66affSColin Finck BOOL sv599_enableforcedlogoff; 194c2c66affSColin Finck BOOL sv599_timesource; 195c2c66affSColin Finck BOOL sv599_acceptdownlevelapis; 196c2c66affSColin Finck BOOL sv599_lmannounce; 197c2c66affSColin Finck LPWSTR sv599_domain; 198c2c66affSColin Finck DWORD sv599_maxcopyreadlen; 199c2c66affSColin Finck DWORD sv599_maxcopywritelen; 200c2c66affSColin Finck DWORD sv599_minkeepsearch; 201c2c66affSColin Finck DWORD sv599_maxkeepsearch; 202c2c66affSColin Finck DWORD sv599_minkeepcomplsearch; 203c2c66affSColin Finck DWORD sv599_maxkeepcomplsearch; 204c2c66affSColin Finck DWORD sv599_threadcountadd; 205c2c66affSColin Finck DWORD sv599_numblockthreads; 206c2c66affSColin Finck DWORD sv599_scavtimeout; 207c2c66affSColin Finck DWORD sv599_minrcvqueue; 208c2c66affSColin Finck DWORD sv599_minfreeworkitems; 209c2c66affSColin Finck DWORD sv599_xactmemsize; 210c2c66affSColin Finck DWORD sv599_threadpriority; 211c2c66affSColin Finck DWORD sv599_maxmpxct; 212c2c66affSColin Finck DWORD sv599_oplockbreakwait; 213c2c66affSColin Finck DWORD sv599_oplockbreakresponsewait; 214c2c66affSColin Finck BOOL sv599_enableoplocks; 215c2c66affSColin Finck BOOL sv599_enableoplockforceclose; 216c2c66affSColin Finck BOOL sv599_enablefcbopens; 217c2c66affSColin Finck BOOL sv599_enableraw; 218c2c66affSColin Finck BOOL sv599_enablesharednetdrives; 219c2c66affSColin Finck DWORD sv599_minfreeconnections; 220c2c66affSColin Finck DWORD sv599_maxfreeconnections; 221c2c66affSColin Finck DWORD sv599_initsesstable; 222c2c66affSColin Finck DWORD sv599_initconntable; 223c2c66affSColin Finck DWORD sv599_initfiletable; 224c2c66affSColin Finck DWORD sv599_initsearchtable; 225c2c66affSColin Finck DWORD sv599_alertschedule; 226c2c66affSColin Finck DWORD sv599_errorthreshold; 227c2c66affSColin Finck DWORD sv599_networkerrorthreshold; 228c2c66affSColin Finck DWORD sv599_diskspacethreshold; 229c2c66affSColin Finck DWORD sv599_reserved; 230c2c66affSColin Finck DWORD sv599_maxlinkdelay; 231c2c66affSColin Finck DWORD sv599_minlinkthroughput; 232c2c66affSColin Finck DWORD sv599_linkinfovalidtime; 233c2c66affSColin Finck DWORD sv599_scavqosinfoupdatetime; 234c2c66affSColin Finck DWORD sv599_maxworkitemidletime; 235c2c66affSColin Finck } SERVER_INFO_599, *PSERVER_INFO_599, *LPSERVER_INFO_599; 236c2c66affSColin Finck 237c2c66affSColin Finck typedef struct _SERVER_INFO_598 { 238c2c66affSColin Finck DWORD sv598_maxrawworkitems; 239c2c66affSColin Finck DWORD sv598_maxthreadsperqueue; 240c2c66affSColin Finck DWORD sv598_producttype; 241c2c66affSColin Finck DWORD sv598_serversize; 242c2c66affSColin Finck DWORD sv598_connectionlessautodisc; 243c2c66affSColin Finck DWORD sv598_sharingviolationretries; 244c2c66affSColin Finck DWORD sv598_sharingviolationdelay; 245c2c66affSColin Finck DWORD sv598_maxglobalopensearch; 246c2c66affSColin Finck DWORD sv598_removeduplicatesearches; 247c2c66affSColin Finck DWORD sv598_lockviolationoffset; 248c2c66affSColin Finck DWORD sv598_lockviolationdelay; 249c2c66affSColin Finck DWORD sv598_mdlreadswitchover; 250c2c66affSColin Finck DWORD sv598_cachedopenlimit; 251c2c66affSColin Finck DWORD sv598_otherqueueaffinity; 252c2c66affSColin Finck BOOL sv598_restrictnullsessaccess; 253c2c66affSColin Finck BOOL sv598_enablewfw311directipx; 254c2c66affSColin Finck DWORD sv598_queuesamplesecs; 255c2c66affSColin Finck DWORD sv598_balancecount; 256c2c66affSColin Finck DWORD sv598_preferredaffinity; 257c2c66affSColin Finck DWORD sv598_maxfreerfcbs; 258c2c66affSColin Finck DWORD sv598_maxfreemfcbs; 259c2c66affSColin Finck DWORD sv598_maxfreelfcbs; 260c2c66affSColin Finck DWORD sv598_maxfreepagedpoolchunks; 261c2c66affSColin Finck DWORD sv598_minpagedpoolchunksize; 262c2c66affSColin Finck DWORD sv598_maxpagedpoolchunksize; 263c2c66affSColin Finck BOOL sv598_sendsfrompreferredprocessor; 264c2c66affSColin Finck DWORD sv598_cacheddirectorylimit; 265c2c66affSColin Finck DWORD sv598_maxcopylength; 266c2c66affSColin Finck BOOL sv598_enablecompression; 267c2c66affSColin Finck BOOL sv598_autosharewks; 268c2c66affSColin Finck BOOL sv598_autoshareserver; 269c2c66affSColin Finck BOOL sv598_enablesecuritysignature; 270c2c66affSColin Finck BOOL sv598_requiresecuritysignature; 271c2c66affSColin Finck DWORD sv598_minclientbuffersize; 272c2c66affSColin Finck GUID sv598_serverguid; 273c2c66affSColin Finck DWORD sv598_ConnectionNoSessionsTimeout; 274c2c66affSColin Finck DWORD sv598_IdleThreadTimeOut; 275c2c66affSColin Finck BOOL sv598_enableW9xsecuritysignature; 276c2c66affSColin Finck BOOL sv598_enforcekerberosreauthentication; 277c2c66affSColin Finck BOOL sv598_disabledos; 278c2c66affSColin Finck DWORD sv598_lowdiskspaceminimum; 279c2c66affSColin Finck BOOL sv598_disablestrictnamechecking; 280c2c66affSColin Finck BOOL sv598_enableauthenticateusersharing; 281c2c66affSColin Finck } SERVER_INFO_598, *PSERVER_INFO_598, *LPSERVER_INFO_598; 282c2c66affSColin Finck 283c2c66affSColin Finck typedef struct _SERVER_INFO_1005 { LPWSTR sv1005_comment; } SERVER_INFO_1005, *PSERVER_INFO_1005, *LPSERVER_INFO_1005; 284c2c66affSColin Finck typedef struct _SERVER_INFO_1107 { DWORD sv1107_users; } SERVER_INFO_1107, *PSERVER_INFO_1107, *LPSERVER_INFO_1107; 285c2c66affSColin Finck typedef struct _SERVER_INFO_1010 { LONG sv1010_disc; } SERVER_INFO_1010, *PSERVER_INFO_1010, *LPSERVER_INFO_1010; 286c2c66affSColin Finck typedef struct _SERVER_INFO_1016 { BOOL sv1016_hidden; } SERVER_INFO_1016, *PSERVER_INFO_1016, *LPSERVER_INFO_1016; 287c2c66affSColin Finck typedef struct _SERVER_INFO_1017 { DWORD sv1017_announce; } SERVER_INFO_1017, *PSERVER_INFO_1017, *LPSERVER_INFO_1017; 288c2c66affSColin Finck typedef struct _SERVER_INFO_1018 { DWORD sv1018_anndelta; } SERVER_INFO_1018, *PSERVER_INFO_1018, *LPSERVER_INFO_1018; 289c2c66affSColin Finck typedef struct _SERVER_INFO_1501 { DWORD sv1501_sessopens; } SERVER_INFO_1501, *PSERVER_INFO_1501, *LPSERVER_INFO_1501; 290c2c66affSColin Finck typedef struct _SERVER_INFO_1502 { DWORD sv1502_sessvcs; } SERVER_INFO_1502, *PSERVER_INFO_1502, *LPSERVER_INFO_1502; 291c2c66affSColin Finck typedef struct _SERVER_INFO_1503 { DWORD sv1503_opensearch; } SERVER_INFO_1503, *PSERVER_INFO_1503, *LPSERVER_INFO_1503; 292c2c66affSColin Finck typedef struct _SERVER_INFO_1506 { DWORD sv1506_maxworkitems; } SERVER_INFO_1506, *PSERVER_INFO_1506, *LPSERVER_INFO_1506; 293c2c66affSColin Finck typedef struct _SERVER_INFO_1509 { DWORD sv1509_maxrawbuflen; } SERVER_INFO_1509, *PSERVER_INFO_1509, *LPSERVER_INFO_1509; 294c2c66affSColin Finck typedef struct _SERVER_INFO_1510 { DWORD sv1510_sessusers; } SERVER_INFO_1510, *PSERVER_INFO_1510, *LPSERVER_INFO_1510; 295c2c66affSColin Finck typedef struct _SERVER_INFO_1511 { DWORD sv1511_sessconns; } SERVER_INFO_1511, *PSERVER_INFO_1511, *LPSERVER_INFO_1511; 296c2c66affSColin Finck typedef struct _SERVER_INFO_1512 { DWORD sv1512_maxnonpagedmemoryusage; } SERVER_INFO_1512, *PSERVER_INFO_1512, *LPSERVER_INFO_1512; 297c2c66affSColin Finck typedef struct _SERVER_INFO_1513 { DWORD sv1513_maxpagedmemoryusage; } SERVER_INFO_1513, *PSERVER_INFO_1513, *LPSERVER_INFO_1513; 298c2c66affSColin Finck typedef struct _SERVER_INFO_1514 { BOOL sv1514_enablesoftcompat; } SERVER_INFO_1514, *PSERVER_INFO_1514, *LPSERVER_INFO_1514; 299c2c66affSColin Finck typedef struct _SERVER_INFO_1515 { BOOL sv1515_enableforcedlogoff; } SERVER_INFO_1515, *PSERVER_INFO_1515, *LPSERVER_INFO_1515; 300c2c66affSColin Finck typedef struct _SERVER_INFO_1516 { BOOL sv1516_timesource; } SERVER_INFO_1516, *PSERVER_INFO_1516, *LPSERVER_INFO_1516; 301c2c66affSColin Finck typedef struct _SERVER_INFO_1518 { BOOL sv1518_lmannounce; } SERVER_INFO_1518, *PSERVER_INFO_1518, *LPSERVER_INFO_1518; 302c2c66affSColin Finck typedef struct _SERVER_INFO_1520 { DWORD sv1520_maxcopyreadlen; } SERVER_INFO_1520, *PSERVER_INFO_1520, *LPSERVER_INFO_1520; 303c2c66affSColin Finck typedef struct _SERVER_INFO_1521 { DWORD sv1521_maxcopywritelen; } SERVER_INFO_1521, *PSERVER_INFO_1521, *LPSERVER_INFO_1521; 304c2c66affSColin Finck typedef struct _SERVER_INFO_1522 { DWORD sv1522_minkeepsearch; } SERVER_INFO_1522, *PSERVER_INFO_1522, *LPSERVER_INFO_1522; 305c2c66affSColin Finck typedef struct _SERVER_INFO_1523 { DWORD sv1523_maxkeepsearch; } SERVER_INFO_1523, *PSERVER_INFO_1523, *LPSERVER_INFO_1523; 306c2c66affSColin Finck typedef struct _SERVER_INFO_1524 { DWORD sv1524_minkeepcomplsearch; } SERVER_INFO_1524, *PSERVER_INFO_1524, *LPSERVER_INFO_1524; 307c2c66affSColin Finck typedef struct _SERVER_INFO_1525 { DWORD sv1525_maxkeepcomplsearch; } SERVER_INFO_1525, *PSERVER_INFO_1525, *LPSERVER_INFO_1525; 308c2c66affSColin Finck typedef struct _SERVER_INFO_1528 { DWORD sv1528_scavtimeout; } SERVER_INFO_1528, *PSERVER_INFO_1528, *LPSERVER_INFO_1528; 309c2c66affSColin Finck typedef struct _SERVER_INFO_1529 { DWORD sv1529_minrcvqueue; } SERVER_INFO_1529, *PSERVER_INFO_1529, *LPSERVER_INFO_1529; 310c2c66affSColin Finck typedef struct _SERVER_INFO_1530 { DWORD sv1530_minfreeworkitems; } SERVER_INFO_1530, *PSERVER_INFO_1530, *LPSERVER_INFO_1530; 311c2c66affSColin Finck typedef struct _SERVER_INFO_1533 { DWORD sv1533_maxmpxct; } SERVER_INFO_1533, *PSERVER_INFO_1533, *LPSERVER_INFO_1533; 312c2c66affSColin Finck typedef struct _SERVER_INFO_1534 { DWORD sv1534_oplockbreakwait; } SERVER_INFO_1534, *PSERVER_INFO_1534, *LPSERVER_INFO_1534; 313c2c66affSColin Finck typedef struct _SERVER_INFO_1535 { DWORD sv1535_oplockbreakresponsewait; } SERVER_INFO_1535, *PSERVER_INFO_1535, *LPSERVER_INFO_1535; 314c2c66affSColin Finck typedef struct _SERVER_INFO_1536 { BOOL sv1536_enableoplocks; } SERVER_INFO_1536, *PSERVER_INFO_1536, *LPSERVER_INFO_1536; 315c2c66affSColin Finck typedef struct _SERVER_INFO_1537 { BOOL sv1537_enableoplockforceclose; } SERVER_INFO_1537, *PSERVER_INFO_1537, *LPSERVER_INFO_1537; 316c2c66affSColin Finck typedef struct _SERVER_INFO_1538 { BOOL sv1538_enablefcbopens; } SERVER_INFO_1538, *PSERVER_INFO_1538, *LPSERVER_INFO_1538; 317c2c66affSColin Finck typedef struct _SERVER_INFO_1539 { BOOL sv1539_enableraw; } SERVER_INFO_1539, *PSERVER_INFO_1539, *LPSERVER_INFO_1539; 318c2c66affSColin Finck typedef struct _SERVER_INFO_1540 { BOOL sv1540_enablesharednetdrives; } SERVER_INFO_1540, *PSERVER_INFO_1540, *LPSERVER_INFO_1540; 319c2c66affSColin Finck typedef struct _SERVER_INFO_1541 { BOOL sv1541_minfreeconnections; } SERVER_INFO_1541, *PSERVER_INFO_1541, *LPSERVER_INFO_1541; 320c2c66affSColin Finck typedef struct _SERVER_INFO_1542 { BOOL sv1542_maxfreeconnections; } SERVER_INFO_1542, *PSERVER_INFO_1542, *LPSERVER_INFO_1542; 321c2c66affSColin Finck typedef struct _SERVER_INFO_1543 { DWORD sv1543_initsesstable; } SERVER_INFO_1543, *PSERVER_INFO_1543, *LPSERVER_INFO_1543; 322c2c66affSColin Finck typedef struct _SERVER_INFO_1544 { DWORD sv1544_initconntable; } SERVER_INFO_1544, *PSERVER_INFO_1544, *LPSERVER_INFO_1544; 323c2c66affSColin Finck typedef struct _SERVER_INFO_1545 { DWORD sv1545_initfiletable; } SERVER_INFO_1545, *PSERVER_INFO_1545, *LPSERVER_INFO_1545; 324c2c66affSColin Finck typedef struct _SERVER_INFO_1546 { DWORD sv1546_initsearchtable; } SERVER_INFO_1546, *PSERVER_INFO_1546, *LPSERVER_INFO_1546; 325c2c66affSColin Finck typedef struct _SERVER_INFO_1547 { DWORD sv1547_alertschedule; } SERVER_INFO_1547, *PSERVER_INFO_1547, *LPSERVER_INFO_1547; 326c2c66affSColin Finck typedef struct _SERVER_INFO_1548 { DWORD sv1548_errorthreshold; } SERVER_INFO_1548, *PSERVER_INFO_1548, *LPSERVER_INFO_1548; 327c2c66affSColin Finck typedef struct _SERVER_INFO_1549 { DWORD sv1549_networkerrorthreshold; } SERVER_INFO_1549, *PSERVER_INFO_1549, *LPSERVER_INFO_1549; 328c2c66affSColin Finck typedef struct _SERVER_INFO_1550 { DWORD sv1550_diskspacethreshold; } SERVER_INFO_1550, *PSERVER_INFO_1550, *LPSERVER_INFO_1550; 329c2c66affSColin Finck typedef struct _SERVER_INFO_1552 { DWORD sv1552_maxlinkdelay; } SERVER_INFO_1552, *PSERVER_INFO_1552, *LPSERVER_INFO_1552; 330c2c66affSColin Finck typedef struct _SERVER_INFO_1553 { DWORD sv1553_minlinkthroughput; } SERVER_INFO_1553, *PSERVER_INFO_1553, *LPSERVER_INFO_1553; 331c2c66affSColin Finck typedef struct _SERVER_INFO_1554 { DWORD sv1554_linkinfovalidtime; } SERVER_INFO_1554, *PSERVER_INFO_1554, *LPSERVER_INFO_1554; 332c2c66affSColin Finck typedef struct _SERVER_INFO_1555 { DWORD sv1555_scavqosinfoupdatetime; } SERVER_INFO_1555, *PSERVER_INFO_1555, *LPSERVER_INFO_1555; 333c2c66affSColin Finck typedef struct _SERVER_INFO_1556 { DWORD sv1556_maxworkitemidletime; } SERVER_INFO_1556, *PSERVER_INFO_1556, *LPSERVER_INFO_1556; 334c2c66affSColin Finck typedef struct _SERVER_INFO_1557 { DWORD sv1557_maxrawworkitems; } SERVER_INFO_1557, *PSERVER_INFO_1557, *LPSERVER_INFO_1557; 335c2c66affSColin Finck typedef struct _SERVER_INFO_1560 { DWORD sv1560_producttype; } SERVER_INFO_1560, *PSERVER_INFO_1560, *LPSERVER_INFO_1560; 336c2c66affSColin Finck typedef struct _SERVER_INFO_1561 { DWORD sv1561_serversize; } SERVER_INFO_1561, *PSERVER_INFO_1561, *LPSERVER_INFO_1561; 337c2c66affSColin Finck typedef struct _SERVER_INFO_1562 { DWORD sv1562_connectionlessautodisc; } SERVER_INFO_1562, *PSERVER_INFO_1562, *LPSERVER_INFO_1562; 338c2c66affSColin Finck typedef struct _SERVER_INFO_1563 { DWORD sv1563_sharingviolationretries; } SERVER_INFO_1563, *PSERVER_INFO_1563, *LPSERVER_INFO_1563; 339c2c66affSColin Finck typedef struct _SERVER_INFO_1564 { DWORD sv1564_sharingviolationdelay; } SERVER_INFO_1564, *PSERVER_INFO_1564, *LPSERVER_INFO_1564; 340c2c66affSColin Finck typedef struct _SERVER_INFO_1565 { DWORD sv1565_maxglobalopensearch; } SERVER_INFO_1565, *PSERVER_INFO_1565, *LPSERVER_INFO_1565; 341c2c66affSColin Finck typedef struct _SERVER_INFO_1566 { BOOL sv1566_removeduplicatesearches; } SERVER_INFO_1566, *PSERVER_INFO_1566, *LPSERVER_INFO_1566; 342c2c66affSColin Finck typedef struct _SERVER_INFO_1567 { DWORD sv1567_lockviolationretries; } SERVER_INFO_1567, *PSERVER_INFO_1567, *LPSERVER_INFO_1567; 343c2c66affSColin Finck typedef struct _SERVER_INFO_1568 { DWORD sv1568_lockviolationoffset; } SERVER_INFO_1568, *PSERVER_INFO_1568, *LPSERVER_INFO_1568; 344c2c66affSColin Finck typedef struct _SERVER_INFO_1569 { DWORD sv1569_lockviolationdelay; } SERVER_INFO_1569, *PSERVER_INFO_1569, *LPSERVER_INFO_1569; 345c2c66affSColin Finck typedef struct _SERVER_INFO_1570 { DWORD sv1570_mdlreadswitchover; } SERVER_INFO_1570, *PSERVER_INFO_1570, *LPSERVER_INFO_1570; 346c2c66affSColin Finck typedef struct _SERVER_INFO_1571 { DWORD sv1571_cachedopenlimit; } SERVER_INFO_1571, *PSERVER_INFO_1571, *LPSERVER_INFO_1571; 347c2c66affSColin Finck typedef struct _SERVER_INFO_1572 { DWORD sv1572_criticalthreads; } SERVER_INFO_1572, *PSERVER_INFO_1572, *LPSERVER_INFO_1572; 348c2c66affSColin Finck typedef struct _SERVER_INFO_1573 { DWORD sv1573_restrictnullsessaccess; } SERVER_INFO_1573, *PSERVER_INFO_1573, *LPSERVER_INFO_1573; 349c2c66affSColin Finck typedef struct _SERVER_INFO_1574 { DWORD sv1574_enablewfw311directipx;} SERVER_INFO_1574, *PSERVER_INFO_1574, *LPSERVER_INFO_1574; 350c2c66affSColin Finck typedef struct _SERVER_INFO_1575 { DWORD sv1575_otherqueueaffinity; } SERVER_INFO_1575, *PSERVER_INFO_1575, *LPSERVER_INFO_1575; 351c2c66affSColin Finck typedef struct _SERVER_INFO_1576 { DWORD sv1576_queuesamplesecs; } SERVER_INFO_1576, *PSERVER_INFO_1576, *LPSERVER_INFO_1576; 352c2c66affSColin Finck typedef struct _SERVER_INFO_1577 { DWORD sv1577_balancecount; } SERVER_INFO_1577, *PSERVER_INFO_1577, *LPSERVER_INFO_1577; 353c2c66affSColin Finck typedef struct _SERVER_INFO_1578 { DWORD sv1578_preferredaffinity; } SERVER_INFO_1578, *PSERVER_INFO_1578, *LPSERVER_INFO_1578; 354c2c66affSColin Finck typedef struct _SERVER_INFO_1579 { DWORD sv1579_maxfreerfcbs; } SERVER_INFO_1579, *PSERVER_INFO_1579, *LPSERVER_INFO_1579; 355c2c66affSColin Finck typedef struct _SERVER_INFO_1580 { DWORD sv1580_maxfreemfcbs; } SERVER_INFO_1580, *PSERVER_INFO_1580, *LPSERVER_INFO_1580; 356c2c66affSColin Finck typedef struct _SERVER_INFO_1581 { DWORD sv1581_maxfreemlcbs; } SERVER_INFO_1581, *PSERVER_INFO_1581, *LPSERVER_INFO_1581; 357c2c66affSColin Finck typedef struct _SERVER_INFO_1582 { DWORD sv1582_maxfreepagedpoolchunks; } SERVER_INFO_1582, *PSERVER_INFO_1582, *LPSERVER_INFO_1582; 358c2c66affSColin Finck typedef struct _SERVER_INFO_1583 { DWORD sv1583_minpagedpoolchunksize; } SERVER_INFO_1583, *PSERVER_INFO_1583, *LPSERVER_INFO_1583; 359c2c66affSColin Finck typedef struct _SERVER_INFO_1584 { DWORD sv1584_maxpagedpoolchunksize; } SERVER_INFO_1584, *PSERVER_INFO_1584, *LPSERVER_INFO_1584; 360c2c66affSColin Finck typedef struct _SERVER_INFO_1585 { BOOL sv1585_sendsfrompreferredprocessor; } SERVER_INFO_1585, *PSERVER_INFO_1585, *LPSERVER_INFO_1585; 361c2c66affSColin Finck typedef struct _SERVER_INFO_1586 { BOOL sv1586_maxthreadsperqueue; } SERVER_INFO_1586, *PSERVER_INFO_1586, *LPSERVER_INFO_1586; 362c2c66affSColin Finck 363c2c66affSColin Finck typedef struct _SERVER_TRANSPORT_INFO_0 { 364c2c66affSColin Finck DWORD svti0_numberofvcs; 365c2c66affSColin Finck LPWSTR svti0_transportname; 366c2c66affSColin Finck PBYTE svti0_transportaddress; 367c2c66affSColin Finck DWORD svti0_transportaddresslength; 368c2c66affSColin Finck LPWSTR svti0_networkaddress; 369c2c66affSColin Finck } SERVER_TRANSPORT_INFO_0, *PSERVER_TRANSPORT_INFO_0, *LPSERVER_TRANSPORT_INFO_0; 370c2c66affSColin Finck 371*ce085609SEric Kohl typedef struct _SERVER_TRANSPORT_INFO_1 { 372*ce085609SEric Kohl DWORD svti1_numberofvcs; 373*ce085609SEric Kohl LPWSTR svti1_transportname; 374*ce085609SEric Kohl PBYTE svti1_transportaddress; 375*ce085609SEric Kohl DWORD svti1_transportaddresslength; 376*ce085609SEric Kohl LPWSTR svti1_networkaddress; 377*ce085609SEric Kohl LPWSTR svti1_domain; 378*ce085609SEric Kohl } SERVER_TRANSPORT_INFO_1, *PSERVER_TRANSPORT_INFO_1, *LPSERVER_TRANSPORT_INFO_1; 379*ce085609SEric Kohl 380*ce085609SEric Kohl typedef struct _SERVER_TRANSPORT_INFO_2 { 381*ce085609SEric Kohl DWORD svti2_numberofvcs; 382*ce085609SEric Kohl LPWSTR svti2_transportname; 383*ce085609SEric Kohl PBYTE svti2_transportaddress; 384*ce085609SEric Kohl DWORD svti2_transportaddresslength; 385*ce085609SEric Kohl LPWSTR svti2_networkaddress; 386*ce085609SEric Kohl LPWSTR svti2_domain; 387*ce085609SEric Kohl ULONG svti2_flags; 388*ce085609SEric Kohl } SERVER_TRANSPORT_INFO_2, *PSERVER_TRANSPORT_INFO_2, *LPSERVER_TRANSPORT_INFO_2; 389*ce085609SEric Kohl 390*ce085609SEric Kohl typedef struct _SERVER_TRANSPORT_INFO_3 { 391*ce085609SEric Kohl DWORD svti3_numberofvcs; 392*ce085609SEric Kohl LPWSTR svti3_transportname; 393*ce085609SEric Kohl PBYTE svti3_transportaddress; 394*ce085609SEric Kohl DWORD svti3_transportaddresslength; 395*ce085609SEric Kohl LPWSTR svti3_networkaddress; 396*ce085609SEric Kohl LPWSTR svti3_domain; 397*ce085609SEric Kohl ULONG svti3_flags; 398*ce085609SEric Kohl DWORD svti3_passwordlength; 399*ce085609SEric Kohl BYTE svti3_password[256]; 400*ce085609SEric Kohl } SERVER_TRANSPORT_INFO_3, *PSERVER_TRANSPORT_INFO_3, *LPSERVER_TRANSPORT_INFO_3; 401*ce085609SEric Kohl 402c2c66affSColin Finck NET_API_STATUS WINAPI NetServerEnum(LPCWSTR, DWORD, PBYTE*, DWORD, PDWORD, PDWORD, DWORD, LPCWSTR, PDWORD); 403c2c66affSColin Finck NET_API_STATUS WINAPI NetServerEnumEx(LPCWSTR, DWORD, PBYTE*, DWORD, PDWORD, PDWORD, DWORD, LPCWSTR, LPCWSTR); 404c2c66affSColin Finck NET_API_STATUS WINAPI NetServerGetInfo(LPWSTR, DWORD, PBYTE*); 405c2c66affSColin Finck NET_API_STATUS WINAPI NetServerSetInfo(LPWSTR, DWORD, PBYTE, PDWORD); 406c2c66affSColin Finck NET_API_STATUS NetServerSetInfoCommandLine(WORD, LPWSTR*); 407c2c66affSColin Finck NET_API_STATUS WINAPI NetServerDiskEnum(LPWSTR, DWORD, PBYTE*, DWORD, PDWORD, PDWORD, PDWORD); 408c2c66affSColin Finck NET_API_STATUS WINAPI NetServerComputerNameAdd(LPWSTR, LPWSTR, LPWSTR); 409c2c66affSColin Finck NET_API_STATUS WINAPI NetServerComputerNameDel(LPWSTR, LPWSTR); 410c2c66affSColin Finck NET_API_STATUS WINAPI NetServerTransportAdd(LPWSTR, DWORD, PBYTE); 411c2c66affSColin Finck NET_API_STATUS WINAPI NetServerTransportAddEx(LPWSTR, DWORD, PBYTE); 412c2c66affSColin Finck NET_API_STATUS WINAPI NetServerTransportDel(LPWSTR, DWORD, PBYTE); 413c2c66affSColin Finck NET_API_STATUS WINAPI NetServerTransportEnum(LPWSTR, DWORD, PBYTE*, DWORD, PDWORD, PDWORD, PDWORD); 414*ce085609SEric Kohl BOOL WINAPI SetServiceBits(SERVICE_STATUS_HANDLE, DWORD, BOOL, BOOL); 415c2c66affSColin Finck 416c2c66affSColin Finck #define SVI1_NUM_ELEMENTS 5 417c2c66affSColin Finck #define SVI2_NUM_ELEMENTS 40 418c2c66affSColin Finck #define SVI3_NUM_ELEMENTS 44 419c2c66affSColin Finck #define SV_MAX_CMD_LEN PATHLEN 420c2c66affSColin Finck #define SW_AUTOPROF_LOAD_MASK 1 421c2c66affSColin Finck #define SW_AUTOPROF_SAVE_MASK 2 422c2c66affSColin Finck #define SV_MAX_SRV_HEUR_LEN 32 423c2c66affSColin Finck #define SV_USERS_PER_LICENSE 5 424c2c66affSColin Finck #define SV_PLATFORM_ID_OS2 400 425c2c66affSColin Finck #define SV_PLATFORM_ID_NT 500 426c2c66affSColin Finck #define MAJOR_VERSION_MASK 15 427c2c66affSColin Finck #define SV_TYPE_WORKSTATION 1 428c2c66affSColin Finck #define SV_TYPE_SERVER 2 429c2c66affSColin Finck #define SV_TYPE_SQLSERVER 4 430c2c66affSColin Finck #define SV_TYPE_DOMAIN_CTRL 8 431c2c66affSColin Finck #define SV_TYPE_DOMAIN_BAKCTRL 16 432c2c66affSColin Finck #define SV_TYPE_TIME_SOURCE 32 433c2c66affSColin Finck #define SV_TYPE_AFP 64 434c2c66affSColin Finck #define SV_TYPE_NOVELL 128 435c2c66affSColin Finck #define SV_TYPE_DOMAIN_MEMBER 256 436c2c66affSColin Finck #define SV_TYPE_PRINTQ_SERVER 512 437c2c66affSColin Finck #define SV_TYPE_DIALIN_SERVER 1024 438c2c66affSColin Finck #define SV_TYPE_XENIX_SERVER 2048 439c2c66affSColin Finck #define SV_TYPE_SERVER_UNIX SV_TYPE_XENIX_SERVER 440c2c66affSColin Finck #define SV_TYPE_NT 4096 441c2c66affSColin Finck #define SV_TYPE_WFW 8192 442c2c66affSColin Finck #define SV_TYPE_SERVER_MFPN 16384 443c2c66affSColin Finck #define SV_TYPE_SERVER_NT 32768 444c2c66affSColin Finck #define SV_TYPE_POTENTIAL_BROWSER 65536 445c2c66affSColin Finck #define SV_TYPE_BACKUP_BROWSER 0x20000 446c2c66affSColin Finck #define SV_TYPE_MASTER_BROWSER 0x40000 447c2c66affSColin Finck #define SV_TYPE_DOMAIN_MASTER 0x80000 448c2c66affSColin Finck #define SV_TYPE_SERVER_OSF 0x100000 449c2c66affSColin Finck #define SV_TYPE_SERVER_VMS 0x200000 450c2c66affSColin Finck #define SV_TYPE_WINDOWS 0x400000 451c2c66affSColin Finck #define SV_TYPE_ALTERNATE_XPORT 0x20000000 452c2c66affSColin Finck #define SV_TYPE_LOCAL_LIST_ONLY 0x40000000 453c2c66affSColin Finck #define SV_TYPE_DOMAIN_ENUM 0x80000000 454c2c66affSColin Finck #define SV_TYPE_ALL 0xFFFFFFFF 455c2c66affSColin Finck #define SV_NODISC (-1) 456c2c66affSColin Finck #define SV_USERSECURITY 1 457c2c66affSColin Finck #define SV_SHARESECURITY 0 458c2c66affSColin Finck #define SV_HIDDEN 1 459c2c66affSColin Finck #define SV_VISIBLE 0 460c2c66affSColin Finck #define SV_PLATFORM_ID_PARMNUM 101 461c2c66affSColin Finck #define SV_NAME_PARMNUM 102 462c2c66affSColin Finck #define SV_VERSION_MAJOR_PARMNUM 103 463c2c66affSColin Finck #define SV_VERSION_MINOR_PARMNUM 104 464c2c66affSColin Finck #define SV_TYPE_PARMNUM 105 465c2c66affSColin Finck #define SV_COMMENT_PARMNUM 5 466c2c66affSColin Finck #define SV_USERS_PARMNUM 107 467c2c66affSColin Finck #define SV_DISC_PARMNUM 10 468c2c66affSColin Finck #define SV_HIDDEN_PARMNUM 16 469c2c66affSColin Finck #define SV_ANNOUNCE_PARMNUM 17 470c2c66affSColin Finck #define SV_ANNDELTA_PARMNUM 18 471c2c66affSColin Finck #define SV_USERPATH_PARMNUM 112 472c2c66affSColin Finck #define SV_ULIST_MTIME_PARMNUM 401 473c2c66affSColin Finck #define SV_GLIST_MTIME_PARMNUM 402 474c2c66affSColin Finck #define SV_ALIST_MTIME_PARMNUM 403 475c2c66affSColin Finck #define SV_ALERTS_PARMNUM 11 476c2c66affSColin Finck #define SV_SECURITY_PARMNUM 405 477c2c66affSColin Finck #define SV_NUMADMIN_PARMNUM 406 478c2c66affSColin Finck #define SV_LANMASK_PARMNUM 407 479c2c66affSColin Finck #define SV_GUESTACC_PARMNUM 408 480c2c66affSColin Finck #define SV_CHDEVQ_PARMNUM 410 481c2c66affSColin Finck #define SV_CHDEVJOBS_PARMNUM 411 482c2c66affSColin Finck #define SV_CONNECTIONS_PARMNUM 412 483c2c66affSColin Finck #define SV_SHARES_PARMNUM 413 484c2c66affSColin Finck #define SV_OPENFILES_PARMNUM 414 485c2c66affSColin Finck #define SV_SESSREQS_PARMNUM 417 486c2c66affSColin Finck #define SV_ACTIVELOCKS_PARMNUM 419 487c2c66affSColin Finck #define SV_NUMREQBUF_PARMNUM 420 488c2c66affSColin Finck #define SV_NUMBIGBUF_PARMNUM 422 489c2c66affSColin Finck #define SV_NUMFILETASKS_PARMNUM 423 490c2c66affSColin Finck #define SV_ALERTSCHED_PARMNUM 37 491c2c66affSColin Finck #define SV_ERRORALERT_PARMNUM 38 492c2c66affSColin Finck #define SV_LOGONALERT_PARMNUM 39 493c2c66affSColin Finck #define SV_ACCESSALERT_PARMNUM 40 494c2c66affSColin Finck #define SV_DISKALERT_PARMNUM 41 495c2c66affSColin Finck #define SV_NETIOALERT_PARMNUM 42 496c2c66affSColin Finck #define SV_MAXAUDITSZ_PARMNUM 43 497c2c66affSColin Finck #define SV_SRVHEURISTICS_PARMNUM 431 498c2c66affSColin Finck #define SV_SESSOPENS_PARMNUM 501 499c2c66affSColin Finck #define SV_SESSVCS_PARMNUM 502 500c2c66affSColin Finck #define SV_OPENSEARCH_PARMNUM 503 501c2c66affSColin Finck #define SV_SIZREQBUF_PARMNUM 504 502c2c66affSColin Finck #define SV_INITWORKITEMS_PARMNUM 505 503c2c66affSColin Finck #define SV_MAXWORKITEMS_PARMNUM 506 504c2c66affSColin Finck #define SV_RAWWORKITEMS_PARMNUM 507 505c2c66affSColin Finck #define SV_IRPSTACKSIZE_PARMNUM 508 506c2c66affSColin Finck #define SV_MAXRAWBUFLEN_PARMNUM 509 507c2c66affSColin Finck #define SV_SESSUSERS_PARMNUM 510 508c2c66affSColin Finck #define SV_SESSCONNS_PARMNUM 511 509c2c66affSColin Finck #define SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM 512 510c2c66affSColin Finck #define SV_MAXPAGEDMEMORYUSAGE_PARMNUM 513 511c2c66affSColin Finck #define SV_ENABLESOFTCOMPAT_PARMNUM 514 512c2c66affSColin Finck #define SV_ENABLEFORCEDLOGOFF_PARMNUM 515 513c2c66affSColin Finck #define SV_TIMESOURCE_PARMNUM 516 514c2c66affSColin Finck #define SV_ACCEPTDOWNLEVELAPIS_PARMNUM 517 515c2c66affSColin Finck #define SV_LMANNOUNCE_PARMNUM 518 516c2c66affSColin Finck #define SV_DOMAIN_PARMNUM 519 517c2c66affSColin Finck #define SV_MAXCOPYREADLEN_PARMNUM 520 518c2c66affSColin Finck #define SV_MAXCOPYWRITELEN_PARMNUM 521 519c2c66affSColin Finck #define SV_MINKEEPSEARCH_PARMNUM 522 520c2c66affSColin Finck #define SV_MAXKEEPSEARCH_PARMNUM 523 521c2c66affSColin Finck #define SV_MINKEEPCOMPLSEARCH_PARMNUM 524 522c2c66affSColin Finck #define SV_MAXKEEPCOMPLSEARCH_PARMNUM 525 523c2c66affSColin Finck #define SV_THREADCOUNTADD_PARMNUM 526 524c2c66affSColin Finck #define SV_NUMBLOCKTHREADS_PARMNUM 527 525c2c66affSColin Finck #define SV_SCAVTIMEOUT_PARMNUM 528 526c2c66affSColin Finck #define SV_MINRCVQUEUE_PARMNUM 529 527c2c66affSColin Finck #define SV_MINFREEWORKITEMS_PARMNUM 530 528c2c66affSColin Finck #define SV_XACTMEMSIZE_PARMNUM 531 529c2c66affSColin Finck #define SV_THREADPRIORITY_PARMNUM 532 530c2c66affSColin Finck #define SV_MAXMPXCT_PARMNUM 533 531c2c66affSColin Finck #define SV_OPLOCKBREAKWAIT_PARMNUM 534 532c2c66affSColin Finck #define SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM 535 533c2c66affSColin Finck #define SV_ENABLEOPLOCKS_PARMNUM 536 534c2c66affSColin Finck #define SV_ENABLEOPLOCKFORCECLOSE_PARMNUM 537 535c2c66affSColin Finck #define SV_ENABLEFCBOPENS_PARMNUM 538 536c2c66affSColin Finck #define SV_ENABLERAW_PARMNUM 539 537c2c66affSColin Finck #define SV_ENABLESHAREDNETDRIVES_PARMNUM 540 538c2c66affSColin Finck #define SV_MINFREECONNECTIONS_PARMNUM 541 539c2c66affSColin Finck #define SV_MAXFREECONNECTIONS_PARMNUM 542 540c2c66affSColin Finck #define SV_INITSESSTABLE_PARMNUM 543 541c2c66affSColin Finck #define SV_INITCONNTABLE_PARMNUM 544 542c2c66affSColin Finck #define SV_INITFILETABLE_PARMNUM 545 543c2c66affSColin Finck #define SV_INITSEARCHTABLE_PARMNUM 546 544c2c66affSColin Finck #define SV_ALERTSCHEDULE_PARMNUM 547 545c2c66affSColin Finck #define SV_ERRORTHRESHOLD_PARMNUM 548 546c2c66affSColin Finck #define SV_NETWORKERRORTHRESHOLD_PARMNUM 549 547c2c66affSColin Finck #define SV_DISKSPACETHRESHOLD_PARMNUM 550 548c2c66affSColin Finck #define SV_MAXLINKDELAY_PARMNUM 552 549c2c66affSColin Finck #define SV_MINLINKTHROUGHPUT_PARMNUM 553 550c2c66affSColin Finck #define SV_LINKINFOVALIDTIME_PARMNUM 554 551c2c66affSColin Finck #define SV_SCAVQOSINFOUPDATETIME_PARMNUM 555 552c2c66affSColin Finck #define SV_MAXWORKITEMIDLETIME_PARMNUM 556 553c2c66affSColin Finck #define SV_MAXRAWWORKITEMS_PARMNUM 557 554c2c66affSColin Finck #define SV_PRODUCTTYPE_PARMNUM 560 555c2c66affSColin Finck #define SV_SERVERSIZE_PARMNUM 561 556c2c66affSColin Finck #define SV_CONNECTIONLESSAUTODISC_PARMNUM 562 557c2c66affSColin Finck #define SV_SHARINGVIOLATIONRETRIES_PARMNUM 563 558c2c66affSColin Finck #define SV_SHARINGVIOLATIONDELAY_PARMNUM 564 559c2c66affSColin Finck #define SV_MAXGLOBALOPENSEARCH_PARMNUM 565 560c2c66affSColin Finck #define SV_REMOVEDUPLICATESEARCHES_PARMNUM 566 561c2c66affSColin Finck #define SV_LOCKVIOLATIONRETRIES_PARMNUM 567 562c2c66affSColin Finck #define SV_LOCKVIOLATIONOFFSET_PARMNUM 568 563c2c66affSColin Finck #define SV_LOCKVIOLATIONDELAY_PARMNUM 569 564c2c66affSColin Finck #define SV_MDLREADSWITCHOVER_PARMNUM 570 565c2c66affSColin Finck #define SV_CACHEDOPENLIMIT_PARMNUM 571 566c2c66affSColin Finck #define SV_CRITICALTHREADS_PARMNUM 572 567c2c66affSColin Finck #define SV_RESTRICTNULLSESSACCESS_PARMNUM 573 568c2c66affSColin Finck #define SV_ENABLEWFW311DIRECTIPX_PARMNUM 574 569c2c66affSColin Finck #define SV_OTHERQUEUEAFFINITY_PARMNUM 575 570c2c66affSColin Finck #define SV_QUEUESAMPLESECS_PARMNUM 576 571c2c66affSColin Finck #define SV_BALANCECOUNT_PARMNUM 577 572c2c66affSColin Finck #define SV_PREFERREDAFFINITY_PARMNUM 578 573c2c66affSColin Finck #define SV_MAXFREERFCBS_PARMNUM 579 574c2c66affSColin Finck #define SV_MAXFREEMFCBS_PARMNUM 580 575c2c66affSColin Finck #define SV_MAXFREELFCBS_PARMNUM 581 576c2c66affSColin Finck #define SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM 582 577c2c66affSColin Finck #define SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM 583 578c2c66affSColin Finck #define SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM 584 579c2c66affSColin Finck #define SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM 585 580c2c66affSColin Finck #define SV_MAXTHREADSPERQUEUE_PARMNUM 586 581c2c66affSColin Finck #define SV_COMMENT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_COMMENT_PARMNUM) 582c2c66affSColin Finck #define SV_USERS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_USERS_PARMNUM) 583c2c66affSColin Finck #define SV_DISC_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_DISC_PARMNUM) 584c2c66affSColin Finck #define SV_HIDDEN_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_HIDDEN_PARMNUM) 585c2c66affSColin Finck #define SV_ANNOUNCE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ANNOUNCE_PARMNUM) 586c2c66affSColin Finck #define SV_ANNDELTA_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ANNDELTA_PARMNUM) 587c2c66affSColin Finck #define SV_SESSOPENS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SESSOPENS_PARMNUM) 588c2c66affSColin Finck #define SV_SESSVCS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SESSVCS_PARMNUM) 589c2c66affSColin Finck #define SV_OPENSEARCH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_OPENSEARCH_PARMNUM) 590c2c66affSColin Finck #define SV_MAXWORKITEMS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXWORKITEMS_PARMNUM) 591c2c66affSColin Finck #define SV_MAXRAWBUFLEN_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXRAWBUFLEN_PARMNUM) 592c2c66affSColin Finck #define SV_SESSUSERS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SESSUSERS_PARMNUM) 593c2c66affSColin Finck #define SV_SESSCONNS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SESSCONNS_PARMNUM) 594c2c66affSColin Finck #define SV_MAXNONPAGEDMEMORYUSAGE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM) 595c2c66affSColin Finck #define SV_MAXPAGEDMEMORYUSAGE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXPAGEDMEMORYUSAGE_PARMNUM) 596c2c66affSColin Finck #define SV_ENABLESOFTCOMPAT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLESOFTCOMPAT_PARMNUM) 597c2c66affSColin Finck #define SV_ENABLEFORCEDLOGOFF_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLEFORCEDLOGOFF_PARMNUM) 598c2c66affSColin Finck #define SV_TIMESOURCE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_TIMESOURCE_PARMNUM) 599c2c66affSColin Finck #define SV_LMANNOUNCE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_LMANNOUNCE_PARMNUM) 600c2c66affSColin Finck #define SV_MAXCOPYREADLEN_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYREADLEN_PARMNUM) 601c2c66affSColin Finck #define SV_MAXCOPYWRITELEN_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYWRITELEN_PARMNUM) 602c2c66affSColin Finck #define SV_MINKEEPSEARCH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINKEEPSEARCH_PARMNUM) 603c2c66affSColin Finck #define SV_MAXKEEPSEARCH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXKEEPSEARCH_PARMNUM) 604c2c66affSColin Finck #define SV_MINKEEPCOMPLSEARCH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINKEEPCOMPLSEARCH_PARMNUM) 605c2c66affSColin Finck #define SV_MAXKEEPCOMPLSEARCH_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXKEEPCOMPLSEARCH_PARMNUM) 606c2c66affSColin Finck #define SV_SCAVTIMEOUT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SCAVTIMEOUT_PARMNUM) 607c2c66affSColin Finck #define SV_MINRCVQUEUE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINRCVQUEUE_PARMNUM) 608c2c66affSColin Finck #define SV_MINFREEWORKITEMS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINFREEWORKITEMS_PARMNUM) 609c2c66affSColin Finck #define SV_MAXMPXCT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXMPXCT_PARMNUM) 610c2c66affSColin Finck #define SV_OPLOCKBREAKWAIT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_OPLOCKBREAKWAIT_PARMNUM) 611c2c66affSColin Finck #define SV_OPLOCKBREAKRESPONSEWAIT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM) 612c2c66affSColin Finck #define SV_ENABLEOPLOCKS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLEOPLOCKS_PARMNUM) 613c2c66affSColin Finck #define SV_ENABLEOPLOCKFORCECLOSE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLEOPLOCKFORCECLOSE_PARMNUM) 614c2c66affSColin Finck #define SV_ENABLEFCBOPENS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLEFCBOPENS_PARMNUM) 615c2c66affSColin Finck #define SV_ENABLERAW_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLERAW_PARMNUM) 616c2c66affSColin Finck #define SV_ENABLESHAREDNETDRIVES_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLESHAREDNETDRIVES_PARMNUM) 617c2c66affSColin Finck #define SV_MINFREECONNECTIONS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINFREECONNECTIONS_PARMNUM) 618c2c66affSColin Finck #define SV_MAXFREECONNECTIONS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXFREECONNECTIONS_PARMNUM) 619c2c66affSColin Finck #define SV_INITSESSTABLE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_INITSESSTABLE_PARMNUM) 620c2c66affSColin Finck #define SV_INITCONNTABLE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_INITCONNTABLE_PARMNUM) 621c2c66affSColin Finck #define SV_INITFILETABLE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_INITFILETABLE_PARMNUM) 622c2c66affSColin Finck #define SV_INITSEARCHTABLE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_INITSEARCHTABLE_PARMNUM) 623c2c66affSColin Finck #define SV_ALERTSCHEDULE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ALERTSCHEDULE_PARMNUM) 624c2c66affSColin Finck #define SV_ERRORTHRESHOLD_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_ERRORTHRESHOLD_PARMNUM) 625c2c66affSColin Finck #define SV_NETWORKERRORTHRESHOLD_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_NETWORKERRORTHRESHOLD_PARMNUM) 626c2c66affSColin Finck #define SV_DISKSPACETHRESHOLD_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_DISKSPACETHRESHOLD_PARMNUM) 627c2c66affSColin Finck #define SV_MAXLINKDELAY_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXLINKDELAY_PARMNUM) 628c2c66affSColin Finck #define SV_MINLINKTHROUGHPUT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINLINKTHROUGHPUT_PARMNUM) 629c2c66affSColin Finck #define SV_LINKINFOVALIDTIME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_LINKINFOVALIDTIME_PARMNUM) 630c2c66affSColin Finck #define SV_SCAVQOSINFOUPDATETIME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SCAVQOSINFOUPDATETIME_PARMNUM) 631c2c66affSColin Finck #define SV_MAXWORKITEMIDLETIME_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXWORKITEMIDLETIME_PARMNUM) 632c2c66affSColin Finck #define SV_MAXRAWWORKITEMS_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXRAWWORKITEMS_PARMNUM) 633c2c66affSColin Finck #define SV_PRODUCTTYPE_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_PRODUCTTYPE_PARMNUM) 634c2c66affSColin Finck #define SV_SERVERSIZE_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_SERVERSIZE_PARMNUM) 635c2c66affSColin Finck #define SV_CONNECTIONLESSAUTODISC_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_CONNECTIONLESSAUTODISC_PARMNUM) 636c2c66affSColin Finck #define SV_SHARINGVIOLATIONRETRIES_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_SHARINGVIOLATIONRETRIES_PARMNUM) 637c2c66affSColin Finck #define SV_SHARINGVIOLATIONDELAY_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_SHARINGVIOLATIONDELAY_PARMNUM) 638c2c66affSColin Finck #define SV_MAXGLOBALOPENSEARCH_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXGLOBALOPENSEARCH_PARMNUM) 639c2c66affSColin Finck #define SV_REMOVEDUPLICATESEARCHES_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_REMOVEDUPLICATESEARCHES_PARMNUM) 640c2c66affSColin Finck #define SV_LOCKVIOLATIONRETRIES_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONRETRIES_PARMNUM) 641c2c66affSColin Finck #define SV_LOCKVIOLATIONOFFSET_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONOFFSET_PARMNUM) 642c2c66affSColin Finck #define SV_LOCKVIOLATIONDELAY_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONDELAY_PARMNUM) 643c2c66affSColin Finck #define SV_MDLREADSWITCHOVER_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_MDLREADSWITCHOVER_PARMNUM) 644c2c66affSColin Finck #define SV_CACHEDOPENLIMIT_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_CACHEDOPENLIMIT_PARMNUM) 645c2c66affSColin Finck #define SV_CRITICALTHREADS_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_CRITICALTHREADS_PARMNUM) 646c2c66affSColin Finck #define SV_RESTRICTNULLSESSACCESS_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_RESTRICTNULLSESSACCESS_PARMNUM) 647c2c66affSColin Finck #define SV_ENABLEWFW311DIRECTIPX_INFOLOEVEL (PARMNUM_BASE_INFOLEVEL + SV_ENABLEWFW311DIRECTIPX_PARMNUM) 648c2c66affSColin Finck #define SV_OTHERQUEUEAFFINITY_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_OTHERQUEUEAFFINITY_PARMNUM) 649c2c66affSColin Finck #define SV_QUEUESAMPLESECS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_QUEUESAMPLESECS_PARMNUM) 650c2c66affSColin Finck #define SV_BALANCECOUNT_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_BALANCECOUNT_PARMNUM) 651c2c66affSColin Finck #define SV_PREFERREDAFFINITY_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_PREFERREDAFFINITY_PARMNUM) 652c2c66affSColin Finck #define SV_MAXFREERFCBS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXFREERFCBS_PARMNUM) 653c2c66affSColin Finck #define SV_MAXFREEMFCBS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXFREEMFCBS_PARMNUM) 654c2c66affSColin Finck #define SV_MAXFREELFCBS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXFREELFCBS_PARMNUM) 655c2c66affSColin Finck #define SV_MAXFREEPAGEDPOOLCHUNKS_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM) 656c2c66affSColin Finck #define SV_MINPAGEDPOOLCHUNKSIZE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM) 657c2c66affSColin Finck #define SV_MAXPAGEDPOOLCHUNKSIZE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM) 658c2c66affSColin Finck #define SV_SENDSFROMPREFERREDPROCESSOR_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM) 659c2c66affSColin Finck #define SV_MAXTHREADSPERQUEUE_INFOLEVEL (PARMNUM_BASE_INFOLEVEL + SV_MAXTHREADSPERQUEUE_PARMNUM) 660c2c66affSColin Finck 661c2c66affSColin Finck #ifdef __cplusplus 662c2c66affSColin Finck } 663c2c66affSColin Finck #endif 664c2c66affSColin Finck 665c2c66affSColin Finck #endif /* _LMSERVER_H */ 666