jwalmerr.pas 50 KB

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