jwalmerr.pas 50 KB

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