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