home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / temacd / devc++ / devcpp-4.9.9.2_setup.exe / lmserver.h < prev    next >
C/C++ Source or Header  |  2005-01-29  |  31KB  |  607 lines

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