Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

NERR_ (Constants)
 
.
Summary
provides network error codes

C# Constants:

    /// <summary>provides network error codes</summary>
    public struct NERR
    {
        /// <summary> 0 - The operation completed successfully. </summary>
        public const int Success = 0;
        /// <summary> 2100 - The base code for network errors. </summary>
        public const int Base = 2100;
        /// <summary> 2102 - The workstation driver is not installed. </summary>
        public const int NetNotStarted = 2102;
        /// <summary> 2103 - The server could not be located. </summary>
        public const int UnknownServer = 2103;
        /// <summary> 2104 - An internal error occurred. The network cannot access a shared memory segment. </summary>
        public const int ShareMem = 2104;
        /// <summary> 2105 - A network resource shortage occurred. </summary>
        public const int NoNetworkResource = 2105;
        /// <summary> 2106 - This operation is not supported on workstations. </summary>
        public const int RemoteOnly = 2106;
        /// <summary> 2107 - The device is not connected. </summary>
        public const int DevNotRedirected = 2107;
        /// <summary> 2114 - The Server service is not started. </summary>
        public const int ServerNotStarted = 2114;
        /// <summary> 2115 - The queue is empty. </summary>
        public const int ItemNotFound = 2115;
        /// <summary> 2116 - The device or directory does not exist. </summary>
        public const int UnknownDevDir = 2116;
        /// <summary> 2117 - The operation is invalid on a redirected resource. </summary>
        public const int RedirectedPath = 2117;
        /// <summary> 2118 - The name has already been shared. </summary>
        public const int DuplicateShare = 2118;
        /// <summary> 2119 - The server is currently out of the requested resource. </summary>
        public const int NoRoom = 2119;
        /// <summary> 2121 - Requested addition of items exceeds the maximum allowed. </summary>
        public const int TooManyItems = 2121;
        /// <summary> 2122 - The Peer service supports only two simultaneous users. </summary>
        public const int InvalidMaxUsers = 2122;
        /// <summary> 2123 - The API return buffer is too small. </summary>
        public const int BufTooSmall = 2123;
        /// <summary> 2127 - A remote API error occurred. </summary>
        public const int RemoteErr = 2127;
        /// <summary> 2131 - An error occurred when opening or reading the configuration file. </summary>
        public const int LanmanIniError = 2131;
        /// <summary> 2136 - A general network error occurred. </summary>
        public const int NetworkError = 2136;
        /// <summary> 2137 - The Workstation service is in an inconsistent state. Restart the computer before restarting the Workstation service. </summary>
        public const int WkstaInconsistentState = 2137;
        /// <summary> 2138 - The Workstation service has not been started. </summary>
        public const int WkstaNotStarted = 2138;
        /// <summary> 2139 - The requested information is not available. </summary>
        public const int BrowserNotStarted = 2139;
        /// <summary> 2140 - An internal error occurred. </summary>
        public const int InternalError = 2140;
        /// <summary> 2141 - The server is not configured for transactions. </summary>
        public const int BadTransactConfig = 2141;
        /// <summary> 2142 - The requested API is not supported on the remote server. </summary>
        public const int InvalidAPI = 2142;
        /// <summary> 2143 - The event name is invalid. </summary>
        public const int BadEventName = 2143;
        /// <summary> 2144 - The computer name already exists on the network. Change it and restart the computer. </summary>
        public const int DupNameReboot = 2144;
        /// <summary> 2146 - The specified component could not be found in the configuration information. </summary>
        public const int CfgCompNotFound = 2146;
        /// <summary> 2147 - The specified parameter could not be found in the configuration information. </summary>
        public const int CfgParamNotFound = 2147;
        /// <summary> 2149 - A line in the configuration file is too long. </summary>
        public const int LineTooLong = 2149;
        /// <summary> 2150 - The printer does not exist. </summary>
        public const int QNotFound = 2150;
        /// <summary> 2151 - The print job does not exist. </summary>
        public const int JobNotFound = 2151;
        /// <summary> 2152 - The printer destination cannot be found. </summary>
        public const int DestNotFound = 2152;
        /// <summary> 2153 - The printer destination already exists. </summary>
        public const int DestExists = 2153;
        /// <summary> 2154 - The printer queue already exists. </summary>
        public const int QExists = 2154;
        /// <summary> 2155 - No more printers can be added. </summary>
        public const int QNoRoom = 2155;
        /// <summary> 2156 - No more print jobs can be added. </summary>
        public const int JobNoRoom = 2156;
        /// <summary> 2157 - No more printer destinations can be added. </summary>
        public const int DestNoRoom = 2157;
        /// <summary> 2158 - This printer destination is idle and cannot accept control operations. </summary>
        public const int DestIdle = 2158;
        /// <summary> 2159 - This printer destination request contains an invalid control function. </summary>
        public const int DestInvalidOp = 2159;
        /// <summary> 2160 - The print processor is not responding. </summary>
        public const int ProcNoRespond = 2160;
        /// <summary> 2161 - The spooler is not running. </summary>
        public const int SpoolerNotLoaded = 2161;
        /// <summary> 2162 - This operation cannot be performed on the print destination in its current state. </summary>
        public const int DestInvalidState = 2162;
        /// <summary> 2163 - This operation cannot be performed on the printer queue in its current state. </summary>
        public const int QinvalidState = 2163;
        /// <summary> 2164 - This operation cannot be performed on the print job in its current state. </summary>
        public const int JobInvalidState = 2164;
        /// <summary> 2165 - A spooler memory allocation failure occurred. </summary>
        public const int SpoolNoMemory = 2165;
        /// <summary> 2166 - The device driver does not exist. </summary>
        public const int DriverNotFound = 2166;
        /// <summary> 2167 - The data type is not supported by the print processor. </summary>
        public const int DataTypeInvalid = 2167;
        /// <summary> 2168 - The print processor is not installed. </summary>
        public const int ProcNotFound = 2168;
        /// <summary> 2180 - The service database is locked. </summary>
        public const int ServiceTableLocked = 2180;
        /// <summary> 2181 - The service table is full. </summary>
        public const int ServiceTableFull = 2181;
        /// <summary> 2182 - The requested service has already been started. </summary>
        public const int ServiceInstalled = 2182;
        /// <summary> 2183 - The service does not respond to control actions. </summary>
        public const int ServiceEntryLocked = 2183;
        /// <summary> 2184 - The service has not been started. </summary>
        public const int ServiceNotInstalled = 2184;
        /// <summary> 2185 - The service name is invalid. </summary>
        public const int BadServiceName = 2185;
        /// <summary> 2186 - The service is not responding to the control function. </summary>
        public const int ServiceCtlTimeout = 2186;
        /// <summary> 2187 - The service control is busy. </summary>
        public const int ServiceCtlBusy = 2187;
        /// <summary> 2188 - The configuration file contains an invalid service program name. </summary>
        public const int BadServiceProgName = 2188;
        /// <summary> 2189 - The service could not be controlled in its present state. </summary>
        public const int ServiceNotCtrl = 2189;
        /// <summary> 2190 - The service ended abnormally. </summary>
        public const int ServiceKillProc = 2190;
        /// <summary> 2191 - The requested pause or stop is not valid for this service. </summary>
        public const int ServiceCtlNotValid = 2191;
        /// <summary> 2192 - The service control dispatcher could not find the service name in the dispatch table. </summary>
        public const int NotInDispatchTbl = 2192;
        /// <summary> 2193 - The service control dispatcher pipe read failed. </summary>
        public const int BadControlRecv = 2193;
        /// <summary> 2194 - A thread for the new service could not be created. </summary>
        public const int ServiceNotStarting = 2194;
        /// <summary> 2200 - This workstation is already logged on to the local-area network. </summary>
        public const int AlreadyLoggedOn = 2200;
        /// <summary> 2201 - The workstation is not logged on to the local-area network. </summary>
        public const int NotLoggedOn = 2201;
        /// <summary> 2202 - The user name or group name parameter is invalid. </summary>
        public const int BadUsername = 2202;
        /// <summary> 2203 - The password parameter is invalid. </summary>
        public const int BadPassword = 2203;
        /// <summary> 2204 - @W The logon processor did not add the message alias. </summary>
        public const int UnableToAddName_W = 2204;
        /// <summary> 2205 - The logon processor did not add the message alias. </summary>
        public const int UnableToAddName_F = 2205;
        /// <summary> 2206 - @W The logoff processor did not delete the message alias. </summary>
        public const int UnableToDelName_W = 2206;
        /// <summary> 2207 - The logoff processor did not delete the message alias. </summary>
        public const int UnableToDelName_F = 2207;
        /// <summary> 2209 - Network logons are paused. </summary>
        public const int LogonsPaused = 2209;
        /// <summary> 2210 - A centralized logon-server conflict occurred. </summary>
        public const int LogonServerConflict = 2210;
        /// <summary> 2211 - The server is configured without a valid user path. </summary>
        public const int LogonNoUserPath = 2211;
        /// <summary> 2212 - An error occurred while loading or running the logon script. </summary>
        public const int LogonScriptError = 2212;
        /// <summary> 2214 - The logon server was not specified. Your computer will be logged on as STANDALONE. </summary>
        public const int StandaloneLogon = 2214;
        /// <summary> 2215 - The logon server could not be found. </summary>
        public const int LogonServerNotFound = 2215;
        /// <summary> 2216 - There is already a logon domain for this computer. </summary>
        public const int LogonDomainExists = 2216;
        /// <summary> 2217 - The logon server could not validate the logon. </summary>
        public const int NonValidatedLogon = 2217;
        /// <summary> 2219 - The security database could not be found. </summary>
        public const int ACFNotFound = 2219;
        /// <summary> 2220 - The group name could not be found. </summary>
        public const int GroupNotFound = 2220;
        /// <summary> 2221 - The user name could not be found. </summary>
        public const int UserNotFound = 2221;
        /// <summary> 2222 - The resource name could not be found. </summary>
        public const int ResourceNotFound = 2222;
        /// <summary> 2223 - The group already exists. </summary>
        public const int GroupExists = 2223;
        /// <summary> 2224 - The user account already exists. </summary>
        public const int UserExists = 2224;
        /// <summary> 2225 - The resource permission list already exists. </summary>
        public const int ResourceExists = 2225;
        /// <summary> 2226 - This operation is only allowed on the primary domain controller of the domain. </summary>
        public const int NotPrimary = 2226;
        /// <summary> 2227 - The security database has not been started. </summary>
        public const int ACFNotLoaded = 2227;
        /// <summary> 2228 - There are too many names in the user accounts database. </summary>
        public const int ACFNoRoom = 2228;
        /// <summary> 2229 - A disk I/O failure occurred. </summary>
        public const int ACFFileIOFail = 2229;
        /// <summary> 2230 - The limit of 64 entries per resource was exceeded. </summary>
        public const int ACFTooManyLists = 2230;
        /// <summary> 2231 - Deleting a user with a session is not allowed. </summary>
        public const int UserLogon = 2231;
        /// <summary> 2232 - The parent directory could not be located. </summary>
        public const int ACFNoParent = 2232;
        /// <summary> 2233 - Unable to add to the security database session cache segment. </summary>
        public const int CanNotGrowSegment = 2233;
        /// <summary> 2234 - This operation is not allowed on this special group. </summary>
        public const int SpeGroupOp = 2234;
        /// <summary> 2235 - This user is not cached in user accounts database session cache. </summary>
        public const int NotInCache = 2235;
        /// <summary> 2236 - The user already belongs to this group. </summary>
        public const int UserInGroup = 2236;
        /// <summary> 2237 - The user does not belong to this group. </summary>
        public const int UserNotInGroup = 2237;
        /// <summary> 2238 - This user account is undefined. </summary>
        public const int AccountUndefined = 2238;
        /// <summary> 2239 - This user account has expired. </summary>
        public const int AccountExpired = 2239;
        /// <summary> 2240 - The user is not allowed to log on from this workstation. </summary>
        public const int InvalidWorkstation = 2240;
        /// <summary> 2241 - The user is not allowed to log on at this time. </summary>
        public const int InvalidLogonHours = 2241;
        /// <summary> 2242 - The password of this user has expired. </summary>
        public const int PasswordExpired = 2242;
        /// <summary> 2243 - The password of this user cannot change. </summary>
        public const int PasswordCantChange = 2243;
        /// <summary> 2244 - This password cannot be used now. </summary>
        public const int PasswordHistConflict = 2244;
        /// <summary> 2245 - The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements. </summary>
        public const int PasswordTooShort = 2245;
        /// <summary> 2246 - The password of this user is too recent to change. </summary>
        public const int PasswordTooRecent = 2246;
        /// <summary> 2247 - The security database is corrupted. </summary>
        public const int InvalidDatabase = 2247;
        /// <summary> 2248 - No updates are necessary to this replicant network/local security database. </summary>
        public const int DatabaseUpToDate = 2248;
        /// <summary> 2249 - This replicant database is outdated; synchronization is required. </summary>
        public const int SyncRequired = 2249;
        /// <summary> 2250 - The network connection could not be found. </summary>
        public const int UseNotFound = 2250;
        /// <summary> 2251 - This asg_type is invalid. </summary>
        public const int BadAsgType = 2251;
        /// <summary> 2252 - This device is currently being shared. </summary>
        public const int DeviceIsShared = 2252;
        /// <summary> 2270 - The computer name could not be added as a message alias. The name may already exist on the network. </summary>
        public const int NoComputerName = 2270;
        /// <summary> 2271 - The Messenger service is already started. </summary>
        public const int MsgAlreadyStarted = 2271;
        /// <summary> 2272 - The Messenger service failed to start. </summary>
        public const int MsgInitFailed = 2272;
        /// <summary> 2273 - The message alias could not be found on the network. </summary>
        public const int NameNotFound = 2273;
        /// <summary> 2274 - This message alias has already been forwarded. </summary>
        public const int AlreadyForwarded = 2274;
        /// <summary> 2275 - This message alias has been added but is still forwarded. </summary>
        public const int AddForwarded = 2275;
        /// <summary> 2276 - This message alias already exists locally. </summary>
        public const int AlreadyExists = 2276;
        /// <summary> 2277 - The maximum number of added message aliases has been exceeded. </summary>
        public const int TooManyNames = 2277;
        /// <summary> 2278 - The computer name could not be deleted. </summary>
        public const int DelComputerName = 2278;
        /// <summary> 2279 - Messages cannot be forwarded back to the same workstation. </summary>
        public const int LocalForward = 2279;
        /// <summary> 2280 - An error occurred in the domain message processor. </summary>
        public const int GrpMsgProcessor = 2280;
        /// <summary> 2281 - The message was sent, but the recipient has paused the Messenger service. </summary>
        public const int PausedRemote = 2281;
        /// <summary> 2282 - The message was sent but not received. </summary>
        public const int BadReceive = 2282;
        /// <summary> 2283 - The message alias is currently in use. Try again later. </summary>
        public const int NameInUse = 2283;
        /// <summary> 2284 - The Messenger service has not been started. </summary>
        public const int MsgNotStarted = 2284;
        /// <summary> 2285 - The name is not on the local computer. </summary>
        public const int NotLocalName = 2285;
        /// <summary> 2286 - The forwarded message alias could not be found on the network. </summary>
        public const int NoForwardName = 2286;
        /// <summary> 2287 - The message alias table on the remote station is full. </summary>
        public const int RemoteFull = 2287;
        /// <summary> 2288 - Messages for this alias are not currently being forwarded. </summary>
        public const int NameNotForwarded = 2288;
        /// <summary> 2289 - The broadcast message was truncated. </summary>
        public const int TruncatedBroadcast = 2289;
        /// <summary> 2294 - This is an invalid device name. </summary>
        public const int InvalidDevice = 2294;
        /// <summary> 2295 - A write fault occurred. </summary>
        public const int WriteFault = 2295;
        /// <summary> 2297 - A duplicate message alias exists on the network. </summary>
        public const int DuplicateName = 2297;
        /// <summary> 2298 - @W This message alias will be deleted later. </summary>
        public const int DeleteLater = 2298;
        /// <summary> 2299 - The message alias was not successfully deleted from all networks. </summary>
        public const int IncompleteDel = 2299;
        /// <summary> 2300 - This operation is not supported on computers with multiple networks. </summary>
        public const int MultipleNets = 2300;
        /// <summary> 2310 - This shared resource does not exist. </summary>
        public const int NetNameNotFound = 2310;
        /// <summary> 2311 - This device is not shared. </summary>
        public const int DeviceNotShared = 2311;
        /// <summary> 2312 - A session does not exist with that computer name. </summary>
        public const int ClientNameNotFound = 2312;
        /// <summary> 2314 - There is not an open file with that identification number. </summary>
        public const int FileIdNotFound = 2314;
        /// <summary> 2315 - A failure occurred when executing a remote administration command. </summary>
        public const int ExecFailure = 2315;
        /// <summary> 2316 - A failure occurred when opening a remote temporary file. </summary>
        public const int TmpFile = 2316;
        /// <summary> 2317 - The data returned from a remote administration command has been truncated to 64K. </summary>
        public const int TooMuchData = 2317;
        /// <summary> 2318 - This device cannot be shared as both a spooled and a non-spooled resource. </summary>
        public const int DeviceShareConflict = 2318;
        /// <summary> 2319 - The information in the list of servers may be incorrect. </summary>
        public const int BrowserTableIncomplete = 2319;
        /// <summary> 2320 - The computer is not active in this domain. </summary>
        public const int NotLocalDomain = 2320;
        /// <summary> 2321 - The share must be removed from the Distributed File System before it can be deleted. </summary>
        public const int IsDfsShare = 2321;
        /// <summary> 2331 - The operation is invalid for this device. </summary>
        public const int DevInvalidOpCode = 2331;
        /// <summary> 2332 - This device cannot be shared. </summary>
        public const int DevNotFound = 2332;
        /// <summary> 2333 - This device was not open. </summary>
        public const int DevNotOpen = 2333;
        /// <summary> 2334 - This device name list is invalid. </summary>
        public const int BadQueueDevString = 2334;
        /// <summary> 2335 - The queue priority is invalid. </summary>
        public const int BadQueuePriority = 2335;
        /// <summary> 2337 - There are no shared communication devices. </summary>
        public const int NoCommDevs = 2337;
        /// <summary> 2338 - The queue you specified does not exist. </summary>
        public const int QueueNotFound = 2338;
        /// <summary> 2340 - This list of devices is invalid. </summary>
        public const int BadDevString = 2340;
        /// <summary> 2341 - The requested device is invalid. </summary>
        public const int BadDev = 2341;
        /// <summary> 2342 - This device is already in use by the spooler. </summary>
        public const int InUseBySpooler = 2342;
        /// <summary> 2343 - This device is already in use as a communication device. </summary>
        public const int CommDevInUse = 2343;
        /// <summary> 2351 - This computer name is invalid. </summary>
        public const int InvalidComputer = 2351;
        /// <summary> 2354 - The string and prefix specified are too long. </summary>
        public const int MaxLenExceeded = 2354;
        /// <summary> 2356 - This path component is invalid. </summary>
        public const int BadComponent = 2356;
        /// <summary> 2357 - Could not determine the type of input. </summary>
        public const int CantType = 2357;
        /// <summary> 2362 - The buffer for types is not big enough. </summary>
        public const int TooManyEntries = 2362;
        /// <summary> 2370 - Profile files cannot exceed 64K. </summary>
        public const int ProfileFileTooBig = 2370;
        /// <summary> 2371 - The start offset is out of range. </summary>
        public const int ProfileOffset = 2371;
        /// <summary> 2372 - The system cannot delete current connections to network resources. </summary>
        public const int ProfileCleanup = 2372;
        /// <summary> 2373 - The system was unable to parse the command line in this file. </summary>
        public const int ProfileUnknownCmd = 2373;
        /// <summary> 2374 - An error occurred while loading the profile file. </summary>
        public const int ProfileLoadErr = 2374;
        /// <summary> 2375 - @W Errors occurred while saving the profile file. The profile was partially saved. </summary>
        public const int ProfileSaveErr = 2375;
        /// <summary> 2377 - Log file %1 is full. </summary>
        public const int LogOverflow = 2377;
        /// <summary> 2378 - This log file has changed between reads. </summary>
        public const int LogFileChanged = 2378;
        /// <summary> 2379 - Log file %1 is corrupt. </summary>
        public const int LogFileCorrupt = 2379;
        /// <summary> 2380 - The source path cannot be a directory. </summary>
        public const int SourceIsDir = 2380;
        /// <summary> 2381 - The source path is illegal. </summary>
        public const int BadSource = 2381;
        /// <summary> 2382 - The destination path is illegal. </summary>
        public const int BadDest = 2382;
        /// <summary> 2383 - The source and destination paths are on different servers. </summary>
        public const int DifferentServers = 2383;
        /// <summary> 2385 - The Run server you requested is paused. </summary>
        public const int RunSrvPaused = 2385;
        /// <summary> 2389 - An error occurred when communicating with a Run server. </summary>
        public const int ErrCommRunSrv = 2389;
        /// <summary> 2391 - An error occurred when starting a background process. </summary>
        public const int ErrorExecingGhost = 2391;
        /// <summary> 2392 - The shared resource you are connected to could not be found. </summary>
        public const int ShareNotFound = 2392;
        /// <summary> 2400 - The LAN adapter number is invalid. </summary>
        public const int InvalidLana = 2400;
        /// <summary> 2401 - There are open files on the connection. </summary>
        public const int OpenFiles = 2401;
        /// <summary> 2402 - Active connections still exist. </summary>
        public const int ActiveConns = 2402;
        /// <summary> 2403 - This share name or password is invalid. </summary>
        public const int BadPasswordCore = 2403;
        /// <summary> 2404 - The device is being accessed by an active process. </summary>
        public const int DevInUse = 2404;
        /// <summary> 2405 - The drive letter is in use locally. </summary>
        public const int LocalDrive = 2405;
        /// <summary> 2430 - The specified client is already registered for the specified event. </summary>
        public const int AlertExists = 2430;
        /// <summary> 2431 - The alert table is full. </summary>
        public const int TooManyAlerts = 2431;
        /// <summary> 2432 - An invalid or nonexistent alert name was raised. </summary>
        public const int NoSuchAlert = 2432;
        /// <summary> 2433 - The alert recipient is invalid. </summary>
        public const int BadRecipient = 2433;
        /// <summary> 2434 - A user's session with this server has been deleted </summary>
        public const int AcctLimitExceeded = 2434;
        /// <summary> 2440 - The log file does not contain the requested record number. </summary>
        public const int InvalidLogSeek = 2440;
        /// <summary> 2450 - The user accounts database is not configured correctly. </summary>
        public const int BadUasConfig = 2450;
        /// <summary> 2451 - This operation is not permitted when the Netlogon service is running. </summary>
        public const int InvalidUASOp = 2451;
        /// <summary> 2452 - This operation is not allowed on the last administrative account. </summary>
        public const int LastAdmin = 2452;
        /// <summary> 2453 - Could not find domain controller for this domain. </summary>
        public const int DCNotFound = 2453;
        /// <summary> 2454 - Could not set logon information for this user. </summary>
        public const int LogonTrackingError = 2454;
        /// <summary> 2455 - The Netlogon service has not been started. </summary>
        public const int NetlogonNotStarted = 2455;
        /// <summary> 2456 - Unable to add to the user accounts database. </summary>
        public const int CanNotGrowUASFile = 2456;
        /// <summary> 2457 - This server's clock is not synchronized with the primary domain controller's clock. </summary>
        public const int TimeDiffAtDC = 2457;
        /// <summary> 2458 - A password mismatch has been detected. </summary>
        public const int PasswordMismatch = 2458;
        /// <summary> 2460 - The server identification does not specify a valid server. </summary>
        public const int NoSuchServer = 2460;
        /// <summary> 2461 - The session identification does not specify a valid session. </summary>
        public const int NoSuchSession = 2461;
        /// <summary> 2462 - The connection identification does not specify a valid connection. </summary>
        public const int NoSuchConnection = 2462;
        /// <summary> 2463 - There is no space for another entry in the table of available servers. </summary>
        public const int TooManyServers = 2463;
        /// <summary> 2464 - The server has reached the maximum number of sessions it supports. </summary>
        public const int TooManySessions = 2464;
        /// <summary> 2465 - The server has reached the maximum number of connections it supports. </summary>
        public const int TooManyConnections = 2465;
        /// <summary> 2466 - The server cannot open more files because it has reached its maximum number. </summary>
        public const int TooManyFiles = 2466;
        /// <summary> 2467 - There are no alternate servers registered on this server. </summary>
        public const int NoAlternateServers = 2467;
        /// <summary> 2470 - Try down-level (remote admin protocol) version of API instead. </summary>
        public const int TryDownLevel = 2470;
        /// <summary> 2480 - The UPS driver could not be accessed by the UPS service. </summary>
        public const int UPSDriverNotStarted = 2480;
        /// <summary> 2481 - The UPS service is not configured correctly. </summary>
        public const int UPSInvalidConfig = 2481;
        /// <summary> 2482 - The UPS service could not access the specified Comm Port. </summary>
        public const int UPSInvalidCommPort = 2482;
        /// <summary> 2483 - The UPS indicated a line fail or low battery situation. Service not started. </summary>
        public const int UPSSignalAsserted = 2483;
        /// <summary> 2484 - The UPS service failed to perform a system shut down. </summary>
        public const int UPSShutdownFailed = 2484;
        /// <summary> 2500 - The program below returned an MS-DOS error code: </summary>
        public const int BadDosRetCode = 2500;
        /// <summary> 2501 - The program below needs more memory: </summary>
        public const int ProgNeedsExtraMem = 2501;
        /// <summary> 2502 - The program below called an unsupported MS-DOS function: </summary>
        public const int BadDosFunction = 2502;
        /// <summary> 2503 - The workstation failed to boot. </summary>
        public const int RemoteBootFailed = 2503;
        /// <summary> 2504 - The file below is corrupt. </summary>
        public const int BadFileCheckSum = 2504;
        /// <summary> 2505 - No loader is specified in the boot-block definition file. </summary>
        public const int NoRplBootSystem = 2505;
        /// <summary> 2506 - NetBIOS returned an error: The NCB and SMB are dumped above. </summary>
        public const int RplLoadrNetBiosErr = 2506;
        /// <summary> 2507 - A disk I/O error occurred. </summary>
        public const int RplLoadrDiskErr = 2507;
        /// <summary> 2508 - Image parameter substitution failed. </summary>
        public const int ImageParamErr = 2508;
        /// <summary> 2509 - Too many image parameters cross disk sector boundaries. </summary>
        public const int TooManyImageParams = 2509;
        /// <summary> 2510 - The image was not generated from an MS-DOS diskette formatted with /S. </summary>
        public const int NonDosFloppyUsed = 2510;
        /// <summary> 2511 - Remote boot will be restarted later. </summary>
        public const int RplBootRestart = 2511;
        /// <summary> 2512 - The call to the Remoteboot server failed. </summary>
        public const int RplSrvrCallFailed = 2512;
        /// <summary> 2513 - Cannot connect to the Remoteboot server. </summary>
        public const int CantConnectRplSrvr = 2513;
        /// <summary> 2514 - Cannot open image file on the Remoteboot server. </summary>
        public const int CantOpenImageFile = 2514;
        /// <summary> 2515 - Connecting to the Remoteboot server... </summary>
        public const int CallingRplSrvr = 2515;
        /// <summary> 2516 - Connecting to the Remoteboot server... </summary>
        public const int StartingRplBoot = 2516;
        /// <summary> 2517 - Remote boot service was stopped; check the error log for the cause of the problem. </summary>
        public const int RplBootServiceTerm = 2517;
        /// <summary> 2518 - Remote boot startup failed; check the error log for the cause of the problem. </summary>
        public const int RplBootStartFailed = 2518;
        /// <summary> 2519 - A second connection to a Remoteboot resource is not allowed. </summary>
        public const int RPL_CONNECTED = 2519;
        /// <summary> 2550 - The browser service was configured with MaintainServerList=No. </summary>
        public const int BrowserConfiguredToNotRun = 2550;
        /// <summary> 2610 - Service failed to start since none of the network adapters started with this service. </summary>
        public const int RplNoAdaptersStarted = 2610;
        /// <summary> 2611 - Service failed to start due to bad startup information in the registry. </summary>
        public const int RplBadRegistry = 2611;
        /// <summary> 2612 - Service failed to start because its database is absent or corrupt. </summary>
        public const int RplBadDatabase = 2612;
        /// <summary> 2613 - Service failed to start because RPLFILES share is absent. </summary>
        public const int RplRplfilesShare = 2613;
        /// <summary> 2614 - Service failed to start because RPLUSER group is absent. </summary>
        public const int RplNotRplServer = 2614;
        /// <summary> 2615 - Cannot enumerate service records. </summary>
        public const int RplCannotEnum = 2615;
        /// <summary> 2616 - Workstation record information has been corrupted. </summary>
        public const int RplWkstaInfoCorrupted = 2616;
        /// <summary> 2617 - Workstation record was not found. </summary>
        public const int RplWkstaNotFound = 2617;
        /// <summary> 2618 - Workstation name is in use by some other workstation. </summary>
        public const int RplWkstaNameUnavailable = 2618;
        /// <summary> 2619 - Profile record information has been corrupted. </summary>
        public const int RplProfileInfoCorrupted = 2619;
        /// <summary> 2620 - Profile record was not found. </summary>
        public const int RplProfileNotFound = 2620;
        /// <summary> 2621 - Profile name is in use by some other profile. </summary>
        public const int RplProfileNameUnavailable = 2621;
        /// <summary> 2622 - There are workstations using this profile. </summary>
        public const int RplProfileNotEmpty = 2622;
        /// <summary> 2623 - Configuration record information has been corrupted. </summary>
        public const int RplConfigInfoCorrupted = 2623;
        /// <summary> 2624 - Configuration record was not found. </summary>
        public const int RplConfigNotFound = 2624;
        /// <summary> 2625 - Adapter ID record information has been corrupted. </summary>
        public const int RplAdapterInfoCorrupted = 2625;
        /// <summary> 2626 - An internal service error has occurred. </summary>
        public const int RplInternal = 2626;
        /// <summary> 2627 - Vendor ID record information has been corrupted. </summary>
        public const int RplVendorInfoCorrupted = 2627;
        /// <summary> 2628 - Boot block record information has been corrupted. </summary>
        public const int RplBootInfoCorrupted = 2628;
        /// <summary> 2629 - The user account for this workstation record is missing. </summary>
        public const int RplWkstaNeedsUserAcct = 2629;
        /// <summary> 2630 - The RPLUSER local group could not be found. </summary>
        public const int RplNeedsRPLUSERAcct = 2630;
        /// <summary> 2631 - Boot block record was not found. </summary>
        public const int RplBootNotFound = 2631;
        /// <summary> 2632 - Chosen profile is incompatible with this workstation. </summary>
        public const int RplIncompatibleProfile = 2632;
        /// <summary> 2633 - Chosen network adapter ID is in use by some other workstation. </summary>
        public const int RplAdapterNameUnavailable = 2633;
        /// <summary> 2634 - There are profiles using this configuration. </summary>
        public const int RplConfigNotEmpty = 2634;
        /// <summary> 2635 - There are workstations, profiles, or configurations using this boot block. </summary>
        public const int RplBootInUse = 2635;
        /// <summary> 2636 - Service failed to backup Remoteboot database. </summary>
        public const int RplBackupDatabase = 2636;
        /// <summary> 2637 - Adapter record was not found. </summary>
        public const int RplAdapterNotFound = 2637;
        /// <summary> 2638 - Vendor record was not found. </summary>
        public const int RplVendorNotFound = 2638;
        /// <summary> 2639 - Vendor name is in use by some other vendor record. </summary>
        public const int RplVendorNameUnavailable = 2639;
        /// <summary> 2640 - (boot name, vendor ID) is in use by some other boot block record. </summary>
        public const int RplBootNameUnavailable = 2640;
        /// <summary> 2641 - Configuration name is in use by some other configuration. </summary>
        public const int RplConfigNameUnavailable = 2641;
        /// <summary> 2660 - The internal database maintained by the Dfs service is corrupt. </summary>
        public const int DfsInternalCorruption = 2660;
        /// <summary> 2661 - One of the records in the internal Dfs database is corrupt. </summary>
        public const int DfsVolumeDataCorrupt = 2661;
        /// <summary> 2662 - There is no DFS name whose entry path matches the input Entry Path. </summary>
        public const int DfsNoSuchVolume = 2662;
        /// <summary> 2663 - A root or link with the given name already exists. </summary>
        public const int DfsVolumeAlreadyExists = 2663;
        /// <summary> 2664 - The server share specified is already shared in the Dfs. </summary>
        public const int DfsAlreadyShared = 2664;
        /// <summary> 2665 - The indicated server share does not support the indicated DFS namespace. </summary>
        public const int DfsNoSuchShare = 2665;
        /// <summary> 2666 - The operation is not valid on this portion of the namespace. </summary>
        public const int DfsNotALeafVolume = 2666;
        /// <summary> 2667 - The operation is not valid on this portion of the namespace. </summary>
        public const int DfsLeafVolume = 2667;
        /// <summary> 2668 - The operation is ambiguous because the link has multiple servers. </summary>
        public const int DfsVolumeHasMultipleServers = 2668;
        /// <summary> 2669 - Unable to create a link. </summary>
        public const int DfsCantCreateJunctionPoint = 2669;
        /// <summary> 2670 - The server is not Dfs Aware. </summary>
        public const int DfsServerNotDfsAware = 2670;
        /// <summary> 2671 - The specified rename target path is invalid. </summary>
        public const int DfsBadRenamePath = 2671;
        /// <summary> 2672 - The specified DFS link is offline. </summary>
        public const int DfsVolumeIsOffline = 2672;
        /// <summary> 2673 - The specified server is not a server for this link. </summary>
        public const int DfsNoSuchServer = 2673;
        /// <summary> 2674 - A cycle in the Dfs name was detected. </summary>
        public const int DfsCyclicalName = 2674;
        /// <summary> 2675 - The operation is not supported on a server-based Dfs. </summary>
        public const int DfsNotSupportedInServerDfs = 2675;
        /// <summary> 2676 - This link is already supported by the specified server-share. </summary>
        public const int DfsDuplicateService = 2676;
        /// <summary> 2677 - Can't remove the last server-share supporting this root or link. </summary>
        public const int DfsCantRemoveLastServerShare = 2677;
        /// <summary> 2678 - The operation is not supported for an Inter-DFS link. </summary>
        public const int DfsVolumeIsInterDfs = 2678;
        /// <summary> 2679 - The internal state of the Dfs Service has become inconsistent. </summary>
        public const int DfsInconsistent = 2679;
        /// <summary> 2680 - The Dfs Service has been installed on the specified server. </summary>
        public const int DfsServerUpgraded = 2680;
        /// <summary> 2681 - The Dfs data being reconciled is identical. </summary>
        public const int DfsDataIsIdentical = 2681;
        /// <summary> 2682 - The DFS root cannot be deleted. Uninstall DFS if required. </summary>
        public const int DfsCantRemoveDfsRoot = 2682;
        /// <summary> 2683 - A child or parent directory of the share is already in a Dfs. </summary>
        public const int DfsChildOrParentInDfs = 2683;
        /// <summary> 2690 - Dfs internal error. </summary>
        public const int DfsInternalError = 2690;
        /// <summary> 2691 - This machine is already joined to a domain. </summary>
        public const int SetupAlreadyJoined = 2691;
        /// <summary> 2692 - This machine is not currently joined to a domain. </summary>
        public const int SetupNotJoined = 2692;
        /// <summary> 2693 - This machine is a domain controller and cannot be unjoined from a domain. </summary>
        public const int SetupDomainController = 2693;
        /// <summary> 2694 - The destination domain controller does not support creating machine accounts in OUs. </summary>
        public const int DefaultJoinRequired = 2694;
        /// <summary> 2695 - The specified workgroup name is invalid. </summary>
        public const int InvalidWorkgroupName = 2695;
        /// <summary> 2696 - The specified computer name is incompatible with the default language used on the domain controller. </summary>
        public const int NameUsesIncompatibleCodePage = 2696;
        /// <summary> 2697 - The specified computer account could not be found. </summary>
        public const int ComputerAccountNotFound = 2697;
        /// <summary> 2698 - This version of Windows cannot be joined to a domain. </summary>
        public const int PersonalSku = 2698;
        /// <summary> 2701 - The password must change at the next logon. </summary>
        public const int PasswordMustChange = 2701;
        /// <summary> 2702 - The account is locked out. </summary>
        public const int AccountLockedOut = 2702;
        /// <summary> 2703 - The password is too long. </summary>
        public const int PasswordTooLong = 2703;
        /// <summary> 2704 - The password does not meet the complexity policy. </summary>
        public const int PasswordNotComplexEnough = 2704;
        /// <summary> 2705 - The password does not meet the requirements of the password filter DLLs. </summary>
        public const int PasswordFilterError = 2705;
    }

VB Constants:

TODO

Notes:

None.

 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions