JwaLmServer.pas
上传用户:davidchvip
上传日期:2009-07-28
资源大小:1749k
文件大小:95k
源码类别:

Windows编程

开发平台:

Delphi

  1. {******************************************************************************}
  2. {                                                                       }
  3. { Lan Manager Server API interface Unit for Object Pascal                      }
  4. {                                                                       }
  5. { Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft          }
  6. { Corporation. All Rights Reserved.                                            }
  7. {                 }
  8. { The original file is: lmserver.h, released November 2001. The original Pascal}
  9. { code is: LmServer.pas, released Februari 2002. The initial developer of the  }
  10. { Pascal code is Marcel van Brakel (brakelm@chello.nl).                        }
  11. {                                                                              }
  12. { Portions created by Marcel van Brakel are Copyright (C) 1999-2001            }
  13. { Marcel van Brakel. All Rights Reserved.                                      }
  14. {                 }
  15. { Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI)        }
  16. {                }
  17. { You may retrieve the latest version of this file at the Project JEDI home    }
  18. { page, located at http://delphi-jedi.org or my personal homepage located at   }
  19. { http://members.chello.nl/m.vanbrakel2                                        }
  20. {                }
  21. { The contents of this file are used with permission, subject to the Mozilla   }
  22. { Public License Version 1.1 (the "License"); you may not use this file except }
  23. { in compliance with the License. You may obtain a copy of the License at      }
  24. { http://www.mozilla.org/MPL/MPL-1.1.html                                      }
  25. {                                                                              }
  26. { Software distributed under the License is distributed on an "AS IS" basis,   }
  27. { WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
  28. { the specific language governing rights and limitations under the License.    }
  29. {                                                                              }
  30. { Alternatively, the contents of this file may be used under the terms of the  }
  31. { GNU Lesser General Public License (the  "LGPL License"), in which case the   }
  32. { provisions of the LGPL License are applicable instead of those above.        }
  33. { If you wish to allow use of your version of this file only under the terms   }
  34. { of the LGPL License and not to allow others to use your version of this file }
  35. { under the MPL, indicate your decision by deleting  the provisions above and  }
  36. { replace  them with the notice and other provisions required by the LGPL      }
  37. { License.  If you do not delete the provisions above, a recipient may use     }
  38. { your version of this file under either the MPL or the LGPL License.          }
  39. {                 }
  40. { For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
  41. {                 }
  42. {******************************************************************************}
  43. unit JwaLmServer;
  44. {$WEAKPACKAGEUNIT}
  45. {$HPPEMIT ''}
  46. {$HPPEMIT '#include "lmserver.h"'}
  47. {$HPPEMIT ''}
  48. {$I WINDEFINES.INC}
  49. interface
  50. uses
  51.   JwaLmCons, JwaWinSvc, JwaWinType;
  52. //
  53. // Function Prototypes - SERVER
  54. //
  55. function NetServerEnum(servername: LMCSTR; level: DWORD; var bufptr: LPBYTE; prefmaxlen: DWORD; entriesread: LPDWORD; totalentries: LPDWORD; servertype: DWORD; domain: LMCSTR; resume_handle: LPDWORD): NET_API_STATUS; stdcall;
  56. {$EXTERNALSYM NetServerEnum}
  57. function NetServerEnumEx(ServerName: LMCSTR; Level: DWORD; var Bufptr: LPBYTE; PrefMaxlen: DWORD; EntriesRead: LPDWORD; totalentries: LPDWORD; servertype: DWORD; domain: LMCSTR; FirstNameToReturn: LMCSTR): NET_API_STATUS; stdcall;
  58. {$EXTERNALSYM NetServerEnumEx}
  59. function NetServerGetInfo(servername: LMSTR; level: DWORD; var bufptr: LPBYTE): NET_API_STATUS; stdcall;
  60. {$EXTERNALSYM NetServerGetInfo}
  61. function NetServerSetInfo(servername: LMSTR; level: DWORD; buf: LPBYTE; ParmError: LPDWORD): NET_API_STATUS; stdcall;
  62. {$EXTERNALSYM NetServerSetInfo}
  63. //
  64. // Temporary hack function.
  65. //
  66. // todo cdecl??
  67. function NetServerSetInfoCommandLine(argc: WORD; argv: PLMSTR): NET_API_STATUS; stdcall;
  68. {$EXTERNALSYM NetServerSetInfoCommandLine}
  69. function NetServerDiskEnum(servername: LMSTR; level: DWORD; var bufptr: LPBYTE; prefmaxlen: DWORD; entriesread, totalentries, resume_handle: LPDWORD): NET_API_STATUS; stdcall;
  70. {$EXTERNALSYM NetServerDiskEnum}
  71. function NetServerComputerNameAdd(ServerName, EmulatedDomainName, EmulatedServerName: LMSTR): NET_API_STATUS; stdcall;
  72. {$EXTERNALSYM NetServerComputerNameAdd}
  73. function NetServerComputerNameDel(ServerName: LMSTR; EmulatedServerName: LMSTR): NET_API_STATUS; stdcall;
  74. {$EXTERNALSYM NetServerComputerNameDel}
  75. function NetServerTransportAdd(servername: LMSTR; level: DWORD; bufptr: LPBYTE): NET_API_STATUS; stdcall;
  76. {$EXTERNALSYM NetServerTransportAdd}
  77. function NetServerTransportAddEx(servername: LMSTR; level: DWORD; bufptr: LPBYTE): NET_API_STATUS; stdcall;
  78. {$EXTERNALSYM NetServerTransportAddEx}
  79. function NetServerTransportDel(servername: LMSTR; level: DWORD; bufptr: LPBYTE): NET_API_STATUS; stdcall;
  80. {$EXTERNALSYM NetServerTransportDel}
  81. function NetServerTransportEnum(servername: LMSTR; level: DWORD; var bufptr: LPBYTE; prefmaxlen: DWORD; entriesread, totalentries, resumehandle: LPDWORD): NET_API_STATUS; stdcall;
  82. {$EXTERNALSYM NetServerTransportEnum}
  83. //
  84. // The following function can be called by Win NT services to register
  85. // their service type.  This function is exported from advapi32.dll.
  86. // Therefore, if this is the only function called by that service, then
  87. // it is not necessary to link to netapi32.lib.
  88. //
  89. function SetServiceBits(hServiceStatus: SERVICE_STATUS_HANDLE; dwServiceBits: DWORD; bSetBitsOn: BOOL; bUpdateImmediately: BOOL): BOOL; stdcall;
  90. {$EXTERNALSYM SetServiceBits}
  91. //
  92. // Data Structures - SERVER
  93. //
  94. type
  95.   LPSERVER_INFO_100 = ^SERVER_INFO_100;
  96.   {$EXTERNALSYM LPSERVER_INFO_100}
  97.   PSERVER_INFO_100 = ^SERVER_INFO_100;
  98.   {$EXTERNALSYM PSERVER_INFO_100}
  99.   _SERVER_INFO_100 = record
  100.     sv100_platform_id: DWORD;
  101.     sv100_name: LMSTR;
  102.   end;
  103.   {$EXTERNALSYM _SERVER_INFO_100}
  104.   SERVER_INFO_100 = _SERVER_INFO_100;
  105.   {$EXTERNALSYM SERVER_INFO_100}
  106.   TServerInfo100 = SERVER_INFO_100;
  107.   PServerInfo100 = PSERVER_INFO_100;
  108.   LPSERVER_INFO_101 = ^SERVER_INFO_101;
  109.   {$EXTERNALSYM LPSERVER_INFO_101}
  110.   PSERVER_INFO_101 = ^SERVER_INFO_101;
  111.   {$EXTERNALSYM PSERVER_INFO_101}
  112.   _SERVER_INFO_101 = record
  113.     sv101_platform_id: DWORD;
  114.     sv101_name: LMSTR;
  115.     sv101_version_major: DWORD;
  116.     sv101_version_minor: DWORD;
  117.     sv101_type: DWORD;
  118.     sv101_comment: LMSTR;
  119.   end;
  120.   {$EXTERNALSYM _SERVER_INFO_101}
  121.   SERVER_INFO_101 = _SERVER_INFO_101;
  122.   {$EXTERNALSYM SERVER_INFO_101}
  123.   TServerInfo101 = SERVER_INFO_101;
  124.   PServerInfo101 = PSERVER_INFO_101;
  125.   LPSERVER_INFO_102 = ^SERVER_INFO_102;
  126.   {$EXTERNALSYM LPSERVER_INFO_102}
  127.   PSERVER_INFO_102 = ^SERVER_INFO_102;
  128.   {$EXTERNALSYM PSERVER_INFO_102}
  129.   _SERVER_INFO_102 = record
  130.     sv102_platform_id: DWORD;
  131.     sv102_name: LMSTR;
  132.     sv102_version_major: DWORD;
  133.     sv102_version_minor: DWORD;
  134.     sv102_type: DWORD;
  135.     sv102_comment: LMSTR;
  136.     sv102_users: DWORD;
  137.     sv102_disc: LONG;
  138.     sv102_hidden: BOOL;
  139.     sv102_announce: DWORD;
  140.     sv102_anndelta: DWORD;
  141.     sv102_licenses: DWORD;
  142.     sv102_userpath: LMSTR;
  143.   end;
  144.   {$EXTERNALSYM _SERVER_INFO_102}
  145.   SERVER_INFO_102 = _SERVER_INFO_102;
  146.   {$EXTERNALSYM SERVER_INFO_102}
  147.   TServerInfo102 = SERVER_INFO_102;
  148.   PServerInfo102 = PSERVER_INFO_102;
  149.   LPSERVER_INFO_402 = ^SERVER_INFO_402;
  150.   {$EXTERNALSYM LPSERVER_INFO_402}
  151.   PSERVER_INFO_402 = ^SERVER_INFO_402;
  152.   {$EXTERNALSYM PSERVER_INFO_402}
  153.   _SERVER_INFO_402 = record
  154.     sv402_ulist_mtime: DWORD;
  155.     sv402_glist_mtime: DWORD;
  156.     sv402_alist_mtime: DWORD;
  157.     sv402_alerts: LMSTR;
  158.     sv402_security: DWORD;
  159.     sv402_numadmin: DWORD;
  160.     sv402_lanmask: DWORD;
  161.     sv402_guestacct: LMSTR;
  162.     sv402_chdevs: DWORD;
  163.     sv402_chdevq: DWORD;
  164.     sv402_chdevjobs: DWORD;
  165.     sv402_connections: DWORD;
  166.     sv402_shares: DWORD;
  167.     sv402_openfiles: DWORD;
  168.     sv402_sessopens: DWORD;
  169.     sv402_sessvcs: DWORD;
  170.     sv402_sessreqs: DWORD;
  171.     sv402_opensearch: DWORD;
  172.     sv402_activelocks: DWORD;
  173.     sv402_numreqbuf: DWORD;
  174.     sv402_sizreqbuf: DWORD;
  175.     sv402_numbigbuf: DWORD;
  176.     sv402_numfiletasks: DWORD;
  177.     sv402_alertsched: DWORD;
  178.     sv402_erroralert: DWORD;
  179.     sv402_logonalert: DWORD;
  180.     sv402_accessalert: DWORD;
  181.     sv402_diskalert: DWORD;
  182.     sv402_netioalert: DWORD;
  183.     sv402_maxauditsz: DWORD;
  184.     sv402_srvheuristics: LMSTR;
  185.   end;
  186.   {$EXTERNALSYM _SERVER_INFO_402}
  187.   SERVER_INFO_402 = _SERVER_INFO_402;
  188.   {$EXTERNALSYM SERVER_INFO_402}
  189.   TServerInfo402 = SERVER_INFO_402;
  190.   PServerInfo402 = PSERVER_INFO_402;
  191.   LPSERVER_INFO_403 = ^SERVER_INFO_403;
  192.   {$EXTERNALSYM LPSERVER_INFO_403}
  193.   PSERVER_INFO_403 = ^SERVER_INFO_403;
  194.   {$EXTERNALSYM PSERVER_INFO_403}
  195.   _SERVER_INFO_403 = record
  196.     sv403_ulist_mtime: DWORD;
  197.     sv403_glist_mtime: DWORD;
  198.     sv403_alist_mtime: DWORD;
  199.     sv403_alerts: LMSTR;
  200.     sv403_security: DWORD;
  201.     sv403_numadmin: DWORD;
  202.     sv403_lanmask: DWORD;
  203.     sv403_guestacct: LMSTR;
  204.     sv403_chdevs: DWORD;
  205.     sv403_chdevq: DWORD;
  206.     sv403_chdevjobs: DWORD;
  207.     sv403_connections: DWORD;
  208.     sv403_shares: DWORD;
  209.     sv403_openfiles: DWORD;
  210.     sv403_sessopens: DWORD;
  211.     sv403_sessvcs: DWORD;
  212.     sv403_sessreqs: DWORD;
  213.     sv403_opensearch: DWORD;
  214.     sv403_activelocks: DWORD;
  215.     sv403_numreqbuf: DWORD;
  216.     sv403_sizreqbuf: DWORD;
  217.     sv403_numbigbuf: DWORD;
  218.     sv403_numfiletasks: DWORD;
  219.     sv403_alertsched: DWORD;
  220.     sv403_erroralert: DWORD;
  221.     sv403_logonalert: DWORD;
  222.     sv403_accessalert: DWORD;
  223.     sv403_diskalert: DWORD;
  224.     sv403_netioalert: DWORD;
  225.     sv403_maxauditsz: DWORD;
  226.     sv403_srvheuristics: LMSTR;
  227.     sv403_auditedevents: DWORD;
  228.     sv403_autoprofile: DWORD;
  229.     sv403_autopath: LMSTR;
  230.   end;
  231.   {$EXTERNALSYM _SERVER_INFO_403}
  232.   SERVER_INFO_403 = _SERVER_INFO_403;
  233.   {$EXTERNALSYM SERVER_INFO_403}
  234.   TServerInfo403 = SERVER_INFO_403;
  235.   PServerInfo403 = PSERVER_INFO_403;
  236.   LPSERVER_INFO_502 = ^SERVER_INFO_502;
  237.   {$EXTERNALSYM LPSERVER_INFO_502}
  238.   PSERVER_INFO_502 = ^SERVER_INFO_502;
  239.   {$EXTERNALSYM PSERVER_INFO_502}
  240.   _SERVER_INFO_502 = record
  241.     sv502_sessopens: DWORD;
  242.     sv502_sessvcs: DWORD;
  243.     sv502_opensearch: DWORD;
  244.     sv502_sizreqbuf: DWORD;
  245.     sv502_initworkitems: DWORD;
  246.     sv502_maxworkitems: DWORD;
  247.     sv502_rawworkitems: DWORD;
  248.     sv502_irpstacksize: DWORD;
  249.     sv502_maxrawbuflen: DWORD;
  250.     sv502_sessusers: DWORD;
  251.     sv502_sessconns: DWORD;
  252.     sv502_maxpagedmemoryusage: DWORD;
  253.     sv502_maxnonpagedmemoryusage: DWORD;
  254.     sv502_enablesoftcompat: BOOL;
  255.     sv502_enableforcedlogoff: BOOL;
  256.     sv502_timesource: BOOL;
  257.     sv502_acceptdownlevelapis: BOOL;
  258.     sv502_lmannounce: BOOL;
  259.   end;
  260.   {$EXTERNALSYM _SERVER_INFO_502}
  261.   SERVER_INFO_502 = _SERVER_INFO_502;
  262.   {$EXTERNALSYM SERVER_INFO_502}
  263.   TServerInfo502 = SERVER_INFO_502;
  264.   PServerInfo502 = PSERVER_INFO_502;
  265.   LPSERVER_INFO_503 = ^SERVER_INFO_503;
  266.   {$EXTERNALSYM LPSERVER_INFO_503}
  267.   PSERVER_INFO_503 = ^SERVER_INFO_503;
  268.   {$EXTERNALSYM PSERVER_INFO_503}
  269.   _SERVER_INFO_503 = record
  270.     sv503_sessopens: DWORD;
  271.     sv503_sessvcs: DWORD;
  272.     sv503_opensearch: DWORD;
  273.     sv503_sizreqbuf: DWORD;
  274.     sv503_initworkitems: DWORD;
  275.     sv503_maxworkitems: DWORD;
  276.     sv503_rawworkitems: DWORD;
  277.     sv503_irpstacksize: DWORD;
  278.     sv503_maxrawbuflen: DWORD;
  279.     sv503_sessusers: DWORD;
  280.     sv503_sessconns: DWORD;
  281.     sv503_maxpagedmemoryusage: DWORD;
  282.     sv503_maxnonpagedmemoryusage: DWORD;
  283.     sv503_enablesoftcompat: BOOL;
  284.     sv503_enableforcedlogoff: BOOL;
  285.     sv503_timesource: BOOL;
  286.     sv503_acceptdownlevelapis: BOOL;
  287.     sv503_lmannounce: BOOL;
  288.     sv503_domain: LMSTR;
  289.     sv503_maxcopyreadlen: DWORD;
  290.     sv503_maxcopywritelen: DWORD;
  291.     sv503_minkeepsearch: DWORD;
  292.     sv503_maxkeepsearch: DWORD;
  293.     sv503_minkeepcomplsearch: DWORD;
  294.     sv503_maxkeepcomplsearch: DWORD;
  295.     sv503_threadcountadd: DWORD;
  296.     sv503_numblockthreads: DWORD;
  297.     sv503_scavtimeout: DWORD;
  298.     sv503_minrcvqueue: DWORD;
  299.     sv503_minfreeworkitems: DWORD;
  300.     sv503_xactmemsize: DWORD;
  301.     sv503_threadpriority: DWORD;
  302.     sv503_maxmpxct: DWORD;
  303.     sv503_oplockbreakwait: DWORD;
  304.     sv503_oplockbreakresponsewait: DWORD;
  305.     sv503_enableoplocks: BOOL;
  306.     sv503_enableoplockforceclose: BOOL;
  307.     sv503_enablefcbopens: BOOL;
  308.     sv503_enableraw: BOOL;
  309.     sv503_enablesharednetdrives: BOOL;
  310.     sv503_minfreeconnections: DWORD;
  311.     sv503_maxfreeconnections: DWORD;
  312.   end;
  313.   {$EXTERNALSYM _SERVER_INFO_503}
  314.   SERVER_INFO_503 = _SERVER_INFO_503;
  315.   {$EXTERNALSYM SERVER_INFO_503}
  316.   TServerInfo503 = SERVER_INFO_503;
  317.   PServerInfo503 = PSERVER_INFO_503;
  318.   LPSERVER_INFO_599 = ^SERVER_INFO_599;
  319.   {$EXTERNALSYM LPSERVER_INFO_599}
  320.   PSERVER_INFO_599 = ^SERVER_INFO_599;
  321.   {$EXTERNALSYM PSERVER_INFO_599}
  322.   _SERVER_INFO_599 = record
  323.     sv599_sessopens: DWORD;
  324.     sv599_sessvcs: DWORD;
  325.     sv599_opensearch: DWORD;
  326.     sv599_sizreqbuf: DWORD;
  327.     sv599_initworkitems: DWORD;
  328.     sv599_maxworkitems: DWORD;
  329.     sv599_rawworkitems: DWORD;
  330.     sv599_irpstacksize: DWORD;
  331.     sv599_maxrawbuflen: DWORD;
  332.     sv599_sessusers: DWORD;
  333.     sv599_sessconns: DWORD;
  334.     sv599_maxpagedmemoryusage: DWORD;
  335.     sv599_maxnonpagedmemoryusage: DWORD;
  336.     sv599_enablesoftcompat: BOOL;
  337.     sv599_enableforcedlogoff: BOOL;
  338.     sv599_timesource: BOOL;
  339.     sv599_acceptdownlevelapis: BOOL;
  340.     sv599_lmannounce: BOOL;
  341.     sv599_domain: LMSTR;
  342.     sv599_maxcopyreadlen: DWORD;
  343.     sv599_maxcopywritelen: DWORD;
  344.     sv599_minkeepsearch: DWORD;
  345.     sv599_maxkeepsearch: DWORD;
  346.     sv599_minkeepcomplsearch: DWORD;
  347.     sv599_maxkeepcomplsearch: DWORD;
  348.     sv599_threadcountadd: DWORD;
  349.     sv599_numblockthreads: DWORD;
  350.     sv599_scavtimeout: DWORD;
  351.     sv599_minrcvqueue: DWORD;
  352.     sv599_minfreeworkitems: DWORD;
  353.     sv599_xactmemsize: DWORD;
  354.     sv599_threadpriority: DWORD;
  355.     sv599_maxmpxct: DWORD;
  356.     sv599_oplockbreakwait: DWORD;
  357.     sv599_oplockbreakresponsewait: DWORD;
  358.     sv599_enableoplocks: BOOL;
  359.     sv599_enableoplockforceclose: BOOL;
  360.     sv599_enablefcbopens: BOOL;
  361.     sv599_enableraw: BOOL;
  362.     sv599_enablesharednetdrives: BOOL;
  363.     sv599_minfreeconnections: DWORD;
  364.     sv599_maxfreeconnections: DWORD;
  365.     sv599_initsesstable: DWORD;
  366.     sv599_initconntable: DWORD;
  367.     sv599_initfiletable: DWORD;
  368.     sv599_initsearchtable: DWORD;
  369.     sv599_alertschedule: DWORD;
  370.     sv599_errorthreshold: DWORD;
  371.     sv599_networkerrorthreshold: DWORD;
  372.     sv599_diskspacethreshold: DWORD;
  373.     sv599_reserved: DWORD;
  374.     sv599_maxlinkdelay: DWORD;
  375.     sv599_minlinkthroughput: DWORD;
  376.     sv599_linkinfovalidtime: DWORD;
  377.     sv599_scavqosinfoupdatetime: DWORD;
  378.     sv599_maxworkitemidletime: DWORD;
  379.   end;
  380.   {$EXTERNALSYM _SERVER_INFO_599}
  381.   SERVER_INFO_599 = _SERVER_INFO_599;
  382.   {$EXTERNALSYM SERVER_INFO_599}
  383.   TServerInfo599 = SERVER_INFO_599;
  384.   PServerInfo599 = PSERVER_INFO_599;
  385.   LPSERVER_INFO_598 = ^SERVER_INFO_598;
  386.   {$EXTERNALSYM LPSERVER_INFO_598}
  387.   PSERVER_INFO_598 = ^SERVER_INFO_598;
  388.   {$EXTERNALSYM PSERVER_INFO_598}
  389.   _SERVER_INFO_598 = record
  390.     sv598_maxrawworkitems: DWORD;
  391.     sv598_maxthreadsperqueue: DWORD;
  392.     sv598_producttype: DWORD;
  393.     sv598_serversize: DWORD;
  394.     sv598_connectionlessautodisc: DWORD;
  395.     sv598_sharingviolationretries: DWORD;
  396.     sv598_sharingviolationdelay: DWORD;
  397.     sv598_maxglobalopensearch: DWORD;
  398.     sv598_removeduplicatesearches: DWORD;
  399.     sv598_lockviolationoffset: DWORD;
  400.     sv598_lockviolationdelay: DWORD;
  401.     sv598_mdlreadswitchover: DWORD;
  402.     sv598_cachedopenlimit: DWORD;
  403.     sv598_otherqueueaffinity: DWORD;
  404.     sv598_restrictnullsessaccess: BOOL;
  405.     sv598_enablewfw311directipx: BOOL;
  406.     sv598_queuesamplesecs: DWORD;
  407.     sv598_balancecount: DWORD;
  408.     sv598_preferredaffinity: DWORD;
  409.     sv598_maxfreerfcbs: DWORD;
  410.     sv598_maxfreemfcbs: DWORD;
  411.     sv598_maxfreelfcbs: DWORD;
  412.     sv598_maxfreepagedpoolchunks: DWORD;
  413.     sv598_minpagedpoolchunksize: DWORD;
  414.     sv598_maxpagedpoolchunksize: DWORD;
  415.     sv598_sendsfrompreferredprocessor: BOOL;
  416.     sv598_cacheddirectorylimit: DWORD;
  417.     sv598_maxcopylength: DWORD;
  418.     sv598_enablecompression: BOOL;
  419.     sv598_autosharewks: BOOL;
  420.     sv598_autoshareserver: BOOL;
  421.     sv598_enablesecuritysignature: BOOL;
  422.     sv598_requiresecuritysignature: BOOL;
  423.     sv598_minclientbuffersize: DWORD;
  424.     sv598_serverguid: GUID;
  425.     sv598_ConnectionNoSessionsTimeout: DWORD;
  426.     sv598_IdleThreadTimeOut: DWORD;
  427.     sv598_enableW9xsecuritysignature: BOOL;
  428.     sv598_enforcekerberosreauthentication: BOOL;
  429.     sv598_disabledos: BOOL;
  430.     sv598_lowdiskspaceminimum: DWORD;
  431.     sv598_disablestrictnamechecking: BOOL;
  432.   end;
  433.   {$EXTERNALSYM _SERVER_INFO_598}
  434.   SERVER_INFO_598 = _SERVER_INFO_598;
  435.   {$EXTERNALSYM SERVER_INFO_598}
  436.   TServerInfo598 = SERVER_INFO_598;
  437.   PServerInfo598 = PSERVER_INFO_598;
  438.   LPSERVER_INFO_1005 = ^SERVER_INFO_1005;
  439.   {$EXTERNALSYM LPSERVER_INFO_1005}
  440.   PSERVER_INFO_1005 = ^SERVER_INFO_1005;
  441.   {$EXTERNALSYM PSERVER_INFO_1005}
  442.   _SERVER_INFO_1005 = record
  443.     sv1005_comment: LMSTR;
  444.   end;
  445.   {$EXTERNALSYM _SERVER_INFO_1005}
  446.   SERVER_INFO_1005 = _SERVER_INFO_1005;
  447.   {$EXTERNALSYM SERVER_INFO_1005}
  448.   TServerInfo1005 = SERVER_INFO_1005;
  449.   PServerInfo1005 = PSERVER_INFO_1005;
  450.   LPSERVER_INFO_1107 = ^SERVER_INFO_1107;
  451.   {$EXTERNALSYM LPSERVER_INFO_1107}
  452.   PSERVER_INFO_1107 = ^SERVER_INFO_1107;
  453.   {$EXTERNALSYM PSERVER_INFO_1107}
  454.   _SERVER_INFO_1107 = record
  455.     sv1107_users: DWORD;
  456.   end;
  457.   {$EXTERNALSYM _SERVER_INFO_1107}
  458.   SERVER_INFO_1107 = _SERVER_INFO_1107;
  459.   {$EXTERNALSYM SERVER_INFO_1107}
  460.   TServerInfo1107 = SERVER_INFO_1107;
  461.   PServerInfo1107 = PSERVER_INFO_1107;
  462.   LPSERVER_INFO_1010 = ^SERVER_INFO_1010;
  463.   {$EXTERNALSYM LPSERVER_INFO_1010}
  464.   PSERVER_INFO_1010 = ^SERVER_INFO_1010;
  465.   {$EXTERNALSYM PSERVER_INFO_1010}
  466.   _SERVER_INFO_1010 = record
  467.     sv1010_disc: LONG;
  468.   end;
  469.   {$EXTERNALSYM _SERVER_INFO_1010}
  470.   SERVER_INFO_1010 = _SERVER_INFO_1010;
  471.   {$EXTERNALSYM SERVER_INFO_1010}
  472.   TServerInfo1010 = SERVER_INFO_1010;
  473.   PServerInfo1010 = PSERVER_INFO_1010;
  474.   LPSERVER_INFO_1016 = ^SERVER_INFO_1016;
  475.   {$EXTERNALSYM LPSERVER_INFO_1016}
  476.   PSERVER_INFO_1016 = ^SERVER_INFO_1016;
  477.   {$EXTERNALSYM PSERVER_INFO_1016}
  478.   _SERVER_INFO_1016 = record
  479.     sv1016_hidden: BOOL;
  480.   end;
  481.   {$EXTERNALSYM _SERVER_INFO_1016}
  482.   SERVER_INFO_1016 = _SERVER_INFO_1016;
  483.   {$EXTERNALSYM SERVER_INFO_1016}
  484.   TServerInfo1016 = SERVER_INFO_1016;
  485.   PServerInfo1016 = PSERVER_INFO_1016;
  486.   LPSERVER_INFO_1017 = ^SERVER_INFO_1017;
  487.   {$EXTERNALSYM LPSERVER_INFO_1017}
  488.   PSERVER_INFO_1017 = ^SERVER_INFO_1017;
  489.   {$EXTERNALSYM PSERVER_INFO_1017}
  490.   _SERVER_INFO_1017 = record
  491.     sv1017_announce: DWORD;
  492.   end;
  493.   {$EXTERNALSYM _SERVER_INFO_1017}
  494.   SERVER_INFO_1017 = _SERVER_INFO_1017;
  495.   {$EXTERNALSYM SERVER_INFO_1017}
  496.   TServerInfo1017 = SERVER_INFO_1017;
  497.   PServerInfo1017 = PSERVER_INFO_1017;
  498.   LPSERVER_INFO_1018 = ^SERVER_INFO_1018;
  499.   {$EXTERNALSYM LPSERVER_INFO_1018}
  500.   PSERVER_INFO_1018 = ^SERVER_INFO_1018;
  501.   {$EXTERNALSYM PSERVER_INFO_1018}
  502.   _SERVER_INFO_1018 = record
  503.     sv1018_anndelta: DWORD;
  504.   end;
  505.   {$EXTERNALSYM _SERVER_INFO_1018}
  506.   SERVER_INFO_1018 = _SERVER_INFO_1018;
  507.   {$EXTERNALSYM SERVER_INFO_1018}
  508.   TServerInfo1018 = SERVER_INFO_1018;
  509.   PServerInfo1018 = PSERVER_INFO_1018;
  510.   LPSERVER_INFO_1501 = ^SERVER_INFO_1501;
  511.   {$EXTERNALSYM LPSERVER_INFO_1501}
  512.   PSERVER_INFO_1501 = ^SERVER_INFO_1501;
  513.   {$EXTERNALSYM PSERVER_INFO_1501}
  514.   _SERVER_INFO_1501 = record
  515.     sv1501_sessopens: DWORD;
  516.   end;
  517.   {$EXTERNALSYM _SERVER_INFO_1501}
  518.   SERVER_INFO_1501 = _SERVER_INFO_1501;
  519.   {$EXTERNALSYM SERVER_INFO_1501}
  520.   TServerInfo1501 = SERVER_INFO_1501;
  521.   PServerInfo1501 = PSERVER_INFO_1501;
  522.   LPSERVER_INFO_1502 = ^SERVER_INFO_1502;
  523.   {$EXTERNALSYM LPSERVER_INFO_1502}
  524.   PSERVER_INFO_1502 = ^SERVER_INFO_1502;
  525.   {$EXTERNALSYM PSERVER_INFO_1502}
  526.   _SERVER_INFO_1502 = record
  527.     sv1502_sessvcs: DWORD;
  528.   end;
  529.   {$EXTERNALSYM _SERVER_INFO_1502}
  530.   SERVER_INFO_1502 = _SERVER_INFO_1502;
  531.   {$EXTERNALSYM SERVER_INFO_1502}
  532.   TServerInfo1502 = SERVER_INFO_1502;
  533.   PServerInfo1502 = PSERVER_INFO_1502;
  534.   LPSERVER_INFO_1503 = ^SERVER_INFO_1503;
  535.   {$EXTERNALSYM LPSERVER_INFO_1503}
  536.   PSERVER_INFO_1503 = ^SERVER_INFO_1503;
  537.   {$EXTERNALSYM PSERVER_INFO_1503}
  538.   _SERVER_INFO_1503 = record
  539.     sv1503_opensearch: DWORD;
  540.   end;
  541.   {$EXTERNALSYM _SERVER_INFO_1503}
  542.   SERVER_INFO_1503 = _SERVER_INFO_1503;
  543.   {$EXTERNALSYM SERVER_INFO_1503}
  544.   TServerInfo1503 = SERVER_INFO_1503;
  545.   PServerInfo1503 = PSERVER_INFO_1503;
  546.   LPSERVER_INFO_1506 = ^SERVER_INFO_1506;
  547.   {$EXTERNALSYM LPSERVER_INFO_1506}
  548.   PSERVER_INFO_1506 = ^SERVER_INFO_1506;
  549.   {$EXTERNALSYM PSERVER_INFO_1506}
  550.   _SERVER_INFO_1506 = record
  551.     sv1506_maxworkitems: DWORD;
  552.   end;
  553.   {$EXTERNALSYM _SERVER_INFO_1506}
  554.   SERVER_INFO_1506 = _SERVER_INFO_1506;
  555.   {$EXTERNALSYM SERVER_INFO_1506}
  556.   TServerInfo1506 = SERVER_INFO_1506;
  557.   PServerInfo1506 = PSERVER_INFO_1506;
  558.   LPSERVER_INFO_1509 = ^SERVER_INFO_1509;
  559.   {$EXTERNALSYM LPSERVER_INFO_1509}
  560.   PSERVER_INFO_1509 = ^SERVER_INFO_1509;
  561.   {$EXTERNALSYM PSERVER_INFO_1509}
  562.   _SERVER_INFO_1509 = record
  563.     sv1509_maxrawbuflen: DWORD;
  564.   end;
  565.   {$EXTERNALSYM _SERVER_INFO_1509}
  566.   SERVER_INFO_1509 = _SERVER_INFO_1509;
  567.   {$EXTERNALSYM SERVER_INFO_1509}
  568.   TServerInfo1509 = SERVER_INFO_1509;
  569.   PServerInfo1509 = PSERVER_INFO_1509;
  570.   LPSERVER_INFO_1510 = ^SERVER_INFO_1510;
  571.   {$EXTERNALSYM LPSERVER_INFO_1510}
  572.   PSERVER_INFO_1510 = ^SERVER_INFO_1510;
  573.   {$EXTERNALSYM PSERVER_INFO_1510}
  574.   _SERVER_INFO_1510 = record
  575.     sv1510_sessusers: DWORD;
  576.   end;
  577.   {$EXTERNALSYM _SERVER_INFO_1510}
  578.   SERVER_INFO_1510 = _SERVER_INFO_1510;
  579.   {$EXTERNALSYM SERVER_INFO_1510}
  580.   TServerInfo1510 = SERVER_INFO_1510;
  581.   PServerInfo1510 = PSERVER_INFO_1510;
  582.   LPSERVER_INFO_1511 = ^SERVER_INFO_1511;
  583.   {$EXTERNALSYM LPSERVER_INFO_1511}
  584.   PSERVER_INFO_1511 = ^SERVER_INFO_1511;
  585.   {$EXTERNALSYM PSERVER_INFO_1511}
  586.   _SERVER_INFO_1511 = record
  587.     sv1511_sessconns: DWORD;
  588.   end;
  589.   {$EXTERNALSYM _SERVER_INFO_1511}
  590.   SERVER_INFO_1511 = _SERVER_INFO_1511;
  591.   {$EXTERNALSYM SERVER_INFO_1511}
  592.   TServerInfo1511 = SERVER_INFO_1511;
  593.   PServerInfo1511 = PSERVER_INFO_1511;
  594.   LPSERVER_INFO_1512 = ^SERVER_INFO_1512;
  595.   {$EXTERNALSYM LPSERVER_INFO_1512}
  596.   PSERVER_INFO_1512 = ^SERVER_INFO_1512;
  597.   {$EXTERNALSYM PSERVER_INFO_1512}
  598.   _SERVER_INFO_1512 = record
  599.     sv1512_maxnonpagedmemoryusage: DWORD;
  600.   end;
  601.   {$EXTERNALSYM _SERVER_INFO_1512}
  602.   SERVER_INFO_1512 = _SERVER_INFO_1512;
  603.   {$EXTERNALSYM SERVER_INFO_1512}
  604.   TServerInfo1512 = SERVER_INFO_1512;
  605.   PServerInfo1512 = PSERVER_INFO_1512;
  606.   LPSERVER_INFO_1513 = ^SERVER_INFO_1513;
  607.   {$EXTERNALSYM LPSERVER_INFO_1513}
  608.   PSERVER_INFO_1513 = ^SERVER_INFO_1513;
  609.   {$EXTERNALSYM PSERVER_INFO_1513}
  610.   _SERVER_INFO_1513 = record
  611.     sv1513_maxpagedmemoryusage: DWORD;
  612.   end;
  613.   {$EXTERNALSYM _SERVER_INFO_1513}
  614.   SERVER_INFO_1513 = _SERVER_INFO_1513;
  615.   {$EXTERNALSYM SERVER_INFO_1513}
  616.   TServerInfo1513 = SERVER_INFO_1513;
  617.   PServerInfo1513 = PSERVER_INFO_1513;
  618.   LPSERVER_INFO_1514 = ^SERVER_INFO_1514;
  619.   {$EXTERNALSYM LPSERVER_INFO_1514}
  620.   PSERVER_INFO_1514 = ^SERVER_INFO_1514;
  621.   {$EXTERNALSYM PSERVER_INFO_1514}
  622.   _SERVER_INFO_1514 = record
  623.     sv1514_enablesoftcompat: BOOL;
  624.   end;
  625.   {$EXTERNALSYM _SERVER_INFO_1514}
  626.   SERVER_INFO_1514 = _SERVER_INFO_1514;
  627.   {$EXTERNALSYM SERVER_INFO_1514}
  628.   TServerInfo1514 = SERVER_INFO_1514;
  629.   PServerInfo1514 = PSERVER_INFO_1514;
  630.   LPSERVER_INFO_1515 = ^SERVER_INFO_1515;
  631.   {$EXTERNALSYM LPSERVER_INFO_1515}
  632.   PSERVER_INFO_1515 = ^SERVER_INFO_1515;
  633.   {$EXTERNALSYM PSERVER_INFO_1515}
  634.   _SERVER_INFO_1515 = record
  635.     sv1515_enableforcedlogoff: BOOL;
  636.   end;
  637.   {$EXTERNALSYM _SERVER_INFO_1515}
  638.   SERVER_INFO_1515 = _SERVER_INFO_1515;
  639.   {$EXTERNALSYM SERVER_INFO_1515}
  640.   TServerInfo1515 = SERVER_INFO_1515;
  641.   PServerInfo1515 = PSERVER_INFO_1515;
  642.   LPSERVER_INFO_1516 = ^SERVER_INFO_1516;
  643.   {$EXTERNALSYM LPSERVER_INFO_1516}
  644.   PSERVER_INFO_1516 = ^SERVER_INFO_1516;
  645.   {$EXTERNALSYM PSERVER_INFO_1516}
  646.   _SERVER_INFO_1516 = record
  647.     sv1516_timesource: BOOL;
  648.   end;
  649.   {$EXTERNALSYM _SERVER_INFO_1516}
  650.   SERVER_INFO_1516 = _SERVER_INFO_1516;
  651.   {$EXTERNALSYM SERVER_INFO_1516}
  652.   TServerInfo1516 = SERVER_INFO_1516;
  653.   PServerInfo1516 = PSERVER_INFO_1516;
  654.   LPSERVER_INFO_1518 = ^SERVER_INFO_1518;
  655.   {$EXTERNALSYM LPSERVER_INFO_1518}
  656.   PSERVER_INFO_1518 = ^SERVER_INFO_1518;
  657.   {$EXTERNALSYM PSERVER_INFO_1518}
  658.   _SERVER_INFO_1518 = record
  659.     sv1518_lmannounce: BOOL;
  660.   end;
  661.   {$EXTERNALSYM _SERVER_INFO_1518}
  662.   SERVER_INFO_1518 = _SERVER_INFO_1518;
  663.   {$EXTERNALSYM SERVER_INFO_1518}
  664.   TServerInfo1518 = SERVER_INFO_1518;
  665.   PServerInfo1518 = PSERVER_INFO_1518;
  666.   LPSERVER_INFO_1520 = ^SERVER_INFO_1520;
  667.   {$EXTERNALSYM LPSERVER_INFO_1520}
  668.   PSERVER_INFO_1520 = ^SERVER_INFO_1520;
  669.   {$EXTERNALSYM PSERVER_INFO_1520}
  670.   _SERVER_INFO_1520 = record
  671.     sv1520_maxcopyreadlen: DWORD;
  672.   end;
  673.   {$EXTERNALSYM _SERVER_INFO_1520}
  674.   SERVER_INFO_1520 = _SERVER_INFO_1520;
  675.   {$EXTERNALSYM SERVER_INFO_1520}
  676.   TServerInfo1520 = SERVER_INFO_1520;
  677.   PServerInfo1520 = PSERVER_INFO_1520;
  678.   LPSERVER_INFO_1521 = ^SERVER_INFO_1521;
  679.   {$EXTERNALSYM LPSERVER_INFO_1521}
  680.   PSERVER_INFO_1521 = ^SERVER_INFO_1521;
  681.   {$EXTERNALSYM PSERVER_INFO_1521}
  682.   _SERVER_INFO_1521 = record
  683.     sv1521_maxcopywritelen: DWORD;
  684.   end;
  685.   {$EXTERNALSYM _SERVER_INFO_1521}
  686.   SERVER_INFO_1521 = _SERVER_INFO_1521;
  687.   {$EXTERNALSYM SERVER_INFO_1521}
  688.   TServerInfo1521 = SERVER_INFO_1521;
  689.   PServerInfo1521 = PSERVER_INFO_1521;
  690.   LPSERVER_INFO_1522 = ^SERVER_INFO_1522;
  691.   {$EXTERNALSYM LPSERVER_INFO_1522}
  692.   PSERVER_INFO_1522 = ^SERVER_INFO_1522;
  693.   {$EXTERNALSYM PSERVER_INFO_1522}
  694.   _SERVER_INFO_1522 = record
  695.     sv1522_minkeepsearch: DWORD;
  696.   end;
  697.   {$EXTERNALSYM _SERVER_INFO_1522}
  698.   SERVER_INFO_1522 = _SERVER_INFO_1522;
  699.   {$EXTERNALSYM SERVER_INFO_1522}
  700.   TServerInfo1522 = SERVER_INFO_1522;
  701.   PServerInfo1522 = PSERVER_INFO_1522;
  702.   LPSERVER_INFO_1523 = ^SERVER_INFO_1523;
  703.   {$EXTERNALSYM LPSERVER_INFO_1523}
  704.   PSERVER_INFO_1523 = ^SERVER_INFO_1523;
  705.   {$EXTERNALSYM PSERVER_INFO_1523}
  706.   _SERVER_INFO_1523 = record
  707.     sv1523_maxkeepsearch: DWORD;
  708.   end;
  709.   {$EXTERNALSYM _SERVER_INFO_1523}
  710.   SERVER_INFO_1523 = _SERVER_INFO_1523;
  711.   {$EXTERNALSYM SERVER_INFO_1523}
  712.   TServerInfo1523 = SERVER_INFO_1523;
  713.   PServerInfo1523 = PSERVER_INFO_1523;
  714.   LPSERVER_INFO_1524 = ^SERVER_INFO_1524;
  715.   {$EXTERNALSYM LPSERVER_INFO_1524}
  716.   PSERVER_INFO_1524 = ^SERVER_INFO_1524;
  717.   {$EXTERNALSYM PSERVER_INFO_1524}
  718.   _SERVER_INFO_1524 = record
  719.     sv1524_minkeepcomplsearch: DWORD;
  720.   end;
  721.   {$EXTERNALSYM _SERVER_INFO_1524}
  722.   SERVER_INFO_1524 = _SERVER_INFO_1524;
  723.   {$EXTERNALSYM SERVER_INFO_1524}
  724.   TServerInfo1524 = SERVER_INFO_1524;
  725.   PServerInfo1524 = PSERVER_INFO_1524;
  726.   LPSERVER_INFO_1525 = ^SERVER_INFO_1525;
  727.   {$EXTERNALSYM LPSERVER_INFO_1525}
  728.   PSERVER_INFO_1525 = ^SERVER_INFO_1525;
  729.   {$EXTERNALSYM PSERVER_INFO_1525}
  730.   _SERVER_INFO_1525 = record
  731.     sv1525_maxkeepcomplsearch: DWORD;
  732.   end;
  733.   {$EXTERNALSYM _SERVER_INFO_1525}
  734.   SERVER_INFO_1525 = _SERVER_INFO_1525;
  735.   {$EXTERNALSYM SERVER_INFO_1525}
  736.   TServerInfo1525 = SERVER_INFO_1525;
  737.   PServerInfo1525 = PSERVER_INFO_1525;
  738.   LPSERVER_INFO_1528 = ^SERVER_INFO_1528;
  739.   {$EXTERNALSYM LPSERVER_INFO_1528}
  740.   PSERVER_INFO_1528 = ^SERVER_INFO_1528;
  741.   {$EXTERNALSYM PSERVER_INFO_1528}
  742.   _SERVER_INFO_1528 = record
  743.     sv1528_scavtimeout: DWORD;
  744.   end;
  745.   {$EXTERNALSYM _SERVER_INFO_1528}
  746.   SERVER_INFO_1528 = _SERVER_INFO_1528;
  747.   {$EXTERNALSYM SERVER_INFO_1528}
  748.   TServerInfo1528 = SERVER_INFO_1528;
  749.   PServerInfo1528 = PSERVER_INFO_1528;
  750.   LPSERVER_INFO_1529 = ^SERVER_INFO_1529;
  751.   {$EXTERNALSYM LPSERVER_INFO_1529}
  752.   PSERVER_INFO_1529 = ^SERVER_INFO_1529;
  753.   {$EXTERNALSYM PSERVER_INFO_1529}
  754.   _SERVER_INFO_1529 = record
  755.     sv1529_minrcvqueue: DWORD;
  756.   end;
  757.   {$EXTERNALSYM _SERVER_INFO_1529}
  758.   SERVER_INFO_1529 = _SERVER_INFO_1529;
  759.   {$EXTERNALSYM SERVER_INFO_1529}
  760.   TServerInfo1529 = SERVER_INFO_1529;
  761.   PServerInfo1529 = PSERVER_INFO_1529;
  762.   LPSERVER_INFO_1530 = ^SERVER_INFO_1530;
  763.   {$EXTERNALSYM LPSERVER_INFO_1530}
  764.   PSERVER_INFO_1530 = ^SERVER_INFO_1530;
  765.   {$EXTERNALSYM PSERVER_INFO_1530}
  766.   _SERVER_INFO_1530 = record
  767.     sv1530_minfreeworkitems: DWORD;
  768.   end;
  769.   {$EXTERNALSYM _SERVER_INFO_1530}
  770.   SERVER_INFO_1530 = _SERVER_INFO_1530;
  771.   {$EXTERNALSYM SERVER_INFO_1530}
  772.   TServerInfo1530 = SERVER_INFO_1530;
  773.   PServerInfo1530 = PSERVER_INFO_1530;
  774.   LPSERVER_INFO_1533 = ^SERVER_INFO_1533;
  775.   {$EXTERNALSYM LPSERVER_INFO_1533}
  776.   PSERVER_INFO_1533 = ^SERVER_INFO_1533;
  777.   {$EXTERNALSYM PSERVER_INFO_1533}
  778.   _SERVER_INFO_1533 = record
  779.     sv1533_maxmpxct: DWORD;
  780.   end;
  781.   {$EXTERNALSYM _SERVER_INFO_1533}
  782.   SERVER_INFO_1533 = _SERVER_INFO_1533;
  783.   {$EXTERNALSYM SERVER_INFO_1533}
  784.   TServerInfo1533 = SERVER_INFO_1533;
  785.   PServerInfo1533 = PSERVER_INFO_1533;
  786.   LPSERVER_INFO_1534 = ^SERVER_INFO_1534;
  787.   {$EXTERNALSYM LPSERVER_INFO_1534}
  788.   PSERVER_INFO_1534 = ^SERVER_INFO_1534;
  789.   {$EXTERNALSYM PSERVER_INFO_1534}
  790.   _SERVER_INFO_1534 = record
  791.     sv1534_oplockbreakwait: DWORD;
  792.   end;
  793.   {$EXTERNALSYM _SERVER_INFO_1534}
  794.   SERVER_INFO_1534 = _SERVER_INFO_1534;
  795.   {$EXTERNALSYM SERVER_INFO_1534}
  796.   TServerInfo1534 = SERVER_INFO_1534;
  797.   PServerInfo1534 = PSERVER_INFO_1534;
  798.   LPSERVER_INFO_1535 = ^SERVER_INFO_1535;
  799.   {$EXTERNALSYM LPSERVER_INFO_1535}
  800.   PSERVER_INFO_1535 = ^SERVER_INFO_1535;
  801.   {$EXTERNALSYM PSERVER_INFO_1535}
  802.   _SERVER_INFO_1535 = record
  803.     sv1535_oplockbreakresponsewait: DWORD;
  804.   end;
  805.   {$EXTERNALSYM _SERVER_INFO_1535}
  806.   SERVER_INFO_1535 = _SERVER_INFO_1535;
  807.   {$EXTERNALSYM SERVER_INFO_1535}
  808.   TServerInfo1535 = SERVER_INFO_1535;
  809.   PServerInfo1535 = PSERVER_INFO_1535;
  810.   LPSERVER_INFO_1536 = ^SERVER_INFO_1536;
  811.   {$EXTERNALSYM LPSERVER_INFO_1536}
  812.   PSERVER_INFO_1536 = ^SERVER_INFO_1536;
  813.   {$EXTERNALSYM PSERVER_INFO_1536}
  814.   _SERVER_INFO_1536 = record
  815.     sv1536_enableoplocks: BOOL;
  816.   end;
  817.   {$EXTERNALSYM _SERVER_INFO_1536}
  818.   SERVER_INFO_1536 = _SERVER_INFO_1536;
  819.   {$EXTERNALSYM SERVER_INFO_1536}
  820.   TServerInfo1536 = SERVER_INFO_1536;
  821.   PServerInfo1536 = PSERVER_INFO_1536;
  822.   LPSERVER_INFO_1537 = ^SERVER_INFO_1537;
  823.   {$EXTERNALSYM LPSERVER_INFO_1537}
  824.   PSERVER_INFO_1537 = ^SERVER_INFO_1537;
  825.   {$EXTERNALSYM PSERVER_INFO_1537}
  826.   _SERVER_INFO_1537 = record
  827.     sv1537_enableoplockforceclose: BOOL;
  828.   end;
  829.   {$EXTERNALSYM _SERVER_INFO_1537}
  830.   SERVER_INFO_1537 = _SERVER_INFO_1537;
  831.   {$EXTERNALSYM SERVER_INFO_1537}
  832.   TServerInfo1537 = SERVER_INFO_1537;
  833.   PServerInfo1537 = PSERVER_INFO_1537;
  834.   LPSERVER_INFO_1538 = ^SERVER_INFO_1538;
  835.   {$EXTERNALSYM LPSERVER_INFO_1538}
  836.   PSERVER_INFO_1538 = ^SERVER_INFO_1538;
  837.   {$EXTERNALSYM PSERVER_INFO_1538}
  838.   _SERVER_INFO_1538 = record
  839.     sv1538_enablefcbopens: BOOL;
  840.   end;
  841.   {$EXTERNALSYM _SERVER_INFO_1538}
  842.   SERVER_INFO_1538 = _SERVER_INFO_1538;
  843.   {$EXTERNALSYM SERVER_INFO_1538}
  844.   TServerInfo1538 = SERVER_INFO_1538;
  845.   PServerInfo1538 = PSERVER_INFO_1538;
  846.   LPSERVER_INFO_1539 = ^SERVER_INFO_1539;
  847.   {$EXTERNALSYM LPSERVER_INFO_1539}
  848.   PSERVER_INFO_1539 = ^SERVER_INFO_1539;
  849.   {$EXTERNALSYM PSERVER_INFO_1539}
  850.   _SERVER_INFO_1539 = record
  851.     sv1539_enableraw: BOOL;
  852.   end;
  853.   {$EXTERNALSYM _SERVER_INFO_1539}
  854.   SERVER_INFO_1539 = _SERVER_INFO_1539;
  855.   {$EXTERNALSYM SERVER_INFO_1539}
  856.   TServerInfo1539 = SERVER_INFO_1539;
  857.   PServerInfo1539 = PSERVER_INFO_1539;
  858.   LPSERVER_INFO_1540 = ^SERVER_INFO_1540;
  859.   {$EXTERNALSYM LPSERVER_INFO_1540}
  860.   PSERVER_INFO_1540 = ^SERVER_INFO_1540;
  861.   {$EXTERNALSYM PSERVER_INFO_1540}
  862.   _SERVER_INFO_1540 = record
  863.     sv1540_enablesharednetdrives: BOOL;
  864.   end;
  865.   {$EXTERNALSYM _SERVER_INFO_1540}
  866.   SERVER_INFO_1540 = _SERVER_INFO_1540;
  867.   {$EXTERNALSYM SERVER_INFO_1540}
  868.   TServerInfo1540 = SERVER_INFO_1540;
  869.   PServerInfo1540 = PSERVER_INFO_1540;
  870.   LPSERVER_INFO_1541 = ^SERVER_INFO_1541;
  871.   {$EXTERNALSYM LPSERVER_INFO_1541}
  872.   PSERVER_INFO_1541 = ^SERVER_INFO_1541;
  873.   {$EXTERNALSYM PSERVER_INFO_1541}
  874.   _SERVER_INFO_1541 = record
  875.     sv1541_minfreeconnections: BOOL;
  876.   end;
  877.   {$EXTERNALSYM _SERVER_INFO_1541}
  878.   SERVER_INFO_1541 = _SERVER_INFO_1541;
  879.   {$EXTERNALSYM SERVER_INFO_1541}
  880.   TServerInfo1541 = SERVER_INFO_1541;
  881.   PServerInfo1541 = PSERVER_INFO_1541;
  882.   LPSERVER_INFO_1542 = ^SERVER_INFO_1542;
  883.   {$EXTERNALSYM LPSERVER_INFO_1542}
  884.   PSERVER_INFO_1542 = ^SERVER_INFO_1542;
  885.   {$EXTERNALSYM PSERVER_INFO_1542}
  886.   _SERVER_INFO_1542 = record
  887.     sv1542_maxfreeconnections: BOOL;
  888.   end;
  889.   {$EXTERNALSYM _SERVER_INFO_1542}
  890.   SERVER_INFO_1542 = _SERVER_INFO_1542;
  891.   {$EXTERNALSYM SERVER_INFO_1542}
  892.   TServerInfo1542 = SERVER_INFO_1542;
  893.   PServerInfo1542 = PSERVER_INFO_1542;
  894.   LPSERVER_INFO_1543 = ^SERVER_INFO_1543;
  895.   {$EXTERNALSYM LPSERVER_INFO_1543}
  896.   PSERVER_INFO_1543 = ^SERVER_INFO_1543;
  897.   {$EXTERNALSYM PSERVER_INFO_1543}
  898.   _SERVER_INFO_1543 = record
  899.     sv1543_initsesstable: DWORD;
  900.   end;
  901.   {$EXTERNALSYM _SERVER_INFO_1543}
  902.   SERVER_INFO_1543 = _SERVER_INFO_1543;
  903.   {$EXTERNALSYM SERVER_INFO_1543}
  904.   TServerInfo1543 = SERVER_INFO_1543;
  905.   PServerInfo1543 = PSERVER_INFO_1543;
  906.   LPSERVER_INFO_1544 = ^SERVER_INFO_1544;
  907.   {$EXTERNALSYM LPSERVER_INFO_1544}
  908.   PSERVER_INFO_1544 = ^SERVER_INFO_1544;
  909.   {$EXTERNALSYM PSERVER_INFO_1544}
  910.   _SERVER_INFO_1544 = record
  911.     sv1544_initconntable: DWORD;
  912.   end;
  913.   {$EXTERNALSYM _SERVER_INFO_1544}
  914.   SERVER_INFO_1544 = _SERVER_INFO_1544;
  915.   {$EXTERNALSYM SERVER_INFO_1544}
  916.   TServerInfo1544 = SERVER_INFO_1544;
  917.   PServerInfo1544 = PSERVER_INFO_1544;
  918.   LPSERVER_INFO_1545 = ^SERVER_INFO_1545;
  919.   {$EXTERNALSYM LPSERVER_INFO_1545}
  920.   PSERVER_INFO_1545 = ^SERVER_INFO_1545;
  921.   {$EXTERNALSYM PSERVER_INFO_1545}
  922.   _SERVER_INFO_1545 = record
  923.     sv1545_initfiletable: DWORD;
  924.   end;
  925.   {$EXTERNALSYM _SERVER_INFO_1545}
  926.   SERVER_INFO_1545 = _SERVER_INFO_1545;
  927.   {$EXTERNALSYM SERVER_INFO_1545}
  928.   TServerInfo1545 = SERVER_INFO_1545;
  929.   PServerInfo1545 = PSERVER_INFO_1545;
  930.   LPSERVER_INFO_1546 = ^SERVER_INFO_1546;
  931.   {$EXTERNALSYM LPSERVER_INFO_1546}
  932.   PSERVER_INFO_1546 = ^SERVER_INFO_1546;
  933.   {$EXTERNALSYM PSERVER_INFO_1546}
  934.   _SERVER_INFO_1546 = record
  935.     sv1546_initsearchtable: DWORD;
  936.   end;
  937.   {$EXTERNALSYM _SERVER_INFO_1546}
  938.   SERVER_INFO_1546 = _SERVER_INFO_1546;
  939.   {$EXTERNALSYM SERVER_INFO_1546}
  940.   TServerInfo1546 = SERVER_INFO_1546;
  941.   PServerInfo1546 = PSERVER_INFO_1546;
  942.   LPSERVER_INFO_1547 = ^SERVER_INFO_1547;
  943.   {$EXTERNALSYM LPSERVER_INFO_1547}
  944.   PSERVER_INFO_1547 = ^SERVER_INFO_1547;
  945.   {$EXTERNALSYM PSERVER_INFO_1547}
  946.   _SERVER_INFO_1547 = record
  947.     sv1547_alertschedule: DWORD;
  948.   end;
  949.   {$EXTERNALSYM _SERVER_INFO_1547}
  950.   SERVER_INFO_1547 = _SERVER_INFO_1547;
  951.   {$EXTERNALSYM SERVER_INFO_1547}
  952.   TServerInfo1547 = SERVER_INFO_1547;
  953.   PServerInfo1547 = PSERVER_INFO_1547;
  954.   LPSERVER_INFO_1548 = ^SERVER_INFO_1548;
  955.   {$EXTERNALSYM LPSERVER_INFO_1548}
  956.   PSERVER_INFO_1548 = ^SERVER_INFO_1548;
  957.   {$EXTERNALSYM PSERVER_INFO_1548}
  958.   _SERVER_INFO_1548 = record
  959.     sv1548_errorthreshold: DWORD;
  960.   end;
  961.   {$EXTERNALSYM _SERVER_INFO_1548}
  962.   SERVER_INFO_1548 = _SERVER_INFO_1548;
  963.   {$EXTERNALSYM SERVER_INFO_1548}
  964.   TServerInfo1548 = SERVER_INFO_1548;
  965.   PServerInfo1548 = PSERVER_INFO_1548;
  966.   LPSERVER_INFO_1549 = ^SERVER_INFO_1549;
  967.   {$EXTERNALSYM LPSERVER_INFO_1549}
  968.   PSERVER_INFO_1549 = ^SERVER_INFO_1549;
  969.   {$EXTERNALSYM PSERVER_INFO_1549}
  970.   _SERVER_INFO_1549 = record
  971.     sv1549_networkerrorthreshold: DWORD;
  972.   end;
  973.   {$EXTERNALSYM _SERVER_INFO_1549}
  974.   SERVER_INFO_1549 = _SERVER_INFO_1549;
  975.   {$EXTERNALSYM SERVER_INFO_1549}
  976.   TServerInfo1549 = SERVER_INFO_1549;
  977.   PServerInfo1549 = PSERVER_INFO_1549;
  978.   LPSERVER_INFO_1550 = ^SERVER_INFO_1550;
  979.   {$EXTERNALSYM LPSERVER_INFO_1550}
  980.   PSERVER_INFO_1550 = ^SERVER_INFO_1550;
  981.   {$EXTERNALSYM PSERVER_INFO_1550}
  982.   _SERVER_INFO_1550 = record
  983.     sv1550_diskspacethreshold: DWORD;
  984.   end;
  985.   {$EXTERNALSYM _SERVER_INFO_1550}
  986.   SERVER_INFO_1550 = _SERVER_INFO_1550;
  987.   {$EXTERNALSYM SERVER_INFO_1550}
  988.   TServerInfo1550 = SERVER_INFO_1550;
  989.   PServerInfo1550 = PSERVER_INFO_1550;
  990.   LPSERVER_INFO_1552 = ^SERVER_INFO_1552;
  991.   {$EXTERNALSYM LPSERVER_INFO_1552}
  992.   PSERVER_INFO_1552 = ^SERVER_INFO_1552;
  993.   {$EXTERNALSYM PSERVER_INFO_1552}
  994.   _SERVER_INFO_1552 = record
  995.     sv1552_maxlinkdelay: DWORD;
  996.   end;
  997.   {$EXTERNALSYM _SERVER_INFO_1552}
  998.   SERVER_INFO_1552 = _SERVER_INFO_1552;
  999.   {$EXTERNALSYM SERVER_INFO_1552}
  1000.   TServerInfo1552 = SERVER_INFO_1552;
  1001.   PServerInfo1552 = PSERVER_INFO_1552;
  1002.   LPSERVER_INFO_1553 = ^SERVER_INFO_1553;
  1003.   {$EXTERNALSYM LPSERVER_INFO_1553}
  1004.   PSERVER_INFO_1553 = ^SERVER_INFO_1553;
  1005.   {$EXTERNALSYM PSERVER_INFO_1553}
  1006.   _SERVER_INFO_1553 = record
  1007.     sv1553_minlinkthroughput: DWORD;
  1008.   end;
  1009.   {$EXTERNALSYM _SERVER_INFO_1553}
  1010.   SERVER_INFO_1553 = _SERVER_INFO_1553;
  1011.   {$EXTERNALSYM SERVER_INFO_1553}
  1012.   TServerInfo1553 = SERVER_INFO_1553;
  1013.   PServerInfo1553 = PSERVER_INFO_1553;
  1014.   LPSERVER_INFO_1554 = ^SERVER_INFO_1554;
  1015.   {$EXTERNALSYM LPSERVER_INFO_1554}
  1016.   PSERVER_INFO_1554 = ^SERVER_INFO_1554;
  1017.   {$EXTERNALSYM PSERVER_INFO_1554}
  1018.   _SERVER_INFO_1554 = record
  1019.     sv1554_linkinfovalidtime: DWORD;
  1020.   end;
  1021.   {$EXTERNALSYM _SERVER_INFO_1554}
  1022.   SERVER_INFO_1554 = _SERVER_INFO_1554;
  1023.   {$EXTERNALSYM SERVER_INFO_1554}
  1024.   TServerInfo1554 = SERVER_INFO_1554;
  1025.   PServerInfo1554 = PSERVER_INFO_1554;
  1026.   LPSERVER_INFO_1555 = ^SERVER_INFO_1555;
  1027.   {$EXTERNALSYM LPSERVER_INFO_1555}
  1028.   PSERVER_INFO_1555 = ^SERVER_INFO_1555;
  1029.   {$EXTERNALSYM PSERVER_INFO_1555}
  1030.   _SERVER_INFO_1555 = record
  1031.     sv1555_scavqosinfoupdatetime: DWORD;
  1032.   end;
  1033.   {$EXTERNALSYM _SERVER_INFO_1555}
  1034.   SERVER_INFO_1555 = _SERVER_INFO_1555;
  1035.   {$EXTERNALSYM SERVER_INFO_1555}
  1036.   TServerInfo1555 = SERVER_INFO_1555;
  1037.   PServerInfo1555 = PSERVER_INFO_1555;
  1038.   LPSERVER_INFO_1556 = ^SERVER_INFO_1556;
  1039.   {$EXTERNALSYM LPSERVER_INFO_1556}
  1040.   PSERVER_INFO_1556 = ^SERVER_INFO_1556;
  1041.   {$EXTERNALSYM PSERVER_INFO_1556}
  1042.   _SERVER_INFO_1556 = record
  1043.     sv1556_maxworkitemidletime: DWORD;
  1044.   end;
  1045.   {$EXTERNALSYM _SERVER_INFO_1556}
  1046.   SERVER_INFO_1556 = _SERVER_INFO_1556;
  1047.   {$EXTERNALSYM SERVER_INFO_1556}
  1048.   TServerInfo1556 = SERVER_INFO_1556;
  1049.   PServerInfo1556 = PSERVER_INFO_1556;
  1050.   LPSERVER_INFO_1557 = ^SERVER_INFO_1557;
  1051.   {$EXTERNALSYM LPSERVER_INFO_1557}
  1052.   PSERVER_INFO_1557 = ^SERVER_INFO_1557;
  1053.   {$EXTERNALSYM PSERVER_INFO_1557}
  1054.   _SERVER_INFO_1557 = record
  1055.     sv1557_maxrawworkitems: DWORD;
  1056.   end;
  1057.   {$EXTERNALSYM _SERVER_INFO_1557}
  1058.   SERVER_INFO_1557 = _SERVER_INFO_1557;
  1059.   {$EXTERNALSYM SERVER_INFO_1557}
  1060.   TServerInfo1557 = SERVER_INFO_1557;
  1061.   PServerInfo1557 = PSERVER_INFO_1557;
  1062.   LPSERVER_INFO_1560 = ^SERVER_INFO_1560;
  1063.   {$EXTERNALSYM LPSERVER_INFO_1560}
  1064.   PSERVER_INFO_1560 = ^SERVER_INFO_1560;
  1065.   {$EXTERNALSYM PSERVER_INFO_1560}
  1066.   _SERVER_INFO_1560 = record
  1067.     sv1560_producttype: DWORD;
  1068.   end;
  1069.   {$EXTERNALSYM _SERVER_INFO_1560}
  1070.   SERVER_INFO_1560 = _SERVER_INFO_1560;
  1071.   {$EXTERNALSYM SERVER_INFO_1560}
  1072.   TServerInfo1560 = SERVER_INFO_1560;
  1073.   PServerInfo1560 = PSERVER_INFO_1560;
  1074.   LPSERVER_INFO_1561 = ^SERVER_INFO_1561;
  1075.   {$EXTERNALSYM LPSERVER_INFO_1561}
  1076.   PSERVER_INFO_1561 = ^SERVER_INFO_1561;
  1077.   {$EXTERNALSYM PSERVER_INFO_1561}
  1078.   _SERVER_INFO_1561 = record
  1079.     sv1561_serversize: DWORD;
  1080.   end;
  1081.   {$EXTERNALSYM _SERVER_INFO_1561}
  1082.   SERVER_INFO_1561 = _SERVER_INFO_1561;
  1083.   {$EXTERNALSYM SERVER_INFO_1561}
  1084.   TServerInfo1561 = SERVER_INFO_1561;
  1085.   PServerInfo1561 = PSERVER_INFO_1561;
  1086.   LPSERVER_INFO_1562 = ^SERVER_INFO_1562;
  1087.   {$EXTERNALSYM LPSERVER_INFO_1562}
  1088.   PSERVER_INFO_1562 = ^SERVER_INFO_1562;
  1089.   {$EXTERNALSYM PSERVER_INFO_1562}
  1090.   _SERVER_INFO_1562 = record
  1091.     sv1562_connectionlessautodisc: DWORD;
  1092.   end;
  1093.   {$EXTERNALSYM _SERVER_INFO_1562}
  1094.   SERVER_INFO_1562 = _SERVER_INFO_1562;
  1095.   {$EXTERNALSYM SERVER_INFO_1562}
  1096.   TServerInfo1562 = SERVER_INFO_1562;
  1097.   PServerInfo1562 = PSERVER_INFO_1562;
  1098.   LPSERVER_INFO_1563 = ^SERVER_INFO_1563;
  1099.   {$EXTERNALSYM LPSERVER_INFO_1563}
  1100.   PSERVER_INFO_1563 = ^SERVER_INFO_1563;
  1101.   {$EXTERNALSYM PSERVER_INFO_1563}
  1102.   _SERVER_INFO_1563 = record
  1103.     sv1563_sharingviolationretries: DWORD;
  1104.   end;
  1105.   {$EXTERNALSYM _SERVER_INFO_1563}
  1106.   SERVER_INFO_1563 = _SERVER_INFO_1563;
  1107.   {$EXTERNALSYM SERVER_INFO_1563}
  1108.   TServerInfo1563 = SERVER_INFO_1563;
  1109.   PServerInfo1563 = PSERVER_INFO_1563;
  1110.   LPSERVER_INFO_1564 = ^SERVER_INFO_1564;
  1111.   {$EXTERNALSYM LPSERVER_INFO_1564}
  1112.   PSERVER_INFO_1564 = ^SERVER_INFO_1564;
  1113.   {$EXTERNALSYM PSERVER_INFO_1564}
  1114.   _SERVER_INFO_1564 = record
  1115.     sv1564_sharingviolationdelay: DWORD;
  1116.   end;
  1117.   {$EXTERNALSYM _SERVER_INFO_1564}
  1118.   SERVER_INFO_1564 = _SERVER_INFO_1564;
  1119.   {$EXTERNALSYM SERVER_INFO_1564}
  1120.   TServerInfo1564 = SERVER_INFO_1564;
  1121.   PServerInfo1564 = PSERVER_INFO_1564;
  1122.   LPSERVER_INFO_1565 = ^SERVER_INFO_1565;
  1123.   {$EXTERNALSYM LPSERVER_INFO_1565}
  1124.   PSERVER_INFO_1565 = ^SERVER_INFO_1565;
  1125.   {$EXTERNALSYM PSERVER_INFO_1565}
  1126.   _SERVER_INFO_1565 = record
  1127.     sv1565_maxglobalopensearch: DWORD;
  1128.   end;
  1129.   {$EXTERNALSYM _SERVER_INFO_1565}
  1130.   SERVER_INFO_1565 = _SERVER_INFO_1565;
  1131.   {$EXTERNALSYM SERVER_INFO_1565}
  1132.   TServerInfo1565 = SERVER_INFO_1565;
  1133.   PServerInfo1565 = PSERVER_INFO_1565;
  1134.   LPSERVER_INFO_1566 = ^SERVER_INFO_1566;
  1135.   {$EXTERNALSYM LPSERVER_INFO_1566}
  1136.   PSERVER_INFO_1566 = ^SERVER_INFO_1566;
  1137.   {$EXTERNALSYM PSERVER_INFO_1566}
  1138.   _SERVER_INFO_1566 = record
  1139.     sv1566_removeduplicatesearches: BOOL;
  1140.   end;
  1141.   {$EXTERNALSYM _SERVER_INFO_1566}
  1142.   SERVER_INFO_1566 = _SERVER_INFO_1566;
  1143.   {$EXTERNALSYM SERVER_INFO_1566}
  1144.   TServerInfo1566 = SERVER_INFO_1566;
  1145.   PServerInfo1566 = PSERVER_INFO_1566;
  1146.   LPSERVER_INFO_1567 = ^SERVER_INFO_1567;
  1147.   {$EXTERNALSYM LPSERVER_INFO_1567}
  1148.   PSERVER_INFO_1567 = ^SERVER_INFO_1567;
  1149.   {$EXTERNALSYM PSERVER_INFO_1567}
  1150.   _SERVER_INFO_1567 = record
  1151.     sv1567_lockviolationretries: DWORD;
  1152.   end;
  1153.   {$EXTERNALSYM _SERVER_INFO_1567}
  1154.   SERVER_INFO_1567 = _SERVER_INFO_1567;
  1155.   {$EXTERNALSYM SERVER_INFO_1567}
  1156.   TServerInfo1567 = SERVER_INFO_1567;
  1157.   PServerInfo1567 = PSERVER_INFO_1567;
  1158.   LPSERVER_INFO_1568 = ^SERVER_INFO_1568;
  1159.   {$EXTERNALSYM LPSERVER_INFO_1568}
  1160.   PSERVER_INFO_1568 = ^SERVER_INFO_1568;
  1161.   {$EXTERNALSYM PSERVER_INFO_1568}
  1162.   _SERVER_INFO_1568 = record
  1163.     sv1568_lockviolationoffset: DWORD;
  1164.   end;
  1165.   {$EXTERNALSYM _SERVER_INFO_1568}
  1166.   SERVER_INFO_1568 = _SERVER_INFO_1568;
  1167.   {$EXTERNALSYM SERVER_INFO_1568}
  1168.   TServerInfo1568 = SERVER_INFO_1568;
  1169.   PServerInfo1568 = PSERVER_INFO_1568;
  1170.   LPSERVER_INFO_1569 = ^SERVER_INFO_1569;
  1171.   {$EXTERNALSYM LPSERVER_INFO_1569}
  1172.   PSERVER_INFO_1569 = ^SERVER_INFO_1569;
  1173.   {$EXTERNALSYM PSERVER_INFO_1569}
  1174.   _SERVER_INFO_1569 = record
  1175.     sv1569_lockviolationdelay: DWORD;
  1176.   end;
  1177.   {$EXTERNALSYM _SERVER_INFO_1569}
  1178.   SERVER_INFO_1569 = _SERVER_INFO_1569;
  1179.   {$EXTERNALSYM SERVER_INFO_1569}
  1180.   TServerInfo1569 = SERVER_INFO_1569;
  1181.   PServerInfo1569 = PSERVER_INFO_1569;
  1182.   LPSERVER_INFO_1570 = ^SERVER_INFO_1570;
  1183.   {$EXTERNALSYM LPSERVER_INFO_1570}
  1184.   PSERVER_INFO_1570 = ^SERVER_INFO_1570;
  1185.   {$EXTERNALSYM PSERVER_INFO_1570}
  1186.   _SERVER_INFO_1570 = record
  1187.     sv1570_mdlreadswitchover: DWORD;
  1188.   end;
  1189.   {$EXTERNALSYM _SERVER_INFO_1570}
  1190.   SERVER_INFO_1570 = _SERVER_INFO_1570;
  1191.   {$EXTERNALSYM SERVER_INFO_1570}
  1192.   TServerInfo1570 = SERVER_INFO_1570;
  1193.   PServerInfo1570 = PSERVER_INFO_1570;
  1194.   LPSERVER_INFO_1571 = ^SERVER_INFO_1571;
  1195.   {$EXTERNALSYM LPSERVER_INFO_1571}
  1196.   PSERVER_INFO_1571 = ^SERVER_INFO_1571;
  1197.   {$EXTERNALSYM PSERVER_INFO_1571}
  1198.   _SERVER_INFO_1571 = record
  1199.     sv1571_cachedopenlimit: DWORD;
  1200.   end;
  1201.   {$EXTERNALSYM _SERVER_INFO_1571}
  1202.   SERVER_INFO_1571 = _SERVER_INFO_1571;
  1203.   {$EXTERNALSYM SERVER_INFO_1571}
  1204.   TServerInfo1571 = SERVER_INFO_1571;
  1205.   PServerInfo1571 = PSERVER_INFO_1571;
  1206.   LPSERVER_INFO_1572 = ^SERVER_INFO_1572;
  1207.   {$EXTERNALSYM LPSERVER_INFO_1572}
  1208.   PSERVER_INFO_1572 = ^SERVER_INFO_1572;
  1209.   {$EXTERNALSYM PSERVER_INFO_1572}
  1210.   _SERVER_INFO_1572 = record
  1211.     sv1572_criticalthreads: DWORD;
  1212.   end;
  1213.   {$EXTERNALSYM _SERVER_INFO_1572}
  1214.   SERVER_INFO_1572 = _SERVER_INFO_1572;
  1215.   {$EXTERNALSYM SERVER_INFO_1572}
  1216.   TServerInfo1572 = SERVER_INFO_1572;
  1217.   PServerInfo1572 = PSERVER_INFO_1572;
  1218.   LPSERVER_INFO_1573 = ^SERVER_INFO_1573;
  1219.   {$EXTERNALSYM LPSERVER_INFO_1573}
  1220.   PSERVER_INFO_1573 = ^SERVER_INFO_1573;
  1221.   {$EXTERNALSYM PSERVER_INFO_1573}
  1222.   _SERVER_INFO_1573 = record
  1223.     sv1573_restrictnullsessaccess: DWORD;
  1224.   end;
  1225.   {$EXTERNALSYM _SERVER_INFO_1573}
  1226.   SERVER_INFO_1573 = _SERVER_INFO_1573;
  1227.   {$EXTERNALSYM SERVER_INFO_1573}
  1228.   TServerInfo1573 = SERVER_INFO_1573;
  1229.   PServerInfo1573 = PSERVER_INFO_1573;
  1230.   LPSERVER_INFO_1574 = ^SERVER_INFO_1574;
  1231.   {$EXTERNALSYM LPSERVER_INFO_1574}
  1232.   PSERVER_INFO_1574 = ^SERVER_INFO_1574;
  1233.   {$EXTERNALSYM PSERVER_INFO_1574}
  1234.   _SERVER_INFO_1574 = record
  1235.     sv1574_enablewfw311directipx: DWORD;
  1236.   end;
  1237.   {$EXTERNALSYM _SERVER_INFO_1574}
  1238.   SERVER_INFO_1574 = _SERVER_INFO_1574;
  1239.   {$EXTERNALSYM SERVER_INFO_1574}
  1240.   TServerInfo1574 = SERVER_INFO_1574;
  1241.   PServerInfo1574 = PSERVER_INFO_1574;
  1242.   LPSERVER_INFO_1575 = ^SERVER_INFO_1575;
  1243.   {$EXTERNALSYM LPSERVER_INFO_1575}
  1244.   PSERVER_INFO_1575 = ^SERVER_INFO_1575;
  1245.   {$EXTERNALSYM PSERVER_INFO_1575}
  1246.   _SERVER_INFO_1575 = record
  1247.     sv1575_otherqueueaffinity: DWORD;
  1248.   end;
  1249.   {$EXTERNALSYM _SERVER_INFO_1575}
  1250.   SERVER_INFO_1575 = _SERVER_INFO_1575;
  1251.   {$EXTERNALSYM SERVER_INFO_1575}
  1252.   TServerInfo1575 = SERVER_INFO_1575;
  1253.   PServerInfo1575 = PSERVER_INFO_1575;
  1254.   LPSERVER_INFO_1576 = ^SERVER_INFO_1576;
  1255.   {$EXTERNALSYM LPSERVER_INFO_1576}
  1256.   PSERVER_INFO_1576 = ^SERVER_INFO_1576;
  1257.   {$EXTERNALSYM PSERVER_INFO_1576}
  1258.   _SERVER_INFO_1576 = record
  1259.     sv1576_queuesamplesecs: DWORD;
  1260.   end;
  1261.   {$EXTERNALSYM _SERVER_INFO_1576}
  1262.   SERVER_INFO_1576 = _SERVER_INFO_1576;
  1263.   {$EXTERNALSYM SERVER_INFO_1576}
  1264.   TServerInfo1576 = SERVER_INFO_1576;
  1265.   PServerInfo1576 = PSERVER_INFO_1576;
  1266.   LPSERVER_INFO_1577 = ^SERVER_INFO_1577;
  1267.   {$EXTERNALSYM LPSERVER_INFO_1577}
  1268.   PSERVER_INFO_1577 = ^SERVER_INFO_1577;
  1269.   {$EXTERNALSYM PSERVER_INFO_1577}
  1270.   _SERVER_INFO_1577 = record
  1271.     sv1577_balancecount: DWORD;
  1272.   end;
  1273.   {$EXTERNALSYM _SERVER_INFO_1577}
  1274.   SERVER_INFO_1577 = _SERVER_INFO_1577;
  1275.   {$EXTERNALSYM SERVER_INFO_1577}
  1276.   TServerInfo1577 = SERVER_INFO_1577;
  1277.   PServerInfo1577 = PSERVER_INFO_1577;
  1278.   LPSERVER_INFO_1578 = ^SERVER_INFO_1578;
  1279.   {$EXTERNALSYM LPSERVER_INFO_1578}
  1280.   PSERVER_INFO_1578 = ^SERVER_INFO_1578;
  1281.   {$EXTERNALSYM PSERVER_INFO_1578}
  1282.   _SERVER_INFO_1578 = record
  1283.     sv1578_preferredaffinity: DWORD;
  1284.   end;
  1285.   {$EXTERNALSYM _SERVER_INFO_1578}
  1286.   SERVER_INFO_1578 = _SERVER_INFO_1578;
  1287.   {$EXTERNALSYM SERVER_INFO_1578}
  1288.   TServerInfo1578 = SERVER_INFO_1578;
  1289.   PServerInfo1578 = PSERVER_INFO_1578;
  1290.   LPSERVER_INFO_1579 = ^SERVER_INFO_1579;
  1291.   {$EXTERNALSYM LPSERVER_INFO_1579}
  1292.   PSERVER_INFO_1579 = ^SERVER_INFO_1579;
  1293.   {$EXTERNALSYM PSERVER_INFO_1579}
  1294.   _SERVER_INFO_1579 = record
  1295.     sv1579_maxfreerfcbs: DWORD;
  1296.   end;
  1297.   {$EXTERNALSYM _SERVER_INFO_1579}
  1298.   SERVER_INFO_1579 = _SERVER_INFO_1579;
  1299.   {$EXTERNALSYM SERVER_INFO_1579}
  1300.   TServerInfo1579 = SERVER_INFO_1579;
  1301.   PServerInfo1579 = PSERVER_INFO_1579;
  1302.   LPSERVER_INFO_1580 = ^SERVER_INFO_1580;
  1303.   {$EXTERNALSYM LPSERVER_INFO_1580}
  1304.   PSERVER_INFO_1580 = ^SERVER_INFO_1580;
  1305.   {$EXTERNALSYM PSERVER_INFO_1580}
  1306.   _SERVER_INFO_1580 = record
  1307.     sv1580_maxfreemfcbs: DWORD;
  1308.   end;
  1309.   {$EXTERNALSYM _SERVER_INFO_1580}
  1310.   SERVER_INFO_1580 = _SERVER_INFO_1580;
  1311.   {$EXTERNALSYM SERVER_INFO_1580}
  1312.   TServerInfo1580 = SERVER_INFO_1580;
  1313.   PServerInfo1580 = PSERVER_INFO_1580;
  1314.   LPSERVER_INFO_1581 = ^SERVER_INFO_1581;
  1315.   {$EXTERNALSYM LPSERVER_INFO_1581}
  1316.   PSERVER_INFO_1581 = ^SERVER_INFO_1581;
  1317.   {$EXTERNALSYM PSERVER_INFO_1581}
  1318.   _SERVER_INFO_1581 = record
  1319.     sv1581_maxfreemlcbs: DWORD;
  1320.   end;
  1321.   {$EXTERNALSYM _SERVER_INFO_1581}
  1322.   SERVER_INFO_1581 = _SERVER_INFO_1581;
  1323.   {$EXTERNALSYM SERVER_INFO_1581}
  1324.   TServerInfo1581 = SERVER_INFO_1581;
  1325.   PServerInfo1581 = PSERVER_INFO_1581;
  1326.   LPSERVER_INFO_1582 = ^SERVER_INFO_1582;
  1327.   {$EXTERNALSYM LPSERVER_INFO_1582}
  1328.   PSERVER_INFO_1582 = ^SERVER_INFO_1582;
  1329.   {$EXTERNALSYM PSERVER_INFO_1582}
  1330.   _SERVER_INFO_1582 = record
  1331.     sv1582_maxfreepagedpoolchunks: DWORD;
  1332.   end;
  1333.   {$EXTERNALSYM _SERVER_INFO_1582}
  1334.   SERVER_INFO_1582 = _SERVER_INFO_1582;
  1335.   {$EXTERNALSYM SERVER_INFO_1582}
  1336.   TServerInfo1582 = SERVER_INFO_1582;
  1337.   PServerInfo1582 = PSERVER_INFO_1582;
  1338.   LPSERVER_INFO_1583 = ^SERVER_INFO_1583;
  1339.   {$EXTERNALSYM LPSERVER_INFO_1583}
  1340.   PSERVER_INFO_1583 = ^SERVER_INFO_1583;
  1341.   {$EXTERNALSYM PSERVER_INFO_1583}
  1342.   _SERVER_INFO_1583 = record
  1343.     sv1583_minpagedpoolchunksize: DWORD;
  1344.   end;
  1345.   {$EXTERNALSYM _SERVER_INFO_1583}
  1346.   SERVER_INFO_1583 = _SERVER_INFO_1583;
  1347.   {$EXTERNALSYM SERVER_INFO_1583}
  1348.   TServerInfo1583 = SERVER_INFO_1583;
  1349.   PServerInfo1583 = PSERVER_INFO_1583;
  1350.   LPSERVER_INFO_1584 = ^SERVER_INFO_1584;
  1351.   {$EXTERNALSYM LPSERVER_INFO_1584}
  1352.   PSERVER_INFO_1584 = ^SERVER_INFO_1584;
  1353.   {$EXTERNALSYM PSERVER_INFO_1584}
  1354.   _SERVER_INFO_1584 = record
  1355.     sv1584_maxpagedpoolchunksize: DWORD;
  1356.   end;
  1357.   {$EXTERNALSYM _SERVER_INFO_1584}
  1358.   SERVER_INFO_1584 = _SERVER_INFO_1584;
  1359.   {$EXTERNALSYM SERVER_INFO_1584}
  1360.   TServerInfo1584 = SERVER_INFO_1584;
  1361.   PServerInfo1584 = PSERVER_INFO_1584;
  1362.   LPSERVER_INFO_1585 = ^SERVER_INFO_1585;
  1363.   {$EXTERNALSYM LPSERVER_INFO_1585}
  1364.   PSERVER_INFO_1585 = ^SERVER_INFO_1585;
  1365.   {$EXTERNALSYM PSERVER_INFO_1585}
  1366.   _SERVER_INFO_1585 = record
  1367.     sv1585_sendsfrompreferredprocessor: BOOL;
  1368.   end;
  1369.   {$EXTERNALSYM _SERVER_INFO_1585}
  1370.   SERVER_INFO_1585 = _SERVER_INFO_1585;
  1371.   {$EXTERNALSYM SERVER_INFO_1585}
  1372.   TServerInfo1585 = SERVER_INFO_1585;
  1373.   PServerInfo1585 = PSERVER_INFO_1585;
  1374.   LPSERVER_INFO_1586 = ^SERVER_INFO_1586;
  1375.   {$EXTERNALSYM LPSERVER_INFO_1586}
  1376.   PSERVER_INFO_1586 = ^SERVER_INFO_1586;
  1377.   {$EXTERNALSYM PSERVER_INFO_1586}
  1378.   _SERVER_INFO_1586 = record
  1379.     sv1586_maxthreadsperqueue: DWORD;
  1380.   end;
  1381.   {$EXTERNALSYM _SERVER_INFO_1586}
  1382.   SERVER_INFO_1586 = _SERVER_INFO_1586;
  1383.   {$EXTERNALSYM SERVER_INFO_1586}
  1384.   TServerInfo1586 = SERVER_INFO_1586;
  1385.   PServerInfo1586 = PSERVER_INFO_1586;
  1386.   LPSERVER_INFO_1587 = ^SERVER_INFO_1587;
  1387.   {$EXTERNALSYM LPSERVER_INFO_1587}
  1388.   PSERVER_INFO_1587 = ^SERVER_INFO_1587;
  1389.   {$EXTERNALSYM PSERVER_INFO_1587}
  1390.   _SERVER_INFO_1587 = record
  1391.     sv1587_cacheddirectorylimit: DWORD;
  1392.   end;
  1393.   {$EXTERNALSYM _SERVER_INFO_1587}
  1394.   SERVER_INFO_1587 = _SERVER_INFO_1587;
  1395.   {$EXTERNALSYM SERVER_INFO_1587}
  1396.   TServerInfo1587 = SERVER_INFO_1587;
  1397.   PServerInfo1587 = PSERVER_INFO_1587;
  1398.   LPSERVER_INFO_1588 = ^SERVER_INFO_1588;
  1399.   {$EXTERNALSYM LPSERVER_INFO_1588}
  1400.   PSERVER_INFO_1588 = ^SERVER_INFO_1588;
  1401.   {$EXTERNALSYM PSERVER_INFO_1588}
  1402.   _SERVER_INFO_1588 = record
  1403.     sv1588_maxcopylength: DWORD;
  1404.   end;
  1405.   {$EXTERNALSYM _SERVER_INFO_1588}
  1406.   SERVER_INFO_1588 = _SERVER_INFO_1588;
  1407.   {$EXTERNALSYM SERVER_INFO_1588}
  1408.   TServerInfo1588 = SERVER_INFO_1588;
  1409.   PServerInfo1588 = PSERVER_INFO_1588;
  1410.   LPSERVER_INFO_1590 = ^SERVER_INFO_1590;
  1411.   {$EXTERNALSYM LPSERVER_INFO_1590}
  1412.   PSERVER_INFO_1590 = ^SERVER_INFO_1590;
  1413.   {$EXTERNALSYM PSERVER_INFO_1590}
  1414.   _SERVER_INFO_1590 = record
  1415.     sv1590_enablecompression: DWORD;
  1416.   end;
  1417.   {$EXTERNALSYM _SERVER_INFO_1590}
  1418.   SERVER_INFO_1590 = _SERVER_INFO_1590;
  1419.   {$EXTERNALSYM SERVER_INFO_1590}
  1420.   TServerInfo1590 = SERVER_INFO_1590;
  1421.   PServerInfo1590 = PSERVER_INFO_1590;
  1422.   LPSERVER_INFO_1591 = ^SERVER_INFO_1591;
  1423.   {$EXTERNALSYM LPSERVER_INFO_1591}
  1424.   PSERVER_INFO_1591 = ^SERVER_INFO_1591;
  1425.   {$EXTERNALSYM PSERVER_INFO_1591}
  1426.   _SERVER_INFO_1591 = record
  1427.     sv1591_autosharewks: DWORD;
  1428.   end;
  1429.   {$EXTERNALSYM _SERVER_INFO_1591}
  1430.   SERVER_INFO_1591 = _SERVER_INFO_1591;
  1431.   {$EXTERNALSYM SERVER_INFO_1591}
  1432.   TServerInfo1591 = SERVER_INFO_1591;
  1433.   PServerInfo1591 = PSERVER_INFO_1591;
  1434.   LPSERVER_INFO_1592 = ^SERVER_INFO_1592;
  1435.   {$EXTERNALSYM LPSERVER_INFO_1592}
  1436.   PSERVER_INFO_1592 = ^SERVER_INFO_1592;
  1437.   {$EXTERNALSYM PSERVER_INFO_1592}
  1438.   _SERVER_INFO_1592 = record
  1439.     sv1592_autosharewks: DWORD;
  1440.   end;
  1441.   {$EXTERNALSYM _SERVER_INFO_1592}
  1442.   SERVER_INFO_1592 = _SERVER_INFO_1592;
  1443.   {$EXTERNALSYM SERVER_INFO_1592}
  1444.   TServerInfo1592 = SERVER_INFO_1592;
  1445.   PServerInfo1592 = PSERVER_INFO_1592;
  1446.   LPSERVER_INFO_1593 = ^SERVER_INFO_1593;
  1447.   {$EXTERNALSYM LPSERVER_INFO_1593}
  1448.   PSERVER_INFO_1593 = ^SERVER_INFO_1593;
  1449.   {$EXTERNALSYM PSERVER_INFO_1593}
  1450.   _SERVER_INFO_1593 = record
  1451.     sv1593_enablesecuritysignature: DWORD;
  1452.   end;
  1453.   {$EXTERNALSYM _SERVER_INFO_1593}
  1454.   SERVER_INFO_1593 = _SERVER_INFO_1593;
  1455.   {$EXTERNALSYM SERVER_INFO_1593}
  1456.   TServerInfo1593 = SERVER_INFO_1593;
  1457.   PServerInfo1593 = PSERVER_INFO_1593;
  1458.   LPSERVER_INFO_1594 = ^SERVER_INFO_1594;
  1459.   {$EXTERNALSYM LPSERVER_INFO_1594}
  1460.   PSERVER_INFO_1594 = ^SERVER_INFO_1594;
  1461.   {$EXTERNALSYM PSERVER_INFO_1594}
  1462.   _SERVER_INFO_1594 = record
  1463.     sv1594_requiresecuritysignature: DWORD;
  1464.   end;
  1465.   {$EXTERNALSYM _SERVER_INFO_1594}
  1466.   SERVER_INFO_1594 = _SERVER_INFO_1594;
  1467.   {$EXTERNALSYM SERVER_INFO_1594}
  1468.   TServerInfo1594 = SERVER_INFO_1594;
  1469.   PServerInfo1594 = PSERVER_INFO_1594;
  1470.   LPSERVER_INFO_1595 = ^SERVER_INFO_1595;
  1471.   {$EXTERNALSYM LPSERVER_INFO_1595}
  1472.   PSERVER_INFO_1595 = ^SERVER_INFO_1595;
  1473.   {$EXTERNALSYM PSERVER_INFO_1595}
  1474.   _SERVER_INFO_1595 = record
  1475.     sv1595_minclientbuffersize: DWORD;
  1476.   end;
  1477.   {$EXTERNALSYM _SERVER_INFO_1595}
  1478.   SERVER_INFO_1595 = _SERVER_INFO_1595;
  1479.   {$EXTERNALSYM SERVER_INFO_1595}
  1480.   TServerInfo1595 = SERVER_INFO_1595;
  1481.   PServerInfo1595 = PSERVER_INFO_1595;
  1482.   LPSERVER_INFO_1596 = ^SERVER_INFO_1596;
  1483.   {$EXTERNALSYM LPSERVER_INFO_1596}
  1484.   PSERVER_INFO_1596 = ^SERVER_INFO_1596;
  1485.   {$EXTERNALSYM PSERVER_INFO_1596}
  1486.   _SERVER_INFO_1596 = record
  1487.     sv1596_ConnectionNoSessionsTimeout: DWORD;
  1488.   end;
  1489.   {$EXTERNALSYM _SERVER_INFO_1596}
  1490.   SERVER_INFO_1596 = _SERVER_INFO_1596;
  1491.   {$EXTERNALSYM SERVER_INFO_1596}
  1492.   TServerInfo1596 = SERVER_INFO_1596;
  1493.   PServerInfo1596 = PSERVER_INFO_1596;
  1494.   LPSERVER_INFO_1597 = ^SERVER_INFO_1597;
  1495.   {$EXTERNALSYM LPSERVER_INFO_1597}
  1496.   PSERVER_INFO_1597 = ^SERVER_INFO_1597;
  1497.   {$EXTERNALSYM PSERVER_INFO_1597}
  1498.   _SERVER_INFO_1597 = record
  1499.     sv1597_IdleThreadTimeOut: DWORD;
  1500.   end;
  1501.   {$EXTERNALSYM _SERVER_INFO_1597}
  1502.   SERVER_INFO_1597 = _SERVER_INFO_1597;
  1503.   {$EXTERNALSYM SERVER_INFO_1597}
  1504.   TServerInfo1597 = SERVER_INFO_1597;
  1505.   PServerInfo1597 = PSERVER_INFO_1597;
  1506.   LPSERVER_INFO_1598 = ^SERVER_INFO_1598;
  1507.   {$EXTERNALSYM LPSERVER_INFO_1598}
  1508.   PSERVER_INFO_1598 = ^SERVER_INFO_1598;
  1509.   {$EXTERNALSYM PSERVER_INFO_1598}
  1510.   _SERVER_INFO_1598 = record
  1511.     sv1598_enableW9xsecuritysignature: DWORD;
  1512.   end;
  1513.   {$EXTERNALSYM _SERVER_INFO_1598}
  1514.   SERVER_INFO_1598 = _SERVER_INFO_1598;
  1515.   {$EXTERNALSYM SERVER_INFO_1598}
  1516.   TServerInfo1598 = SERVER_INFO_1598;
  1517.   PServerInfo1598 = PSERVER_INFO_1598;
  1518.   LPSERVER_INFO_1599 = ^SERVER_INFO_1599;
  1519.   {$EXTERNALSYM LPSERVER_INFO_1599}
  1520.   PSERVER_INFO_1599 = ^SERVER_INFO_1599;
  1521.   {$EXTERNALSYM PSERVER_INFO_1599}
  1522.   _SERVER_INFO_1599 = record
  1523.     sv1598_enforcekerberosreauthentication: BOOLEAN;
  1524.   end;
  1525.   {$EXTERNALSYM _SERVER_INFO_1599}
  1526.   SERVER_INFO_1599 = _SERVER_INFO_1599;
  1527.   {$EXTERNALSYM SERVER_INFO_1599}
  1528.   TServerInfo1599 = SERVER_INFO_1599;
  1529.   PServerInfo1599 = PSERVER_INFO_1599;
  1530.   LPSERVER_INFO_1600 = ^SERVER_INFO_1600;
  1531.   {$EXTERNALSYM LPSERVER_INFO_1600}
  1532.   PSERVER_INFO_1600 = ^SERVER_INFO_1600;
  1533.   {$EXTERNALSYM PSERVER_INFO_1600}
  1534.   _SERVER_INFO_1600 = record
  1535.     sv1598_disabledos: BOOLEAN;
  1536.   end;
  1537.   {$EXTERNALSYM _SERVER_INFO_1600}
  1538.   SERVER_INFO_1600 = _SERVER_INFO_1600;
  1539.   {$EXTERNALSYM SERVER_INFO_1600}
  1540.   TServerInfo1600 = SERVER_INFO_1600;
  1541.   PServerInfo1600 = PSERVER_INFO_1600;
  1542.   LPSERVER_INFO_1601 = ^SERVER_INFO_1601;
  1543.   {$EXTERNALSYM LPSERVER_INFO_1601}
  1544.   PSERVER_INFO_1601 = ^SERVER_INFO_1601;
  1545.   {$EXTERNALSYM PSERVER_INFO_1601}
  1546.   _SERVER_INFO_1601 = record
  1547.     sv1598_lowdiskspaceminimum: DWORD;
  1548.   end;
  1549.   {$EXTERNALSYM _SERVER_INFO_1601}
  1550.   SERVER_INFO_1601 = _SERVER_INFO_1601;
  1551.   {$EXTERNALSYM SERVER_INFO_1601}
  1552.   TServerInfo1601 = SERVER_INFO_1601;
  1553.   PServerInfo1601 = PSERVER_INFO_1601;
  1554.   LPSERVER_INFO_1602 = ^SERVER_INFO_1602;
  1555.   {$EXTERNALSYM LPSERVER_INFO_1602}
  1556.   PSERVER_INFO_1602 = ^SERVER_INFO_1602;
  1557.   {$EXTERNALSYM PSERVER_INFO_1602}
  1558.   _SERVER_INFO_1602 = record
  1559.     sv_1598_disablestrictnamechecking: BOOL;
  1560.   end;
  1561.   {$EXTERNALSYM _SERVER_INFO_1602}
  1562.   SERVER_INFO_1602 = _SERVER_INFO_1602;
  1563.   {$EXTERNALSYM SERVER_INFO_1602}
  1564.   TServerInfo1602 = SERVER_INFO_1602;
  1565.   PServerInfo1602 = PSERVER_INFO_1602;
  1566. //
  1567. // A special structure definition is required in order for this
  1568. // structure to work with RPC.  The problem is that having addresslength
  1569. // indicate the number of bytes in address means that RPC must know the
  1570. // link between the two.
  1571. //
  1572.   LPSERVER_TRANSPORT_INFO_0 = ^SERVER_TRANSPORT_INFO_0;
  1573.   {$EXTERNALSYM LPSERVER_TRANSPORT_INFO_0}
  1574.   PSERVER_TRANSPORT_INFO_0 = ^SERVER_TRANSPORT_INFO_0;
  1575.   {$EXTERNALSYM PSERVER_TRANSPORT_INFO_0}
  1576.   _SERVER_TRANSPORT_INFO_0 = record
  1577.     svti0_numberofvcs: DWORD;
  1578.     svti0_transportname: LMSTR;
  1579.     svti0_transportaddress: LPBYTE;
  1580.     svti0_transportaddresslength: DWORD;
  1581.     svti0_networkaddress: LMSTR;
  1582.   end;
  1583.   {$EXTERNALSYM _SERVER_TRANSPORT_INFO_0}
  1584.   SERVER_TRANSPORT_INFO_0 = _SERVER_TRANSPORT_INFO_0;
  1585.   {$EXTERNALSYM SERVER_TRANSPORT_INFO_0}
  1586.   TServerTransportInfo0 = SERVER_TRANSPORT_INFO_0;
  1587.   PServerTransportInfo0 = PSERVER_TRANSPORT_INFO_0;
  1588.   LPSERVER_TRANSPORT_INFO_1 = ^SERVER_TRANSPORT_INFO_1;
  1589.   {$EXTERNALSYM LPSERVER_TRANSPORT_INFO_1}
  1590.   PSERVER_TRANSPORT_INFO_1 = ^SERVER_TRANSPORT_INFO_1;
  1591.   {$EXTERNALSYM PSERVER_TRANSPORT_INFO_1}
  1592.   _SERVER_TRANSPORT_INFO_1 = record
  1593.     svti1_numberofvcs: DWORD;
  1594.     svti1_transportname: LMSTR;
  1595.     svti1_transportaddress: LPBYTE;
  1596.     svti1_transportaddresslength: DWORD;
  1597.     svti1_networkaddress: LMSTR;
  1598.     svti1_domain: LMSTR;
  1599.   end;
  1600.   {$EXTERNALSYM _SERVER_TRANSPORT_INFO_1}
  1601.   SERVER_TRANSPORT_INFO_1 = _SERVER_TRANSPORT_INFO_1;
  1602.   {$EXTERNALSYM SERVER_TRANSPORT_INFO_1}
  1603.   TServerTransportInfo1 = SERVER_TRANSPORT_INFO_1;
  1604.   PServerTransportInfo1 = PSERVER_TRANSPORT_INFO_1;
  1605.   LPSERVER_TRANSPORT_INFO_2 = ^SERVER_TRANSPORT_INFO_2;
  1606.   {$EXTERNALSYM LPSERVER_TRANSPORT_INFO_2}
  1607.   PSERVER_TRANSPORT_INFO_2 = ^SERVER_TRANSPORT_INFO_2;
  1608.   {$EXTERNALSYM PSERVER_TRANSPORT_INFO_2}
  1609.   _SERVER_TRANSPORT_INFO_2 = record
  1610.     svti2_numberofvcs: DWORD;
  1611.     svti2_transportname: LMSTR;
  1612.     svti2_transportaddress: LPBYTE;
  1613.     svti2_transportaddresslength: DWORD;
  1614.     svti2_networkaddress: LMSTR;
  1615.     svti2_domain: LMSTR;
  1616.     svti2_flags: ULONG;
  1617.   end;
  1618.   {$EXTERNALSYM _SERVER_TRANSPORT_INFO_2}
  1619.   SERVER_TRANSPORT_INFO_2 = _SERVER_TRANSPORT_INFO_2;
  1620.   {$EXTERNALSYM SERVER_TRANSPORT_INFO_2}
  1621.   TServerTransportInfo2 = SERVER_TRANSPORT_INFO_2;
  1622.   PServerTransportInfo2 = PSERVER_TRANSPORT_INFO_2;
  1623.   LPSERVER_TRANSPORT_INFO_3 = ^SERVER_TRANSPORT_INFO_3;
  1624.   {$EXTERNALSYM LPSERVER_TRANSPORT_INFO_3}
  1625.   PSERVER_TRANSPORT_INFO_3 = ^SERVER_TRANSPORT_INFO_3;
  1626.   {$EXTERNALSYM PSERVER_TRANSPORT_INFO_3}
  1627.   _SERVER_TRANSPORT_INFO_3 = record
  1628.     svti3_numberofvcs: DWORD;
  1629.     svti3_transportname: LMSTR;
  1630.     svti3_transportaddress: LPBYTE;
  1631.     svti3_transportaddresslength: DWORD;
  1632.     svti3_networkaddress: LMSTR;
  1633.     svti3_domain: LMSTR;
  1634.     svti3_flags: ULONG;
  1635.     svti3_passwordlength: DWORD;
  1636.     svti3_password: array [0..256 - 1] of BYTE;
  1637.   end;
  1638.   {$EXTERNALSYM _SERVER_TRANSPORT_INFO_3}
  1639.   SERVER_TRANSPORT_INFO_3 = _SERVER_TRANSPORT_INFO_3;
  1640.   {$EXTERNALSYM SERVER_TRANSPORT_INFO_3}
  1641.   TServerTransportInfo3 = SERVER_TRANSPORT_INFO_3;
  1642.   PServerTransportInfo3 = PSERVER_TRANSPORT_INFO_3;
  1643. //
  1644. // Defines - SERVER
  1645. //
  1646. //
  1647. // The platform ID indicates the levels to use for platform-specific
  1648. // information.
  1649. //
  1650. const
  1651.   SV_PLATFORM_ID_OS2 = 400;
  1652.   {$EXTERNALSYM SV_PLATFORM_ID_OS2}
  1653.   SV_PLATFORM_ID_NT  = 500;
  1654.   {$EXTERNALSYM SV_PLATFORM_ID_NT}
  1655. //
  1656. //      Mask to be applied to svX_version_major in order to obtain
  1657. //      the major version number.
  1658. //
  1659.   MAJOR_VERSION_MASK = $0F;
  1660.   {$EXTERNALSYM MAJOR_VERSION_MASK}
  1661. //
  1662. //      Bit-mapped values for svX_type fields. X = 1, 2 or 3.
  1663. //
  1664.   SV_TYPE_WORKSTATION       = $00000001;
  1665.   {$EXTERNALSYM SV_TYPE_WORKSTATION}
  1666.   SV_TYPE_SERVER            = $00000002;
  1667.   {$EXTERNALSYM SV_TYPE_SERVER}
  1668.   SV_TYPE_SQLSERVER         = $00000004;
  1669.   {$EXTERNALSYM SV_TYPE_SQLSERVER}
  1670.   SV_TYPE_DOMAIN_CTRL       = $00000008;
  1671.   {$EXTERNALSYM SV_TYPE_DOMAIN_CTRL}
  1672.   SV_TYPE_DOMAIN_BAKCTRL    = $00000010;
  1673.   {$EXTERNALSYM SV_TYPE_DOMAIN_BAKCTRL}
  1674.   SV_TYPE_TIME_SOURCE       = $00000020;
  1675.   {$EXTERNALSYM SV_TYPE_TIME_SOURCE}
  1676.   SV_TYPE_AFP               = $00000040;
  1677.   {$EXTERNALSYM SV_TYPE_AFP}
  1678.   SV_TYPE_NOVELL            = $00000080;
  1679.   {$EXTERNALSYM SV_TYPE_NOVELL}
  1680.   SV_TYPE_DOMAIN_MEMBER     = $00000100;
  1681.   {$EXTERNALSYM SV_TYPE_DOMAIN_MEMBER}
  1682.   SV_TYPE_PRINTQ_SERVER     = $00000200;
  1683.   {$EXTERNALSYM SV_TYPE_PRINTQ_SERVER}
  1684.   SV_TYPE_DIALIN_SERVER     = $00000400;
  1685.   {$EXTERNALSYM SV_TYPE_DIALIN_SERVER}
  1686.   SV_TYPE_XENIX_SERVER      = $00000800;
  1687.   {$EXTERNALSYM SV_TYPE_XENIX_SERVER}
  1688.   SV_TYPE_SERVER_UNIX       = SV_TYPE_XENIX_SERVER;
  1689.   {$EXTERNALSYM SV_TYPE_SERVER_UNIX}
  1690.   SV_TYPE_NT                = $00001000;
  1691.   {$EXTERNALSYM SV_TYPE_NT}
  1692.   SV_TYPE_WFW               = $00002000;
  1693.   {$EXTERNALSYM SV_TYPE_WFW}
  1694.   SV_TYPE_SERVER_MFPN       = $00004000;
  1695.   {$EXTERNALSYM SV_TYPE_SERVER_MFPN}
  1696.   SV_TYPE_SERVER_NT         = $00008000;
  1697.   {$EXTERNALSYM SV_TYPE_SERVER_NT}
  1698.   SV_TYPE_POTENTIAL_BROWSER = $00010000;
  1699.   {$EXTERNALSYM SV_TYPE_POTENTIAL_BROWSER}
  1700.   SV_TYPE_BACKUP_BROWSER    = $00020000;
  1701.   {$EXTERNALSYM SV_TYPE_BACKUP_BROWSER}
  1702.   SV_TYPE_MASTER_BROWSER    = $00040000;
  1703.   {$EXTERNALSYM SV_TYPE_MASTER_BROWSER}
  1704.   SV_TYPE_DOMAIN_MASTER     = $00080000;
  1705.   {$EXTERNALSYM SV_TYPE_DOMAIN_MASTER}
  1706.   SV_TYPE_SERVER_OSF        = $00100000;
  1707.   {$EXTERNALSYM SV_TYPE_SERVER_OSF}
  1708.   SV_TYPE_SERVER_VMS        = $00200000;
  1709.   {$EXTERNALSYM SV_TYPE_SERVER_VMS}
  1710.   SV_TYPE_WINDOWS           = $00400000; // Windows95 and above
  1711.   {$EXTERNALSYM SV_TYPE_WINDOWS}
  1712.   SV_TYPE_DFS               = $00800000; // Root of a DFS tree
  1713.   {$EXTERNALSYM SV_TYPE_DFS}
  1714.   SV_TYPE_CLUSTER_NT        = $01000000; // NT Cluster
  1715.   {$EXTERNALSYM SV_TYPE_CLUSTER_NT}
  1716.   SV_TYPE_TERMINALSERVER    = $02000000; // Terminal Server(Hydra)
  1717.   {$EXTERNALSYM SV_TYPE_TERMINALSERVER}
  1718.   SV_TYPE_CLUSTER_VS_NT     = $04000000; // NT Cluster Virtual Server Name
  1719.   {$EXTERNALSYM SV_TYPE_CLUSTER_VS_NT}
  1720.   SV_TYPE_DCE               = $10000000; // IBM DSS (Directory and Security Services) or equivalent
  1721.   {$EXTERNALSYM SV_TYPE_DCE}
  1722.   SV_TYPE_ALTERNATE_XPORT   = $20000000; // return list for alternate transport
  1723.   {$EXTERNALSYM SV_TYPE_ALTERNATE_XPORT}
  1724.   SV_TYPE_LOCAL_LIST_ONLY   = $40000000; // Return local list only
  1725.   {$EXTERNALSYM SV_TYPE_LOCAL_LIST_ONLY}
  1726.   SV_TYPE_DOMAIN_ENUM       = DWORD($80000000);
  1727.   {$EXTERNALSYM SV_TYPE_DOMAIN_ENUM}
  1728.   SV_TYPE_ALL               = DWORD($FFFFFFFF); // handy for NetServerEnum2
  1729.   {$EXTERNALSYM SV_TYPE_ALL}
  1730. //
  1731. //      Special value for sv102_disc that specifies infinite disconnect
  1732. //      time.
  1733. //
  1734.   SV_NODISC = DWORD(-1); // No autodisconnect timeout enforced
  1735.   {$EXTERNALSYM SV_NODISC}
  1736. //
  1737. //      Values of svX_security field. X = 2 or 3.
  1738. //
  1739.   SV_USERSECURITY  = 1;
  1740.   {$EXTERNALSYM SV_USERSECURITY}
  1741.   SV_SHARESECURITY = 0;
  1742.   {$EXTERNALSYM SV_SHARESECURITY}
  1743. //
  1744. //      Values of svX_hidden field. X = 2 or 3.
  1745. //
  1746.   SV_HIDDEN  = 1;
  1747.   {$EXTERNALSYM SV_HIDDEN}
  1748.   SV_VISIBLE = 0;
  1749.   {$EXTERNALSYM SV_VISIBLE}
  1750. //
  1751. //      Values for ParmError parameter to NetServerSetInfo.
  1752. //
  1753.   SV_PLATFORM_ID_PARMNUM   = 101;
  1754.   {$EXTERNALSYM SV_PLATFORM_ID_PARMNUM}
  1755.   SV_NAME_PARMNUM          = 102;
  1756.   {$EXTERNALSYM SV_NAME_PARMNUM}
  1757.   SV_VERSION_MAJOR_PARMNUM = 103;
  1758.   {$EXTERNALSYM SV_VERSION_MAJOR_PARMNUM}
  1759.   SV_VERSION_MINOR_PARMNUM = 104;
  1760.   {$EXTERNALSYM SV_VERSION_MINOR_PARMNUM}
  1761.   SV_TYPE_PARMNUM          = 105;
  1762.   {$EXTERNALSYM SV_TYPE_PARMNUM}
  1763.   SV_COMMENT_PARMNUM       = 5;
  1764.   {$EXTERNALSYM SV_COMMENT_PARMNUM}
  1765.   SV_USERS_PARMNUM         = 107;
  1766.   {$EXTERNALSYM SV_USERS_PARMNUM}
  1767.   SV_DISC_PARMNUM          = 10;
  1768.   {$EXTERNALSYM SV_DISC_PARMNUM}
  1769.   SV_HIDDEN_PARMNUM        = 16;
  1770.   {$EXTERNALSYM SV_HIDDEN_PARMNUM}
  1771.   SV_ANNOUNCE_PARMNUM      = 17;
  1772.   {$EXTERNALSYM SV_ANNOUNCE_PARMNUM}
  1773.   SV_ANNDELTA_PARMNUM      = 18;
  1774.   {$EXTERNALSYM SV_ANNDELTA_PARMNUM}
  1775.   SV_USERPATH_PARMNUM      = 112;
  1776.   {$EXTERNALSYM SV_USERPATH_PARMNUM}
  1777.   SV_ULIST_MTIME_PARMNUM   = 401;
  1778.   {$EXTERNALSYM SV_ULIST_MTIME_PARMNUM}
  1779.   SV_GLIST_MTIME_PARMNUM   = 402;
  1780.   {$EXTERNALSYM SV_GLIST_MTIME_PARMNUM}
  1781.   SV_ALIST_MTIME_PARMNUM   = 403;
  1782.   {$EXTERNALSYM SV_ALIST_MTIME_PARMNUM}
  1783.   SV_ALERTS_PARMNUM        = 11;
  1784.   {$EXTERNALSYM SV_ALERTS_PARMNUM}
  1785.   SV_SECURITY_PARMNUM      = 405;
  1786.   {$EXTERNALSYM SV_SECURITY_PARMNUM}
  1787.   SV_NUMADMIN_PARMNUM      = 406;
  1788.   {$EXTERNALSYM SV_NUMADMIN_PARMNUM}
  1789.   SV_LANMASK_PARMNUM       = 407;
  1790.   {$EXTERNALSYM SV_LANMASK_PARMNUM}
  1791.   SV_GUESTACC_PARMNUM      = 408;
  1792.   {$EXTERNALSYM SV_GUESTACC_PARMNUM}
  1793.   SV_CHDEVQ_PARMNUM        = 410;
  1794.   {$EXTERNALSYM SV_CHDEVQ_PARMNUM}
  1795.   SV_CHDEVJOBS_PARMNUM     = 411;
  1796.   {$EXTERNALSYM SV_CHDEVJOBS_PARMNUM}
  1797.   SV_CONNECTIONS_PARMNUM   = 412;
  1798.   {$EXTERNALSYM SV_CONNECTIONS_PARMNUM}
  1799.   SV_SHARES_PARMNUM        = 413;
  1800.   {$EXTERNALSYM SV_SHARES_PARMNUM}
  1801.   SV_OPENFILES_PARMNUM     = 414;
  1802.   {$EXTERNALSYM SV_OPENFILES_PARMNUM}
  1803.   SV_SESSREQS_PARMNUM      = 417;
  1804.   {$EXTERNALSYM SV_SESSREQS_PARMNUM}
  1805.   SV_ACTIVELOCKS_PARMNUM   = 419;
  1806.   {$EXTERNALSYM SV_ACTIVELOCKS_PARMNUM}
  1807.   SV_NUMREQBUF_PARMNUM     = 420;
  1808.   {$EXTERNALSYM SV_NUMREQBUF_PARMNUM}
  1809.   SV_NUMBIGBUF_PARMNUM     = 422;
  1810.   {$EXTERNALSYM SV_NUMBIGBUF_PARMNUM}
  1811.   SV_NUMFILETASKS_PARMNUM  = 423;
  1812.   {$EXTERNALSYM SV_NUMFILETASKS_PARMNUM}
  1813.   SV_ALERTSCHED_PARMNUM    = 37;
  1814.   {$EXTERNALSYM SV_ALERTSCHED_PARMNUM}
  1815.   SV_ERRORALERT_PARMNUM    = 38;
  1816.   {$EXTERNALSYM SV_ERRORALERT_PARMNUM}
  1817.   SV_LOGONALERT_PARMNUM    = 39;
  1818.   {$EXTERNALSYM SV_LOGONALERT_PARMNUM}
  1819.   SV_ACCESSALERT_PARMNUM   = 40;
  1820.   {$EXTERNALSYM SV_ACCESSALERT_PARMNUM}
  1821.   SV_DISKALERT_PARMNUM     = 41;
  1822.   {$EXTERNALSYM SV_DISKALERT_PARMNUM}
  1823.   SV_NETIOALERT_PARMNUM    = 42;
  1824.   {$EXTERNALSYM SV_NETIOALERT_PARMNUM}
  1825.   SV_MAXAUDITSZ_PARMNUM    = 43;
  1826.   {$EXTERNALSYM SV_MAXAUDITSZ_PARMNUM}
  1827.   SV_SRVHEURISTICS_PARMNUM = 431;
  1828.   {$EXTERNALSYM SV_SRVHEURISTICS_PARMNUM}
  1829.   SV_SESSOPENS_PARMNUM                       = 501;
  1830.   {$EXTERNALSYM SV_SESSOPENS_PARMNUM}
  1831.   SV_SESSVCS_PARMNUM                         = 502;
  1832.   {$EXTERNALSYM SV_SESSVCS_PARMNUM}
  1833.   SV_OPENSEARCH_PARMNUM                      = 503;
  1834.   {$EXTERNALSYM SV_OPENSEARCH_PARMNUM}
  1835.   SV_SIZREQBUF_PARMNUM                       = 504;
  1836.   {$EXTERNALSYM SV_SIZREQBUF_PARMNUM}
  1837.   SV_INITWORKITEMS_PARMNUM                   = 505;
  1838.   {$EXTERNALSYM SV_INITWORKITEMS_PARMNUM}
  1839.   SV_MAXWORKITEMS_PARMNUM                    = 506;
  1840.   {$EXTERNALSYM SV_MAXWORKITEMS_PARMNUM}
  1841.   SV_RAWWORKITEMS_PARMNUM                    = 507;
  1842.   {$EXTERNALSYM SV_RAWWORKITEMS_PARMNUM}
  1843.   SV_IRPSTACKSIZE_PARMNUM                    = 508;
  1844.   {$EXTERNALSYM SV_IRPSTACKSIZE_PARMNUM}
  1845.   SV_MAXRAWBUFLEN_PARMNUM                    = 509;
  1846.   {$EXTERNALSYM SV_MAXRAWBUFLEN_PARMNUM}
  1847.   SV_SESSUSERS_PARMNUM                       = 510;
  1848.   {$EXTERNALSYM SV_SESSUSERS_PARMNUM}
  1849.   SV_SESSCONNS_PARMNUM                       = 511;
  1850.   {$EXTERNALSYM SV_SESSCONNS_PARMNUM}
  1851.   SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM          = 512;
  1852.   {$EXTERNALSYM SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM}
  1853.   SV_MAXPAGEDMEMORYUSAGE_PARMNUM             = 513;
  1854.   {$EXTERNALSYM SV_MAXPAGEDMEMORYUSAGE_PARMNUM}
  1855.   SV_ENABLESOFTCOMPAT_PARMNUM                = 514;
  1856.   {$EXTERNALSYM SV_ENABLESOFTCOMPAT_PARMNUM}
  1857.   SV_ENABLEFORCEDLOGOFF_PARMNUM              = 515;
  1858.   {$EXTERNALSYM SV_ENABLEFORCEDLOGOFF_PARMNUM}
  1859.   SV_TIMESOURCE_PARMNUM                      = 516;
  1860.   {$EXTERNALSYM SV_TIMESOURCE_PARMNUM}
  1861.   SV_ACCEPTDOWNLEVELAPIS_PARMNUM             = 517;
  1862.   {$EXTERNALSYM SV_ACCEPTDOWNLEVELAPIS_PARMNUM}
  1863.   SV_LMANNOUNCE_PARMNUM                      = 518;
  1864.   {$EXTERNALSYM SV_LMANNOUNCE_PARMNUM}
  1865.   SV_DOMAIN_PARMNUM                          = 519;
  1866.   {$EXTERNALSYM SV_DOMAIN_PARMNUM}
  1867.   SV_MAXCOPYREADLEN_PARMNUM                  = 520;
  1868.   {$EXTERNALSYM SV_MAXCOPYREADLEN_PARMNUM}
  1869.   SV_MAXCOPYWRITELEN_PARMNUM                 = 521;
  1870.   {$EXTERNALSYM SV_MAXCOPYWRITELEN_PARMNUM}
  1871.   SV_MINKEEPSEARCH_PARMNUM                   = 522;
  1872.   {$EXTERNALSYM SV_MINKEEPSEARCH_PARMNUM}
  1873.   SV_MAXKEEPSEARCH_PARMNUM                   = 523;
  1874.   {$EXTERNALSYM SV_MAXKEEPSEARCH_PARMNUM}
  1875.   SV_MINKEEPCOMPLSEARCH_PARMNUM              = 524;
  1876.   {$EXTERNALSYM SV_MINKEEPCOMPLSEARCH_PARMNUM}
  1877.   SV_MAXKEEPCOMPLSEARCH_PARMNUM              = 525;
  1878.   {$EXTERNALSYM SV_MAXKEEPCOMPLSEARCH_PARMNUM}
  1879.   SV_THREADCOUNTADD_PARMNUM                  = 526;
  1880.   {$EXTERNALSYM SV_THREADCOUNTADD_PARMNUM}
  1881.   SV_NUMBLOCKTHREADS_PARMNUM                 = 527;
  1882.   {$EXTERNALSYM SV_NUMBLOCKTHREADS_PARMNUM}
  1883.   SV_SCAVTIMEOUT_PARMNUM                     = 528;
  1884.   {$EXTERNALSYM SV_SCAVTIMEOUT_PARMNUM}
  1885.   SV_MINRCVQUEUE_PARMNUM                     = 529;
  1886.   {$EXTERNALSYM SV_MINRCVQUEUE_PARMNUM}
  1887.   SV_MINFREEWORKITEMS_PARMNUM                = 530;
  1888.   {$EXTERNALSYM SV_MINFREEWORKITEMS_PARMNUM}
  1889.   SV_XACTMEMSIZE_PARMNUM                     = 531;
  1890.   {$EXTERNALSYM SV_XACTMEMSIZE_PARMNUM}
  1891.   SV_THREADPRIORITY_PARMNUM                  = 532;
  1892.   {$EXTERNALSYM SV_THREADPRIORITY_PARMNUM}
  1893.   SV_MAXMPXCT_PARMNUM                        = 533;
  1894.   {$EXTERNALSYM SV_MAXMPXCT_PARMNUM}
  1895.   SV_OPLOCKBREAKWAIT_PARMNUM                 = 534;
  1896.   {$EXTERNALSYM SV_OPLOCKBREAKWAIT_PARMNUM}
  1897.   SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM         = 535;
  1898.   {$EXTERNALSYM SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM}
  1899.   SV_ENABLEOPLOCKS_PARMNUM                   = 536;
  1900.   {$EXTERNALSYM SV_ENABLEOPLOCKS_PARMNUM}
  1901.   SV_ENABLEOPLOCKFORCECLOSE_PARMNUM          = 537;
  1902.   {$EXTERNALSYM SV_ENABLEOPLOCKFORCECLOSE_PARMNUM}
  1903.   SV_ENABLEFCBOPENS_PARMNUM                  = 538;
  1904.   {$EXTERNALSYM SV_ENABLEFCBOPENS_PARMNUM}
  1905.   SV_ENABLERAW_PARMNUM                       = 539;
  1906.   {$EXTERNALSYM SV_ENABLERAW_PARMNUM}
  1907.   SV_ENABLESHAREDNETDRIVES_PARMNUM           = 540;
  1908.   {$EXTERNALSYM SV_ENABLESHAREDNETDRIVES_PARMNUM}
  1909.   SV_MINFREECONNECTIONS_PARMNUM              = 541;
  1910.   {$EXTERNALSYM SV_MINFREECONNECTIONS_PARMNUM}
  1911.   SV_MAXFREECONNECTIONS_PARMNUM              = 542;
  1912.   {$EXTERNALSYM SV_MAXFREECONNECTIONS_PARMNUM}
  1913.   SV_INITSESSTABLE_PARMNUM                   = 543;
  1914.   {$EXTERNALSYM SV_INITSESSTABLE_PARMNUM}
  1915.   SV_INITCONNTABLE_PARMNUM                   = 544;
  1916.   {$EXTERNALSYM SV_INITCONNTABLE_PARMNUM}
  1917.   SV_INITFILETABLE_PARMNUM                   = 545;
  1918.   {$EXTERNALSYM SV_INITFILETABLE_PARMNUM}
  1919.   SV_INITSEARCHTABLE_PARMNUM                 = 546;
  1920.   {$EXTERNALSYM SV_INITSEARCHTABLE_PARMNUM}
  1921.   SV_ALERTSCHEDULE_PARMNUM                   = 547;
  1922.   {$EXTERNALSYM SV_ALERTSCHEDULE_PARMNUM}
  1923.   SV_ERRORTHRESHOLD_PARMNUM                  = 548;
  1924.   {$EXTERNALSYM SV_ERRORTHRESHOLD_PARMNUM}
  1925.   SV_NETWORKERRORTHRESHOLD_PARMNUM           = 549;
  1926.   {$EXTERNALSYM SV_NETWORKERRORTHRESHOLD_PARMNUM}
  1927.   SV_DISKSPACETHRESHOLD_PARMNUM              = 550;
  1928.   {$EXTERNALSYM SV_DISKSPACETHRESHOLD_PARMNUM}
  1929.   SV_MAXLINKDELAY_PARMNUM                    = 552;
  1930.   {$EXTERNALSYM SV_MAXLINKDELAY_PARMNUM}
  1931.   SV_MINLINKTHROUGHPUT_PARMNUM               = 553;
  1932.   {$EXTERNALSYM SV_MINLINKTHROUGHPUT_PARMNUM}
  1933.   SV_LINKINFOVALIDTIME_PARMNUM               = 554;
  1934.   {$EXTERNALSYM SV_LINKINFOVALIDTIME_PARMNUM}
  1935.   SV_SCAVQOSINFOUPDATETIME_PARMNUM           = 555;
  1936.   {$EXTERNALSYM SV_SCAVQOSINFOUPDATETIME_PARMNUM}
  1937.   SV_MAXWORKITEMIDLETIME_PARMNUM             = 556;
  1938.   {$EXTERNALSYM SV_MAXWORKITEMIDLETIME_PARMNUM}
  1939.   SV_MAXRAWWORKITEMS_PARMNUM                 = 557;
  1940.   {$EXTERNALSYM SV_MAXRAWWORKITEMS_PARMNUM}
  1941.   SV_PRODUCTTYPE_PARMNUM                     = 560;
  1942.   {$EXTERNALSYM SV_PRODUCTTYPE_PARMNUM}
  1943.   SV_SERVERSIZE_PARMNUM                      = 561;
  1944.   {$EXTERNALSYM SV_SERVERSIZE_PARMNUM}
  1945.   SV_CONNECTIONLESSAUTODISC_PARMNUM          = 562;
  1946.   {$EXTERNALSYM SV_CONNECTIONLESSAUTODISC_PARMNUM}
  1947.   SV_SHARINGVIOLATIONRETRIES_PARMNUM         = 563;
  1948.   {$EXTERNALSYM SV_SHARINGVIOLATIONRETRIES_PARMNUM}
  1949.   SV_SHARINGVIOLATIONDELAY_PARMNUM           = 564;
  1950.   {$EXTERNALSYM SV_SHARINGVIOLATIONDELAY_PARMNUM}
  1951.   SV_MAXGLOBALOPENSEARCH_PARMNUM             = 565;
  1952.   {$EXTERNALSYM SV_MAXGLOBALOPENSEARCH_PARMNUM}
  1953.   SV_REMOVEDUPLICATESEARCHES_PARMNUM         = 566;
  1954.   {$EXTERNALSYM SV_REMOVEDUPLICATESEARCHES_PARMNUM}
  1955.   SV_LOCKVIOLATIONRETRIES_PARMNUM            = 567;
  1956.   {$EXTERNALSYM SV_LOCKVIOLATIONRETRIES_PARMNUM}
  1957.   SV_LOCKVIOLATIONOFFSET_PARMNUM             = 568;
  1958.   {$EXTERNALSYM SV_LOCKVIOLATIONOFFSET_PARMNUM}
  1959.   SV_LOCKVIOLATIONDELAY_PARMNUM              = 569;
  1960.   {$EXTERNALSYM SV_LOCKVIOLATIONDELAY_PARMNUM}
  1961.   SV_MDLREADSWITCHOVER_PARMNUM               = 570;
  1962.   {$EXTERNALSYM SV_MDLREADSWITCHOVER_PARMNUM}
  1963.   SV_CACHEDOPENLIMIT_PARMNUM                 = 571;
  1964.   {$EXTERNALSYM SV_CACHEDOPENLIMIT_PARMNUM}
  1965.   SV_CRITICALTHREADS_PARMNUM                 = 572;
  1966.   {$EXTERNALSYM SV_CRITICALTHREADS_PARMNUM}
  1967.   SV_RESTRICTNULLSESSACCESS_PARMNUM          = 573;
  1968.   {$EXTERNALSYM SV_RESTRICTNULLSESSACCESS_PARMNUM}
  1969.   SV_ENABLEWFW311DIRECTIPX_PARMNUM           = 574;
  1970.   {$EXTERNALSYM SV_ENABLEWFW311DIRECTIPX_PARMNUM}
  1971.   SV_OTHERQUEUEAFFINITY_PARMNUM              = 575;
  1972.   {$EXTERNALSYM SV_OTHERQUEUEAFFINITY_PARMNUM}
  1973.   SV_QUEUESAMPLESECS_PARMNUM                 = 576;
  1974.   {$EXTERNALSYM SV_QUEUESAMPLESECS_PARMNUM}
  1975.   SV_BALANCECOUNT_PARMNUM                    = 577;
  1976.   {$EXTERNALSYM SV_BALANCECOUNT_PARMNUM}
  1977.   SV_PREFERREDAFFINITY_PARMNUM               = 578;
  1978.   {$EXTERNALSYM SV_PREFERREDAFFINITY_PARMNUM}
  1979.   SV_MAXFREERFCBS_PARMNUM                    = 579;
  1980.   {$EXTERNALSYM SV_MAXFREERFCBS_PARMNUM}
  1981.   SV_MAXFREEMFCBS_PARMNUM                    = 580;
  1982.   {$EXTERNALSYM SV_MAXFREEMFCBS_PARMNUM}
  1983.   SV_MAXFREELFCBS_PARMNUM                    = 581;
  1984.   {$EXTERNALSYM SV_MAXFREELFCBS_PARMNUM}
  1985.   SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM          = 582;
  1986.   {$EXTERNALSYM SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM}
  1987.   SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM           = 583;
  1988.   {$EXTERNALSYM SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM}
  1989.   SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM           = 584;
  1990.   {$EXTERNALSYM SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM}
  1991.   SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM     = 585;
  1992.   {$EXTERNALSYM SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM}
  1993.   SV_MAXTHREADSPERQUEUE_PARMNUM              = 586;
  1994.   {$EXTERNALSYM SV_MAXTHREADSPERQUEUE_PARMNUM}
  1995.   SV_CACHEDDIRECTORYLIMIT_PARMNUM            = 587;
  1996.   {$EXTERNALSYM SV_CACHEDDIRECTORYLIMIT_PARMNUM}
  1997.   SV_MAXCOPYLENGTH_PARMNUM                   = 588;
  1998.   {$EXTERNALSYM SV_MAXCOPYLENGTH_PARMNUM}
  1999.   SV_ENABLECOMPRESSION_PARMNUM               = 590;
  2000.   {$EXTERNALSYM SV_ENABLECOMPRESSION_PARMNUM}
  2001.   SV_AUTOSHAREWKS_PARMNUM                    = 591;
  2002.   {$EXTERNALSYM SV_AUTOSHAREWKS_PARMNUM}
  2003.   SV_AUTOSHARESERVER_PARMNUM                 = 592;
  2004.   {$EXTERNALSYM SV_AUTOSHARESERVER_PARMNUM}
  2005.   SV_ENABLESECURITYSIGNATURE_PARMNUM         = 593;
  2006.   {$EXTERNALSYM SV_ENABLESECURITYSIGNATURE_PARMNUM}
  2007.   SV_REQUIRESECURITYSIGNATURE_PARMNUM        = 594;
  2008.   {$EXTERNALSYM SV_REQUIRESECURITYSIGNATURE_PARMNUM}
  2009.   SV_MINCLIENTBUFFERSIZE_PARMNUM             = 595;
  2010.   {$EXTERNALSYM SV_MINCLIENTBUFFERSIZE_PARMNUM}
  2011.   SV_CONNECTIONNOSESSIONSTIMEOUT_PARMNUM     = 596;
  2012.   {$EXTERNALSYM SV_CONNECTIONNOSESSIONSTIMEOUT_PARMNUM}
  2013.   SV_IDLETHREADTIMEOUT_PARMNUM               = 597;
  2014.   {$EXTERNALSYM SV_IDLETHREADTIMEOUT_PARMNUM}
  2015.   SV_ENABLEW9XSECURITYSIGNATURE_PARMNUM      = 598;
  2016.   {$EXTERNALSYM SV_ENABLEW9XSECURITYSIGNATURE_PARMNUM}
  2017.   SV_ENFORCEKERBEROSREAUTHENTICATION_PARMNUM = 599;
  2018.   {$EXTERNALSYM SV_ENFORCEKERBEROSREAUTHENTICATION_PARMNUM}
  2019.   SV_DISABLEDOS_PARMNUM                      = 600;
  2020.   {$EXTERNALSYM SV_DISABLEDOS_PARMNUM}
  2021.   SV_LOWDISKSPACEMINIMUM_PARMNUM             = 601;
  2022.   {$EXTERNALSYM SV_LOWDISKSPACEMINIMUM_PARMNUM}
  2023.   SV_DISABLESTRICTNAMECHECKING_PARMNUM       = 602;
  2024.   {$EXTERNALSYM SV_DISABLESTRICTNAMECHECKING_PARMNUM}
  2025. //
  2026. // Single-field infolevels for NetServerSetInfo.
  2027. //
  2028.   SV_COMMENT_INFOLEVEL                         = (PARMNUM_BASE_INFOLEVEL + SV_COMMENT_PARMNUM);
  2029.   {$EXTERNALSYM SV_COMMENT_INFOLEVEL}
  2030.   SV_USERS_INFOLEVEL                           = (PARMNUM_BASE_INFOLEVEL + SV_USERS_PARMNUM);
  2031.   {$EXTERNALSYM SV_USERS_INFOLEVEL}
  2032.   SV_DISC_INFOLEVEL                            = (PARMNUM_BASE_INFOLEVEL + SV_DISC_PARMNUM);
  2033.   {$EXTERNALSYM SV_DISC_INFOLEVEL}
  2034.   SV_HIDDEN_INFOLEVEL                          = (PARMNUM_BASE_INFOLEVEL + SV_HIDDEN_PARMNUM);
  2035.   {$EXTERNALSYM SV_HIDDEN_INFOLEVEL}
  2036.   SV_ANNOUNCE_INFOLEVEL                        = (PARMNUM_BASE_INFOLEVEL + SV_ANNOUNCE_PARMNUM);
  2037.   {$EXTERNALSYM SV_ANNOUNCE_INFOLEVEL}
  2038.   SV_ANNDELTA_INFOLEVEL                        = (PARMNUM_BASE_INFOLEVEL + SV_ANNDELTA_PARMNUM);
  2039.   {$EXTERNALSYM SV_ANNDELTA_INFOLEVEL}
  2040.   SV_SESSOPENS_INFOLEVEL                       = (PARMNUM_BASE_INFOLEVEL + SV_SESSOPENS_PARMNUM);
  2041.   {$EXTERNALSYM SV_SESSOPENS_INFOLEVEL}
  2042.   SV_SESSVCS_INFOLEVEL                         = (PARMNUM_BASE_INFOLEVEL + SV_SESSVCS_PARMNUM);
  2043.   {$EXTERNALSYM SV_SESSVCS_INFOLEVEL}
  2044.   SV_OPENSEARCH_INFOLEVEL                      = (PARMNUM_BASE_INFOLEVEL + SV_OPENSEARCH_PARMNUM);
  2045.   {$EXTERNALSYM SV_OPENSEARCH_INFOLEVEL}
  2046.   SV_MAXWORKITEMS_INFOLEVEL                    = (PARMNUM_BASE_INFOLEVEL + SV_MAXWORKITEMS_PARMNUM);
  2047.   {$EXTERNALSYM SV_MAXWORKITEMS_INFOLEVEL}
  2048.   SV_MAXRAWBUFLEN_INFOLEVEL                    = (PARMNUM_BASE_INFOLEVEL + SV_MAXRAWBUFLEN_PARMNUM);
  2049.   {$EXTERNALSYM SV_MAXRAWBUFLEN_INFOLEVEL}
  2050.   SV_SESSUSERS_INFOLEVEL                       = (PARMNUM_BASE_INFOLEVEL + SV_SESSUSERS_PARMNUM);
  2051.   {$EXTERNALSYM SV_SESSUSERS_INFOLEVEL}
  2052.   SV_SESSCONNS_INFOLEVEL                       = (PARMNUM_BASE_INFOLEVEL + SV_SESSCONNS_PARMNUM);
  2053.   {$EXTERNALSYM SV_SESSCONNS_INFOLEVEL}
  2054.   SV_MAXNONPAGEDMEMORYUSAGE_INFOLEVEL          = (PARMNUM_BASE_INFOLEVEL + SV_MAXNONPAGEDMEMORYUSAGE_PARMNUM);
  2055.   {$EXTERNALSYM SV_MAXNONPAGEDMEMORYUSAGE_INFOLEVEL}
  2056.   SV_MAXPAGEDMEMORYUSAGE_INFOLEVEL             = (PARMNUM_BASE_INFOLEVEL + SV_MAXPAGEDMEMORYUSAGE_PARMNUM);
  2057.   {$EXTERNALSYM SV_MAXPAGEDMEMORYUSAGE_INFOLEVEL}
  2058.   SV_ENABLESOFTCOMPAT_INFOLEVEL                = (PARMNUM_BASE_INFOLEVEL + SV_ENABLESOFTCOMPAT_PARMNUM);
  2059.   {$EXTERNALSYM SV_ENABLESOFTCOMPAT_INFOLEVEL}
  2060.   SV_ENABLEFORCEDLOGOFF_INFOLEVEL              = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEFORCEDLOGOFF_PARMNUM);
  2061.   {$EXTERNALSYM SV_ENABLEFORCEDLOGOFF_INFOLEVEL}
  2062.   SV_TIMESOURCE_INFOLEVEL                      = (PARMNUM_BASE_INFOLEVEL + SV_TIMESOURCE_PARMNUM);
  2063.   {$EXTERNALSYM SV_TIMESOURCE_INFOLEVEL}
  2064.   SV_LMANNOUNCE_INFOLEVEL                      = (PARMNUM_BASE_INFOLEVEL + SV_LMANNOUNCE_PARMNUM);
  2065.   {$EXTERNALSYM SV_LMANNOUNCE_INFOLEVEL}
  2066.   SV_MAXCOPYREADLEN_INFOLEVEL                  = (PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYREADLEN_PARMNUM);
  2067.   {$EXTERNALSYM SV_MAXCOPYREADLEN_INFOLEVEL}
  2068.   SV_MAXCOPYWRITELEN_INFOLEVEL                 = (PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYWRITELEN_PARMNUM);
  2069.   {$EXTERNALSYM SV_MAXCOPYWRITELEN_INFOLEVEL}
  2070.   SV_MINKEEPSEARCH_INFOLEVEL                   = (PARMNUM_BASE_INFOLEVEL + SV_MINKEEPSEARCH_PARMNUM);
  2071.   {$EXTERNALSYM SV_MINKEEPSEARCH_INFOLEVEL}
  2072.   SV_MAXKEEPSEARCH_INFOLEVEL                   = (PARMNUM_BASE_INFOLEVEL + SV_MAXKEEPSEARCH_PARMNUM);
  2073.   {$EXTERNALSYM SV_MAXKEEPSEARCH_INFOLEVEL}
  2074.   SV_MINKEEPCOMPLSEARCH_INFOLEVEL              = (PARMNUM_BASE_INFOLEVEL + SV_MINKEEPCOMPLSEARCH_PARMNUM);
  2075.   {$EXTERNALSYM SV_MINKEEPCOMPLSEARCH_INFOLEVEL}
  2076.   SV_MAXKEEPCOMPLSEARCH_INFOLEVEL              = (PARMNUM_BASE_INFOLEVEL + SV_MAXKEEPCOMPLSEARCH_PARMNUM);
  2077.   {$EXTERNALSYM SV_MAXKEEPCOMPLSEARCH_INFOLEVEL}
  2078.   SV_SCAVTIMEOUT_INFOLEVEL                     = (PARMNUM_BASE_INFOLEVEL + SV_SCAVTIMEOUT_PARMNUM);
  2079.   {$EXTERNALSYM SV_SCAVTIMEOUT_INFOLEVEL}
  2080.   SV_MINRCVQUEUE_INFOLEVEL                     = (PARMNUM_BASE_INFOLEVEL + SV_MINRCVQUEUE_PARMNUM);
  2081.   {$EXTERNALSYM SV_MINRCVQUEUE_INFOLEVEL}
  2082.   SV_MINFREEWORKITEMS_INFOLEVEL                = (PARMNUM_BASE_INFOLEVEL + SV_MINFREEWORKITEMS_PARMNUM);
  2083.   {$EXTERNALSYM SV_MINFREEWORKITEMS_INFOLEVEL}
  2084.   SV_MAXMPXCT_INFOLEVEL                        = (PARMNUM_BASE_INFOLEVEL + SV_MAXMPXCT_PARMNUM);
  2085.   {$EXTERNALSYM SV_MAXMPXCT_INFOLEVEL}
  2086.   SV_OPLOCKBREAKWAIT_INFOLEVEL                 = (PARMNUM_BASE_INFOLEVEL + SV_OPLOCKBREAKWAIT_PARMNUM);
  2087.   {$EXTERNALSYM SV_OPLOCKBREAKWAIT_INFOLEVEL}
  2088.   SV_OPLOCKBREAKRESPONSEWAIT_INFOLEVEL         = (PARMNUM_BASE_INFOLEVEL + SV_OPLOCKBREAKRESPONSEWAIT_PARMNUM);
  2089.   {$EXTERNALSYM SV_OPLOCKBREAKRESPONSEWAIT_INFOLEVEL}
  2090.   SV_ENABLEOPLOCKS_INFOLEVEL                   = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEOPLOCKS_PARMNUM);
  2091.   {$EXTERNALSYM SV_ENABLEOPLOCKS_INFOLEVEL}
  2092.   SV_ENABLEOPLOCKFORCECLOSE_INFOLEVEL          = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEOPLOCKFORCECLOSE_PARMNUM);
  2093.   {$EXTERNALSYM SV_ENABLEOPLOCKFORCECLOSE_INFOLEVEL}
  2094.   SV_ENABLEFCBOPENS_INFOLEVEL                  = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEFCBOPENS_PARMNUM);
  2095.   {$EXTERNALSYM SV_ENABLEFCBOPENS_INFOLEVEL}
  2096.   SV_ENABLERAW_INFOLEVEL                       = (PARMNUM_BASE_INFOLEVEL + SV_ENABLERAW_PARMNUM);
  2097.   {$EXTERNALSYM SV_ENABLERAW_INFOLEVEL}
  2098.   SV_ENABLESHAREDNETDRIVES_INFOLEVEL           = (PARMNUM_BASE_INFOLEVEL + SV_ENABLESHAREDNETDRIVES_PARMNUM);
  2099.   {$EXTERNALSYM SV_ENABLESHAREDNETDRIVES_INFOLEVEL}
  2100.   SV_MINFREECONNECTIONS_INFOLEVEL              = (PARMNUM_BASE_INFOLEVEL + SV_MINFREECONNECTIONS_PARMNUM);
  2101.   {$EXTERNALSYM SV_MINFREECONNECTIONS_INFOLEVEL}
  2102.   SV_MAXFREECONNECTIONS_INFOLEVEL              = (PARMNUM_BASE_INFOLEVEL + SV_MAXFREECONNECTIONS_PARMNUM);
  2103.   {$EXTERNALSYM SV_MAXFREECONNECTIONS_INFOLEVEL}
  2104.   SV_INITSESSTABLE_INFOLEVEL                   = (PARMNUM_BASE_INFOLEVEL + SV_INITSESSTABLE_PARMNUM);
  2105.   {$EXTERNALSYM SV_INITSESSTABLE_INFOLEVEL}
  2106.   SV_INITCONNTABLE_INFOLEVEL                   = (PARMNUM_BASE_INFOLEVEL + SV_INITCONNTABLE_PARMNUM);
  2107.   {$EXTERNALSYM SV_INITCONNTABLE_INFOLEVEL}
  2108.   SV_INITFILETABLE_INFOLEVEL                   = (PARMNUM_BASE_INFOLEVEL + SV_INITFILETABLE_PARMNUM);
  2109.   {$EXTERNALSYM SV_INITFILETABLE_INFOLEVEL}
  2110.   SV_INITSEARCHTABLE_INFOLEVEL                 = (PARMNUM_BASE_INFOLEVEL + SV_INITSEARCHTABLE_PARMNUM);
  2111.   {$EXTERNALSYM SV_INITSEARCHTABLE_INFOLEVEL}
  2112.   SV_ALERTSCHEDULE_INFOLEVEL                   = (PARMNUM_BASE_INFOLEVEL + SV_ALERTSCHEDULE_PARMNUM);
  2113.   {$EXTERNALSYM SV_ALERTSCHEDULE_INFOLEVEL}
  2114.   SV_ERRORTHRESHOLD_INFOLEVEL                  = (PARMNUM_BASE_INFOLEVEL + SV_ERRORTHRESHOLD_PARMNUM);
  2115.   {$EXTERNALSYM SV_ERRORTHRESHOLD_INFOLEVEL}
  2116.   SV_NETWORKERRORTHRESHOLD_INFOLEVEL           = (PARMNUM_BASE_INFOLEVEL + SV_NETWORKERRORTHRESHOLD_PARMNUM);
  2117.   {$EXTERNALSYM SV_NETWORKERRORTHRESHOLD_INFOLEVEL}
  2118.   SV_DISKSPACETHRESHOLD_INFOLEVEL              = (PARMNUM_BASE_INFOLEVEL + SV_DISKSPACETHRESHOLD_PARMNUM);
  2119.   {$EXTERNALSYM SV_DISKSPACETHRESHOLD_INFOLEVEL}
  2120.   SV_MAXLINKDELAY_INFOLEVEL                    = (PARMNUM_BASE_INFOLEVEL + SV_MAXLINKDELAY_PARMNUM);
  2121.   {$EXTERNALSYM SV_MAXLINKDELAY_INFOLEVEL}
  2122.   SV_MINLINKTHROUGHPUT_INFOLEVEL               = (PARMNUM_BASE_INFOLEVEL + SV_MINLINKTHROUGHPUT_PARMNUM);
  2123.   {$EXTERNALSYM SV_MINLINKTHROUGHPUT_INFOLEVEL}
  2124.   SV_LINKINFOVALIDTIME_INFOLEVEL               = (PARMNUM_BASE_INFOLEVEL + SV_LINKINFOVALIDTIME_PARMNUM);
  2125.   {$EXTERNALSYM SV_LINKINFOVALIDTIME_INFOLEVEL}
  2126.   SV_SCAVQOSINFOUPDATETIME_INFOLEVEL           = (PARMNUM_BASE_INFOLEVEL + SV_SCAVQOSINFOUPDATETIME_PARMNUM);
  2127.   {$EXTERNALSYM SV_SCAVQOSINFOUPDATETIME_INFOLEVEL}
  2128.   SV_MAXWORKITEMIDLETIME_INFOLEVEL             = (PARMNUM_BASE_INFOLEVEL + SV_MAXWORKITEMIDLETIME_PARMNUM);
  2129.   {$EXTERNALSYM SV_MAXWORKITEMIDLETIME_INFOLEVEL}
  2130.   SV_MAXRAWWORKITEMS_INFOLOEVEL                = (PARMNUM_BASE_INFOLEVEL + SV_MAXRAWWORKITEMS_PARMNUM);
  2131.   {$EXTERNALSYM SV_MAXRAWWORKITEMS_INFOLOEVEL}
  2132.   SV_PRODUCTTYPE_INFOLOEVEL                    = (PARMNUM_BASE_INFOLEVEL + SV_PRODUCTTYPE_PARMNUM);
  2133.   {$EXTERNALSYM SV_PRODUCTTYPE_INFOLOEVEL}
  2134.   SV_SERVERSIZE_INFOLOEVEL                     = (PARMNUM_BASE_INFOLEVEL + SV_SERVERSIZE_PARMNUM);
  2135.   {$EXTERNALSYM SV_SERVERSIZE_INFOLOEVEL}
  2136.   SV_CONNECTIONLESSAUTODISC_INFOLOEVEL         = (PARMNUM_BASE_INFOLEVEL + SV_CONNECTIONLESSAUTODISC_PARMNUM);
  2137.   {$EXTERNALSYM SV_CONNECTIONLESSAUTODISC_INFOLOEVEL}
  2138.   SV_SHARINGVIOLATIONRETRIES_INFOLOEVEL        = (PARMNUM_BASE_INFOLEVEL + SV_SHARINGVIOLATIONRETRIES_PARMNUM);
  2139.   {$EXTERNALSYM SV_SHARINGVIOLATIONRETRIES_INFOLOEVEL}
  2140.   SV_SHARINGVIOLATIONDELAY_INFOLOEVEL          = (PARMNUM_BASE_INFOLEVEL + SV_SHARINGVIOLATIONDELAY_PARMNUM);
  2141.   {$EXTERNALSYM SV_SHARINGVIOLATIONDELAY_INFOLOEVEL}
  2142.   SV_MAXGLOBALOPENSEARCH_INFOLOEVEL            = (PARMNUM_BASE_INFOLEVEL + SV_MAXGLOBALOPENSEARCH_PARMNUM);
  2143.   {$EXTERNALSYM SV_MAXGLOBALOPENSEARCH_INFOLOEVEL}
  2144.   SV_REMOVEDUPLICATESEARCHES_INFOLOEVEL        = (PARMNUM_BASE_INFOLEVEL + SV_REMOVEDUPLICATESEARCHES_PARMNUM);
  2145.   {$EXTERNALSYM SV_REMOVEDUPLICATESEARCHES_INFOLOEVEL}
  2146.   SV_LOCKVIOLATIONRETRIES_INFOLOEVEL           = (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONRETRIES_PARMNUM);
  2147.   {$EXTERNALSYM SV_LOCKVIOLATIONRETRIES_INFOLOEVEL}
  2148.   SV_LOCKVIOLATIONOFFSET_INFOLOEVEL            = (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONOFFSET_PARMNUM);
  2149.   {$EXTERNALSYM SV_LOCKVIOLATIONOFFSET_INFOLOEVEL}
  2150.   SV_LOCKVIOLATIONDELAY_INFOLOEVEL             = (PARMNUM_BASE_INFOLEVEL + SV_LOCKVIOLATIONDELAY_PARMNUM);
  2151.   {$EXTERNALSYM SV_LOCKVIOLATIONDELAY_INFOLOEVEL}
  2152.   SV_MDLREADSWITCHOVER_INFOLOEVEL              = (PARMNUM_BASE_INFOLEVEL + SV_MDLREADSWITCHOVER_PARMNUM);
  2153.   {$EXTERNALSYM SV_MDLREADSWITCHOVER_INFOLOEVEL}
  2154.   SV_CACHEDOPENLIMIT_INFOLOEVEL                = (PARMNUM_BASE_INFOLEVEL + SV_CACHEDOPENLIMIT_PARMNUM);
  2155.   {$EXTERNALSYM SV_CACHEDOPENLIMIT_INFOLOEVEL}
  2156.   SV_CRITICALTHREADS_INFOLOEVEL                = (PARMNUM_BASE_INFOLEVEL + SV_CRITICALTHREADS_PARMNUM);
  2157.   {$EXTERNALSYM SV_CRITICALTHREADS_INFOLOEVEL}
  2158.   SV_RESTRICTNULLSESSACCESS_INFOLOEVEL         = (PARMNUM_BASE_INFOLEVEL + SV_RESTRICTNULLSESSACCESS_PARMNUM);
  2159.   {$EXTERNALSYM SV_RESTRICTNULLSESSACCESS_INFOLOEVEL}
  2160.   SV_ENABLEWFW311DIRECTIPX_INFOLOEVEL          = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEWFW311DIRECTIPX_PARMNUM);
  2161.   {$EXTERNALSYM SV_ENABLEWFW311DIRECTIPX_INFOLOEVEL}
  2162.   SV_OTHERQUEUEAFFINITY_INFOLEVEL              = (PARMNUM_BASE_INFOLEVEL + SV_OTHERQUEUEAFFINITY_PARMNUM);
  2163.   {$EXTERNALSYM SV_OTHERQUEUEAFFINITY_INFOLEVEL}
  2164.   SV_QUEUESAMPLESECS_INFOLEVEL                 = (PARMNUM_BASE_INFOLEVEL + SV_QUEUESAMPLESECS_PARMNUM);
  2165.   {$EXTERNALSYM SV_QUEUESAMPLESECS_INFOLEVEL}
  2166.   SV_BALANCECOUNT_INFOLEVEL                    = (PARMNUM_BASE_INFOLEVEL + SV_BALANCECOUNT_PARMNUM);
  2167.   {$EXTERNALSYM SV_BALANCECOUNT_INFOLEVEL}
  2168.   SV_PREFERREDAFFINITY_INFOLEVEL               = (PARMNUM_BASE_INFOLEVEL + SV_PREFERREDAFFINITY_PARMNUM);
  2169.   {$EXTERNALSYM SV_PREFERREDAFFINITY_INFOLEVEL}
  2170.   SV_MAXFREERFCBS_INFOLEVEL                    = (PARMNUM_BASE_INFOLEVEL + SV_MAXFREERFCBS_PARMNUM);
  2171.   {$EXTERNALSYM SV_MAXFREERFCBS_INFOLEVEL}
  2172.   SV_MAXFREEMFCBS_INFOLEVEL                    = (PARMNUM_BASE_INFOLEVEL + SV_MAXFREEMFCBS_PARMNUM);
  2173.   {$EXTERNALSYM SV_MAXFREEMFCBS_INFOLEVEL}
  2174.   SV_MAXFREELFCBS_INFOLEVEL                    = (PARMNUM_BASE_INFOLEVEL + SV_MAXFREELFCBS_PARMNUM);
  2175.   {$EXTERNALSYM SV_MAXFREELFCBS_INFOLEVEL}
  2176.   SV_MAXFREEPAGEDPOOLCHUNKS_INFOLEVEL          = (PARMNUM_BASE_INFOLEVEL + SV_MAXFREEPAGEDPOOLCHUNKS_PARMNUM);
  2177.   {$EXTERNALSYM SV_MAXFREEPAGEDPOOLCHUNKS_INFOLEVEL}
  2178.   SV_MINPAGEDPOOLCHUNKSIZE_INFOLEVEL           = (PARMNUM_BASE_INFOLEVEL + SV_MINPAGEDPOOLCHUNKSIZE_PARMNUM);
  2179.   {$EXTERNALSYM SV_MINPAGEDPOOLCHUNKSIZE_INFOLEVEL}
  2180.   SV_MAXPAGEDPOOLCHUNKSIZE_INFOLEVEL           = (PARMNUM_BASE_INFOLEVEL + SV_MAXPAGEDPOOLCHUNKSIZE_PARMNUM);
  2181.   {$EXTERNALSYM SV_MAXPAGEDPOOLCHUNKSIZE_INFOLEVEL}
  2182.   SV_SENDSFROMPREFERREDPROCESSOR_INFOLEVEL     = (PARMNUM_BASE_INFOLEVEL + SV_SENDSFROMPREFERREDPROCESSOR_PARMNUM);
  2183.   {$EXTERNALSYM SV_SENDSFROMPREFERREDPROCESSOR_INFOLEVEL}
  2184.   SV_MAXTHREADSPERQUEUE_INFOLEVEL              = (PARMNUM_BASE_INFOLEVEL + SV_MAXTHREADSPERQUEUE_PARMNUM);
  2185.   {$EXTERNALSYM SV_MAXTHREADSPERQUEUE_INFOLEVEL}
  2186.   SV_CACHEDDIRECTORYLIMIT_INFOLEVEL            = (PARMNUM_BASE_INFOLEVEL + SV_CACHEDDIRECTORYLIMIT_PARMNUM);
  2187.   {$EXTERNALSYM SV_CACHEDDIRECTORYLIMIT_INFOLEVEL}
  2188.   SV_MAXCOPYLENGTH_INFOLEVEL                   = (PARMNUM_BASE_INFOLEVEL + SV_MAXCOPYLENGTH_PARMNUM);
  2189.   {$EXTERNALSYM SV_MAXCOPYLENGTH_INFOLEVEL}
  2190.   SV_ENABLECOMPRESSION_INFOLEVEL               = (PARMNUM_BASE_INFOLEVEL + SV_ENABLECOMPRESSION_PARMNUM);
  2191.   {$EXTERNALSYM SV_ENABLECOMPRESSION_INFOLEVEL}
  2192.   SV_AUTOSHAREWKS_INFOLEVEL                    = (PARMNUM_BASE_INFOLEVEL + SV_AUTOSHAREWKS_PARMNUM);
  2193.   {$EXTERNALSYM SV_AUTOSHAREWKS_INFOLEVEL}
  2194.   SV_AUTOSHARESERVER_INFOLEVEL                 = (PARMNUM_BASE_INFOLEVEL + SV_AUTOSHARESERVER_PARMNUM);
  2195.   {$EXTERNALSYM SV_AUTOSHARESERVER_INFOLEVEL}
  2196.   SV_ENABLESECURITYSIGNATURE_INFOLEVEL         = (PARMNUM_BASE_INFOLEVEL + SV_ENABLESECURITYSIGNATURE_PARMNUM);
  2197.   {$EXTERNALSYM SV_ENABLESECURITYSIGNATURE_INFOLEVEL}
  2198.   SV_REQUIRESECURITYSIGNATURE_INFOLEVEL        = (PARMNUM_BASE_INFOLEVEL + SV_REQUIRESECURITYSIGNATURE_PARMNUM);
  2199.   {$EXTERNALSYM SV_REQUIRESECURITYSIGNATURE_INFOLEVEL}
  2200.   SV_MINCLIENTBUFFERSIZE_INFOLEVEL             = (PARMNUM_BASE_INFOLEVEL + SV_MINCLIENTBUFFERSIZE_PARMNUM);
  2201.   {$EXTERNALSYM SV_MINCLIENTBUFFERSIZE_INFOLEVEL}
  2202.   SV_CONNECTIONNOSESSIONSTIMEOUT_INFOLEVEL     = (PARMNUM_BASE_INFOLEVEL + SV_CONNECTIONNOSESSIONSTIMEOUT_PARMNUM);
  2203.   {$EXTERNALSYM SV_CONNECTIONNOSESSIONSTIMEOUT_INFOLEVEL}
  2204.   SV_IDLETHREADTIMEOUT_INFOLEVEL               = (PARMNUM_BASE_INFOLEVEL + SV_IDLETHREADTIMEOUT_PARMNUM);
  2205.   {$EXTERNALSYM SV_IDLETHREADTIMEOUT_INFOLEVEL}
  2206.   SV_ENABLEW9XSECURITYSIGNATURE_INFOLEVEL      = (PARMNUM_BASE_INFOLEVEL + SV_ENABLEW9XSECURITYSIGNATURE_PARMNUM);
  2207.   {$EXTERNALSYM SV_ENABLEW9XSECURITYSIGNATURE_INFOLEVEL}
  2208.   SV_ENFORCEKERBEROSREAUTHENTICATION_INFOLEVEL = (PARMNUM_BASE_INFOLEVEL + SV_ENFORCEKERBEROSREAUTHENTICATION_PARMNUM);
  2209.   {$EXTERNALSYM SV_ENFORCEKERBEROSREAUTHENTICATION_INFOLEVEL}
  2210.   SV_DISABLEDOS_INFOLEVEL                      = (PARMNUM_BASE_INFOLEVEL + SV_DISABLEDOS_PARMNUM);
  2211.   {$EXTERNALSYM SV_DISABLEDOS_INFOLEVEL}
  2212.   SV_LOWDISKSPACEMINIMUM_INFOLEVEL             = (PARMNUM_BASE_INFOLEVEL + SV_LOWDISKSPACEMINIMUM_PARMNUM);
  2213.   {$EXTERNALSYM SV_LOWDISKSPACEMINIMUM_INFOLEVEL}
  2214.   SV_DISABLESTRICTNAMECHECKING_INFOLEVEL       = (PARMNUM_BASE_INFOLEVEL + SV_DISABLESTRICTNAMECHECKING_PARMNUM);
  2215.   {$EXTERNALSYM SV_DISABLESTRICTNAMECHECKING_INFOLEVEL}
  2216.   SVI1_NUM_ELEMENTS = 5;
  2217.   {$EXTERNALSYM SVI1_NUM_ELEMENTS}
  2218.   SVI2_NUM_ELEMENTS = 40;
  2219.   {$EXTERNALSYM SVI2_NUM_ELEMENTS}
  2220.   SVI3_NUM_ELEMENTS = 44;
  2221.   {$EXTERNALSYM SVI3_NUM_ELEMENTS}
  2222. //
  2223. //      Maxmimum length for command string to NetServerAdminCommand.
  2224. //
  2225.   SV_MAX_CMD_LEN = PATHLEN;
  2226.   {$EXTERNALSYM SV_MAX_CMD_LEN}
  2227. //
  2228. //      Masks describing AUTOPROFILE parameters
  2229. //
  2230.   SW_AUTOPROF_LOAD_MASK = $1;
  2231.   {$EXTERNALSYM SW_AUTOPROF_LOAD_MASK}
  2232.   SW_AUTOPROF_SAVE_MASK = $2;
  2233.   {$EXTERNALSYM SW_AUTOPROF_SAVE_MASK}
  2234. //
  2235. //      Max size of svX_srvheuristics.
  2236. //
  2237.   SV_MAX_SRV_HEUR_LEN = 32; // Max heuristics info string length.
  2238.   {$EXTERNALSYM SV_MAX_SRV_HEUR_LEN}
  2239. //
  2240. //      Equate for use with sv102_licenses.
  2241. //
  2242.   SV_USERS_PER_LICENSE = 5;
  2243.   {$EXTERNALSYM SV_USERS_PER_LICENSE}
  2244. //
  2245. // Equate for use with svti2_flags in NetServerTransportAddEx.
  2246. //
  2247.   SVTI2_REMAP_PIPE_NAMES = $2;
  2248.   {$EXTERNALSYM SVTI2_REMAP_PIPE_NAMES}
  2249. implementation
  2250. {$IFDEF DYNAMIC_LINK}
  2251. var
  2252.   _NetServerEnum: Pointer;
  2253. function NetServerEnum;
  2254. begin
  2255.   GetProcedureAddress(_NetServerEnum, netapi32, 'NetServerEnum');
  2256.   asm
  2257.     mov esp, ebp
  2258.     pop ebp
  2259.     jmp [_NetServerEnum]
  2260.   end;
  2261. end;
  2262. {$ELSE}
  2263. function NetServerEnum; external netapi32 name 'NetServerEnum';
  2264. {$ENDIF DYNAMIC_LINK}
  2265. {$IFDEF DYNAMIC_LINK}
  2266. var
  2267.   _NetServerEnumEx: Pointer;
  2268. function NetServerEnumEx;
  2269. begin
  2270.   GetProcedureAddress(_NetServerEnumEx, netapi32, 'NetServerEnumEx');
  2271.   asm
  2272.     mov esp, ebp
  2273.     pop ebp
  2274.     jmp [_NetServerEnumEx]
  2275.   end;
  2276. end;
  2277. {$ELSE}
  2278. function NetServerEnumEx; external netapi32 name 'NetServerEnumEx';
  2279. {$ENDIF DYNAMIC_LINK}
  2280. {$IFDEF DYNAMIC_LINK}
  2281. var
  2282.   _NetServerGetInfo: Pointer;
  2283. function NetServerGetInfo;
  2284. begin
  2285.   GetProcedureAddress(_NetServerGetInfo, netapi32, 'NetServerGetInfo');
  2286.   asm
  2287.     mov esp, ebp
  2288.     pop ebp
  2289.     jmp [_NetServerGetInfo]
  2290.   end;
  2291. end;
  2292. {$ELSE}
  2293. function NetServerGetInfo; external netapi32 name 'NetServerGetInfo';
  2294. {$ENDIF DYNAMIC_LINK}
  2295. {$IFDEF DYNAMIC_LINK}
  2296. var
  2297.   _NetServerSetInfo: Pointer;
  2298. function NetServerSetInfo;
  2299. begin
  2300.   GetProcedureAddress(_NetServerSetInfo, netapi32, 'NetServerSetInfo');
  2301.   asm
  2302.     mov esp, ebp
  2303.     pop ebp
  2304.     jmp [_NetServerSetInfo]
  2305.   end;
  2306. end;
  2307. {$ELSE}
  2308. function NetServerSetInfo; external netapi32 name 'NetServerSetInfo';
  2309. {$ENDIF DYNAMIC_LINK}
  2310. {$IFDEF DYNAMIC_LINK}
  2311. var
  2312.   _NetServerSetInfoCommandLine: Pointer;
  2313. function NetServerSetInfoCommandLine;
  2314. begin
  2315.   GetProcedureAddress(_NetServerSetInfoCommandLine, netapi32, 'NetServerSetInfoCommandLine');
  2316.   asm
  2317.     mov esp, ebp
  2318.     pop ebp
  2319.     jmp [_NetServerSetInfoCommandLine]
  2320.   end;
  2321. end;
  2322. {$ELSE}
  2323. function NetServerSetInfoCommandLine; external netapi32 name 'NetServerSetInfoCommandLine';
  2324. {$ENDIF DYNAMIC_LINK}
  2325. {$IFDEF DYNAMIC_LINK}
  2326. var
  2327.   _NetServerDiskEnum: Pointer;
  2328. function NetServerDiskEnum;
  2329. begin
  2330.   GetProcedureAddress(_NetServerDiskEnum, netapi32, 'NetServerDiskEnum');
  2331.   asm
  2332.     mov esp, ebp
  2333.     pop ebp
  2334.     jmp [_NetServerDiskEnum]
  2335.   end;
  2336. end;
  2337. {$ELSE}
  2338. function NetServerDiskEnum; external netapi32 name 'NetServerDiskEnum';
  2339. {$ENDIF DYNAMIC_LINK}
  2340. {$IFDEF DYNAMIC_LINK}
  2341. var
  2342.   _NetServerComputerNameAdd: Pointer;
  2343. function NetServerComputerNameAdd;
  2344. begin
  2345.   GetProcedureAddress(_NetServerComputerNameAdd, netapi32, 'NetServerComputerNameAdd');
  2346.   asm
  2347.     mov esp, ebp
  2348.     pop ebp
  2349.     jmp [_NetServerComputerNameAdd]
  2350.   end;
  2351. end;
  2352. {$ELSE}
  2353. function NetServerComputerNameAdd; external netapi32 name 'NetServerComputerNameAdd';
  2354. {$ENDIF DYNAMIC_LINK}
  2355. {$IFDEF DYNAMIC_LINK}
  2356. var
  2357.   _NetServerComputerNameDel: Pointer;
  2358. function NetServerComputerNameDel;
  2359. begin
  2360.   GetProcedureAddress(_NetServerComputerNameDel, netapi32, 'NetServerComputerNameDel');
  2361.   asm
  2362.     mov esp, ebp
  2363.     pop ebp
  2364.     jmp [_NetServerComputerNameDel]
  2365.   end;
  2366. end;
  2367. {$ELSE}
  2368. function NetServerComputerNameDel; external netapi32 name 'NetServerComputerNameDel';
  2369. {$ENDIF DYNAMIC_LINK}
  2370. {$IFDEF DYNAMIC_LINK}
  2371. var
  2372.   _NetServerTransportAdd: Pointer;
  2373. function NetServerTransportAdd;
  2374. begin
  2375.   GetProcedureAddress(_NetServerTransportAdd, netapi32, 'NetServerTransportAdd');
  2376.   asm
  2377.     mov esp, ebp
  2378.     pop ebp
  2379.     jmp [_NetServerTransportAdd]
  2380.   end;
  2381. end;
  2382. {$ELSE}
  2383. function NetServerTransportAdd; external netapi32 name 'NetServerTransportAdd';
  2384. {$ENDIF DYNAMIC_LINK}
  2385. {$IFDEF DYNAMIC_LINK}
  2386. var
  2387.   _NetServerTransportAddEx: Pointer;
  2388. function NetServerTransportAddEx;
  2389. begin
  2390.   GetProcedureAddress(_NetServerTransportAddEx, netapi32, 'NetServerTransportAddEx');
  2391.   asm
  2392.     mov esp, ebp
  2393.     pop ebp
  2394.     jmp [_NetServerTransportAddEx]
  2395.   end;
  2396. end;
  2397. {$ELSE}
  2398. function NetServerTransportAddEx; external netapi32 name 'NetServerTransportAddEx';
  2399. {$ENDIF DYNAMIC_LINK}
  2400. {$IFDEF DYNAMIC_LINK}
  2401. var
  2402.   _NetServerTransportDel: Pointer;
  2403. function NetServerTransportDel;
  2404. begin
  2405.   GetProcedureAddress(_NetServerTransportDel, netapi32, 'NetServerTransportDel');
  2406.   asm
  2407.     mov esp, ebp
  2408.     pop ebp
  2409.     jmp [_NetServerTransportDel]
  2410.   end;
  2411. end;
  2412. {$ELSE}
  2413. function NetServerTransportDel; external netapi32 name 'NetServerTransportDel';
  2414. {$ENDIF DYNAMIC_LINK}
  2415. {$IFDEF DYNAMIC_LINK}
  2416. var
  2417.   _NetServerTransportEnum: Pointer;
  2418. function NetServerTransportEnum;
  2419. begin
  2420.   GetProcedureAddress(_NetServerTransportEnum, netapi32, 'NetServerTransportEnum');
  2421.   asm
  2422.     mov esp, ebp
  2423.     pop ebp
  2424.     jmp [_NetServerTransportEnum]
  2425.   end;
  2426. end;
  2427. {$ELSE}
  2428. function NetServerTransportEnum; external netapi32 name 'NetServerTransportEnum';
  2429. {$ENDIF DYNAMIC_LINK}
  2430. {$IFDEF DYNAMIC_LINK}
  2431. var
  2432.   _SetServiceBits: Pointer;
  2433. function SetServiceBits;
  2434. begin
  2435.   GetProcedureAddress(_SetServiceBits, netapi32, 'SetServiceBits');
  2436.   asm
  2437.     mov esp, ebp
  2438.     pop ebp
  2439.     jmp [_SetServiceBits]
  2440.   end;
  2441. end;
  2442. {$ELSE}
  2443. function SetServiceBits; external netapi32 name 'SetServiceBits';
  2444. {$ENDIF DYNAMIC_LINK}
  2445. end.