home *** CD-ROM | disk | FTP | other *** search
/ Beginning C++ Through Gam…rogramming (2nd Edition) / BCGP2E.ISO / bloodshed / devcpp-4.9.9.2_setup.exe / lmerr.h < prev    next >
C/C++ Source or Header  |  2005-01-29  |  13KB  |  307 lines

  1. #ifndef _LMERR_H
  2. #define _LMERR_H
  3. #if __GNUC__ >=3
  4. #pragma GCC system_header
  5. #endif
  6.  
  7. #include <winerror.h>
  8. #define NERR_Success 0 
  9. #define NERR_BASE 2100
  10. #define NERR_NetNotStarted (NERR_BASE+2)
  11. #define NERR_UnknownServer (NERR_BASE+3)
  12. #define NERR_ShareMem (NERR_BASE+4)
  13. #define NERR_NoNetworkResource (NERR_BASE+5)
  14. #define NERR_RemoteOnly (NERR_BASE+6)
  15. #define NERR_DevNotRedirected (NERR_BASE+7)
  16. #define NERR_ServerNotStarted (NERR_BASE+14)
  17. #define NERR_ItemNotFound (NERR_BASE+15)
  18. #define NERR_UnknownDevDir (NERR_BASE+16)
  19. #define NERR_RedirectedPath (NERR_BASE+17)
  20. #define NERR_DuplicateShare (NERR_BASE+18)
  21. #define NERR_NoRoom (NERR_BASE+19)
  22. #define NERR_TooManyItems (NERR_BASE+21)
  23. #define NERR_InvalidMaxUsers (NERR_BASE+22)
  24. #define NERR_BufTooSmall (NERR_BASE+23)
  25. #define NERR_RemoteErr (NERR_BASE+27)
  26. #define NERR_LanmanIniError (NERR_BASE+31)
  27. #define NERR_NetworkError (NERR_BASE+36)
  28. #define NERR_WkstaInconsistentState (NERR_BASE+37)
  29. #define NERR_WkstaNotStarted (NERR_BASE+38)
  30. #define NERR_BrowserNotStarted (NERR_BASE+39)
  31. #define NERR_InternalError (NERR_BASE+40)
  32. #define NERR_BadTransactConfig (NERR_BASE+41)
  33. #define NERR_InvalidAPI (NERR_BASE+42)
  34. #define NERR_BadEventName (NERR_BASE+43)
  35. #define NERR_DupNameReboot (NERR_BASE+44)
  36. #define NERR_CfgCompNotFound (NERR_BASE+46)
  37. #define NERR_CfgParamNotFound (NERR_BASE+47)
  38. #define NERR_LineTooLong (NERR_BASE+49)
  39. #define NERR_QNotFound (NERR_BASE+50)
  40. #define NERR_JobNotFound (NERR_BASE+51)
  41. #define NERR_DestNotFound (NERR_BASE+52)
  42. #define NERR_DestExists (NERR_BASE+53)
  43. #define NERR_QExists (NERR_BASE+54)
  44. #define NERR_QNoRoom (NERR_BASE+55)
  45. #define NERR_JobNoRoom (NERR_BASE+56)
  46. #define NERR_DestNoRoom (NERR_BASE+57)
  47. #define NERR_DestIdle (NERR_BASE+58)
  48. #define NERR_DestInvalidOp (NERR_BASE+59)
  49. #define NERR_ProcNoRespond (NERR_BASE+60)
  50. #define NERR_SpoolerNotLoaded (NERR_BASE+61)
  51. #define NERR_DestInvalidState (NERR_BASE+62)
  52. #define NERR_QInvalidState (NERR_BASE+63)
  53. #define NERR_JobInvalidState (NERR_BASE+64)
  54. #define NERR_SpoolNoMemory (NERR_BASE+65)
  55. #define NERR_DriverNotFound (NERR_BASE+66)
  56. #define NERR_DataTypeInvalid (NERR_BASE+67)
  57. #define NERR_ProcNotFound (NERR_BASE+68)
  58. #define NERR_ServiceTableLocked (NERR_BASE+80)
  59. #define NERR_ServiceTableFull (NERR_BASE+81)
  60. #define NERR_ServiceInstalled (NERR_BASE+82)
  61. #define NERR_ServiceEntryLocked (NERR_BASE+83)
  62. #define NERR_ServiceNotInstalled (NERR_BASE+84)
  63. #define NERR_BadServiceName (NERR_BASE+85)
  64. #define NERR_ServiceCtlTimeout (NERR_BASE+86)
  65. #define NERR_ServiceCtlBusy (NERR_BASE+87)
  66. #define NERR_BadServiceProgName (NERR_BASE+88)
  67. #define NERR_ServiceNotCtrl (NERR_BASE+89)
  68. #define NERR_ServiceKillProc (NERR_BASE+90)
  69. #define NERR_ServiceCtlNotValid (NERR_BASE+91)
  70. #define NERR_NotInDispatchTbl (NERR_BASE+92)
  71. #define NERR_BadControlRecv (NERR_BASE+93)
  72. #define NERR_ServiceNotStarting (NERR_BASE+94)
  73. #define NERR_AlreadyLoggedOn (NERR_BASE+100)
  74. #define NERR_NotLoggedOn (NERR_BASE+101)
  75. #define NERR_BadUsername (NERR_BASE+102)
  76. #define NERR_BadPassword (NERR_BASE+103)
  77. #define NERR_UnableToAddName_W (NERR_BASE+104)
  78. #define NERR_UnableToAddName_F (NERR_BASE+105)
  79. #define NERR_UnableToDelName_W (NERR_BASE+106)
  80. #define NERR_UnableToDelName_F (NERR_BASE+107)
  81. #define NERR_LogonsPaused (NERR_BASE+109)
  82. #define NERR_LogonServerConflict (NERR_BASE+110)
  83. #define NERR_LogonNoUserPath (NERR_BASE+111)
  84. #define NERR_LogonScriptError (NERR_BASE+112)
  85. #define NERR_StandaloneLogon (NERR_BASE+114)
  86. #define NERR_LogonServerNotFound (NERR_BASE+115)
  87. #define NERR_LogonDomainExists (NERR_BASE+116)
  88. #define NERR_NonValidatedLogon (NERR_BASE+117)
  89. #define NERR_ACFNotFound (NERR_BASE+119)
  90. #define NERR_GroupNotFound (NERR_BASE+120)
  91. #define NERR_UserNotFound (NERR_BASE+121)
  92. #define NERR_ResourceNotFound (NERR_BASE+122)
  93. #define NERR_GroupExists (NERR_BASE+123)
  94. #define NERR_UserExists (NERR_BASE+124)
  95. #define NERR_ResourceExists (NERR_BASE+125)
  96. #define NERR_NotPrimary (NERR_BASE+126)
  97. #define NERR_ACFNotLoaded (NERR_BASE+127)
  98. #define NERR_ACFNoRoom (NERR_BASE+128)
  99. #define NERR_ACFFileIOFail (NERR_BASE+129)
  100. #define NERR_ACFTooManyLists (NERR_BASE+130)
  101. #define NERR_UserLogon (NERR_BASE+131)
  102. #define NERR_ACFNoParent (NERR_BASE+132)
  103. #define NERR_CanNotGrowSegment (NERR_BASE+133)
  104. #define NERR_SpeGroupOp (NERR_BASE+134)
  105. #define NERR_NotInCache (NERR_BASE+135)
  106. #define NERR_UserInGroup (NERR_BASE+136)
  107. #define NERR_UserNotInGroup (NERR_BASE+137)
  108. #define NERR_AccountUndefined (NERR_BASE+138)
  109. #define NERR_AccountExpired (NERR_BASE+139)
  110. #define NERR_InvalidWorkstation (NERR_BASE+140)
  111. #define NERR_InvalidLogonHours (NERR_BASE+141)
  112. #define NERR_PasswordExpired (NERR_BASE+142)
  113. #define NERR_PasswordCantChange (NERR_BASE+143)
  114. #define NERR_PasswordHistConflict (NERR_BASE+144)
  115. #define NERR_PasswordTooShort (NERR_BASE+145)
  116. #define NERR_PasswordTooRecent (NERR_BASE+146)
  117. #define NERR_InvalidDatabase (NERR_BASE+147)
  118. #define NERR_DatabaseUpToDate (NERR_BASE+148)
  119. #define NERR_SyncRequired (NERR_BASE+149)
  120. #define NERR_UseNotFound (NERR_BASE+150)
  121. #define NERR_BadAsgType (NERR_BASE+151)
  122. #define NERR_DeviceIsShared (NERR_BASE+152)
  123. #define NERR_NoComputerName (NERR_BASE+170)
  124. #define NERR_MsgAlreadyStarted (NERR_BASE+171)
  125. #define NERR_MsgInitFailed (NERR_BASE+172)
  126. #define NERR_NameNotFound (NERR_BASE+173)
  127. #define NERR_AlreadyForwarded (NERR_BASE+174)
  128. #define NERR_AddForwarded (NERR_BASE+175)
  129. #define NERR_AlreadyExists (NERR_BASE+176)
  130. #define NERR_TooManyNames (NERR_BASE+177)
  131. #define NERR_DelComputerName (NERR_BASE+178)
  132. #define NERR_LocalForward (NERR_BASE+179)
  133. #define NERR_GrpMsgProcessor (NERR_BASE+180)
  134. #define NERR_PausedRemote (NERR_BASE+181)
  135. #define NERR_BadReceive (NERR_BASE+182)
  136. #define NERR_NameInUse (NERR_BASE+183)
  137. #define NERR_MsgNotStarted (NERR_BASE+184)
  138. #define NERR_NotLocalName (NERR_BASE+185)
  139. #define NERR_NoForwardName (NERR_BASE+186)
  140. #define NERR_RemoteFull (NERR_BASE+187)
  141. #define NERR_NameNotForwarded (NERR_BASE+188)
  142. #define NERR_TruncatedBroadcast (NERR_BASE+189)
  143. #define NERR_InvalidDevice (NERR_BASE+194)
  144. #define NERR_WriteFault (NERR_BASE+195)
  145. #define NERR_DuplicateName (NERR_BASE+197)
  146. #define NERR_DeleteLater (NERR_BASE+198)
  147. #define NERR_IncompleteDel (NERR_BASE+199)
  148. #define NERR_MultipleNets (NERR_BASE+200)
  149. #define NERR_NetNameNotFound (NERR_BASE+210)
  150. #define NERR_DeviceNotShared (NERR_BASE+211)
  151. #define NERR_ClientNameNotFound (NERR_BASE+212)
  152. #define NERR_FileIdNotFound (NERR_BASE+214)
  153. #define NERR_ExecFailure (NERR_BASE+215)
  154. #define NERR_TmpFile (NERR_BASE+216)
  155. #define NERR_TooMuchData (NERR_BASE+217)
  156. #define NERR_DeviceShareConflict (NERR_BASE+218)
  157. #define NERR_BrowserTableIncomplete (NERR_BASE+219)
  158. #define NERR_NotLocalDomain (NERR_BASE+220)
  159. #define NERR_DevInvalidOpCode (NERR_BASE+231)
  160. #define NERR_DevNotFound (NERR_BASE+232)
  161. #define NERR_DevNotOpen (NERR_BASE+233)
  162. #define NERR_BadQueueDevString (NERR_BASE+234)
  163. #define NERR_BadQueuePriority (NERR_BASE+235)
  164. #define NERR_NoCommDevs (NERR_BASE+237)
  165. #define NERR_QueueNotFound (NERR_BASE+238)
  166. #define NERR_BadDevString (NERR_BASE+240)
  167. #define NERR_BadDev (NERR_BASE+241)
  168. #define NERR_InUseBySpooler (NERR_BASE+242)
  169. #define NERR_CommDevInUse (NERR_BASE+243)
  170. #define NERR_InvalidComputer (NERR_BASE+251)
  171. #define NERR_MaxLenExceeded (NERR_BASE+254)
  172. #define NERR_BadComponent (NERR_BASE+256)
  173. #define NERR_CantType (NERR_BASE+257)
  174. #define NERR_TooManyEntries (NERR_BASE+262)
  175. #define NERR_ProfileFileTooBig (NERR_BASE+270)
  176. #define NERR_ProfileOffset (NERR_BASE+271)
  177. #define NERR_ProfileCleanup (NERR_BASE+272)
  178. #define NERR_ProfileUnknownCmd (NERR_BASE+273)
  179. #define NERR_ProfileLoadErr (NERR_BASE+274)
  180. #define NERR_ProfileSaveErr (NERR_BASE+275)
  181. #define NERR_LogOverflow (NERR_BASE+277)
  182. #define NERR_LogFileChanged (NERR_BASE+278)
  183. #define NERR_LogFileCorrupt (NERR_BASE+279)
  184. #define NERR_SourceIsDir (NERR_BASE+280)
  185. #define NERR_BadSource (NERR_BASE+281)
  186. #define NERR_BadDest (NERR_BASE+282)
  187. #define NERR_DifferentServers (NERR_BASE+283)
  188. #define NERR_RunSrvPaused (NERR_BASE+285)
  189. #define NERR_ErrCommRunSrv (NERR_BASE+289)
  190. #define NERR_ErrorExecingGhost (NERR_BASE+291)
  191. #define NERR_ShareNotFound (NERR_BASE+292)
  192. #define NERR_InvalidLana (NERR_BASE+300)
  193. #define NERR_OpenFiles (NERR_BASE+301)
  194. #define NERR_ActiveConns (NERR_BASE+302)
  195. #define NERR_BadPasswordCore (NERR_BASE+303)
  196. #define NERR_DevInUse (NERR_BASE+304)
  197. #define NERR_LocalDrive (NERR_BASE+305)
  198. #define NERR_AlertExists (NERR_BASE+330)
  199. #define NERR_TooManyAlerts (NERR_BASE+331)
  200. #define NERR_NoSuchAlert (NERR_BASE+332)
  201. #define NERR_BadRecipient (NERR_BASE+333)
  202. #define NERR_AcctLimitExceeded (NERR_BASE+334)
  203. #define NERR_InvalidLogSeek (NERR_BASE+340)
  204. #define NERR_BadUasConfig (NERR_BASE+350)
  205. #define NERR_InvalidUASOp (NERR_BASE+351)
  206. #define NERR_LastAdmin (NERR_BASE+352)
  207. #define NERR_DCNotFound (NERR_BASE+353)
  208. #define NERR_LogonTrackingError (NERR_BASE+354)
  209. #define NERR_NetlogonNotStarted (NERR_BASE+355)
  210. #define NERR_CanNotGrowUASFile (NERR_BASE+356)
  211. #define NERR_TimeDiffAtDC (NERR_BASE+357)
  212. #define NERR_PasswordMismatch (NERR_BASE+358)
  213. #define NERR_NoSuchServer (NERR_BASE+360)
  214. #define NERR_NoSuchSession (NERR_BASE+361)
  215. #define NERR_NoSuchConnection (NERR_BASE+362)
  216. #define NERR_TooManyServers (NERR_BASE+363)
  217. #define NERR_TooManySessions (NERR_BASE+364)
  218. #define NERR_TooManyConnections (NERR_BASE+365)
  219. #define NERR_TooManyFiles (NERR_BASE+366)
  220. #define NERR_NoAlternateServers (NERR_BASE+367)
  221. #define NERR_TryDownLevel (NERR_BASE+370)
  222. #define NERR_UPSDriverNotStarted (NERR_BASE+380)
  223. #define NERR_UPSInvalidConfig (NERR_BASE+381)
  224. #define NERR_UPSInvalidCommPort (NERR_BASE+382)
  225. #define NERR_UPSSignalAsserted (NERR_BASE+383)
  226. #define NERR_UPSShutdownFailed (NERR_BASE+384)
  227. #define NERR_BadDosRetCode (NERR_BASE+400)
  228. #define NERR_ProgNeedsExtraMem (NERR_BASE+401)
  229. #define NERR_BadDosFunction (NERR_BASE+402)
  230. #define NERR_RemoteBootFailed (NERR_BASE+403)
  231. #define NERR_BadFileCheckSum (NERR_BASE+404)
  232. #define NERR_NoRplBootSystem (NERR_BASE+405)
  233. #define NERR_RplLoadrNetBiosErr (NERR_BASE+406)
  234. #define NERR_RplLoadrDiskErr (NERR_BASE+407)
  235. #define NERR_ImageParamErr (NERR_BASE+408)
  236. #define NERR_TooManyImageParams (NERR_BASE+409)
  237. #define NERR_NonDosFloppyUsed (NERR_BASE+410)
  238. #define NERR_RplBootRestart (NERR_BASE+411)
  239. #define NERR_RplSrvrCallFailed (NERR_BASE+412)
  240. #define NERR_CantConnectRplSrvr (NERR_BASE+413)
  241. #define NERR_CantOpenImageFile (NERR_BASE+414)
  242. #define NERR_CallingRplSrvr (NERR_BASE+415)
  243. #define NERR_StartingRplBoot (NERR_BASE+416)
  244. #define NERR_RplBootServiceTerm (NERR_BASE+417)
  245. #define NERR_RplBootStartFailed (NERR_BASE+418)
  246. #define NERR_RPL_CONNECTED (NERR_BASE+419)
  247. #define NERR_BrowserConfiguredToNotRun (NERR_BASE+450)
  248. #define NERR_RplNoAdaptersStarted (NERR_BASE+510)
  249. #define NERR_RplBadRegistry (NERR_BASE+511)
  250. #define NERR_RplBadDatabase (NERR_BASE+512)
  251. #define NERR_RplRplfilesShare (NERR_BASE+513)
  252. #define NERR_RplNotRplServer (NERR_BASE+514)
  253. #define NERR_RplCannotEnum (NERR_BASE+515)
  254. #define NERR_RplWkstaInfoCorrupted (NERR_BASE+516)
  255. #define NERR_RplWkstaNotFound (NERR_BASE+517)
  256. #define NERR_RplWkstaNameUnavailable (NERR_BASE+518)
  257. #define NERR_RplProfileInfoCorrupted (NERR_BASE+519)
  258. #define NERR_RplProfileNotFound (NERR_BASE+520)
  259. #define NERR_RplProfileNameUnavailable (NERR_BASE+521)
  260. #define NERR_RplProfileNotEmpty (NERR_BASE+522)
  261. #define NERR_RplConfigInfoCorrupted (NERR_BASE+523)
  262. #define NERR_RplConfigNotFound (NERR_BASE+524)
  263. #define NERR_RplAdapterInfoCorrupted (NERR_BASE+525)
  264. #define NERR_RplInternal (NERR_BASE+526)
  265. #define NERR_RplVendorInfoCorrupted (NERR_BASE+527)
  266. #define NERR_RplBootInfoCorrupted (NERR_BASE+528)
  267. #define NERR_RplWkstaNeedsUserAcct (NERR_BASE+529)
  268. #define NERR_RplNeedsRPLUSERAcct (NERR_BASE+530)
  269. #define NERR_RplBootNotFound (NERR_BASE+531)
  270. #define NERR_RplIncompatibleProfile (NERR_BASE+532)
  271. #define NERR_RplAdapterNameUnavailable (NERR_BASE+533)
  272. #define NERR_RplConfigNotEmpty (NERR_BASE+534)
  273. #define NERR_RplBootInUse (NERR_BASE+535)
  274. #define NERR_RplBackupDatabase (NERR_BASE+536)
  275. #define NERR_RplAdapterNotFound (NERR_BASE+537)
  276. #define NERR_RplVendorNotFound (NERR_BASE+538)
  277. #define NERR_RplVendorNameUnavailable (NERR_BASE+539)
  278. #define NERR_RplBootNameUnavailable (NERR_BASE+540)
  279. #define NERR_RplConfigNameUnavailable (NERR_BASE+541)
  280. #define NERR_DfsInternalCorruption (NERR_BASE+560)
  281. #define NERR_DfsVolumeDataCorrupt (NERR_BASE+561)
  282. #define NERR_DfsNoSuchVolume (NERR_BASE+562)
  283. #define NERR_DfsVolumeAlreadyExists (NERR_BASE+563)
  284. #define NERR_DfsAlreadyShared (NERR_BASE+564)
  285. #define NERR_DfsNoSuchShare (NERR_BASE+565)
  286. #define NERR_DfsNotALeafVolume (NERR_BASE+566)
  287. #define NERR_DfsLeafVolume (NERR_BASE+567)
  288. #define NERR_DfsVolumeHasMultipleServers (NERR_BASE+568)
  289. #define NERR_DfsCantCreateJunctionPoint (NERR_BASE+569)
  290. #define NERR_DfsServerNotDfsAware (NERR_BASE+570)
  291. #define NERR_DfsBadRenamePath (NERR_BASE+571)
  292. #define NERR_DfsVolumeIsOffline (NERR_BASE+572)
  293. #define NERR_DfsNoSuchServer (NERR_BASE+573)
  294. #define NERR_DfsCyclicalName (NERR_BASE+574)
  295. #define NERR_DfsNotSupportedInServerDfs (NERR_BASE+575)
  296. #define NERR_DfsDuplicateService (NERR_BASE+576)
  297. #define NERR_DfsCantRemoveLastServerShare (NERR_BASE+577)
  298. #define NERR_DfsVolumeIsInterDfs  (NERR_BASE+578)
  299. #define NERR_DfsInconsistent (NERR_BASE+579)
  300. #define NERR_DfsServerUpgraded (NERR_BASE+580)
  301. #define NERR_DfsDataIsIdentical (NERR_BASE+581)
  302. #define NERR_DfsCantRemoveDfsRoot (NERR_BASE+582)
  303. #define NERR_DfsChildOrParentInDfs (NERR_BASE+583)
  304. #define NERR_DfsInternalError (NERR_BASE+590)
  305. #define MAX_NERR (NERR_BASE+899)
  306. #endif 
  307.