home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / header45.zip / neterr.h < prev    next >
C/C++ Source or Header  |  1999-04-29  |  53KB  |  1,141 lines

  1. /**************************************************************************/
  2. /*                                                                        */
  3. /*              IBM OS/2(tm) Local Area Network (LAN) Server              */
  4. /*                            Version 5.03                                */
  5. /*                   (C) Copyright IBM Corp. 1988, 1998                   */
  6. /*                  Licensed Materials - Property of IBM                  */
  7. /*                                                                        */
  8. /**************************************************************************/
  9. /* NAME: . net/h/neterr.h - RNO OPAL' Changes
  10.  *
  11.  * DESCRIPTION:
  12.  *   This file contains network error definitions.  The error numbers
  13.  *   defined here (if > 2100) correspond to a message number in NET.MSG.
  14.  *
  15.  */
  16. /********************************************************************/
  17. /**                     Microsoft LAN Manager                      **/
  18. /**               Copyright(c) Microsoft Corp., 1987-1990          **/
  19. /********************************************************************/
  20.  
  21.  
  22. /***    neterr.h - network error definitions
  23.  *
  24.  */
  25.  
  26.  
  27.  
  28. #ifndef NETERR_INCLUDED
  29.  
  30. #define NETERR_INCLUDED
  31.  
  32.  
  33. #define NERR_Success            0       /* Success */
  34.  
  35. /*
  36.  *      Redirector related
  37.  *              Error codes from 50 to 79, 88, and 230 to 249
  38.  */
  39.  
  40. #define ERROR_NOT_SUPPORTED     50      /* The network request is not supported.  */
  41. #define ERROR_REM_NOT_LIST      51      /* This remote computer is not listening. */
  42. #define ERROR_DUP_NAME          52      /* A duplicate name exists on the network. */
  43. #define ERROR_BAD_NETPATH       53      /* The network path cannot be located. */
  44. #define ERROR_NETWORK_BUSY      54      /* The network is busy. */
  45. #define ERROR_DEV_NOT_EXIST     55      /* This device does not exist on the network. */
  46. #define ERROR_TOO_MANY_CMDS     56      /* The network BIOS command limit has been reached. */
  47. #define ERROR_ADAP_HDW_ERR      57      /* A network adapter hardware error has occurred. */
  48. #define ERROR_BAD_NET_RESP      58      /* The network responded incorrectly. */
  49. #define ERROR_UNEXP_NET_ERR     59      /* An unexpected network error occurred. */
  50. #define ERROR_BAD_REM_ADAP      60      /* The remote adapter is not compatible. */
  51. #define ERROR_PRINTQ_FULL       61      /* The printer queue is full. */
  52. #define ERROR_NO_SPOOL_SPACE    62      /* Space to store the file waiting to be printed is not available on the server. */
  53. #define ERROR_PRINT_CANCELLED   63      /* The requested print file has been cancelled. */
  54. #define ERROR_NETNAME_DELETED   64      /* The network name was deleted. */
  55. #define ERROR_NETWORK_ACCESS_DENIED 65  /* Network access is denied. */
  56. #define ERROR_BAD_DEV_TYPE      66      /* The network resource type is not correct. */
  57. #define ERROR_BAD_NET_NAME      67      /* The network name cannot be found. */
  58. #define ERROR_TOO_MANY_NAMES    68      /* The name limit for the local computer network adapter card was exceeded. */
  59. #define ERROR_TOO_MANY_SESS     69      /* The network BIOS session limit was exceeded. */
  60. #define ERROR_SHARING_PAUSED    70      /* File sharing has been temporarily paused. */
  61. #define ERROR_REQ_NOT_ACCEP     71      /* The network request was not accepted. */
  62. #define ERROR_REDIR_PAUSED      72      /* Print or disk redirection is temporarily paused. */
  63.  
  64. #define ERROR_NET_WRITE_FAULT   88      /* A network data fault occurred. */
  65.  
  66. #define ERROR_BAD_PIPE          230     /* This is a nonexistent pipe or an invalid operation. */
  67. #define ERROR_PIPE_BUSY         231     /* The specified pipe is busy. */
  68. #define ERROR_NO_DATA           232     /* There is no data to be read on a non-blocking read. */
  69. #define ERROR_PIPE_NOT_CONNECTED 233    /* The server disconnected the pipe. */
  70. #define ERROR_MORE_DATA         234     /* Additional data is available. */
  71.  
  72. #define ERROR_VC_DISCONNECTED   240     /* The session was cancelled. */
  73.  
  74.  
  75.  
  76. /***    NERR_BASE is the base of error codes from network utilities,
  77.  *      chosen to avoid conflict with OS/2 and redirector error codes.
  78.  *      2100 is a value that has been assigned to us by OS/2.
  79.  */
  80. #define NERR_BASE       2100
  81.  
  82.  
  83.  
  84. /* UNUSED BASE+0 */
  85. /* UNUSED BASE+1 */
  86. #define NERR_NetNotStarted      (NERR_BASE+2)   /* The workstation driver (NETWKSTA.SYS on OS/2 workstations, NETWKSTA.EXE on DOS workstations) isn't installed. */
  87. #define NERR_UnknownServer      (NERR_BASE+3)   /* The server cannot be located. */
  88. #define NERR_ShareMem           (NERR_BASE+4)   /* An internal error occurred.  The network cannot access a shared memory segment. */
  89. #define NERR_NoNetworkResource  (NERR_BASE+5)   /* A network resource shortage occurred . */
  90. #define NERR_RemoteOnly         (NERR_BASE+6)   /* This operation is not supported on workstations. */
  91. #define NERR_DevNotRedirected   (NERR_BASE+7)   /* The device is not connected. */
  92. /*        d48055  tfp  07Jul98 begin */
  93. #define Dhcpwaitmsg             (NERR_BASE+8)   /* Waiting for response from DHCP server */
  94. #define DhcpCompletemsg         (NERR_BASE+9)   /* Successful response received from DHCP server */
  95. /*        d48055  tfp  07Jul98 end   */
  96. /* UNUSED BASE+10 */
  97. /* UNUSED BASE+11 */
  98. /* UNUSED BASE+12 */
  99. /* UNUSED BASE+13 */
  100. #define NERR_ServerNotStarted   (NERR_BASE+14)  /* The Server service isn't started. */
  101. #define NERR_ItemNotFound       (NERR_BASE+15)  /* The queue is empty. */
  102. #define NERR_UnknownDevDir      (NERR_BASE+16)  /* The device or directory does not exist. */
  103. #define NERR_RedirectedPath     (NERR_BASE+17)  /* The operation is invalid on a redirected resource. */
  104. #define NERR_DuplicateShare     (NERR_BASE+18)  /* The name has already been shared. */
  105. #define NERR_NoRoom             (NERR_BASE+19)  /* The server is currently out of the requested resource. */
  106. /* UNUSED BASE+20 */
  107. #define NERR_TooManyItems       (NERR_BASE+21)  /* Requested add of item exceeds maximum allowed. */
  108. #define NERR_InvalidMaxUsers    (NERR_BASE+22)  /* The Peer service supports only two simultaneous users. */
  109. #define NERR_BufTooSmall        (NERR_BASE+23)  /* The API return buffer is too small. */
  110. /* UNUSED BASE+24 */
  111. /* UNUSED BASE+25 */
  112. /* UNUSED BASE+26 */
  113. #define NERR_RemoteErr          (NERR_BASE+27)  /* A remote API error occurred.  */
  114. /* UNUSED BASE+28 */
  115. /* UNUSED BASE+29 */
  116. /* UNUSED BASE+30 */
  117. #define NERR_LanmanIniError     (NERR_BASE+31)  /* An error occurred when opening or reading IBMLAN.INI. */
  118. /* UNUSED BASE+32 */
  119. /* UNUSED BASE+33 */
  120. #define NERR_OS2IoctlError      (NERR_BASE+34)  /* An internal error occurred when calling the workstation driver. */
  121. /* UNUSED BASE+35 */
  122. #define NERR_NetworkError       (NERR_BASE+36)  /* A general network error occurred. */
  123. /* UNUSED BASE+37 */
  124. #define NERR_WkstaNotStarted    (NERR_BASE+38)  /* The Requester service has not been started. */
  125. /* UNUSED BASE+39 */
  126. #define NERR_InternalError      (NERR_BASE+40)  /* An internal LAN Manager error occurred.*/
  127. #define NERR_BadTransactConfig  (NERR_BASE+41)  /* The server is not configured for transactions. */
  128. #define NERR_InvalidAPI         (NERR_BASE+42)  /* The requested API isn't supported on the remote server. */
  129. #define NERR_BadEventName       (NERR_BASE+43)  /* The event name is invalid. */
  130. /* UNUSED BASE+44 */
  131.  
  132. /*
  133.  *      Config API related
  134.  *              Error codes from BASE+45 to BASE+49
  135.  */
  136.  
  137. /* UNUSED BASE+45 */
  138. #define NERR_CfgCompNotFound    (NERR_BASE+46)  /* Could not find the specified component in IBMLAN.INI. */
  139. #define NERR_CfgParamNotFound   (NERR_BASE+47)  /* Could not find the specified parameter in IBMLAN.INI. */
  140. #define NERR_LineTooLong        (NERR_BASE+49)  /* A line in IBMLAN.INI is too long. */
  141.  
  142. /*
  143.  *      Spooler API related
  144.  *              Error codes from BASE+50 to BASE+79
  145.  */
  146.  
  147. #define NERR_QNotFound          (NERR_BASE+50)  /* The printer queue does not exist. */
  148. #define NERR_JobNotFound        (NERR_BASE+51)  /* The print job does not exist. */
  149. #define NERR_DestNotFound       (NERR_BASE+52)  /* The printer destination cannot be found. */
  150. #define NERR_DestExists         (NERR_BASE+53)  /* The printer destination already exists. */
  151. #define NERR_QExists            (NERR_BASE+54)  /* The printer queue already exists. */
  152. #define NERR_QNoRoom            (NERR_BASE+55)  /* No more printer queues can be added. */
  153. #define NERR_JobNoRoom          (NERR_BASE+56)  /* No more print jobs can be added.  */
  154. #define NERR_DestNoRoom         (NERR_BASE+57)  /* No more printer destinations can be added. */
  155. #define NERR_DestIdle           (NERR_BASE+58)  /* This printer destination is idle and cannot accept control operations. */
  156. #define NERR_DestInvalidOp      (NERR_BASE+59)  /* This printer destination request contains an invalid control function. */
  157. #define NERR_ProcNoRespond      (NERR_BASE+60)  /* The printer processor is not responding. */
  158. #define NERR_SpoolerNotLoaded   (NERR_BASE+61)  /* The spooler is not running. */
  159. #define NERR_DestInvalidState   (NERR_BASE+62)  /* This operation cannot be performed on the print destination in its current state. */
  160. #define NERR_QInvalidState      (NERR_BASE+63)  /* This operation cannot be performed on the printer queue in its current state. */
  161. #define NERR_JobInvalidState    (NERR_BASE+64)  /* This operation cannot be performed on the print job in its current state. */
  162. #define NERR_SpoolNoMemory      (NERR_BASE+65)  /* A spooler memory allocation failure occurred. */
  163. #define NERR_DriverNotFound     (NERR_BASE+66)  /* The device driver does not exist. */
  164. #define NERR_DataTypeInvalid    (NERR_BASE+67)  /* The datatype is not supported by the processor. */
  165. #define NERR_ProcNotFound       (NERR_BASE+68)  /* The print processor is not installed. */
  166.  
  167. /*
  168.  *      Service API related
  169.  *              Error codes from BASE+80 to BASE+99
  170.  */
  171.  
  172. #define NERR_ServiceTableLocked (NERR_BASE+80)  /* The service does not respond to control actions. */
  173. #define NERR_ServiceTableFull   (NERR_BASE+81)  /* The service table is full. */
  174. #define NERR_ServiceInstalled   (NERR_BASE+82)  /* The requested service has already been started. */
  175. #define NERR_ServiceEntryLocked (NERR_BASE+83)  /* The service does not respond to control actions. */
  176. #define NERR_ServiceNotInstalled (NERR_BASE+84) /* The service has not been started. */
  177. #define NERR_BadServiceName     (NERR_BASE+85)  /* The service name is invalid. */
  178. #define NERR_ServiceCtlTimeout  (NERR_BASE+86)  /* The service is not responding to the control function. */
  179. #define NERR_ServiceCtlBusy     (NERR_BASE+87)  /* The service control is busy. */
  180. #define NERR_BadServiceProgName (NERR_BASE+88)  /* IBMLAN.INI contains an invalid service program name. */
  181. #define NERR_ServiceNotCtrl     (NERR_BASE+89)  /* The service cannot be controlled in its present state. */
  182. #define NERR_ServiceKillProc    (NERR_BASE+90)  /* The service ended abnormally. */
  183. #define NERR_ServiceCtlNotValid (NERR_BASE+91)  /* The requested pause or stop is not valid for this service. */
  184.  
  185. /*
  186.  *      Wksta and Logon API related
  187.  *              Error codes from BASE+100 to BASE+118
  188.  */
  189.  
  190. #define NERR_AlreadyLoggedOn    (NERR_BASE+100) /* This workstation is already logged on to the local-area network. */
  191. #define NERR_NotLoggedOn        (NERR_BASE+101) /* The workstation isn't logged on to the local-area network. */
  192. #define NERR_BadUsername        (NERR_BASE+102) /* The username or groupname parameter is invalid.  */
  193. #define NERR_BadPassword        (NERR_BASE+103) /* The password parameter is invalid. */
  194. #define NERR_UnableToAddName_W  (NERR_BASE+104) /* @W The logon processor did not add the message alias. */
  195. #define NERR_UnableToAddName_F  (NERR_BASE+105) /* The logon processor did not add the message alias. */
  196. #define NERR_UnableToDelName_W  (NERR_BASE+106) /* @W The logoff processor did not delete the message alias. */
  197. #define NERR_UnableToDelName_F  (NERR_BASE+107) /* The logoff processor did not delete the message alias. */
  198. /* UNUSED BASE+108 */
  199. #define NERR_LogonsPaused       (NERR_BASE+109) /* Network logons are paused. */
  200. #define NERR_LogonServerConflict (NERR_BASE+110)/* A centralized logon-server conflict occurred. */
  201. /* UNUSED BASE+111 */
  202. #define NERR_LogonScriptError   (NERR_BASE+112) /* An error occurred while loading or running the logon script. */
  203. /* UNUSED BASE+113 */
  204. #define NERR_StandaloneLogon    (NERR_BASE+114) /* The logon server was not specified.  Your computer will be logged on as STANDALONE. */
  205. #define NERR_LogonServerNotFound (NERR_BASE+115) /* The logon server cannot be found.  */
  206. /* UNUSED BASE+116 */
  207. #define NERR_NonValidatedLogon  (NERR_BASE+117) /* The logon server could not validate the logon. */
  208.  
  209. /*
  210.  *      ACF API related (access, user, group)
  211.  *              Error codes from BASE+119 to BASE+149
  212.  */
  213.  
  214. #define NERR_AccountUndeletable (NERR_BASE+118) /* The user account is marked undeletable. */
  215. #define NERR_ACFNotFound        (NERR_BASE+119) /* The accounts file NET.ACC cannot be found. */
  216. #define NERR_GroupNotFound      (NERR_BASE+120) /* The groupname cannot be found. */
  217. #define NERR_UserNotFound       (NERR_BASE+121) /* The username cannot be found. */
  218. #define NERR_ResourceNotFound   (NERR_BASE+122) /* The resource name cannot be found.  */
  219. #define NERR_GroupExists        (NERR_BASE+123) /* The group already exists. */
  220. #define NERR_UserExists         (NERR_BASE+124) /* The user account already exists. */
  221. #define NERR_ResourceExists     (NERR_BASE+125) /* The resource permission list already exists. */
  222. #define NERR_NotPrimary         (NERR_BASE+126) /* The UAS database is replicant and will not allow updates. */
  223. #define NERR_ACFNotLoaded       (NERR_BASE+127) /* The user account system has not been started. */
  224. #define NERR_ACFNoRoom          (NERR_BASE+128) /* There are too many names in the user account system. */
  225. #define NERR_ACFFileIOFail      (NERR_BASE+129) /* A disk I/O failure occurred.*/
  226. #define NERR_ACFTooManyLists    (NERR_BASE+130) /* The limit of 64 entries per resource was exceeded. */
  227. #define NERR_UserLogon          (NERR_BASE+131) /* Deleting a user with a session is not allowed. */
  228. #define NERR_ACFNoParent        (NERR_BASE+132) /* The parent directory cannot be located. */
  229. #define NERR_CanNotGrowSegment  (NERR_BASE+133) /* Unable to grow UAS session cache segment. */
  230. #define NERR_SpeGroupOp         (NERR_BASE+134) /* This operation is not allowed on this special group. */
  231. #define NERR_NotInCache         (NERR_BASE+135) /* This user is not cached in UAS session cache. */
  232. #define NERR_UserInGroup        (NERR_BASE+136) /* The user already belongs to this group. */
  233. #define NERR_UserNotInGroup     (NERR_BASE+137) /* The user does not belong to this group. */
  234. #define NERR_AccountUndefined   (NERR_BASE+138) /* This user account is undefined. */
  235. #define NERR_AccountExpired     (NERR_BASE+139) /* This user account has expired. */
  236. #define NERR_InvalidRequester (NERR_BASE+140) /* The user is not allowed to log on from this workstation. */
  237. #define NERR_InvalidLogonHours  (NERR_BASE+141) /* The user is not allowed to log on at this time.  */
  238. #define NERR_PasswordExpired    (NERR_BASE+142) /* The password of this user has expired. */
  239. #define NERR_PasswordCantChange (NERR_BASE+143) /* The password of this user cannot change. */
  240. #define NERR_PasswordHistConflict (NERR_BASE+144) /* This password cannot be used now. */
  241. #define NERR_PasswordTooShort   (NERR_BASE+145) /* The password is shorter than required. */
  242. #define NERR_PasswordTooRecent  (NERR_BASE+146) /* The password of this user is too recent to change.  */
  243. #define NERR_InvalidDatabase    (NERR_BASE+147) /* The UAS database file is corrupted. */
  244. #define NERR_DatabaseUpToDate   (NERR_BASE+148) /* No updates are necessary to this replicant UAS database. */
  245. #define NERR_SyncRequired       (NERR_BASE+149) /* This replicant database is outdated; synchronization is required. */
  246.  
  247. /*
  248.  *      Use API related
  249.  *              Error codes from BASE+150 to BASE+169
  250.  */
  251.  
  252. #define NERR_UseNotFound        (NERR_BASE+150) /* The connection cannot be found. */
  253. #define NERR_BadAsgType         (NERR_BASE+151) /* This asg_type is invalid. */
  254. #define NERR_DeviceIsShared     (NERR_BASE+152) /* This device is currently being shared. */
  255.  
  256. /*
  257.  *      Message Server related
  258.  *              Error codes BASE+170 to BASE+209
  259.  */
  260.  
  261. #define NERR_NoComputerName     (NERR_BASE+170) /* A computername has not been configured.  */
  262. #define NERR_MsgAlreadyStarted  (NERR_BASE+171) /* The Messenger service is already started. */
  263. #define NERR_MsgInitFailed      (NERR_BASE+172) /* The Messenger service failed to start.  */
  264. #define NERR_NameNotFound       (NERR_BASE+173) /* The message alias cannot be found on the local-area network. */
  265. #define NERR_AlreadyForwarded   (NERR_BASE+174) /* This message alias has already been forwarded. */
  266. /* UNUSED BASE+175 */
  267. #define NERR_AlreadyExists      (NERR_BASE+176) /* This message alias already exists locally. */
  268. #define NERR_TooManyNames       (NERR_BASE+177) /* The maximum number of added message aliases has been exceeded. */
  269. #define NERR_DelComputerName    (NERR_BASE+178) /* The computername cannot be deleted.*/
  270. #define NERR_LocalForward       (NERR_BASE+179) /* Messages cannot be forwarded back to the same workstation. */
  271. #define NERR_GrpMsgProcessor    (NERR_BASE+180) /* Error in domain message processor */
  272. #define NERR_PausedRemote       (NERR_BASE+181) /* The message was sent, but the recipient has paused the Messenger service. */
  273. #define NERR_BadReceive         (NERR_BASE+182) /* The message was sent but not received. */
  274. #define NERR_NameInUse          (NERR_BASE+183) /* The message alias is currently in use. Try again later. */
  275. #define NERR_MsgNotStarted      (NERR_BASE+184) /* The Messenger service has not been started. */
  276. #define NERR_NotLocalName       (NERR_BASE+185) /* The name is not on the local computer. */
  277. #define NERR_NoForwardName      (NERR_BASE+186) /* The forwarded message alias cannot be found on the network. */
  278. #define NERR_RemoteFull         (NERR_BASE+187) /* The message alias table on the remote station is full. */
  279. #define NERR_NameNotForwarded   (NERR_BASE+188) /* Messages for this alias are not currently being forwarded. */
  280. #define NERR_TruncatedBroadcast (NERR_BASE+189) /* The broadcast message was truncated. */
  281. #define NERR_InvalidDevice      (NERR_BASE+194) /* This is an invalid devicename. */
  282. #define NERR_WriteFault         (NERR_BASE+195) /* A write fault occurred. */
  283. /* UNUSED BASE+196 */
  284. #define NERR_DuplicateName      (NERR_BASE+197) /* A duplicate message alias exists on the local-area network. */
  285. #define NERR_DeleteLater        (NERR_BASE+198) /* @W This message alias will be deleted later. */
  286. #define NERR_IncompleteDel      (NERR_BASE+199) /* The message alias was not successfully deleted from all networks. */
  287. #define NERR_MultipleNets       (NERR_BASE+200) /* This operation is not supported on machines with multiple networks. */
  288.  
  289. /*
  290.  *      DASD limit API error codes--BASE+201 to BASE+209
  291.  */
  292.  
  293. #define NERR_DASDNotInstalled         (NERR_BASE+201)
  294. #define NERR_DASDAlreadyInstalled     (NERR_BASE+202)
  295. #define NERR_NotHPFSVolume            (NERR_BASE+203)
  296. #define NERR_DASDMaxValidationFailed  (NERR_BASE+204)
  297. #define NERR_DASDInstallVolumeLocked  (NERR_BASE+205)
  298. #define NERR_LimitNotFound            (NERR_BASE+206)
  299. #define NERR_LimitExists              (NERR_BASE+207)
  300. #define NERR_DASDNotRunning           (NERR_BASE+208)
  301. #define NERR_DASDNotOperational       (NERR_BASE+209)
  302.  
  303. /*
  304.  *      Server API related
  305.  *              Error codes BASE+210 to BASE+229
  306.  */
  307.  
  308. #define NERR_NetNameNotFound    (NERR_BASE+210) /* This shared resource does not exist.*/
  309. #define NERR_DeviceNotShared    (NERR_BASE+211) /* This device is not shared. */
  310. #define NERR_ClientNameNotFound (NERR_BASE+212) /* A session does not exist with that computername. */
  311. #define NERR_FileIdNotFound     (NERR_BASE+214) /* There isn't an open file with that ID number. */
  312. #define NERR_ExecFailure        (NERR_BASE+215) /* A failure occurred when executing a remote administration command. */
  313. #define NERR_TmpFile            (NERR_BASE+216) /* A failure occurred when opening a remote temporary file. */
  314. #define NERR_TooMuchData        (NERR_BASE+217) /* The data returned from a remote administration command has been truncated to 64K. */
  315. #define NERR_DeviceShareConflict (NERR_BASE+218) /* This device cannot be shared as both a spooled and a non-spooled resource. */
  316. #define NERR_BrowserTableIncomplete (NERR_BASE+219)  /* The information in the list of servers may be incorrect. */
  317. #define NERR_NotLocalDomain     (NERR_BASE+220) /* The computer isn't active on this domain. */
  318.  
  319. /*
  320.  * NET APP (cmdline) error messages
  321.  */
  322. #define NERR_RedirectionsNotFound       (NERR_BASE+221)
  323. #define NERR_LocalPathWarning           (NERR_BASE+222)
  324. #define NERR_AssignmentNotMade          (NERR_BASE+223)
  325. #define NERR_ItemNotAssigned            (NERR_BASE+224)
  326. #define NERR_CantAddAssignments         (NERR_BASE+225)
  327. #define NERR_CantSetAssignments         (NERR_BASE+226)
  328. #define NERR_DomainSpecificInfo         (NERR_BASE+227)
  329. #define NERR_TooManyLogonAsn            (NERR_BASE+228)
  330. #define NERR_DASDNoAPARs                (NERR_BASE+229)
  331. /*
  332.  *      CharDev API related
  333.  *              Error codes BASE+230 to BASE+249
  334.  */
  335.  
  336. /* UNUSED BASE+230 */
  337. #define NERR_DevInvalidOpCode   (NERR_BASE+231) /* The operation is invalid for this device. */
  338. #define NERR_DevNotFound        (NERR_BASE+232) /* This device cannot be shared. */
  339. #define NERR_DevNotOpen         (NERR_BASE+233) /* This device was not open. */
  340. #define NERR_BadQueueDevString  (NERR_BASE+234) /* This devicename list is invalid. */
  341. #define NERR_BadQueuePriority   (NERR_BASE+235) /* The queue priority is invalid. */
  342. #define NERR_NoCommDevs         (NERR_BASE+237) /* There are no shared communication devices. */
  343. #define NERR_QueueNotFound      (NERR_BASE+238) /* The queue you specified doesn't exist. */
  344. #define NERR_BadDevString       (NERR_BASE+240) /* This list of devices is invalid. */
  345. #define NERR_BadDev             (NERR_BASE+241) /* The requested device is invalid. */
  346. #define NERR_InUseBySpooler     (NERR_BASE+242) /* This device is already in use by the spooler. */
  347. #define NERR_CommDevInUse       (NERR_BASE+243) /* This device is already in use as a communication device. */
  348.  
  349. /*
  350.  *      NetICanonicalize and NetIType and NetIMakeLMFileName
  351.  *      NetIListCanon and NetINameCheck
  352.  *              Error codes BASE+250 to BASE+269
  353.  */
  354.  
  355. #define NERR_InvalidComputer   (NERR_BASE+251) /* This computername is invalid. */
  356. /* UNUSED BASE+252 */
  357. /* UNUSED BASE+253 */
  358. #define NERR_MaxLenExceeded    (NERR_BASE+254) /* The string and prefix specified are too long. */
  359. /* UNUSED BASE+255 */
  360. #define NERR_BadComponent      (NERR_BASE+256) /* This path component is invalid. */
  361. #define NERR_CantType          (NERR_BASE+257) /* Cannot determine type of input. */
  362. /* UNUSED BASE+258 */
  363. /* UNUSED BASE+259 */
  364. #define NERR_TooManyEntries    (NERR_BASE+262) /* The buffer for types is not big enough. */
  365.  
  366. /*
  367.  *      NetProfile
  368.  *              Error codes BASE+270 to BASE+276
  369.  */
  370.  
  371. /* UNUSED BASE+270 */
  372. /* UNUSED BASE+271 */
  373. /* UNUSED BASE+272 */
  374. /* UNUSED BASE+273 */
  375. /* UNUSED BASE+274 */
  376. /* UNUSED BASE+275 */
  377.  
  378.  
  379. /*
  380.  *      NetAudit and NetErrorLog
  381.  *              Error codes BASE+277 to BASE+279
  382.  */
  383.  
  384. #define NERR_LogOverflow           (NERR_BASE+277)      /* This log file exceeds the maximum defined size. */
  385. #define NERR_LogFileChanged        (NERR_BASE+278)      /* This log file has changed between reads. */
  386. #define NERR_LogFileCorrupt        (NERR_BASE+279)      /* This log file is corrupt. */
  387.  
  388. /*
  389.  *      NetRemote
  390.  *              Error codes BASE+280 to BASE+299
  391.  */
  392. #define NERR_SourceIsDir   (NERR_BASE+280) /* The source path cannot be a directory. */
  393. #define NERR_BadSource     (NERR_BASE+281) /* The source path is illegal. */
  394. #define NERR_BadDest       (NERR_BASE+282) /* The destination path is illegal. */
  395. #define NERR_DifferentServers   (NERR_BASE+283) /* The source and destination paths are on different servers. */
  396. /* UNUSED BASE+284 */
  397. #define NERR_RunSrvPaused       (NERR_BASE+285) /* The Run server you requested is paused. */
  398. /* UNUSED BASE+286 */
  399. /* UNUSED BASE+287 */
  400. /* UNUSED BASE+288 */
  401. #define NERR_ErrCommRunSrv      (NERR_BASE+289) /* An error occurred when communicating with a Run server. */
  402. /* UNUSED BASE+290 */
  403. #define NERR_ErrorExecingGhost  (NERR_BASE+291) /* An error occurred when starting a background process. */
  404. #define NERR_ShareNotFound      (NERR_BASE+292) /* The shared resource you are connected to could not be found.*/
  405. /* UNUSED BASE+293 */
  406. /* UNUSED BASE+294 */
  407.  
  408.  
  409. /*
  410.  *  NetWksta.sys (redir) returned error codes.
  411.  *
  412.  *          NERR_BASE + (300-329)
  413.  */
  414.  
  415. #define NERR_InvalidLana        (NERR_BASE+300) /* The LAN adapter number is invalid.  */
  416. #define NERR_OpenFiles          (NERR_BASE+301) /* There are open files on the connection.    */
  417. #define NERR_ActiveConns        (NERR_BASE+302) /* Active connections still exist. */
  418. #define NERR_BadPasswordCore    (NERR_BASE+303) /* This netname or password is invalid. */
  419. #define NERR_DevInUse           (NERR_BASE+304) /* The device is being accessed by an active process. */
  420. #define NERR_LocalDrive         (NERR_BASE+305) /* The drive letter is in use locally. */
  421. #define NERR_PausedConns        (NERR_BASE+306) /* Paused devices cannot be deleted */
  422. #define NERR_PipeBufTooSmall    (NERR_BASE+307) /* Write to a network named pipe buffer that is too small */
  423.  
  424. /*
  425.  *  Alert error codes.
  426.  *
  427.  *          NERR_BASE + (330-339)
  428.  */
  429. #define NERR_AlertExists        (NERR_BASE+330) /* The specified client is already registered for the specified event. */
  430. #define NERR_TooManyAlerts      (NERR_BASE+331) /* The alert table is full. */
  431. #define NERR_NoSuchAlert        (NERR_BASE+332) /* An invalid or nonexistent alertname was raised. */
  432. #define NERR_BadRecipient       (NERR_BASE+333) /* The alert recipient is invalid.*/
  433. #define NERR_AcctLimitExceeded  (NERR_BASE+334) /* A user's session with this server has been deleted
  434.                                                  * because his logon hours are no longer valid */
  435.  
  436. /*
  437.  *  Additional Error and Audit log codes.
  438.  *
  439.  *          NERR_BASE +(340-343)
  440.  */
  441. #define NERR_InvalidLogSeek     (NERR_BASE+340) /* The log file does not contain the requested record number. */
  442. /* UNUSED BASE+341 */
  443. /* UNUSED BASE+342 */
  444. /* UNUSED BASE+343 */
  445.  
  446. /*
  447.  *  Additional UAS and NETLOGON codes
  448.  *
  449.  *          NERR_BASE +(350-359)
  450.  */
  451. #define NERR_BadUasConfig       (NERR_BASE+350) /* The user account system database is not configured correctly. */
  452. #define NERR_InvalidUASOp       (NERR_BASE+351) /* This operation is not permitted when the Netlogon service is running. */
  453. #define NERR_LastAdmin          (NERR_BASE+352) /* This operation is not allowed on the last admin account. */
  454. #define NERR_DCNotFound         (NERR_BASE+353) /* Unable to find domain controller for this domain. */
  455. #define NERR_LogonTrackingError (NERR_BASE+354) /* Unable to set logon information for this user. */
  456. #define NERR_NetlogonNotStarted (NERR_BASE+355) /* The Netlogon service has not been started. */
  457. #define NERR_CanNotGrowUASFile  (NERR_BASE+356) /* Unable to grow the user account system database. */
  458. /* UNUSED BASE+357 */
  459. /* UNUSED BASE+358 */
  460. #define NERR_PasswordMismatch   (NERR_BASE+358) /* A password mismatch has been detected. */
  461. /* d18056 */
  462. #define NERR_MaxBadPasswordExceeded (NERR_BASE+359) /* The number of bad password
  463.                                                      * has exceeded the max allowed
  464.                                                      */
  465.  
  466. /*
  467.  *  Server Integration error codes.
  468.  *
  469.  *          NERR_BASE +(360-369)
  470.  */
  471. #define NERR_NoSuchServer       (NERR_BASE+360) /* The server ID does not specify a valid server. */
  472. #define NERR_NoSuchSession      (NERR_BASE+361) /* The session ID does not specify a valid session. */
  473. #define NERR_NoSuchConnection   (NERR_BASE+362) /* The connection ID does not specify a valid connection. */
  474. #define NERR_TooManyServers     (NERR_BASE+363) /* There is no space for another entry in the table of available servers. */
  475. #define NERR_TooManySessions    (NERR_BASE+364) /* The server has reached the maximum number of sessions it supports. */
  476. #define NERR_TooManyConnections (NERR_BASE+365) /* The server has reached the maximum number of connections it supports. */
  477. #define NERR_TooManyFiles       (NERR_BASE+366) /* The server cannot open more files because it has reached its maximum number. */
  478. #define NERR_NoAlternateServers (NERR_BASE+367) /* There are no alternate servers registered on this server. */
  479. #define NERR_TooManySrvNames    (NERR_BASE+368) /* The maximum number of server names has been reached. */
  480. #define NERR_DelPrimaryName     (NERR_BASE+369) /* The deletion of the server's primary name is not allowed. */
  481.  
  482. /*
  483.  *  UPS error codes.
  484.  *
  485.  *          NERR_BASE + (380-384)
  486.  */
  487. /* UNUSED BASE+380 */
  488. /* UNUSED BASE+381 */
  489. /* UNUSED BASE+382 */
  490. /* UNUSED BASE+383 */
  491. /* UNUSED BASE+384 */
  492.  
  493. /*
  494.  *  Remoteboot error codes.
  495.  *
  496.  *          NERR_BASE + (400-419)
  497.  *          Error codes 400 - 405 are used by RPLBOOT.SYS.
  498.  *          Error codes 403, 407 - 416 are used by RPLLOADR.COM,
  499.  *          Error code 417 is the alerter message of REMOTEBOOT (RPLSERVR.EXE).
  500.  *          Error code 418 is for when REMOTEBOOT can't start
  501.  *          Error code 419 is for a disallowed 2nd rpl connection
  502.  */
  503. #define NERR_BadDosRetCode      (NERR_BASE+400) /* The program below returned an MS-DOS error code:*/
  504. #define NERR_ProgNeedsExtraMem  (NERR_BASE+401) /* The program below needs more memory:*/
  505. #define NERR_BadDosFunction     (NERR_BASE+402) /* The program below called an unsupported MS-DOS function:*/
  506. #define NERR_RemoteBootFailed   (NERR_BASE+403) /* The workstation failed to boot.*/
  507. #define NERR_BadFileCheckSum    (NERR_BASE+404) /* The file below is corrupt.*/
  508. #define NERR_NoRplBootSystem    (NERR_BASE+405) /* No loader is specified in the boot-block definition file.*/
  509. #define NERR_RplLoadrNetBiosErr (NERR_BASE+406) /* NetBIOS returned an error: The NCB and SMB are dumped above.*/
  510. #define NERR_RplLoadrDiskErr    (NERR_BASE+407) /* A disk I/O error occurred.*/
  511. #define NERR_ImageParamErr      (NERR_BASE+408) /* Image parameter substitution failed.*/
  512. #define NERR_TooManyImageParams (NERR_BASE+409) /* Too many image parameters cross disk sector boundaries.*/
  513. #define NERR_NonDosFloppyUsed   (NERR_BASE+410) /* The image was not generated from an MS-DOS diskette formatted with /S.*/
  514. #define NERR_RplBootRestart     (NERR_BASE+411) /* Remote boot will be restarted later.*/
  515. #define NERR_RplSrvrCallFailed  (NERR_BASE+412) /* The call to the Remoteboot server failed.*/
  516. #define NERR_CantConnectRplSrvr (NERR_BASE+413) /* Cannot connect to the Remoteboot server.*/
  517. #define NERR_CantOpenImageFile  (NERR_BASE+414) /* Cannot open image file on the Remoteboot server.*/
  518. #define NERR_CallingRplSrvr     (NERR_BASE+415) /* Connecting to the Remoteboot server...*/
  519. #define NERR_StartingRplBoot    (NERR_BASE+416) /* Connecting to the Remoteboot server...*/
  520. #define NERR_RplBootServiceTerm (NERR_BASE+417) /* Remote boot service was stopped; check the error log for the cause of the problem.*/
  521. #define NERR_RplBootStartFailed (NERR_BASE+418) /* Remote boot startup failed; check the error log for the cause of the problem.*/
  522. #define NERR_RPL_CONNECTED      (NERR_BASE+419) /* A second connection to a Remoteboot resource is not allowed.*/
  523. #define NERR_RplBootErrDetected (NERR_BASE+420) /* The REMOTEBOOT service detected a configuration error but is continuing.  Check the error log at the remote IPL server for details. */
  524. #define NERR_RPL_COPYRIGHT1     (NERR_BASE+421) /* Remote IPL Initialization Program Version 2.0. */
  525. #define NERR_RPL_COPYRIGHT2     (NERR_BASE+422) /* (C) Copyright International Business Machines Corporation 1989, 1991. */
  526. #define NERR_RPL_COPYRIGHT3     (NERR_BASE+423) /* (C) Copyright Microsoft Corporation 1989, 1991. */
  527.  
  528. /*
  529.  *  FTADMIN API error codes
  530.  *
  531.  *       NERR_BASE + (425-434)
  532.  *
  533.  */
  534. #define NERR_FTNotInstalled     (NERR_BASE+425) /* DISKFT.SYS is not installed. */
  535. #define NERR_FTMONITNotRunning  (NERR_BASE+426) /* FTMONIT is not running */
  536. #define NERR_FTDiskNotLocked    (NERR_BASE+427) /* FTADMIN has not locked the disk. */
  537. #define NERR_FTDiskNotAvailable (NERR_BASE+428) /* Some other process has locked the disk. */
  538. #define NERR_FTUnableToStart    (NERR_BASE+429) /* The verifier/correcter cannot be started. */
  539. #define NERR_FTNotInProgress    (NERR_BASE+430) /* The verifier/correcter can't be aborted because it isn't started. */
  540. #define NERR_FTUnableToAbort    (NERR_BASE+431) /* The verifier/correcter can't be aborted. */
  541. #define NERR_FTUnabletoChange   (NERR_BASE+432) /* The disk could not be locked/unlocked. */
  542. #define NERR_FTInvalidErrHandle (NERR_BASE+433) /* The error handle was not recognized. */
  543. #define NERR_FTDriveNotMirrored (NERR_BASE+434) /* The drive is not mirrored. */
  544.  
  545. /*
  546.  *  APPPARM error codes
  547.  *
  548.  *       NERR_BASE + 435-499
  549.  *
  550.  */
  551. #if !defined(NERR_AppParmNotFound)
  552. #define NERR_AppParmNotFound            (NERR_BASE+435)
  553. #endif
  554. #if !defined(NERR_AppParmExists)
  555. #define NERR_AppParmExists              (NERR_BASE+436)
  556. #endif
  557. #if !defined(NERR_UserCannotOverride)
  558. #define NERR_UserCannotOverride         (NERR_BASE+437)
  559. #endif
  560. #if !defined(NERR_EnvDataMustBeString)
  561. #define NERR_EnvDataMustBeString        (NERR_BASE+438)
  562. #endif
  563. #if !defined(NERR_IniFileError)
  564. #define NERR_IniFileError               (NERR_BASE+439)
  565. #endif
  566. #if !defined(NERR_IniFileOnlyOnPrimary)
  567. #define NERR_IniFileOnlyOnPrimary       (NERR_BASE+440)
  568. #endif
  569. #if !defined(NERR_IniMissingOrDamaged)
  570. #define NERR_IniMissingOrDamaged        (NERR_BASE+441)
  571. #endif
  572. #if !defined(NERR_IncorrectApptype)
  573. #define NERR_IncorrectApptype           (NERR_BASE+442)
  574. #endif
  575.  
  576. /*
  577.  *  ALIAS API error codes
  578.  *
  579.  *       NERR_BASE + 681-688
  580.  *
  581.  */
  582. #define NERR_NoAccessDrive      (NERR_BASE+681)
  583. #if !defined(NERR_AliasExists)
  584. #define NERR_AliasExists        (NERR_BASE+682)
  585. #endif
  586. #if !defined(NERR_AliasNotFound)
  587. #define NERR_AliasNotFound      (NERR_BASE+683)
  588. #endif
  589. #define NERR_InvAliasDev        (NERR_BASE+685)
  590. #if !defined(NERR_DCDBError)
  591. #define NERR_DCDBError          (NERR_BASE+686)
  592. #endif
  593. #if !defined(NERR_NetnameExists)
  594. #define NERR_NetnameExists      (NERR_BASE+687)
  595. #endif
  596. #if !defined(NERR_DupAliasRes)
  597. #define NERR_DupAliasRes       (NERR_BASE+688)
  598. #endif
  599.  
  600. /*
  601.  *  APP API error codes
  602.  *
  603.  *       NERR_BASE + 692-696
  604.  *
  605.  */
  606. #if !defined(NERR_AppExists)
  607. #define NERR_AppExists          (NERR_BASE+692)
  608. #endif
  609. #if !defined(NERR_AppNotFound)
  610. #define NERR_AppNotFound        (NERR_BASE+693)
  611. #endif
  612. #if !defined(NERR_DCDBCreateError)
  613. #define NERR_DCDBCreateError    (NERR_BASE+694)
  614. #endif
  615. #if !defined(NERR_NotPrimaryDCDB)
  616. #define NERR_NotPrimaryDCDB     (NERR_BASE+695)
  617. #endif
  618. #define NERR_BadAppRemark       (NERR_BASE+696)
  619. #define NERR_CannotMigrate      (NERR_BASE+697)
  620.  
  621. /* NetAccessApply error codes */
  622.  
  623. #define NERR_ApplyNotPermitted  (NERR_BASE+700)
  624. #define NERR_IncompleteApply    (NERR_BASE+701)
  625. #define NERR_ApplyFailed        (NERR_BASE+702)
  626.  
  627.  
  628. /*
  629.  *      RIPLERR_BASE is the base of remote IPL error codes.
  630.  */
  631.  
  632. #define RIPLERR_BASE     5400
  633.  
  634.  
  635. /*      RIPL ERROR MESSAGE RANGE      = 5400 <--> 5499
  636.  *
  637.  *      General RIPL Server errors    = 5400 <--> 5419
  638.  *      NetCreateRIPLMachine errors\  = 5420 <--> 5439
  639.  *      Net32RIPLMachineCreate errors
  640.  *      NetDeleteRIPLMachine errors   = 5440 <--> 5449
  641.  *      NetEnumRIPLMachine errors\    = 5450 <--> 5459
  642.  *      Net32RIPLMachineEnum errors
  643.  *      NetGetRIPLMachineInfo errors\ = 5460 <--> 5469
  644.  *      Net32RIPLMachineGetInfo errors
  645.  *      NetSetRIPLMachineInfo errors\ = 5470 <--> 5479
  646.  *      Net32RIPLMachineSetInfo errors
  647.  *      DOS Images errors             = 5480 <--> 5489
  648.  *      Net32RIPLMachineClass errors  = 5490 <--> 5499
  649.  */
  650.  
  651. /*
  652.  *      Start Remote IPL API error messages
  653.  */
  654.  
  655.  
  656. #define NERR_NotRIPLServer             (RIPLERR_BASE + 1)
  657.         /*
  658.          *The server name specified is a not a valid remote IPL server.
  659.          */
  660.  
  661. #define NERR_RPL_MAPNotFound           (RIPLERR_BASE + 2)
  662.         /*
  663.          *The RPL.MAP file was not found or could not be opened on the
  664.          *remote IPL server.
  665.          */
  666.  
  667. #define NERR_RPL_MAPReadError          (RIPLERR_BASE + 3)
  668.         /*
  669.          *An error was detected while reading the RPL.MAP file on the
  670.          *remote IPL server.
  671.          */
  672.  
  673. #define NERR_RPL_MAPWriteError         (RIPLERR_BASE + 4)
  674.         /*
  675.          *An error occurred while updating the RPL.MAP file on the
  676.          *remote IPL server.
  677.          */
  678.  
  679. #define NERR_MachineNotFound           (RIPLERR_BASE + 5)
  680.         /*
  681.          *The machine definition does not exist on the remote IPL server.
  682.          */
  683.  
  684. #define NERR_FITSFileNotFound          (RIPLERR_BASE + 6)
  685.         /*
  686.          *An error was detected while reading configuration files in
  687.          *the IBMLAN\RPL\FITS directory on the remote IPL server.
  688.          */
  689.  
  690. #define NERR_MACHINESFileNotFound      (RIPLERR_BASE + 7)
  691.         /*
  692.          *An error was detected while reading configuration files in
  693.          *the IBMLAN\RPL\MACHINES directory tree on the remote IPL server.
  694.          */
  695.  
  696. #define NERR_IBMCOMFileNotFound        (RIPLERR_BASE + 8)
  697.         /*
  698.          *An error was detected while reading configuration files in
  699.          *the IBMLAN\RPL\IBMCOM directory tree on the remote IPL server.
  700.          */
  701.  
  702. #define NERR_RPLUSERFileNotFound       (RIPLERR_BASE + 9)
  703.         /*
  704.          *An error was detected while reading configuration files in
  705.          *the IBMLAN\RPLUSER directory tree on the remote IPL server.
  706.          */
  707.  
  708. #define NERR_RPLFileNotFound           (RIPLERR_BASE + 10)
  709.         /*
  710.          *An error was detected while reading configuration files in
  711.          *the IBMLAN\RPL directory tree on the remote IPL server.
  712.          */
  713.  
  714. #define NERR_MachineFilesLocked        (RIPLERR_BASE + 11)
  715.         /*
  716.          *Machine configuration files are locked by the remote IPL
  717.          *server file system.
  718.          */
  719.  
  720. #define NERR_ServerRecordInvalid       (RIPLERR_BASE + 12)
  721.         /*
  722.          *The server record identifier is not defined in an enabled
  723.          *server record entry in the RPL.MAP file.
  724.          */
  725.  
  726. #define NERR_RemarkInvalid             (RIPLERR_BASE + 13)
  727.         /*
  728.          *The machine definition remark was more than 48 bytes.
  729.          */
  730.  
  731. #define NERR_NDISProfileNotFound       (RIPLERR_BASE + 14)
  732.         /*
  733.          *The network adapter directory profile could not be found
  734.          *in the NDISDD.PRO file on the remote IPL server.
  735.          */
  736.  
  737. #define NERR_MachNameTooLong           (RIPLERR_BASE + 15)
  738.         /*
  739.          *The machine name length has exceeded the maximum allowed.
  740.          */
  741.  
  742. #define NERR_BadRspFileFormat          (RIPLERR_BASE + 16)
  743.         /*
  744.          *The response file is not formatted correctly.
  745.          */
  746.  
  747. #define NERR_CreateMachNameInvalid     (RIPLERR_BASE + 20)
  748.         /*
  749.          *The machine definition could not be created because the name
  750.          *is not unique in the domain.
  751.          */
  752.  
  753. #define NERR_CreateMachNameExists      (RIPLERR_BASE + 21)
  754.         /*
  755.          *The machine definition already exists on the remote IPL server.
  756.          */
  757.  
  758. #define NERR_CreateMachModelInvalid    (RIPLERR_BASE + 22)
  759.         /*
  760.          *The model machine name does not exist on the remote IPL server.
  761.          */
  762.  
  763. #define NERR_CreateMachDriveInvalid    (RIPLERR_BASE + 24)
  764.         /*
  765.          * The remote IPL OS/2 boot drive identifier is not valid.
  766.          */
  767.  
  768. #define NERR_NetworkAddressInvalid     (RIPLERR_BASE + 25)
  769.         /*
  770.          *The network adapter address is not valid.
  771.          */
  772.  
  773. #define NERR_CreateMachAddrExists      (RIPLERR_BASE + 26)
  774.         /*
  775.          *A machine definition already exists with the specified
  776.          *network adapter address.
  777.          */
  778.  
  779. #define NERR_OSVersionInvalid          (RIPLERR_BASE + 27)
  780.         /*
  781.          *The OS version specified does not match an installed OS version.
  782.          */
  783.  
  784. #define NERR_CreateMachReadError       (RIPLERR_BASE + 28)
  785.         /*
  786.          *An error was detected while reading machine configuration
  787.          *files on the remote IPL server.
  788.          */
  789.  
  790. #define NERR_CreateMachWriteError      (RIPLERR_BASE + 29)
  791.         /*
  792.          *An error was detected while writing machine configuration
  793.          *files on the remote IPL server.
  794.          */
  795.  
  796. #define NERR_CreateMachFileNotFound    (RIPLERR_BASE + 30)
  797.         /*
  798.          *Files required for creating a machine definition could not
  799.          *be found on the remote IPL server.
  800.          */
  801.  
  802. #define NERR_NetworkAdapterTypeInvalid (RIPLERR_BASE + 31)
  803.         /*
  804.          *The adapter type specified does not match a Title string in
  805.          *any of the NIF files for the supported adapters.
  806.          */
  807.  
  808. #define NERR_CreateMachDirFailure      (RIPLERR_BASE + 32)
  809.         /*
  810.          *An error was detected while creating machine configuration
  811.          *directories on the remote IPL server.
  812.          */
  813.  
  814. #define NERR_CreateMachACLFailure      (RIPLERR_BASE + 33)
  815.         /*
  816.          *An error was detected while creating access control profiles
  817.          *on the remote IPL server.
  818.          */
  819.  
  820. #define NERR_IPAddressInvalid          (RIPLERR_BASE + 34)
  821.         /*
  822.          *The address specified for IP address, subnet mask, router, or
  823.          *nameserver does not conform to the IP address format.
  824.          */
  825.  
  826. #define NERR_DDNSRequiresDHCP          (RIPLERR_BASE + 35)
  827.         /*
  828.          *DHCP must be configured before DDNS can be selected.
  829.          */
  830.  
  831. #define NERR_TCPIPParmMismatch         (RIPLERR_BASE + 36)
  832.         /*
  833.          *When DHCP is not enabled, IP address, subnet mask, router,
  834.          *and nameserver must all be specified.
  835.          */
  836.  
  837. #define NERR_NetworkAdapterTypeRequired (RIPLERR_BASE + 37)
  838.         /*
  839.          *Network Adapter type is required when it is not defined
  840.          *in the machine class.
  841.          */
  842.  
  843. #define NERR_MonitorTypeRequired       (RIPLERR_BASE + 38)
  844.         /*
  845.          *Monitor type is required when it is not defined in the machine class
  846.          *the machine class.
  847.          */
  848.  
  849. #define NERR_NCPrtAPIFailure           (RIPLERR_BASE + 39)
  850.         /*
  851.          *  An error was detected while querying or defining printers.
  852.          */
  853.  
  854. #define NERR_DelMachFailure            (RIPLERR_BASE + 40)
  855.         /*
  856.          *The machine definition could not be deleted.
  857.          */
  858.  
  859. #define NERR_DelMachDirFailure         (RIPLERR_BASE + 41)
  860.         /*
  861.          *An error was detected while deleting machine configuration
  862.          *directories on the remote IPL server.
  863.          */
  864.  
  865. #define NERR_EnumMachNotFound          (RIPLERR_BASE + 50)
  866.         /*
  867.          *A machine definition of the type requested does not exist
  868.          *on the remote IPL server.
  869.          */
  870.  
  871. #define NERR_MachineIniReadError       (RIPLERR_BASE + 60)
  872.         /*
  873.          *An error occurred while reading the machine.INI file.
  874.          */
  875.  
  876. #define NERR_SetMachDriveFailure       (RIPLERR_BASE + 70)
  877.         /*
  878.          *The remote IPL OS/2 boot drive identifier cannot be changed
  879.          *because the machine has a Workplace Shell desktop defined.
  880.          */
  881.  
  882. #define NERR_SetMachNameInvalid        (RIPLERR_BASE + 71)
  883.         /*
  884.          *The machine definition name cannot be changed.
  885.          */
  886.  
  887. #define NERR_SetMachVersionInvalid     (RIPLERR_BASE + 72)
  888.         /*
  889.          *The machine definition OS/2 version cannot be changed.
  890.          */
  891.  
  892. #define NERR_SetMachCompInvalid        (RIPLERR_BASE + 73)
  893.         /*
  894.          *The operation is not valid on this machine definition.
  895.          */
  896.  
  897. #define NERR_MachineIniWriteError      (RIPLERR_BASE + 74)
  898.         /*
  899.          *An error occurred while updating the machine.INI file.
  900.          */
  901.  
  902. #define NERR_DOSImageNotFound          (RIPLERR_BASE + 80)
  903.         /*
  904.          *The DOS image file name does not exist.
  905.          */
  906.  
  907. #define NERR_MachineClassNotFound      (RIPLERR_BASE + 90)
  908.         /*
  909.          * The machine class name does not exist.
  910.          */
  911.  
  912. #define NERR_MachineClassIniReadError  (RIPLERR_BASE + 91)
  913.         /*
  914.          * An error occurred while reading the machineclass.INI file.
  915.          */
  916.  
  917. #define NERR_MachineClassExists        (RIPLERR_BASE + 92)
  918.         /*
  919.          *A machine class definition already exists
  920.          */
  921.  
  922. #define NERR_MachineClassCreateError   (RIPLERR_BASE + 93)
  923.         /*
  924.          *Error while creating machine class
  925.          */
  926.  
  927. #define NERR_MachineClassDeleteFailure (RIPLERR_BASE + 94)
  928.         /*
  929.          *An error was detected while deleting machine class
  930.          *directory on the remote IPL server.
  931.          */
  932.  
  933. #define NERR_MachineClassRSPNotFound   (RIPLERR_BASE + 95)
  934.         /*
  935.          *An error was detected while reading Machine Class
  936.          *MCLASS.RSP configuration file.
  937.          */
  938.  
  939. #define NERR_MachineClassVideoNotFound (RIPLERR_BASE + 96)
  940.         /*
  941.          *An error was detected while reading Machine Class
  942.          *video configuration files.
  943.          */
  944.  
  945. #define NERR_MachineClassInvalid       (RIPLERR_BASE + 97)
  946.         /*
  947.          *The machine class name is invalid.
  948.          */
  949.  
  950. #define NERR_MachClassRemarkTooLong    (RIPLERR_BASE + 98)
  951.         /*
  952.          *The machine class definition remark was more than 255 bytes.
  953.          */
  954.  
  955. #define NERR_MachClassItemNotInRSP     (RIPLERR_BASE + 99)
  956.         /*
  957.          *The exist machine class definition contains an item not
  958.          *found in MCLASS.RSP
  959.          */
  960.  
  961. /*******    RIPL ERROR MESSAGE RANGE = 5400 <--> 5499     *************/
  962. /* Additional RIPL machine, machine class messages 5626-5700          */
  963.  
  964. #define NERR_UConfigError               (RIPLERR_BASE + 226)
  965.         /*
  966.          * The user config.sys data is not valid.
  967.          *
  968.          */
  969.  
  970. #define NERR_NoServerDHCPBootSupport    (RIPLERR_BASE + 227)
  971.         /*
  972.          * The target server does not support the DHCP boot protocol.
  973.          */
  974.  
  975. #define NERR_NoServerOSSupport          (RIPLERR_BASE + 228)
  976.         /*
  977.          * The target server does not support the specified OS version.
  978.          */
  979.  
  980. #define NERR_SCSIAdapterRequired        (RIPLERR_BASE + 229)
  981.         /*
  982.          * A SCSI hard disk requires a SCSI adapter.
  983.          */
  984.  
  985. #define NERR_ActionNotSupported         (RIPLERR_BASE + 230)
  986.         /*
  987.          * The target server does not support the creation,
  988.          * modification, or deletion of machine classes.
  989.          */
  990.  
  991. #define NERR_ClassCannotBeModified      (RIPLERR_BASE + 231)
  992.         /*
  993.          * The machine class cannot be modified or deleted.
  994.          */
  995.  
  996. #define NERR_AdapterDHCPBootConflict    (RIPLERR_BASE + 232)
  997.         /*
  998.          * The specified network adapter does not support the selected boot protocol.
  999.          */
  1000.  
  1001.  
  1002. #define NERR_TCPBEUIRequiresTCPIP        (RIPLERR_BASE + 233)
  1003.         /*
  1004.          * When NetBIOS scope, node type, datagram distributor, or NetBIOS
  1005.          * name server are specified, TCP/IP must be configured.
  1006.          */
  1007.  
  1008. #define NERR_DHCP_OS_Mismatch           (RIPLERR_BASE + 234)
  1009.         /*
  1010.          * The specified parameter is not supported by selected operating system.
  1011.          *
  1012.          */
  1013.  
  1014. #define NERR_CommandNotValid            (RIPLERR_BASE + 235)
  1015.         /*
  1016.          * The action you attempted is not supported by the level of software
  1017.          * installed on the local machine.
  1018.          */
  1019.  
  1020. #define NERR_WSLevelFileError           (RIPLERR_BASE + 236)
  1021.         /*
  1022.          * An error occurred while reading IBMLAN\SYSLEVEL.NCU.
  1023.          */
  1024.  
  1025. #define NERR_NcmonitAPIFailure           (RIPLERR_BASE + 237)
  1026.         /*
  1027.          *  An error was detected while querying or defining monitors/resolution.
  1028.          */
  1029.  
  1030. #define NERR_TCPBEUIParmMismatch        (RIPLERR_BASE + 238)
  1031.         /*
  1032.          * When TCPBEUI node type is P or H, datagram distributor and NetBIOS
  1033.          * name server must be specified.
  1034.          * When node type is B, datagram distributor, NetBIOS name server and
  1035.          * NetBios Scope cannot be specified.
  1036.          */
  1037.  
  1038. #define NERR_ServerTCPIPNotConfigured   (RIPLERR_BASE + 239)
  1039.         /*
  1040.          * The Server does not have TCPIP configured.  TCPIP required for
  1041.          * boot_method=DHCP and for boot_protocol=TCPBEUI.
  1042.          */
  1043.  
  1044. #define NERR_ServerTCPBEUINotConfigured   (RIPLERR_BASE + 240)
  1045.         /*
  1046.          * The Server LAN services does not have TCBEUI configured.
  1047.          * TCBEUI required for boot_protocol=TCPBEUI.
  1048.          */
  1049.  
  1050. #define NERR_UnmodifiableRMachParm      (RIPLERR_BASE + 241)
  1051.         /*
  1052.          * Neither the class nor the OS version can be modfified for
  1053.          * a RIPL requester definition.
  1054.          */
  1055.  
  1056. #define NERR_DCDBUserAppCopyError        (RIPLERR_BASE + 242)
  1057.         /*
  1058.          * Warning: An error has occurred while copying user application
  1059.          * directories & files.
  1060.          * However, the application was assigned successfully.
  1061.          */
  1062.  
  1063. #define NERR_LAAInvalid                 (RIPLERR_BASE + 243)
  1064.         /*
  1065.          * Invalid Locally Administered Address
  1066.          */
  1067.  
  1068. #define NERR_LAARequiresNetbeui         (RIPLERR_BASE + 244)
  1069.         /*
  1070.          * Locally Administered Address requires NETBEUI to be selected
  1071.          * as either boot protocol or additional protocol.
  1072.          */
  1073.  
  1074. #define NERR_SBSyntax                   (RIPLERR_BASE + 281)
  1075.         /* The syntax of the command */
  1076.  
  1077. #define NERR_SBAreYouSure               (RIPLERR_BASE + 282)
  1078.         /* Are you SURE you want to delete temporary environment (Y/N)? */
  1079.  
  1080. #define NERR_SBUserCancel               (RIPLERR_BASE + 283)
  1081.         /* Delete cancelled by the user. / */
  1082.  
  1083. #define NERR_SBInvalidName              (RIPLERR_BASE + 284)
  1084.         /* The temporary environment name is invalid. */
  1085.  
  1086. #define NERR_SBAlreadyExist             (RIPLERR_BASE + 285)
  1087.         /* A temporary environment exists for this machine already. */
  1088.  
  1089. #define NERR_SBDirectoryExist           (RIPLERR_BASE + 286)
  1090.         /* The temporary environment name already exists. */
  1091.  
  1092. #define NERR_SBNoTmpEnv                 (RIPLERR_BASE + 287)
  1093.         /* There is no tamporary environment for this machine to delete. */
  1094.  
  1095. #define NERR_SBNoDeleteFile             (RIPLERR_BASE + 288)
  1096.         /* File %s cannot be deleted. */
  1097.  
  1098. #define NERR_SBNoDeleteDir              (RIPLERR_BASE + 289)
  1099.         /* Directory %s cannot be deleted. */
  1100.  
  1101. #define NERR_SBDeleteFailed             (RIPLERR_BASE + 290)
  1102.         /* Delete temporary environment failed. */
  1103.  
  1104. #define NERR_DTSyntax                   (RIPLERR_BASE + 291)
  1105.         /* The syntax of the command */
  1106.  
  1107. #define NERR_DTInvalidDirectory         (RIPLERR_BASE + 292)
  1108.         /* Directory %s does'nt exist */
  1109.  
  1110. #define NERR_DTSourceDirectory          (RIPLERR_BASE + 293)
  1111.         /* Source directory <%s>  */
  1112.  
  1113. #define NERR_DTTargetDirectory          (RIPLERR_BASE + 294)
  1114.         /* Target directory <%s>  */
  1115.  
  1116. #define NERR_DTNewFiles                 (RIPLERR_BASE + 295)
  1117.         /* New files/directories  */
  1118.  
  1119. #define NERR_DTDeletedFiles             (RIPLERR_BASE + 296)
  1120.         /* Deleted files/directories  */
  1121.  
  1122. #define NERR_DTModifiedFiles            (RIPLERR_BASE + 297)
  1123.         /* Modified Files/Directories */
  1124.  
  1125. #define NERR_DTMsg_SIZE                 (RIPLERR_BASE + 298)
  1126.        /* Size %0 */
  1127.  
  1128. #define NERR_DTMsg_DATE                 (RIPLERR_BASE + 299)
  1129.        /* Date %0 */
  1130.  
  1131. #define NERR_DTMsg_TIME                 (RIPLERR_BASE + 300)
  1132.        /* Time %0 */
  1133.  
  1134. #define NERR_DTMsg_EA                   (RIPLERR_BASE + 301)
  1135.        /* EA %0 (Extended Attribute) */
  1136.  
  1137. #define NERR_SBCreateFailed             (RIPLERR_BASE + 302)
  1138.         /* Create temporary environment failed. */
  1139.  
  1140. #endif /* NETERR_INCLUDED */
  1141.