Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1363 lines
51 KiB

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