jwalmerr.pas 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929
  1. {******************************************************************************}
  2. { }
  3. { Lan Manager Error 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: lmerr.h, released November 2001. The original Pascal }
  9. { code is: LmErr.pas, released Februari 2002. The initial developer of the }
  10. { Pascal code is Marcel van Brakel (brakelm att chello dott 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 }
  18. { APILIB home page, located at http://jedi-apilib.sourceforge.net }
  19. { }
  20. { The contents of this file are used with permission, subject to the Mozilla }
  21. { Public License Version 1.1 (the "License"); you may not use this file except }
  22. { in compliance with the License. You may obtain a copy of the License at }
  23. { http://www.mozilla.org/MPL/MPL-1.1.html }
  24. { }
  25. { Software distributed under the License is distributed on an "AS IS" basis, }
  26. { WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
  27. { the specific language governing rights and limitations under the License. }
  28. { }
  29. { Alternatively, the contents of this file may be used under the terms of the }
  30. { GNU Lesser General Public License (the "LGPL License"), in which case the }
  31. { provisions of the LGPL License are applicable instead of those above. }
  32. { If you wish to allow use of your version of this file only under the terms }
  33. { of the LGPL License and not to allow others to use your version of this file }
  34. { under the MPL, indicate your decision by deleting the provisions above and }
  35. { replace them with the notice and other provisions required by the LGPL }
  36. { License. If you do not delete the provisions above, a recipient may use }
  37. { your version of this file under either the MPL or the LGPL License. }
  38. { }
  39. { For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
  40. { }
  41. {******************************************************************************}
  42. unit JwaLmErr;
  43. {$WEAKPACKAGEUNIT}
  44. {$HPPEMIT ''}
  45. {$HPPEMIT '#include "lmerr.h"'}
  46. {$HPPEMIT ''}
  47. {$I jediapilib.inc}
  48. interface
  49. const
  50. NERR_Success = 0; // Success
  51. {$EXTERNALSYM NERR_Success}
  52. // ERROR_ equates can be intermixed with NERR_ equates.
  53. // NERR_BASE is the base of error codes from network utilities,
  54. // chosen to avoid conflict with system and redirector error codes.
  55. // 2100 is a value that has been assigned to us by system.
  56. NERR_BASE = 2100;
  57. {$EXTERNALSYM NERR_BASE}
  58. //*INTERNAL_ONLY*
  59. {**********WARNING *****************
  60. *See the comment in lmcons.h for *
  61. *info on the allocation of errors *
  62. ***********************************}
  63. {**********WARNING *****************
  64. *The range 2750-2799 has been *
  65. *allocated to the IBM LAN Server *
  66. ***********************************}
  67. {**********WARNING *****************
  68. *The range 2900-2999 has been *
  69. *reserved for Microsoft OEMs *
  70. ***********************************}
  71. // UNUSED BASE+0
  72. // UNUSED BASE+1
  73. NERR_NetNotStarted = NERR_BASE + 2; // The workstation driver is not installed.
  74. {$EXTERNALSYM NERR_NetNotStarted}
  75. NERR_UnknownServer = NERR_BASE + 3; // The server could not be located.
  76. {$EXTERNALSYM NERR_UnknownServer}
  77. NERR_ShareMem = NERR_BASE + 4; // An internal error occurred. The network cannot access a shared memory segment.
  78. {$EXTERNALSYM NERR_ShareMem}
  79. NERR_NoNetworkResource = NERR_BASE + 5; // A network resource shortage occurred .
  80. {$EXTERNALSYM NERR_NoNetworkResource}
  81. NERR_RemoteOnly = NERR_BASE + 6; // This operation is not supported on workstations.
  82. {$EXTERNALSYM NERR_RemoteOnly}
  83. NERR_DevNotRedirected = NERR_BASE + 7; // The device is not connected.
  84. {$EXTERNALSYM NERR_DevNotRedirected}
  85. // NERR_BASE+8 is used for ERROR_CONNECTED_OTHER_PASSWORD
  86. // NERR_BASE+9 is used for ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT
  87. // UNUSED BASE+10
  88. // UNUSED BASE+11
  89. // UNUSED BASE+12
  90. // UNUSED BASE+13
  91. NERR_ServerNotStarted = NERR_BASE + 14; // The Server service is not started.
  92. {$EXTERNALSYM NERR_ServerNotStarted}
  93. NERR_ItemNotFound = NERR_BASE + 15; // The queue is empty.
  94. {$EXTERNALSYM NERR_ItemNotFound}
  95. NERR_UnknownDevDir = NERR_BASE + 16; // The device or directory does not exist.
  96. {$EXTERNALSYM NERR_UnknownDevDir}
  97. NERR_RedirectedPath = NERR_BASE + 17; // The operation is invalid on a redirected resource.
  98. {$EXTERNALSYM NERR_RedirectedPath}
  99. NERR_DuplicateShare = NERR_BASE + 18; // The name has already been shared.
  100. {$EXTERNALSYM NERR_DuplicateShare}
  101. NERR_NoRoom = NERR_BASE + 19; // The server is currently out of the requested resource.
  102. {$EXTERNALSYM NERR_NoRoom}
  103. // UNUSED BASE+20
  104. NERR_TooManyItems = NERR_BASE + 21; // Requested addition of items exceeds the maximum allowed.
  105. {$EXTERNALSYM NERR_TooManyItems}
  106. NERR_InvalidMaxUsers = NERR_BASE + 22; // The Peer service supports only two simultaneous users.
  107. {$EXTERNALSYM NERR_InvalidMaxUsers}
  108. NERR_BufTooSmall = NERR_BASE + 23; // The API return buffer is too small.
  109. {$EXTERNALSYM NERR_BufTooSmall}
  110. // UNUSED BASE+24
  111. // UNUSED BASE+25
  112. // UNUSED BASE+26
  113. NERR_RemoteErr = NERR_BASE + 27; // A remote API error occurred.
  114. {$EXTERNALSYM NERR_RemoteErr}
  115. // UNUSED BASE+28
  116. // UNUSED BASE+29
  117. // UNUSED BASE+30
  118. NERR_LanmanIniError = NERR_BASE + 31; // An error occurred when opening or reading the configuration file.
  119. {$EXTERNALSYM NERR_LanmanIniError}
  120. // UNUSED BASE+32
  121. // UNUSED BASE+33
  122. // UNUSED BASE+34
  123. // UNUSED BASE+35
  124. NERR_NetworkError = NERR_BASE + 36; // A general network error occurred.
  125. {$EXTERNALSYM NERR_NetworkError}
  126. NERR_WkstaInconsistentState = NERR_BASE + 37;
  127. {$EXTERNALSYM NERR_WkstaInconsistentState}
  128. // The Workstation service is in an inconsistent state. Restart the computer before restarting the Workstation service.
  129. NERR_WkstaNotStarted = NERR_BASE + 38; // The Workstation service has not been started.
  130. {$EXTERNALSYM NERR_WkstaNotStarted}
  131. NERR_BrowserNotStarted = NERR_BASE + 39; // The requested information is not available.
  132. {$EXTERNALSYM NERR_BrowserNotStarted}
  133. NERR_InternalError = NERR_BASE + 40; // An internal Windows 2000 error occurred.
  134. {$EXTERNALSYM NERR_InternalError}
  135. NERR_BadTransactConfig = NERR_BASE + 41; // The server is not configured for transactions.
  136. {$EXTERNALSYM NERR_BadTransactConfig}
  137. NERR_InvalidAPI = NERR_BASE + 42; // The requested API is not supported on the remote server.
  138. {$EXTERNALSYM NERR_InvalidAPI}
  139. NERR_BadEventName = NERR_BASE + 43; // The event name is invalid.
  140. {$EXTERNALSYM NERR_BadEventName}
  141. NERR_DupNameReboot = NERR_BASE + 44; // The computer name already exists on the network. Change it and restart the computer.
  142. {$EXTERNALSYM NERR_DupNameReboot}
  143. //
  144. // Config API related
  145. // Error codes from BASE+45 to BASE+49
  146. // UNUSED BASE+45
  147. NERR_CfgCompNotFound = NERR_BASE + 46; // The specified component could not be found in the configuration information.
  148. {$EXTERNALSYM NERR_CfgCompNotFound}
  149. NERR_CfgParamNotFound = NERR_BASE + 47; // The specified parameter could not be found in the configuration information.
  150. {$EXTERNALSYM NERR_CfgParamNotFound}
  151. NERR_LineTooLong = NERR_BASE + 49; // A line in the configuration file is too long.
  152. {$EXTERNALSYM NERR_LineTooLong}
  153. //
  154. // Spooler API related
  155. // Error codes from BASE+50 to BASE+79
  156. NERR_QNotFound = NERR_BASE + 50; // The printer does not exist.
  157. {$EXTERNALSYM NERR_QNotFound}
  158. NERR_JobNotFound = NERR_BASE + 51; // The print job does not exist.
  159. {$EXTERNALSYM NERR_JobNotFound}
  160. NERR_DestNotFound = NERR_BASE + 52; // The printer destination cannot be found.
  161. {$EXTERNALSYM NERR_DestNotFound}
  162. NERR_DestExists = NERR_BASE + 53; // The printer destination already exists.
  163. {$EXTERNALSYM NERR_DestExists}
  164. NERR_QExists = NERR_BASE + 54; // The printer queue already exists.
  165. {$EXTERNALSYM NERR_QExists}
  166. NERR_QNoRoom = NERR_BASE + 55; // No more printers can be added.
  167. {$EXTERNALSYM NERR_QNoRoom}
  168. NERR_JobNoRoom = NERR_BASE + 56; // No more print jobs can be added.
  169. {$EXTERNALSYM NERR_JobNoRoom}
  170. NERR_DestNoRoom = NERR_BASE + 57; // No more printer destinations can be added.
  171. {$EXTERNALSYM NERR_DestNoRoom}
  172. NERR_DestIdle = NERR_BASE + 58; // This printer destination is idle and cannot accept control operations.
  173. {$EXTERNALSYM NERR_DestIdle}
  174. NERR_DestInvalidOp = NERR_BASE + 59; // This printer destination request contains an invalid control function.
  175. {$EXTERNALSYM NERR_DestInvalidOp}
  176. NERR_ProcNoRespond = NERR_BASE + 60; // The print processor is not responding.
  177. {$EXTERNALSYM NERR_ProcNoRespond}
  178. NERR_SpoolerNotLoaded = NERR_BASE + 61; // The spooler is not running.
  179. {$EXTERNALSYM NERR_SpoolerNotLoaded}
  180. NERR_DestInvalidState = NERR_BASE + 62; // This operation cannot be performed on the print destination in its current state.
  181. {$EXTERNALSYM NERR_DestInvalidState}
  182. NERR_QInvalidState = NERR_BASE + 63; // This operation cannot be performed on the printer queue in its current state.
  183. {$EXTERNALSYM NERR_QInvalidState}
  184. NERR_JobInvalidState = NERR_BASE + 64; // This operation cannot be performed on the print job in its current state.
  185. {$EXTERNALSYM NERR_JobInvalidState}
  186. NERR_SpoolNoMemory = NERR_BASE + 65; // A spooler memory allocation failure occurred.
  187. {$EXTERNALSYM NERR_SpoolNoMemory}
  188. NERR_DriverNotFound = NERR_BASE + 66; // The device driver does not exist.
  189. {$EXTERNALSYM NERR_DriverNotFound}
  190. NERR_DataTypeInvalid = NERR_BASE + 67; // The data type is not supported by the print processor.
  191. {$EXTERNALSYM NERR_DataTypeInvalid}
  192. NERR_ProcNotFound = NERR_BASE + 68; // The print processor is not installed.
  193. {$EXTERNALSYM NERR_ProcNotFound}
  194. //
  195. // Service API related
  196. // Error codes from BASE+80 to BASE+99
  197. NERR_ServiceTableLocked = NERR_BASE + 80; // The service database is locked.
  198. {$EXTERNALSYM NERR_ServiceTableLocked}
  199. NERR_ServiceTableFull = NERR_BASE + 81; // The service table is full.
  200. {$EXTERNALSYM NERR_ServiceTableFull}
  201. NERR_ServiceInstalled = NERR_BASE + 82; // The requested service has already been started.
  202. {$EXTERNALSYM NERR_ServiceInstalled}
  203. NERR_ServiceEntryLocked = NERR_BASE + 83; // The service does not respond to control actions.
  204. {$EXTERNALSYM NERR_ServiceEntryLocked}
  205. NERR_ServiceNotInstalled = NERR_BASE + 84; // The service has not been started.
  206. {$EXTERNALSYM NERR_ServiceNotInstalled}
  207. NERR_BadServiceName = NERR_BASE + 85; // The service name is invalid.
  208. {$EXTERNALSYM NERR_BadServiceName}
  209. NERR_ServiceCtlTimeout = NERR_BASE + 86; // The service is not responding to the control function.
  210. {$EXTERNALSYM NERR_ServiceCtlTimeout}
  211. NERR_ServiceCtlBusy = NERR_BASE + 87; // The service control is busy.
  212. {$EXTERNALSYM NERR_ServiceCtlBusy}
  213. NERR_BadServiceProgName = NERR_BASE + 88; // The configuration file contains an invalid service program name.
  214. {$EXTERNALSYM NERR_BadServiceProgName}
  215. NERR_ServiceNotCtrl = NERR_BASE + 89; // The service could not be controlled in its present state.
  216. {$EXTERNALSYM NERR_ServiceNotCtrl}
  217. NERR_ServiceKillProc = NERR_BASE + 90; // The service ended abnormally.
  218. {$EXTERNALSYM NERR_ServiceKillProc}
  219. NERR_ServiceCtlNotValid = NERR_BASE + 91; // The requested pause,continue, or stop is not valid for this service.
  220. {$EXTERNALSYM NERR_ServiceCtlNotValid}
  221. NERR_NotInDispatchTbl = NERR_BASE + 92; // The service control dispatcher could not find the service name in the dispatch table.
  222. {$EXTERNALSYM NERR_NotInDispatchTbl}
  223. NERR_BadControlRecv = NERR_BASE + 93; // The service control dispatcher pipe read failed.
  224. {$EXTERNALSYM NERR_BadControlRecv}
  225. NERR_ServiceNotStarting = NERR_BASE + 94; // A thread for the new service could not be created.
  226. {$EXTERNALSYM NERR_ServiceNotStarting}
  227. //
  228. // Wksta and Logon API related
  229. // Error codes from BASE+100 to BASE+118
  230. NERR_AlreadyLoggedOn = NERR_BASE + 100; // This workstation is already logged on to the local-area network.
  231. {$EXTERNALSYM NERR_AlreadyLoggedOn}
  232. NERR_NotLoggedOn = NERR_BASE + 101; // The workstation is not logged on to the local-area network.
  233. {$EXTERNALSYM NERR_NotLoggedOn}
  234. NERR_BadUsername = NERR_BASE + 102; // The user name or group name parameter is invalid.
  235. {$EXTERNALSYM NERR_BadUsername}
  236. NERR_BadPassword = NERR_BASE + 103; // The password parameter is invalid.
  237. {$EXTERNALSYM NERR_BadPassword}
  238. NERR_UnableToAddName_W = NERR_BASE + 104; // @W The logon processor did not add the message alias.
  239. {$EXTERNALSYM NERR_UnableToAddName_W}
  240. NERR_UnableToAddName_F = NERR_BASE + 105; // The logon processor did not add the message alias.
  241. {$EXTERNALSYM NERR_UnableToAddName_F}
  242. NERR_UnableToDelName_W = NERR_BASE + 106; // @W The logoff processor did not delete the message alias.
  243. {$EXTERNALSYM NERR_UnableToDelName_W}
  244. NERR_UnableToDelName_F = NERR_BASE + 107; // The logoff processor did not delete the message alias.
  245. {$EXTERNALSYM NERR_UnableToDelName_F}
  246. // UNUSED BASE+108
  247. NERR_LogonsPaused = NERR_BASE + 109; // Network logons are paused.
  248. {$EXTERNALSYM NERR_LogonsPaused}
  249. NERR_LogonServerConflict = NERR_BASE + 110; // A centralized logon-server conflict occurred.
  250. {$EXTERNALSYM NERR_LogonServerConflict}
  251. NERR_LogonNoUserPath = NERR_BASE + 111; // The server is configured without a valid user path.
  252. {$EXTERNALSYM NERR_LogonNoUserPath}
  253. NERR_LogonScriptError = NERR_BASE + 112; // An error occurred while loading or running the logon script.
  254. {$EXTERNALSYM NERR_LogonScriptError}
  255. // UNUSED BASE+113
  256. NERR_StandaloneLogon = NERR_BASE + 114; // The logon server was not specified. Your computer will be logged on as STANDALONE.
  257. {$EXTERNALSYM NERR_StandaloneLogon}
  258. NERR_LogonServerNotFound = NERR_BASE + 115; // The logon server could not be found.
  259. {$EXTERNALSYM NERR_LogonServerNotFound}
  260. NERR_LogonDomainExists = NERR_BASE + 116; // There is already a logon domain for this computer.
  261. {$EXTERNALSYM NERR_LogonDomainExists}
  262. NERR_NonValidatedLogon = NERR_BASE + 117; // The logon server could not validate the logon.
  263. {$EXTERNALSYM NERR_NonValidatedLogon}
  264. //
  265. // ACF API related (access, user, group)
  266. // Error codes from BASE+119 to BASE+149
  267. NERR_ACFNotFound = NERR_BASE + 119; // The security database could not be found.
  268. {$EXTERNALSYM NERR_ACFNotFound}
  269. NERR_GroupNotFound = NERR_BASE + 120; // The group name could not be found.
  270. {$EXTERNALSYM NERR_GroupNotFound}
  271. NERR_UserNotFound = NERR_BASE + 121; // The user name could not be found.
  272. {$EXTERNALSYM NERR_UserNotFound}
  273. NERR_ResourceNotFound = NERR_BASE + 122; // The resource name could not be found.
  274. {$EXTERNALSYM NERR_ResourceNotFound}
  275. NERR_GroupExists = NERR_BASE + 123; // The group already exists.
  276. {$EXTERNALSYM NERR_GroupExists}
  277. NERR_UserExists = NERR_BASE + 124; // The account already exists.
  278. {$EXTERNALSYM NERR_UserExists}
  279. NERR_ResourceExists = NERR_BASE + 125; // The resource permission list already exists.
  280. {$EXTERNALSYM NERR_ResourceExists}
  281. NERR_NotPrimary = NERR_BASE + 126; // This operation is only allowed on the primary domain controller of the domain.
  282. {$EXTERNALSYM NERR_NotPrimary}
  283. NERR_ACFNotLoaded = NERR_BASE + 127; // The security database has not been started.
  284. {$EXTERNALSYM NERR_ACFNotLoaded}
  285. NERR_ACFNoRoom = NERR_BASE + 128; // There are too many names in the user accounts database.
  286. {$EXTERNALSYM NERR_ACFNoRoom}
  287. NERR_ACFFileIOFail = NERR_BASE + 129; // A disk I/O failure occurred.
  288. {$EXTERNALSYM NERR_ACFFileIOFail}
  289. NERR_ACFTooManyLists = NERR_BASE + 130; // The limit of 64 entries per resource was exceeded.
  290. {$EXTERNALSYM NERR_ACFTooManyLists}
  291. NERR_UserLogon = NERR_BASE + 131; // Deleting a user with a session is not allowed.
  292. {$EXTERNALSYM NERR_UserLogon}
  293. NERR_ACFNoParent = NERR_BASE + 132; // The parent directory could not be located.
  294. {$EXTERNALSYM NERR_ACFNoParent}
  295. NERR_CanNotGrowSegment = NERR_BASE + 133; // Unable to add to the security database session cache segment.
  296. {$EXTERNALSYM NERR_CanNotGrowSegment}
  297. NERR_SpeGroupOp = NERR_BASE + 134; // This operation is not allowed on this special group.
  298. {$EXTERNALSYM NERR_SpeGroupOp}
  299. NERR_NotInCache = NERR_BASE + 135; // This user is not cached in user accounts database session cache.
  300. {$EXTERNALSYM NERR_NotInCache}
  301. NERR_UserInGroup = NERR_BASE + 136; // The user already belongs to this group.
  302. {$EXTERNALSYM NERR_UserInGroup}
  303. NERR_UserNotInGroup = NERR_BASE + 137; // The user does not belong to this group.
  304. {$EXTERNALSYM NERR_UserNotInGroup}
  305. NERR_AccountUndefined = NERR_BASE + 138; // This user account is undefined.
  306. {$EXTERNALSYM NERR_AccountUndefined}
  307. NERR_AccountExpired = NERR_BASE + 139; // This user account has expired.
  308. {$EXTERNALSYM NERR_AccountExpired}
  309. NERR_InvalidWorkstation = NERR_BASE + 140; // The user is not allowed to log on from this workstation.
  310. {$EXTERNALSYM NERR_InvalidWorkstation}
  311. NERR_InvalidLogonHours = NERR_BASE + 141; // The user is not allowed to log on at this time.
  312. {$EXTERNALSYM NERR_InvalidLogonHours}
  313. NERR_PasswordExpired = NERR_BASE + 142; // The password of this user has expired.
  314. {$EXTERNALSYM NERR_PasswordExpired}
  315. NERR_PasswordCantChange = NERR_BASE + 143; // The password of this user cannot change.
  316. {$EXTERNALSYM NERR_PasswordCantChange}
  317. NERR_PasswordHistConflict = NERR_BASE + 144; // This password cannot be used now.
  318. {$EXTERNALSYM NERR_PasswordHistConflict}
  319. NERR_PasswordTooShort = NERR_BASE + 145; // The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.
  320. {$EXTERNALSYM NERR_PasswordTooShort}
  321. NERR_PasswordTooRecent = NERR_BASE + 146; // The password of this user is too recent to change.
  322. {$EXTERNALSYM NERR_PasswordTooRecent}
  323. NERR_InvalidDatabase = NERR_BASE + 147; // The security database is corrupted.
  324. {$EXTERNALSYM NERR_InvalidDatabase}
  325. NERR_DatabaseUpToDate = NERR_BASE + 148; // No updates are necessary to this replicant network/local security database.
  326. {$EXTERNALSYM NERR_DatabaseUpToDate}
  327. NERR_SyncRequired = NERR_BASE + 149; // This replicant database is outdated; synchronization is required.
  328. {$EXTERNALSYM NERR_SyncRequired}
  329. //
  330. // Use API related
  331. // Error codes from BASE+150 to BASE+169
  332. NERR_UseNotFound = NERR_BASE + 150; // The network connection could not be found.
  333. {$EXTERNALSYM NERR_UseNotFound}
  334. NERR_BadAsgType = NERR_BASE + 151; // This asg_type is invalid.
  335. {$EXTERNALSYM NERR_BadAsgType}
  336. NERR_DeviceIsShared = NERR_BASE + 152; // This device is currently being shared.
  337. {$EXTERNALSYM NERR_DeviceIsShared}
  338. //
  339. // Message Server related
  340. // Error codes BASE+170 to BASE+209
  341. NERR_NoComputerName = NERR_BASE + 170; // The computer name could not be added as a message alias. The name may already exist on the network.
  342. {$EXTERNALSYM NERR_NoComputerName}
  343. NERR_MsgAlreadyStarted = NERR_BASE + 171; // The Messenger service is already started.
  344. {$EXTERNALSYM NERR_MsgAlreadyStarted}
  345. NERR_MsgInitFailed = NERR_BASE + 172; // The Messenger service failed to start.
  346. {$EXTERNALSYM NERR_MsgInitFailed}
  347. NERR_NameNotFound = NERR_BASE + 173; // The message alias could not be found on the network.
  348. {$EXTERNALSYM NERR_NameNotFound}
  349. NERR_AlreadyForwarded = NERR_BASE + 174; // This message alias has already been forwarded.
  350. {$EXTERNALSYM NERR_AlreadyForwarded}
  351. NERR_AddForwarded = NERR_BASE + 175; // This message alias has been added but is still forwarded.
  352. {$EXTERNALSYM NERR_AddForwarded}
  353. NERR_AlreadyExists = NERR_BASE + 176; // This message alias already exists locally.
  354. {$EXTERNALSYM NERR_AlreadyExists}
  355. NERR_TooManyNames = NERR_BASE + 177; // The maximum number of added message aliases has been exceeded.
  356. {$EXTERNALSYM NERR_TooManyNames}
  357. NERR_DelComputerName = NERR_BASE + 178; // The computer name could not be deleted.
  358. {$EXTERNALSYM NERR_DelComputerName}
  359. NERR_LocalForward = NERR_BASE + 179; // Messages cannot be forwarded back to the same workstation.
  360. {$EXTERNALSYM NERR_LocalForward}
  361. NERR_GrpMsgProcessor = NERR_BASE + 180; // An error occurred in the domain message processor.
  362. {$EXTERNALSYM NERR_GrpMsgProcessor}
  363. NERR_PausedRemote = NERR_BASE + 181; // The message was sent, but the recipient has paused the Messenger service.
  364. {$EXTERNALSYM NERR_PausedRemote}
  365. NERR_BadReceive = NERR_BASE + 182; // The message was sent but not received.
  366. {$EXTERNALSYM NERR_BadReceive}
  367. NERR_NameInUse = NERR_BASE + 183; // The message alias is currently in use. Try again later.
  368. {$EXTERNALSYM NERR_NameInUse}
  369. NERR_MsgNotStarted = NERR_BASE + 184; // The Messenger service has not been started.
  370. {$EXTERNALSYM NERR_MsgNotStarted}
  371. NERR_NotLocalName = NERR_BASE + 185; // The name is not on the local computer.
  372. {$EXTERNALSYM NERR_NotLocalName}
  373. NERR_NoForwardName = NERR_BASE + 186; // The forwarded message alias could not be found on the network.
  374. {$EXTERNALSYM NERR_NoForwardName}
  375. NERR_RemoteFull = NERR_BASE + 187; // The message alias table on the remote station is full.
  376. {$EXTERNALSYM NERR_RemoteFull}
  377. NERR_NameNotForwarded = NERR_BASE + 188; // Messages for this alias are not currently being forwarded.
  378. {$EXTERNALSYM NERR_NameNotForwarded}
  379. NERR_TruncatedBroadcast = NERR_BASE + 189; // The broadcast message was truncated.
  380. {$EXTERNALSYM NERR_TruncatedBroadcast}
  381. NERR_InvalidDevice = NERR_BASE + 194; // This is an invalid device name.
  382. {$EXTERNALSYM NERR_InvalidDevice}
  383. NERR_WriteFault = NERR_BASE + 195; // A write fault occurred.
  384. {$EXTERNALSYM NERR_WriteFault}
  385. // UNUSED BASE+196
  386. NERR_DuplicateName = NERR_BASE + 197; // A duplicate message alias exists on the network.
  387. {$EXTERNALSYM NERR_DuplicateName}
  388. NERR_DeleteLater = NERR_BASE + 198; // @W This message alias will be deleted later.
  389. {$EXTERNALSYM NERR_DeleteLater}
  390. NERR_IncompleteDel = NERR_BASE + 199; // The message alias was not successfully deleted from all networks.
  391. {$EXTERNALSYM NERR_IncompleteDel}
  392. NERR_MultipleNets = NERR_BASE + 200; // This operation is not supported on computers with multiple networks.
  393. {$EXTERNALSYM NERR_MultipleNets}
  394. //
  395. // Server API related
  396. // Error codes BASE+210 to BASE+229
  397. NERR_NetNameNotFound = NERR_BASE + 210; // This shared resource does not exist.
  398. {$EXTERNALSYM NERR_NetNameNotFound}
  399. NERR_DeviceNotShared = NERR_BASE + 211; // This device is not shared.
  400. {$EXTERNALSYM NERR_DeviceNotShared}
  401. NERR_ClientNameNotFound = NERR_BASE + 212; // A session does not exist with that computer name.
  402. {$EXTERNALSYM NERR_ClientNameNotFound}
  403. NERR_FileIdNotFound = NERR_BASE + 214; // There is not an open file with that identification number.
  404. {$EXTERNALSYM NERR_FileIdNotFound}
  405. NERR_ExecFailure = NERR_BASE + 215; // A failure occurred when executing a remote administration command.
  406. {$EXTERNALSYM NERR_ExecFailure}
  407. NERR_TmpFile = NERR_BASE + 216; // A failure occurred when opening a remote temporary file.
  408. {$EXTERNALSYM NERR_TmpFile}
  409. NERR_TooMuchData = NERR_BASE + 217; // The data returned from a remote administration command has been truncated to 64K.
  410. {$EXTERNALSYM NERR_TooMuchData}
  411. NERR_DeviceShareConflict = NERR_BASE + 218; // This device cannot be shared as both a spooled and a non-spooled resource.
  412. {$EXTERNALSYM NERR_DeviceShareConflict}
  413. NERR_BrowserTableIncomplete = NERR_BASE + 219; // The information in the list of servers may be incorrect.
  414. {$EXTERNALSYM NERR_BrowserTableIncomplete}
  415. NERR_NotLocalDomain = NERR_BASE + 220; // The computer is not active in this domain.
  416. {$EXTERNALSYM NERR_NotLocalDomain}
  417. NERR_IsDfsShare = NERR_BASE + 221; // The share must be removed from the Distributed File System before it can be deleted.
  418. {$EXTERNALSYM NERR_IsDfsShare}
  419. //
  420. // CharDev API related
  421. // Error codes BASE+230 to BASE+249
  422. // UNUSED BASE+230
  423. NERR_DevInvalidOpCode = NERR_BASE + 231; // The operation is invalid for this device.
  424. {$EXTERNALSYM NERR_DevInvalidOpCode}
  425. NERR_DevNotFound = NERR_BASE + 232; // This device cannot be shared.
  426. {$EXTERNALSYM NERR_DevNotFound}
  427. NERR_DevNotOpen = NERR_BASE + 233; // This device was not open.
  428. {$EXTERNALSYM NERR_DevNotOpen}
  429. NERR_BadQueueDevString = NERR_BASE + 234; // This device name list is invalid.
  430. {$EXTERNALSYM NERR_BadQueueDevString}
  431. NERR_BadQueuePriority = NERR_BASE + 235; // The queue priority is invalid.
  432. {$EXTERNALSYM NERR_BadQueuePriority}
  433. NERR_NoCommDevs = NERR_BASE + 237; // There are no shared communication devices.
  434. {$EXTERNALSYM NERR_NoCommDevs}
  435. NERR_QueueNotFound = NERR_BASE + 238; // The queue you specified does not exist.
  436. {$EXTERNALSYM NERR_QueueNotFound}
  437. NERR_BadDevString = NERR_BASE + 240; // This list of devices is invalid.
  438. {$EXTERNALSYM NERR_BadDevString}
  439. NERR_BadDev = NERR_BASE + 241; // The requested device is invalid.
  440. {$EXTERNALSYM NERR_BadDev}
  441. NERR_InUseBySpooler = NERR_BASE + 242; // This device is already in use by the spooler.
  442. {$EXTERNALSYM NERR_InUseBySpooler}
  443. NERR_CommDevInUse = NERR_BASE + 243; // This device is already in use as a communication device.
  444. {$EXTERNALSYM NERR_CommDevInUse}
  445. //
  446. // NetICanonicalize and NetIType and NetIMakeLMFileName
  447. // NetIListCanon and NetINameCheck
  448. // Error codes BASE+250 to BASE+269
  449. NERR_InvalidComputer = NERR_BASE + 251; // This computer name is invalid.
  450. {$EXTERNALSYM NERR_InvalidComputer}
  451. // UNUSED BASE+252
  452. // UNUSED BASE+253
  453. NERR_MaxLenExceeded = NERR_BASE + 254; // The string and prefix specified are too long.
  454. {$EXTERNALSYM NERR_MaxLenExceeded}
  455. // UNUSED BASE+255
  456. NERR_BadComponent = NERR_BASE + 256; // This path component is invalid.
  457. {$EXTERNALSYM NERR_BadComponent}
  458. NERR_CantType = NERR_BASE + 257; // Could not determine the type of input.
  459. {$EXTERNALSYM NERR_CantType}
  460. // UNUSED BASE+258
  461. // UNUSED BASE+259
  462. NERR_TooManyEntries = NERR_BASE + 262; // The buffer for types is not big enough.
  463. {$EXTERNALSYM NERR_TooManyEntries}
  464. //
  465. // NetProfile
  466. // Error codes BASE+270 to BASE+276
  467. NERR_ProfileFileTooBig = NERR_BASE + 270; // Profile files cannot exceed 64K.
  468. {$EXTERNALSYM NERR_ProfileFileTooBig}
  469. NERR_ProfileOffset = NERR_BASE + 271; // The start offset is out of range.
  470. {$EXTERNALSYM NERR_ProfileOffset}
  471. NERR_ProfileCleanup = NERR_BASE + 272; // The system cannot delete current connections to network resources.
  472. {$EXTERNALSYM NERR_ProfileCleanup}
  473. NERR_ProfileUnknownCmd = NERR_BASE + 273; // The system was unable to parse the command line in this file.
  474. {$EXTERNALSYM NERR_ProfileUnknownCmd}
  475. NERR_ProfileLoadErr = NERR_BASE + 274; // An error occurred while loading the profile file.
  476. {$EXTERNALSYM NERR_ProfileLoadErr}
  477. NERR_ProfileSaveErr = NERR_BASE + 275; // @W Errors occurred while saving the profile file. The profile was partially saved.
  478. {$EXTERNALSYM NERR_ProfileSaveErr}
  479. //
  480. // NetAudit and NetErrorLog
  481. // Error codes BASE+277 to BASE+279
  482. NERR_LogOverflow = NERR_BASE + 277; // Log file %1 is full.
  483. {$EXTERNALSYM NERR_LogOverflow}
  484. NERR_LogFileChanged = NERR_BASE + 278; // This log file has changed between reads.
  485. {$EXTERNALSYM NERR_LogFileChanged}
  486. NERR_LogFileCorrupt = NERR_BASE + 279; // Log file %1 is corrupt.
  487. {$EXTERNALSYM NERR_LogFileCorrupt}
  488. //
  489. // NetRemote
  490. // Error codes BASE+280 to BASE+299
  491. NERR_SourceIsDir = NERR_BASE + 280; // The source path cannot be a directory.
  492. {$EXTERNALSYM NERR_SourceIsDir}
  493. NERR_BadSource = NERR_BASE + 281; // The source path is illegal.
  494. {$EXTERNALSYM NERR_BadSource}
  495. NERR_BadDest = NERR_BASE + 282; // The destination path is illegal.
  496. {$EXTERNALSYM NERR_BadDest}
  497. NERR_DifferentServers = NERR_BASE + 283; // The source and destination paths are on different servers.
  498. {$EXTERNALSYM NERR_DifferentServers}
  499. // UNUSED BASE+284
  500. NERR_RunSrvPaused = NERR_BASE + 285; // The Run server you requested is paused.
  501. {$EXTERNALSYM NERR_RunSrvPaused}
  502. // UNUSED BASE+286
  503. // UNUSED BASE+287
  504. // UNUSED BASE+288
  505. NERR_ErrCommRunSrv = NERR_BASE + 289; // An error occurred when communicating with a Run server.
  506. {$EXTERNALSYM NERR_ErrCommRunSrv}
  507. // UNUSED BASE+290
  508. NERR_ErrorExecingGhost = NERR_BASE + 291; // An error occurred when starting a background process.
  509. {$EXTERNALSYM NERR_ErrorExecingGhost}
  510. NERR_ShareNotFound = NERR_BASE + 292; // The shared resource you are connected to could not be found.
  511. {$EXTERNALSYM NERR_ShareNotFound}
  512. // UNUSED BASE+293
  513. // UNUSED BASE+294
  514. //
  515. // NetWksta.sys (redir) returned error codes.
  516. //
  517. // NERR_BASE + (300-329)
  518. NERR_InvalidLana = NERR_BASE + 300; // The LAN adapter number is invalid.
  519. {$EXTERNALSYM NERR_InvalidLana}
  520. NERR_OpenFiles = NERR_BASE + 301; // There are open files on the connection.
  521. {$EXTERNALSYM NERR_OpenFiles}
  522. NERR_ActiveConns = NERR_BASE + 302; // Active connections still exist.
  523. {$EXTERNALSYM NERR_ActiveConns}
  524. NERR_BadPasswordCore = NERR_BASE + 303; // This share name or password is invalid.
  525. {$EXTERNALSYM NERR_BadPasswordCore}
  526. NERR_DevInUse = NERR_BASE + 304; // The device is being accessed by an active process.
  527. {$EXTERNALSYM NERR_DevInUse}
  528. NERR_LocalDrive = NERR_BASE + 305; // The drive letter is in use locally.
  529. {$EXTERNALSYM NERR_LocalDrive}
  530. //
  531. // Alert error codes.
  532. //
  533. // NERR_BASE + (330-339)
  534. NERR_AlertExists = NERR_BASE + 330; // The specified client is already registered for the specified event.
  535. {$EXTERNALSYM NERR_AlertExists}
  536. NERR_TooManyAlerts = NERR_BASE + 331; // The alert table is full.
  537. {$EXTERNALSYM NERR_TooManyAlerts}
  538. NERR_NoSuchAlert = NERR_BASE + 332; // An invalid or nonexistent alert name was raised.
  539. {$EXTERNALSYM NERR_NoSuchAlert}
  540. NERR_BadRecipient = NERR_BASE + 333; // The alert recipient is invalid.
  541. {$EXTERNALSYM NERR_BadRecipient}
  542. NERR_AcctLimitExceeded = NERR_BASE + 334; // A user's session with this server has been deleted
  543. {$EXTERNALSYM NERR_AcctLimitExceeded}
  544. // because the user's logon hours are no longer valid.
  545. //
  546. // Additional Error and Audit log codes.
  547. //
  548. // NERR_BASE +(340-343)
  549. NERR_InvalidLogSeek = NERR_BASE + 340; // The log file does not contain the requested record number.
  550. {$EXTERNALSYM NERR_InvalidLogSeek}
  551. // UNUSED BASE+341
  552. // UNUSED BASE+342
  553. // UNUSED BASE+343
  554. //
  555. // Additional UAS and NETLOGON codes
  556. //
  557. // NERR_BASE +(350-359)
  558. NERR_BadUasConfig = NERR_BASE + 350; // The user accounts database is not configured correctly.
  559. {$EXTERNALSYM NERR_BadUasConfig}
  560. NERR_InvalidUASOp = NERR_BASE + 351; // This operation is not permitted when the Netlogon service is running.
  561. {$EXTERNALSYM NERR_InvalidUASOp}
  562. NERR_LastAdmin = NERR_BASE + 352; // This operation is not allowed on the last administrative account.
  563. {$EXTERNALSYM NERR_LastAdmin}
  564. NERR_DCNotFound = NERR_BASE + 353; // Could not find domain controller for this domain.
  565. {$EXTERNALSYM NERR_DCNotFound}
  566. NERR_LogonTrackingError = NERR_BASE + 354; // Could not set logon information for this user.
  567. {$EXTERNALSYM NERR_LogonTrackingError}
  568. NERR_NetlogonNotStarted = NERR_BASE + 355; // The Netlogon service has not been started.
  569. {$EXTERNALSYM NERR_NetlogonNotStarted}
  570. NERR_CanNotGrowUASFile = NERR_BASE + 356; // Unable to add to the user accounts database.
  571. {$EXTERNALSYM NERR_CanNotGrowUASFile}
  572. NERR_TimeDiffAtDC = NERR_BASE + 357; // This server's clock is not synchronized with the primary domain controller's clock.
  573. {$EXTERNALSYM NERR_TimeDiffAtDC}
  574. NERR_PasswordMismatch = NERR_BASE + 358; // A password mismatch has been detected.
  575. {$EXTERNALSYM NERR_PasswordMismatch}
  576. //
  577. // Server Integration error codes.
  578. //
  579. // NERR_BASE +(360-369)
  580. NERR_NoSuchServer = NERR_BASE + 360; // The server identification does not specify a valid server.
  581. {$EXTERNALSYM NERR_NoSuchServer}
  582. NERR_NoSuchSession = NERR_BASE + 361; // The session identification does not specify a valid session.
  583. {$EXTERNALSYM NERR_NoSuchSession}
  584. NERR_NoSuchConnection = NERR_BASE + 362; // The connection identification does not specify a valid connection.
  585. {$EXTERNALSYM NERR_NoSuchConnection}
  586. NERR_TooManyServers = NERR_BASE + 363; // There is no space for another entry in the table of available servers.
  587. {$EXTERNALSYM NERR_TooManyServers}
  588. NERR_TooManySessions = NERR_BASE + 364; // The server has reached the maximum number of sessions it supports.
  589. {$EXTERNALSYM NERR_TooManySessions}
  590. NERR_TooManyConnections = NERR_BASE + 365; // The server has reached the maximum number of connections it supports.
  591. {$EXTERNALSYM NERR_TooManyConnections}
  592. NERR_TooManyFiles = NERR_BASE + 366; // The server cannot open more files because it has reached its maximum number.
  593. {$EXTERNALSYM NERR_TooManyFiles}
  594. NERR_NoAlternateServers = NERR_BASE + 367; // There are no alternate servers registered on this server.
  595. {$EXTERNALSYM NERR_NoAlternateServers}
  596. // UNUSED BASE+368
  597. // UNUSED BASE+369
  598. NERR_TryDownLevel = NERR_BASE + 370; // Try down-level (remote admin protocol) version of API instead.
  599. {$EXTERNALSYM NERR_TryDownLevel}
  600. //
  601. // UPS error codes.
  602. //
  603. // NERR_BASE + (380-384)
  604. NERR_UPSDriverNotStarted = NERR_BASE + 380; // The UPS driver could not be accessed by the UPS service.
  605. {$EXTERNALSYM NERR_UPSDriverNotStarted}
  606. NERR_UPSInvalidConfig = NERR_BASE + 381; // The UPS service is not configured correctly.
  607. {$EXTERNALSYM NERR_UPSInvalidConfig}
  608. NERR_UPSInvalidCommPort = NERR_BASE + 382; // The UPS service could not access the specified Comm Port.
  609. {$EXTERNALSYM NERR_UPSInvalidCommPort}
  610. NERR_UPSSignalAsserted = NERR_BASE + 383; // The UPS indicated a line fail or low battery situation. Service not started.
  611. {$EXTERNALSYM NERR_UPSSignalAsserted}
  612. NERR_UPSShutdownFailed = NERR_BASE + 384; // The UPS service failed to perform a system shut down.
  613. {$EXTERNALSYM NERR_UPSShutdownFailed}
  614. //
  615. // Remoteboot error codes.
  616. //
  617. // NERR_BASE + (400-419)
  618. // Error codes 400 - 405 are used by RPLBOOT.SYS.
  619. // Error codes 403, 407 - 416 are used by RPLLOADR.COM,
  620. // Error code 417 is the alerter message of REMOTEBOOT (RPLSERVR.EXE).
  621. // Error code 418 is for when REMOTEBOOT can't start
  622. // Error code 419 is for a disallowed 2nd rpl connection
  623. //
  624. NERR_BadDosRetCode = NERR_BASE + 400; // The program below returned an MS-DOS error code:
  625. {$EXTERNALSYM NERR_BadDosRetCode}
  626. NERR_ProgNeedsExtraMem = NERR_BASE + 401; // The program below needs more memory:
  627. {$EXTERNALSYM NERR_ProgNeedsExtraMem}
  628. NERR_BadDosFunction = NERR_BASE + 402; // The program below called an unsupported MS-DOS function:
  629. {$EXTERNALSYM NERR_BadDosFunction}
  630. NERR_RemoteBootFailed = NERR_BASE + 403; // The workstation failed to boot.
  631. {$EXTERNALSYM NERR_RemoteBootFailed}
  632. NERR_BadFileCheckSum = NERR_BASE + 404; // The file below is corrupt.
  633. {$EXTERNALSYM NERR_BadFileCheckSum}
  634. NERR_NoRplBootSystem = NERR_BASE + 405; // No loader is specified in the boot-block definition file.
  635. {$EXTERNALSYM NERR_NoRplBootSystem}
  636. NERR_RplLoadrNetBiosErr = NERR_BASE + 406; // NetBIOS returned an error: The NCB and SMB are dumped above.
  637. {$EXTERNALSYM NERR_RplLoadrNetBiosErr}
  638. NERR_RplLoadrDiskErr = NERR_BASE + 407; // A disk I/O error occurred.
  639. {$EXTERNALSYM NERR_RplLoadrDiskErr}
  640. NERR_ImageParamErr = NERR_BASE + 408; // Image parameter substitution failed.
  641. {$EXTERNALSYM NERR_ImageParamErr}
  642. NERR_TooManyImageParams = NERR_BASE + 409; // Too many image parameters cross disk sector boundaries.
  643. {$EXTERNALSYM NERR_TooManyImageParams}
  644. NERR_NonDosFloppyUsed = NERR_BASE + 410; // The image was not generated from an MS-DOS diskette formatted with /S.
  645. {$EXTERNALSYM NERR_NonDosFloppyUsed}
  646. NERR_RplBootRestart = NERR_BASE + 411; // Remote boot will be restarted later.
  647. {$EXTERNALSYM NERR_RplBootRestart}
  648. NERR_RplSrvrCallFailed = NERR_BASE + 412; // The call to the Remoteboot server failed.
  649. {$EXTERNALSYM NERR_RplSrvrCallFailed}
  650. NERR_CantConnectRplSrvr = NERR_BASE + 413; // Cannot connect to the Remoteboot server.
  651. {$EXTERNALSYM NERR_CantConnectRplSrvr}
  652. NERR_CantOpenImageFile = NERR_BASE + 414; // Cannot open image file on the Remoteboot server.
  653. {$EXTERNALSYM NERR_CantOpenImageFile}
  654. NERR_CallingRplSrvr = NERR_BASE + 415; // Connecting to the Remoteboot server...
  655. {$EXTERNALSYM NERR_CallingRplSrvr}
  656. NERR_StartingRplBoot = NERR_BASE + 416; // Connecting to the Remoteboot server...
  657. {$EXTERNALSYM NERR_StartingRplBoot}
  658. NERR_RplBootServiceTerm = NERR_BASE + 417; // Remote boot service was stopped; check the error log for the cause of the problem.
  659. {$EXTERNALSYM NERR_RplBootServiceTerm}
  660. NERR_RplBootStartFailed = NERR_BASE + 418; // Remote boot startup failed; check the error log for the cause of the problem.
  661. {$EXTERNALSYM NERR_RplBootStartFailed}
  662. NERR_RPL_CONNECTED = NERR_BASE + 419; // A second connection to a Remoteboot resource is not allowed.
  663. {$EXTERNALSYM NERR_RPL_CONNECTED}
  664. //
  665. // FTADMIN API error codes
  666. //
  667. // NERR_BASE + (425-434)
  668. //
  669. // (Currently not used in NT)
  670. //
  671. //
  672. // Browser service API error codes
  673. //
  674. // NERR_BASE + (450-475)
  675. //
  676. NERR_BrowserConfiguredToNotRun = NERR_BASE + 450; // The browser service was configured with MaintainServerList=No.
  677. {$EXTERNALSYM NERR_BrowserConfiguredToNotRun}
  678. //
  679. // Additional Remoteboot error codes.
  680. //
  681. // NERR_BASE + (510-550)
  682. NERR_RplNoAdaptersStarted = NERR_BASE + 510; // Service failed to start since none of the network adapters started with this service.
  683. {$EXTERNALSYM NERR_RplNoAdaptersStarted}
  684. NERR_RplBadRegistry = NERR_BASE + 511; // Service failed to start due to bad startup information in the registry.
  685. {$EXTERNALSYM NERR_RplBadRegistry}
  686. NERR_RplBadDatabase = NERR_BASE + 512; // Service failed to start because its database is absent or corrupt.
  687. {$EXTERNALSYM NERR_RplBadDatabase}
  688. NERR_RplRplfilesShare = NERR_BASE + 513; // Service failed to start because RPLFILES share is absent.
  689. {$EXTERNALSYM NERR_RplRplfilesShare}
  690. NERR_RplNotRplServer = NERR_BASE + 514; // Service failed to start because RPLUSER group is absent.
  691. {$EXTERNALSYM NERR_RplNotRplServer}
  692. NERR_RplCannotEnum = NERR_BASE + 515; // Cannot enumerate service records.
  693. {$EXTERNALSYM NERR_RplCannotEnum}
  694. NERR_RplWkstaInfoCorrupted = NERR_BASE + 516; // Workstation record information has been corrupted.
  695. {$EXTERNALSYM NERR_RplWkstaInfoCorrupted}
  696. NERR_RplWkstaNotFound = NERR_BASE + 517; // Workstation record was not found.
  697. {$EXTERNALSYM NERR_RplWkstaNotFound}
  698. NERR_RplWkstaNameUnavailable = NERR_BASE + 518; // Workstation name is in use by some other workstation.
  699. {$EXTERNALSYM NERR_RplWkstaNameUnavailable}
  700. NERR_RplProfileInfoCorrupted = NERR_BASE + 519; // Profile record information has been corrupted.
  701. {$EXTERNALSYM NERR_RplProfileInfoCorrupted}
  702. NERR_RplProfileNotFound = NERR_BASE + 520; // Profile record was not found.
  703. {$EXTERNALSYM NERR_RplProfileNotFound}
  704. NERR_RplProfileNameUnavailable = NERR_BASE + 521; // Profile name is in use by some other profile.
  705. {$EXTERNALSYM NERR_RplProfileNameUnavailable}
  706. NERR_RplProfileNotEmpty = NERR_BASE + 522; // There are workstations using this profile.
  707. {$EXTERNALSYM NERR_RplProfileNotEmpty}
  708. NERR_RplConfigInfoCorrupted = NERR_BASE + 523; // Configuration record information has been corrupted.
  709. {$EXTERNALSYM NERR_RplConfigInfoCorrupted}
  710. NERR_RplConfigNotFound = NERR_BASE + 524; // Configuration record was not found.
  711. {$EXTERNALSYM NERR_RplConfigNotFound}
  712. NERR_RplAdapterInfoCorrupted = NERR_BASE + 525; // Adapter id record information has been corrupted.
  713. {$EXTERNALSYM NERR_RplAdapterInfoCorrupted}
  714. NERR_RplInternal = NERR_BASE + 526; // An internal service error has occurred.
  715. {$EXTERNALSYM NERR_RplInternal}
  716. NERR_RplVendorInfoCorrupted = NERR_BASE + 527; // Vendor id record information has been corrupted.
  717. {$EXTERNALSYM NERR_RplVendorInfoCorrupted}
  718. NERR_RplBootInfoCorrupted = NERR_BASE + 528; // Boot block record information has been corrupted.
  719. {$EXTERNALSYM NERR_RplBootInfoCorrupted}
  720. NERR_RplWkstaNeedsUserAcct = NERR_BASE + 529; // The user account for this workstation record is missing.
  721. {$EXTERNALSYM NERR_RplWkstaNeedsUserAcct}
  722. NERR_RplNeedsRPLUSERAcct = NERR_BASE + 530; // The RPLUSER local group could not be found.
  723. {$EXTERNALSYM NERR_RplNeedsRPLUSERAcct}
  724. NERR_RplBootNotFound = NERR_BASE + 531; // Boot block record was not found.
  725. {$EXTERNALSYM NERR_RplBootNotFound}
  726. NERR_RplIncompatibleProfile = NERR_BASE + 532; // Chosen profile is incompatible with this workstation.
  727. {$EXTERNALSYM NERR_RplIncompatibleProfile}
  728. NERR_RplAdapterNameUnavailable = NERR_BASE + 533; // Chosen network adapter id is in use by some other workstation.
  729. {$EXTERNALSYM NERR_RplAdapterNameUnavailable}
  730. NERR_RplConfigNotEmpty = NERR_BASE + 534; // There are profiles using this configuration.
  731. {$EXTERNALSYM NERR_RplConfigNotEmpty}
  732. NERR_RplBootInUse = NERR_BASE + 535; // There are workstations, profiles or configurations using this boot block.
  733. {$EXTERNALSYM NERR_RplBootInUse}
  734. NERR_RplBackupDatabase = NERR_BASE + 536; // Service failed to backup Remoteboot database.
  735. {$EXTERNALSYM NERR_RplBackupDatabase}
  736. NERR_RplAdapterNotFound = NERR_BASE + 537; // Adapter record was not found.
  737. {$EXTERNALSYM NERR_RplAdapterNotFound}
  738. NERR_RplVendorNotFound = NERR_BASE + 538; // Vendor record was not found.
  739. {$EXTERNALSYM NERR_RplVendorNotFound}
  740. NERR_RplVendorNameUnavailable = NERR_BASE + 539; // Vendor name is in use by some other vendor record.
  741. {$EXTERNALSYM NERR_RplVendorNameUnavailable}
  742. NERR_RplBootNameUnavailable = NERR_BASE + 540; // (boot name, vendor id) is in use by some other boot block record.
  743. {$EXTERNALSYM NERR_RplBootNameUnavailable}
  744. NERR_RplConfigNameUnavailable = NERR_BASE + 541; // Configuration name is in use by some other configuration.
  745. {$EXTERNALSYM NERR_RplConfigNameUnavailable}
  746. //*INTERNAL_ONLY*
  747. //
  748. // Dfs API error codes.
  749. //
  750. // NERR_BASE + (560-590)
  751. NERR_DfsInternalCorruption = NERR_BASE + 560; // The internal database maintained by the DFS service is corrupt
  752. {$EXTERNALSYM NERR_DfsInternalCorruption}
  753. NERR_DfsVolumeDataCorrupt = NERR_BASE + 561; // One of the records in the internal DFS database is corrupt
  754. {$EXTERNALSYM NERR_DfsVolumeDataCorrupt}
  755. NERR_DfsNoSuchVolume = NERR_BASE + 562; // There is no DFS name whose entry path matches the input Entry Path
  756. {$EXTERNALSYM NERR_DfsNoSuchVolume}
  757. NERR_DfsVolumeAlreadyExists = NERR_BASE + 563; // A root or link with the given name already exists
  758. {$EXTERNALSYM NERR_DfsVolumeAlreadyExists}
  759. NERR_DfsAlreadyShared = NERR_BASE + 564; // The server share specified is already shared in the DFS
  760. {$EXTERNALSYM NERR_DfsAlreadyShared}
  761. NERR_DfsNoSuchShare = NERR_BASE + 565; // The indicated server share does not support the indicated DFS namespace
  762. {$EXTERNALSYM NERR_DfsNoSuchShare}
  763. NERR_DfsNotALeafVolume = NERR_BASE + 566; // The operation is not valid on this portion of the namespace
  764. {$EXTERNALSYM NERR_DfsNotALeafVolume}
  765. NERR_DfsLeafVolume = NERR_BASE + 567; // The operation is not valid on this portion of the namespace
  766. {$EXTERNALSYM NERR_DfsLeafVolume}
  767. NERR_DfsVolumeHasMultipleServers = NERR_BASE + 568; // The operation is ambiguous because the link has multiple servers
  768. {$EXTERNALSYM NERR_DfsVolumeHasMultipleServers}
  769. NERR_DfsCantCreateJunctionPoint = NERR_BASE + 569; // Unable to create a link
  770. {$EXTERNALSYM NERR_DfsCantCreateJunctionPoint}
  771. NERR_DfsServerNotDfsAware = NERR_BASE + 570; // The server is not DFS Aware
  772. {$EXTERNALSYM NERR_DfsServerNotDfsAware}
  773. NERR_DfsBadRenamePath = NERR_BASE + 571; // The specified rename target path is invalid
  774. {$EXTERNALSYM NERR_DfsBadRenamePath}
  775. NERR_DfsVolumeIsOffline = NERR_BASE + 572; // The specified DFS link is offline
  776. {$EXTERNALSYM NERR_DfsVolumeIsOffline}
  777. NERR_DfsNoSuchServer = NERR_BASE + 573; // The specified server is not a server for this link
  778. {$EXTERNALSYM NERR_DfsNoSuchServer}
  779. NERR_DfsCyclicalName = NERR_BASE + 574; // A cycle in the DFS name was detected
  780. {$EXTERNALSYM NERR_DfsCyclicalName}
  781. NERR_DfsNotSupportedInServerDfs = NERR_BASE + 575; // The operation is not supported on a server-based DFS
  782. {$EXTERNALSYM NERR_DfsNotSupportedInServerDfs}
  783. NERR_DfsDuplicateService = NERR_BASE + 576; // This link is already supported by the specified server-share
  784. {$EXTERNALSYM NERR_DfsDuplicateService}
  785. NERR_DfsCantRemoveLastServerShare = NERR_BASE + 577; // Can't remove the last server-share supporting this root or link
  786. {$EXTERNALSYM NERR_DfsCantRemoveLastServerShare}
  787. NERR_DfsVolumeIsInterDfs = NERR_BASE + 578; // The operation is not supported for an Inter-DFS link
  788. {$EXTERNALSYM NERR_DfsVolumeIsInterDfs}
  789. NERR_DfsInconsistent = NERR_BASE + 579; // The internal state of the DFS Service has become inconsistent
  790. {$EXTERNALSYM NERR_DfsInconsistent}
  791. NERR_DfsServerUpgraded = NERR_BASE + 580; // The DFS Service has been installed on the specified server
  792. {$EXTERNALSYM NERR_DfsServerUpgraded}
  793. NERR_DfsDataIsIdentical = NERR_BASE + 581; // The DFS data being reconciled is identical
  794. {$EXTERNALSYM NERR_DfsDataIsIdentical}
  795. NERR_DfsCantRemoveDfsRoot = NERR_BASE + 582; // The DFS root cannot be deleted - Uninstall DFS if required
  796. {$EXTERNALSYM NERR_DfsCantRemoveDfsRoot}
  797. NERR_DfsChildOrParentInDfs = NERR_BASE + 583; // A child or parent directory of the share is already in a DFS
  798. {$EXTERNALSYM NERR_DfsChildOrParentInDfs}
  799. NERR_DfsInternalError = NERR_BASE + 590; // DFS internal error
  800. {$EXTERNALSYM NERR_DfsInternalError}
  801. //
  802. // Net setup error codes.
  803. //
  804. // NERR_BASE + (591-600)
  805. NERR_SetupAlreadyJoined = NERR_BASE + 591; // This machine is already joined to a domain.
  806. {$EXTERNALSYM NERR_SetupAlreadyJoined}
  807. NERR_SetupNotJoined = NERR_BASE + 592; // This machine is not currently joined to a domain.
  808. {$EXTERNALSYM NERR_SetupNotJoined}
  809. NERR_SetupDomainController = NERR_BASE + 593; // This machine is a domain controller and cannot be unjoined from a domain.
  810. {$EXTERNALSYM NERR_SetupDomainController}
  811. NERR_DefaultJoinRequired = NERR_BASE + 594; // The destination domain controller does not support creating machine accounts in OUs.
  812. {$EXTERNALSYM NERR_DefaultJoinRequired}
  813. NERR_InvalidWorkgroupName = NERR_BASE + 595; // The specified workgroup name is invalid.
  814. {$EXTERNALSYM NERR_InvalidWorkgroupName}
  815. NERR_NameUsesIncompatibleCodePage = NERR_BASE + 596; // The specified computer name is incompatible with the default language used on the domain controller.
  816. {$EXTERNALSYM NERR_NameUsesIncompatibleCodePage}
  817. NERR_ComputerAccountNotFound = NERR_BASE + 597; // The specified computer account could not be found.
  818. {$EXTERNALSYM NERR_ComputerAccountNotFound}
  819. NERR_PersonalSku = NERR_BASE + 598; // This version of Windows cannot be joined to a domain.
  820. {$EXTERNALSYM NERR_PersonalSku}
  821. //
  822. // Some Password and account error results
  823. //
  824. // NERR_BASE + (601 - 608)
  825. //
  826. NERR_PasswordMustChange = NERR_BASE + 601; // Password must change at next logon
  827. {$EXTERNALSYM NERR_PasswordMustChange}
  828. NERR_AccountLockedOut = NERR_BASE + 602; // Account is locked out
  829. {$EXTERNALSYM NERR_AccountLockedOut}
  830. NERR_PasswordTooLong = NERR_BASE + 603; // Password is too long
  831. {$EXTERNALSYM NERR_PasswordTooLong}
  832. NERR_PasswordNotComplexEnough = NERR_BASE + 604; // Password doesn't meet the complexity policy
  833. {$EXTERNALSYM NERR_PasswordNotComplexEnough}
  834. NERR_PasswordFilterError = NERR_BASE + 605; // Password doesn't meet the requirements of the filter dll's
  835. {$EXTERNALSYM NERR_PasswordFilterError}
  836. //**********WARNING ****************
  837. //The range 2750-2799 has been *
  838. //allocated to the IBM LAN Server *
  839. //*********************************
  840. //**********WARNING ****************
  841. //The range 2900-2999 has been *
  842. //reserved for Microsoft OEMs *
  843. //*********************************
  844. //*END_INTERNAL*
  845. MAX_NERR = NERR_BASE + 899; // This is the last error in NERR range.
  846. {$EXTERNALSYM MAX_NERR}
  847. //
  848. // end of list
  849. //
  850. // WARNING: Do not exceed MAX_NERR; values above this are used by
  851. // other error code ranges (errlog.h, service.h, apperr.h).
  852. implementation
  853. end.