CWin32Exception源码
class CWin32Exception : public CException { public: int ReportError(UINT nType = MB_OK, UINT nMessageID = 0); BOOL GetErrorMessage( LPTSTR lpszError, UINT nMaxError, PUINT pnHelpContext = NULL); void ParseError(); DWORD m_nErrorCode; CString m_sErrorName; CString m_sErrorDescription; CString m_sErrorLabel; CWin32Exception(DWORD nErrorCode); virtual ~CWin32Exception(); private: }; CWin32Exception::CWin32Exception(DWORD nErrorCode) { ASSERT(nErrorCode); m_nErrorCode = nErrorCode; ParseError(); ::Logger.Log("发生系统错误:%s", m_sErrorLabel); } CWin32Exception::~CWin32Exception() { } void CWin32Exception::ParseError() { switch(m_nErrorCode) { case 0: { m_sErrorName = "ERROR_SUCCESS"; m_sErrorDescription = "The operation completed successfully. "; m_sErrorLabel = m_sErrorDescription; break; } case 1: { m_sErrorName = "ERROR_INVALID_FUNCTION"; m_sErrorDescription = "Incorrect function. "; m_sErrorLabel = m_sErrorDescription; break; } case 2: { m_sErrorName = "ERROR_FILE_NOT_FOUND"; m_sErrorDescription = "The system cannot find the file specified. "; m_sErrorLabel = m_sErrorDescription; break; } case 3: { m_sErrorName = "ERROR_PATH_NOT_FOUND"; m_sErrorDescription = "The system cannot find the path specified. "; m_sErrorLabel = m_sErrorDescription; break; } case 4: { m_sErrorName = "ERROR_TOO_MANY_OPEN_FILES"; m_sErrorDescription = "The system cannot open the file. "; m_sErrorLabel = m_sErrorDescription; break; } case 5: { m_sErrorName = "ERROR_ACCESS_DENIED"; m_sErrorDescription = "Access is denied. "; m_sErrorLabel = m_sErrorDescription; break; } case 6: { m_sErrorName = "ERROR_INVALID_HANDLE"; m_sErrorDescription = "The handle is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 7: { m_sErrorName = "ERROR_ARENA_TRASHED"; m_sErrorDescription = "The storage control blocks were destroyed. "; m_sErrorLabel = m_sErrorDescription; break; } case 8: { m_sErrorName = "ERROR_NOT_ENOUGH_MEMORY"; m_sErrorDescription = "Not enough storage is available to process this command. "; m_sErrorLabel = m_sErrorDescription; break; } case 9: { m_sErrorName = "ERROR_INVALID_BLOCK"; m_sErrorDescription = "The storage control block address is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 10: { m_sErrorName = "ERROR_BAD_ENVIRONMENT"; m_sErrorDescription = "The environment is incorrect. "; m_sErrorLabel = m_sErrorDescription; break; } case 11: { m_sErrorName = "ERROR_BAD_FORMAT"; m_sErrorDescription = "An attempt was made to load a program with an incorrect format. "; m_sErrorLabel = m_sErrorDescription; break; } case 12: { m_sErrorName = "ERROR_INVALID_ACCESS"; m_sErrorDescription = "The access code is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 13: { m_sErrorName = "ERROR_INVALID_DATA"; m_sErrorDescription = "The data is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 14: { m_sErrorName = "ERROR_OUTOFMEMORY"; m_sErrorDescription = "Not enough storage is available to complete this operation. "; m_sErrorLabel = m_sErrorDescription; break; } case 15: { m_sErrorName = "ERROR_INVALID_DRIVE"; m_sErrorDescription = "The system cannot find the drive specified. "; m_sErrorLabel = m_sErrorDescription; break; } case 16: { m_sErrorName = "ERROR_CURRENT_DIRECTORY"; m_sErrorDescription = "The directory cannot be removed. "; m_sErrorLabel = m_sErrorDescription; break; } case 17: { m_sErrorName = "ERROR_NOT_SAME_DEVICE"; m_sErrorDescription = "The system cannot move the file to a different disk drive. "; m_sErrorLabel = m_sErrorDescription; break; } case 18: { m_sErrorName = "ERROR_NO_MORE_FILES"; m_sErrorDescription = "There are no more files. "; m_sErrorLabel = m_sErrorDescription; break; } case 19: { m_sErrorName = "ERROR_WRITE_PROTECT"; m_sErrorDescription = "The media is write protected. "; m_sErrorLabel = m_sErrorDescription; break; } case 20: { m_sErrorName = "ERROR_BAD_UNIT"; m_sErrorDescription = "The system cannot find the device specified. "; m_sErrorLabel = m_sErrorDescription; break; } case 21: { m_sErrorName = "ERROR_NOT_READY"; m_sErrorDescription = "The device is not ready. "; m_sErrorLabel = m_sErrorDescription; break; } case 22: { m_sErrorName = "ERROR_BAD_COMMAND"; m_sErrorDescription = "The device does not recognize the command. "; m_sErrorLabel = m_sErrorDescription; break; } case 23: { m_sErrorName = "ERROR_CRC"; m_sErrorDescription = "Data error (cyclic redundancy check). "; m_sErrorLabel = m_sErrorDescription; break; } case 24: { m_sErrorName = "ERROR_BAD_LENGTH"; m_sErrorDescription = "The program issued a command but the command length is incorrect. "; m_sErrorLabel = m_sErrorDescription; break; } case 25: { m_sErrorName = "ERROR_SEEK"; m_sErrorDescription = "The drive cannot locate a specific area or track on the disk. "; m_sErrorLabel = m_sErrorDescription; break; } case 26: { m_sErrorName = "ERROR_NOT_DOS_DISK"; m_sErrorDescription = "The specified disk or diskette cannot be accessed. "; m_sErrorLabel = m_sErrorDescription; break; } case 27: { m_sErrorName = "ERROR_SECTOR_NOT_FOUND"; m_sErrorDescription = "The drive cannot find the sector requested. "; m_sErrorLabel = m_sErrorDescription; break; } case 28: { m_sErrorName = "ERROR_OUT_OF_PAPER"; m_sErrorDescription = "The printer is out of paper. "; m_sErrorLabel = m_sErrorDescription; break; } case 29: { m_sErrorName = "ERROR_WRITE_FAULT"; m_sErrorDescription = "The system cannot write to the specified device. "; m_sErrorLabel = m_sErrorDescription; break; } case 30: { m_sErrorName = "ERROR_READ_FAULT"; m_sErrorDescription = "The system cannot read from the specified device. "; m_sErrorLabel = m_sErrorDescription; break; } case 31: { m_sErrorName = "ERROR_GEN_FAILURE"; m_sErrorDescription = "A device attached to the system is not functioning. "; m_sErrorLabel = m_sErrorDescription; break; } case 32: { m_sErrorName = "ERROR_SHARING_VIOLATION"; m_sErrorDescription = "The process cannot access the file because it is being used by another process. "; m_sErrorLabel = m_sErrorDescription; break; } case 33: { m_sErrorName = "ERROR_LOCK_VIOLATION"; m_sErrorDescription = "The process cannot access the file because another process has locked a portion of the file. "; m_sErrorLabel = m_sErrorDescription; break; } case 34: { m_sErrorName = "ERROR_WRONG_DISK"; m_sErrorDescription = "The wrong diskette is in the drive. Insert %2 (Volume Serial Number: %3) into drive %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 36: { m_sErrorName = "ERROR_SHARING_BUFFER_EXCEEDED"; m_sErrorDescription = "Too many files opened for sharing. "; m_sErrorLabel = m_sErrorDescription; break; } case 38: { m_sErrorName = "ERROR_HANDLE_EOF"; m_sErrorDescription = "Reached the end of the file. "; m_sErrorLabel = m_sErrorDescription; break; } case 39: { m_sErrorName = "ERROR_HANDLE_DISK_FULL"; m_sErrorDescription = "The disk is full. "; m_sErrorLabel = m_sErrorDescription; break; } case 50: { m_sErrorName = "ERROR_NOT_SUPPORTED"; m_sErrorDescription = "The network request is not supported. "; m_sErrorLabel = m_sErrorDescription; break; } case 51: { m_sErrorName = "ERROR_REM_NOT_LIST"; m_sErrorDescription = "The remote computer is not available. "; m_sErrorLabel = m_sErrorDescription; break; } case 52: { m_sErrorName = "ERROR_DUP_NAME"; m_sErrorDescription = "A duplicate name exists on the network. "; m_sErrorLabel = m_sErrorDescription; break; } case 53: { m_sErrorName = "ERROR_BAD_NETPATH"; m_sErrorDescription = "The network path was not found. "; m_sErrorLabel = m_sErrorDescription; break; } case 54: { m_sErrorName = "ERROR_NETWORK_BUSY"; m_sErrorDescription = "The network is busy. "; m_sErrorLabel = m_sErrorDescription; break; } case 55: { m_sErrorName = "ERROR_DEV_NOT_EXIST"; m_sErrorDescription = "The specified network resource or device is no longer available. "; m_sErrorLabel = m_sErrorDescription; break; } case 56: { m_sErrorName = "ERROR_TOO_MANY_CMDS"; m_sErrorDescription = "The network BIOS command limit has been reached. "; m_sErrorLabel = m_sErrorDescription; break; } case 57: { m_sErrorName = "ERROR_ADAP_HDW_ERR"; m_sErrorDescription = "A network adapter hardware error occurred. "; m_sErrorLabel = m_sErrorDescription; break; } case 58: { m_sErrorName = "ERROR_BAD_NET_RESP"; m_sErrorDescription = "The specified server cannot perform the requested operation. "; m_sErrorLabel = m_sErrorDescription; break; } case 59: { m_sErrorName = "ERROR_UNEXP_NET_ERR"; m_sErrorDescription = "An unexpected network error occurred. "; m_sErrorLabel = m_sErrorDescription; break; } case 60: { m_sErrorName = "ERROR_BAD_REM_ADAP"; m_sErrorDescription = "The remote adapter is not compatible. "; m_sErrorLabel = m_sErrorDescription; break; } case 61: { m_sErrorName = "ERROR_PRINTQ_FULL"; m_sErrorDescription = "The printer queue is full. "; m_sErrorLabel = m_sErrorDescription; break; } case 62: { m_sErrorName = "ERROR_NO_SPOOL_SPACE"; m_sErrorDescription = "Space to store the file waiting to be printed is not available on the server. "; m_sErrorLabel = m_sErrorDescription; break; } case 63: { m_sErrorName = "ERROR_PRINT_CANCELLED"; m_sErrorDescription = "Your file waiting to be printed was deleted. "; m_sErrorLabel = m_sErrorDescription; break; } case 64: { m_sErrorName = "ERROR_NETNAME_DELETED"; m_sErrorDescription = "The specified network name is no longer available. "; m_sErrorLabel = m_sErrorDescription; break; } case 65: { m_sErrorName = "ERROR_NETWORK_ACCESS_DENIED"; m_sErrorDescription = "Network access is denied. "; m_sErrorLabel = m_sErrorDescription; break; } case 66: { m_sErrorName = "ERROR_BAD_DEV_TYPE"; m_sErrorDescription = "The network resource type is not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 67: { m_sErrorName = "ERROR_BAD_NET_NAME"; m_sErrorDescription = "The network name cannot be found. "; m_sErrorLabel = m_sErrorDescription; break; } case 68: { m_sErrorName = "ERROR_TOO_MANY_NAMES"; m_sErrorDescription = "The name limit for the local computer network adapter card was exceeded. "; m_sErrorLabel = m_sErrorDescription; break; } case 69: { m_sErrorName = "ERROR_TOO_MANY_SESS"; m_sErrorDescription = "The network BIOS session limit was exceeded. "; m_sErrorLabel = m_sErrorDescription; break; } case 70: { m_sErrorName = "ERROR_SHARING_PAUSED"; m_sErrorDescription = "The remote server has been paused or is in the process of being started. "; m_sErrorLabel = m_sErrorDescription; break; } case 71: { m_sErrorName = "ERROR_REQ_NOT_ACCEP"; m_sErrorDescription = "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept. "; m_sErrorLabel = m_sErrorDescription; break; } case 72: { m_sErrorName = "ERROR_REDIR_PAUSED"; m_sErrorDescription = "The specified printer or disk device has been paused. "; m_sErrorLabel = m_sErrorDescription; break; } case 80: { m_sErrorName = "ERROR_FILE_EXISTS"; m_sErrorDescription = "The file exists. "; m_sErrorLabel = m_sErrorDescription; break; } case 82: { m_sErrorName = "ERROR_CANNOT_MAKE"; m_sErrorDescription = "The directory or file cannot be created. "; m_sErrorLabel = m_sErrorDescription; break; } case 83: { m_sErrorName = "ERROR_FAIL_I24"; m_sErrorDescription = "Fail on INT 24. "; m_sErrorLabel = m_sErrorDescription; break; } case 84: { m_sErrorName = "ERROR_OUT_OF_STRUCTURES"; m_sErrorDescription = "Storage to process this request is not available. "; m_sErrorLabel = m_sErrorDescription; break; } case 85: { m_sErrorName = "ERROR_ALREADY_ASSIGNED"; m_sErrorDescription = "The local device name is already in use. "; m_sErrorLabel = m_sErrorDescription; break; } case 86: { m_sErrorName = "ERROR_INVALID_PASSWORD"; m_sErrorDescription = "The specified network password is not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 87: { m_sErrorName = "ERROR_INVALID_PARAMETER"; m_sErrorDescription = "The parameter is incorrect. "; m_sErrorLabel = m_sErrorDescription; break; } case 88: { m_sErrorName = "ERROR_NET_WRITE_FAULT"; m_sErrorDescription = "A write fault occurred on the network. "; m_sErrorLabel = m_sErrorDescription; break; } case 89: { m_sErrorName = "ERROR_NO_PROC_SLOTS"; m_sErrorDescription = "The system cannot start another process at this time. "; m_sErrorLabel = m_sErrorDescription; break; } case 100: { m_sErrorName = "ERROR_TOO_MANY_SEMAPHORES"; m_sErrorDescription = "Cannot create another system semaphore. "; m_sErrorLabel = m_sErrorDescription; break; } case 101: { m_sErrorName = "ERROR_EXCL_SEM_ALREADY_OWNED"; m_sErrorDescription = "The exclusive semaphore is owned by another process. "; m_sErrorLabel = m_sErrorDescription; break; } case 102: { m_sErrorName = "ERROR_SEM_IS_SET"; m_sErrorDescription = "The semaphore is set and cannot be closed. "; m_sErrorLabel = m_sErrorDescription; break; } case 103: { m_sErrorName = "ERROR_TOO_MANY_SEM_REQUESTS"; m_sErrorDescription = "The semaphore cannot be set again. "; m_sErrorLabel = m_sErrorDescription; break; } case 104: { m_sErrorName = "ERROR_INVALID_AT_INTERRUPT_TIME"; m_sErrorDescription = "Cannot request exclusive semaphores at interrupt time. "; m_sErrorLabel = m_sErrorDescription; break; } case 105: { m_sErrorName = "ERROR_SEM_OWNER_DIED"; m_sErrorDescription = "The previous ownership of this semaphore has ended. "; m_sErrorLabel = m_sErrorDescription; break; } case 106: { m_sErrorName = "ERROR_SEM_USER_LIMIT"; m_sErrorDescription = "Insert the diskette for drive %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 107: { m_sErrorName = "ERROR_DISK_CHANGE"; m_sErrorDescription = "The program stopped because an alternate diskette was not inserted. "; m_sErrorLabel = m_sErrorDescription; break; } case 108: { m_sErrorName = "ERROR_DRIVE_LOCKED"; m_sErrorDescription = "The disk is in use or locked by another process. "; m_sErrorLabel = m_sErrorDescription; break; } case 109: { m_sErrorName = "ERROR_BROKEN_PIPE"; m_sErrorDescription = "The pipe has been ended. "; m_sErrorLabel = m_sErrorDescription; break; } case 110: { m_sErrorName = "ERROR_OPEN_FAILED"; m_sErrorDescription = "The system cannot open the device or file specified. "; m_sErrorLabel = m_sErrorDescription; break; } case 111: { m_sErrorName = "ERROR_BUFFER_OVERFLOW"; m_sErrorDescription = "The file name is too long. "; m_sErrorLabel = m_sErrorDescription; break; } case 112: { m_sErrorName = "ERROR_DISK_FULL"; m_sErrorDescription = "There is not enough space on the disk. "; m_sErrorLabel = m_sErrorDescription; break; } case 113: { m_sErrorName = "ERROR_NO_MORE_SEARCH_HANDLES"; m_sErrorDescription = "No more internal file identifiers available. "; m_sErrorLabel = m_sErrorDescription; break; } case 114: { m_sErrorName = "ERROR_INVALID_TARGET_HANDLE"; m_sErrorDescription = "The target internal file identifier is incorrect. "; m_sErrorLabel = m_sErrorDescription; break; } case 117: { m_sErrorName = "ERROR_INVALID_CATEGORY"; m_sErrorDescription = "The IOCTL call made by the application program is not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 118: { m_sErrorName = "ERROR_INVALID_VERIFY_SWITCH"; m_sErrorDescription = "The verify-on-write switch parameter value is not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 119: { m_sErrorName = "ERROR_BAD_DRIVER_LEVEL"; m_sErrorDescription = "The system does not support the command requested. "; m_sErrorLabel = m_sErrorDescription; break; } case 120: { m_sErrorName = "ERROR_CALL_NOT_IMPLEMENTED"; m_sErrorDescription = "This function is not supported on this system. "; m_sErrorLabel = m_sErrorDescription; break; } case 121: { m_sErrorName = "ERROR_SEM_TIMEOUT"; m_sErrorDescription = "The semaphore timeout period has expired. "; m_sErrorLabel = m_sErrorDescription; break; } case 122: { m_sErrorName = "ERROR_INSUFFICIENT_BUFFER"; m_sErrorDescription = "The data area passed to a system call is too small. "; m_sErrorLabel = m_sErrorDescription; break; } case 123: { m_sErrorName = "ERROR_INVALID_NAME"; m_sErrorDescription = "The filename, directory name, or volume label syntax is incorrect. "; m_sErrorLabel = m_sErrorDescription; break; } case 124: { m_sErrorName = "ERROR_INVALID_LEVEL"; m_sErrorDescription = "The system call level is not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 125: { m_sErrorName = "ERROR_NO_VOLUME_LABEL"; m_sErrorDescription = "The disk has no volume label. "; m_sErrorLabel = m_sErrorDescription; break; } case 126: { m_sErrorName = "ERROR_MOD_NOT_FOUND"; m_sErrorDescription = "The specified module could not be found. "; m_sErrorLabel = m_sErrorDescription; break; } case 127: { m_sErrorName = "ERROR_PROC_NOT_FOUND"; m_sErrorDescription = "The specified procedure could not be found. "; m_sErrorLabel = m_sErrorDescription; break; } case 128: { m_sErrorName = "ERROR_WAIT_NO_CHILDREN"; m_sErrorDescription = "There are no child processes to wait for. "; m_sErrorLabel = m_sErrorDescription; break; } case 129: { m_sErrorName = "ERROR_CHILD_NOT_COMPLETE"; m_sErrorDescription = "The %1 application cannot be run in Win32 mode. "; m_sErrorLabel = m_sErrorDescription; break; } case 130: { m_sErrorName = "ERROR_DIRECT_ACCESS_HANDLE"; m_sErrorDescription = "Attempt to use a file handle to an open disk partition for an operation other than raw disk I/O. "; m_sErrorLabel = m_sErrorDescription; break; } case 131: { m_sErrorName = "ERROR_NEGATIVE_SEEK"; m_sErrorDescription = "An attempt was made to move the file pointer before the beginning of the file. "; m_sErrorLabel = m_sErrorDescription; break; } case 132: { m_sErrorName = "ERROR_SEEK_ON_DEVICE"; m_sErrorDescription = "The file pointer cannot be set on the specified device or file. "; m_sErrorLabel = m_sErrorDescription; break; } case 133: { m_sErrorName = "ERROR_IS_JOIN_TARGET"; m_sErrorDescription = "A JOIN or SUBST command cannot be used for a drive that contains previously joined drives. "; m_sErrorLabel = m_sErrorDescription; break; } case 134: { m_sErrorName = "ERROR_IS_JOINED"; m_sErrorDescription = "An attempt was made to use a JOIN or SUBST command on a drive that has already been joined. "; m_sErrorLabel = m_sErrorDescription; break; } case 135: { m_sErrorName = "ERROR_IS_SUBSTED"; m_sErrorDescription = "An attempt was made to use a JOIN or SUBST command on a drive that has already been substituted. "; m_sErrorLabel = m_sErrorDescription; break; } case 136: { m_sErrorName = "ERROR_NOT_JOINED"; m_sErrorDescription = "The system tried to delete the JOIN of a drive that is not joined. "; m_sErrorLabel = m_sErrorDescription; break; } case 137: { m_sErrorName = "ERROR_NOT_SUBSTED"; m_sErrorDescription = "The system tried to delete the substitution of a drive that is not substituted. "; m_sErrorLabel = m_sErrorDescription; break; } case 138: { m_sErrorName = "ERROR_JOIN_TO_JOIN"; m_sErrorDescription = "The system tried to join a drive to a directory on a joined drive. "; m_sErrorLabel = m_sErrorDescription; break; } case 139: { m_sErrorName = "ERROR_SUBST_TO_SUBST"; m_sErrorDescription = "The system tried to substitute a drive to a directory on a substituted drive. "; m_sErrorLabel = m_sErrorDescription; break; } case 140: { m_sErrorName = "ERROR_JOIN_TO_SUBST"; m_sErrorDescription = "The system tried to join a drive to a directory on a substituted drive. "; m_sErrorLabel = m_sErrorDescription; break; } case 141: { m_sErrorName = "ERROR_SUBST_TO_JOIN"; m_sErrorDescription = "The system tried to SUBST a drive to a directory on a joined drive. "; m_sErrorLabel = m_sErrorDescription; break; } case 142: { m_sErrorName = "ERROR_BUSY_DRIVE"; m_sErrorDescription = "The system cannot perform a JOIN or SUBST at this time. "; m_sErrorLabel = m_sErrorDescription; break; } case 143: { m_sErrorName = "ERROR_SAME_DRIVE"; m_sErrorDescription = "The system cannot join or substitute a drive to or for a directory on the same drive. "; m_sErrorLabel = m_sErrorDescription; break; } case 144: { m_sErrorName = "ERROR_DIR_NOT_ROOT"; m_sErrorDescription = "The directory is not a subdirectory of the root directory. "; m_sErrorLabel = m_sErrorDescription; break; } case 145: { m_sErrorName = "ERROR_DIR_NOT_EMPTY"; m_sErrorDescription = "The directory is not empty. "; m_sErrorLabel = m_sErrorDescription; break; } case 146: { m_sErrorName = "ERROR_IS_SUBST_PATH"; m_sErrorDescription = "The path specified is being used in a substitute. "; m_sErrorLabel = m_sErrorDescription; break; } case 147: { m_sErrorName = "ERROR_IS_JOIN_PATH"; m_sErrorDescription = "Not enough resources are available to process this command. "; m_sErrorLabel = m_sErrorDescription; break; } case 148: { m_sErrorName = "ERROR_PATH_BUSY"; m_sErrorDescription = "The path specified cannot be used at this time. "; m_sErrorLabel = m_sErrorDescription; break; } case 149: { m_sErrorName = "ERROR_IS_SUBST_TARGET"; m_sErrorDescription = "An attempt was made to join or substitute a drive for which a directory on the drive is the target of a previous substitute. "; m_sErrorLabel = m_sErrorDescription; break; } case 150: { m_sErrorName = "ERROR_SYSTEM_TRACE"; m_sErrorDescription = "System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed. "; m_sErrorLabel = m_sErrorDescription; break; } case 151: { m_sErrorName = "ERROR_INVALID_EVENT_COUNT"; m_sErrorDescription = "The number of specified semaphore events for DosMuxSemWait is not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 152: { m_sErrorName = "ERROR_TOO_MANY_MUXWAITERS"; m_sErrorDescription = "DosMuxSemWait did not execute; too many semaphores are already set. "; m_sErrorLabel = m_sErrorDescription; break; } case 153: { m_sErrorName = "ERROR_INVALID_LIST_FORMAT"; m_sErrorDescription = "The DosMuxSemWait list is not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 154: { m_sErrorName = "ERROR_LABEL_TOO_LONG"; m_sErrorDescription = "The volume label you entered exceeds the label character limit of the target file system. "; m_sErrorLabel = m_sErrorDescription; break; } case 155: { m_sErrorName = "ERROR_TOO_MANY_TCBS"; m_sErrorDescription = "Cannot create another thread. "; m_sErrorLabel = m_sErrorDescription; break; } case 156: { m_sErrorName = "ERROR_SIGNAL_REFUSED"; m_sErrorDescription = "The recipient process has refused the signal. "; m_sErrorLabel = m_sErrorDescription; break; } case 157: { m_sErrorName = "ERROR_DISCARDED"; m_sErrorDescription = "The segment is already discarded and cannot be locked. "; m_sErrorLabel = m_sErrorDescription; break; } case 158: { m_sErrorName = "ERROR_NOT_LOCKED"; m_sErrorDescription = "The segment is already unlocked. "; m_sErrorLabel = m_sErrorDescription; break; } case 159: { m_sErrorName = "ERROR_BAD_THREADID_ADDR"; m_sErrorDescription = "The address for the thread ID is not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 160: { m_sErrorName = "ERROR_BAD_ARGUMENTS"; m_sErrorDescription = "The argument string passed to DosExecPgm is not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 161: { m_sErrorName = "ERROR_BAD_PATHNAME"; m_sErrorDescription = "The specified path is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 162: { m_sErrorName = "ERROR_SIGNAL_PENDING"; m_sErrorDescription = "A signal is already pending. "; m_sErrorLabel = m_sErrorDescription; break; } case 164: { m_sErrorName = "ERROR_MAX_THRDS_REACHED"; m_sErrorDescription = "No more threads can be created in the system. "; m_sErrorLabel = m_sErrorDescription; break; } case 167: { m_sErrorName = "ERROR_LOCK_FAILED"; m_sErrorDescription = "Unable to lock a region of a file. "; m_sErrorLabel = m_sErrorDescription; break; } case 170: { m_sErrorName = "ERROR_BUSY"; m_sErrorDescription = "The requested resource is in use. "; m_sErrorLabel = m_sErrorDescription; break; } case 173: { m_sErrorName = "ERROR_CANCEL_VIOLATION"; m_sErrorDescription = "A lock request was not outstanding for the supplied cancel region. "; m_sErrorLabel = m_sErrorDescription; break; } case 174: { m_sErrorName = "ERROR_ATOMIC_LOCKS_NOT_SUPPORTED"; m_sErrorDescription = "The file system does not support atomic changes to the lock type. "; m_sErrorLabel = m_sErrorDescription; break; } case 180: { m_sErrorName = "ERROR_INVALID_SEGMENT_NUMBER"; m_sErrorDescription = "The system detected a segment number that was not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 182: { m_sErrorName = "ERROR_INVALID_ORDINAL"; m_sErrorDescription = "The operating system cannot run %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 183: { m_sErrorName = "ERROR_ALREADY_EXISTS"; m_sErrorDescription = "Cannot create a file when that file already exists. "; m_sErrorLabel = m_sErrorDescription; break; } case 186: { m_sErrorName = "ERROR_INVALID_FLAG_NUMBER"; m_sErrorDescription = "The flag passed is not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 187: { m_sErrorName = "ERROR_SEM_NOT_FOUND"; m_sErrorDescription = "The specified system semaphore name was not found. "; m_sErrorLabel = m_sErrorDescription; break; } case 188: { m_sErrorName = "ERROR_INVALID_STARTING_CODESEG"; m_sErrorDescription = "The operating system cannot run %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 189: { m_sErrorName = "ERROR_INVALID_STACKSEG"; m_sErrorDescription = "The operating system cannot run %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 190: { m_sErrorName = "ERROR_INVALID_MODULETYPE"; m_sErrorDescription = "The operating system cannot run %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 191: { m_sErrorName = "ERROR_INVALID_EXE_SIGNATURE"; m_sErrorDescription = "Cannot run %1 in Win32 mode. "; m_sErrorLabel = m_sErrorDescription; break; } case 192: { m_sErrorName = "ERROR_EXE_MARKED_INVALID"; m_sErrorDescription = "The operating system cannot run %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 193: { m_sErrorName = "ERROR_BAD_EXE_FORMAT"; m_sErrorDescription = "%1 is not a valid Win32 application. "; m_sErrorLabel = m_sErrorDescription; break; } case 194: { m_sErrorName = "ERROR_ITERATED_DATA_EXCEEDS_64k"; m_sErrorDescription = "The operating system cannot run %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 195: { m_sErrorName = "ERROR_INVALID_MINALLOCSIZE"; m_sErrorDescription = "The operating system cannot run %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 196: { m_sErrorName = "ERROR_DYNLINK_FROM_INVALID_RING"; m_sErrorDescription = "The operating system cannot run this application program. "; m_sErrorLabel = m_sErrorDescription; break; } case 197: { m_sErrorName = "ERROR_IOPL_NOT_ENABLED"; m_sErrorDescription = "The operating system is not presently configured to run this application. "; m_sErrorLabel = m_sErrorDescription; break; } case 198: { m_sErrorName = "ERROR_INVALID_SEGDPL"; m_sErrorDescription = "The operating system cannot run %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 199: { m_sErrorName = "ERROR_AUTODATASEG_EXCEEDS_64k"; m_sErrorDescription = "The operating system cannot run this application program. "; m_sErrorLabel = m_sErrorDescription; break; } case 200: { m_sErrorName = "ERROR_RING2SEG_MUST_BE_MOVABLE"; m_sErrorDescription = "The code segment cannot be greater than or equal to 64K. "; m_sErrorLabel = m_sErrorDescription; break; } case 201: { m_sErrorName = "ERROR_RELOC_CHAIN_XEEDS_SEGLIM"; m_sErrorDescription = "The operating system cannot run %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 202: { m_sErrorName = "ERROR_INFLOOP_IN_RELOC_CHAIN"; m_sErrorDescription = "The operating system cannot run %1. "; m_sErrorLabel = m_sErrorDescription; break; } case 203: { m_sErrorName = "ERROR_ENVVAR_NOT_FOUND"; m_sErrorDescription = "The system could not find the environment option that was entered. "; m_sErrorLabel = m_sErrorDescription; break; } case 205: { m_sErrorName = "ERROR_NO_SIGNAL_SENT"; m_sErrorDescription = "No process in the command subtree has a signal handler. "; m_sErrorLabel = m_sErrorDescription; break; } case 206: { m_sErrorName = "ERROR_FILENAME_EXCED_RANGE"; m_sErrorDescription = "The filename or extension is too long. "; m_sErrorLabel = m_sErrorDescription; break; } case 207: { m_sErrorName = "ERROR_RING2_STACK_IN_USE"; m_sErrorDescription = "The ring 2 stack is in use. "; m_sErrorLabel = m_sErrorDescription; break; } case 208: { m_sErrorName = "ERROR_META_EXPANSION_TOO_LONG"; m_sErrorDescription = "The global filename characters, * or ?, are entered incorrectly or too many global filename characters are specified. "; m_sErrorLabel = m_sErrorDescription; break; } case 209: { m_sErrorName = "ERROR_INVALID_SIGNAL_NUMBER"; m_sErrorDescription = "The signal being posted is not correct. "; m_sErrorLabel = m_sErrorDescription; break; } case 210: { m_sErrorName = "ERROR_THREAD_1_INACTIVE"; m_sErrorDescription = "The signal handler cannot be set. "; m_sErrorLabel = m_sErrorDescription; break; } case 212: { m_sErrorName = "ERROR_LOCKED"; m_sErrorDescription = "The segment is locked and cannot be reallocated. "; m_sErrorLabel = m_sErrorDescription; break; } case 214: { m_sErrorName = "ERROR_TOO_MANY_MODULES"; m_sErrorDescription = "Too many dynamic-link modules are attached to this program or dynamic-link module. "; m_sErrorLabel = m_sErrorDescription; break; } case 215: { m_sErrorName = "ERROR_NESTING_NOT_ALLOWED"; m_sErrorDescription = "Cannot nest calls to LoadModule. "; m_sErrorLabel = m_sErrorDescription; break; } case 216: { m_sErrorName = "ERROR_EXE_MACHINE_TYPE_MISMATCH"; m_sErrorDescription = "The image file %1 is valid, but is for a machine type other than the current machine. "; m_sErrorLabel = m_sErrorDescription; break; } case 230: { m_sErrorName = "ERROR_BAD_PIPE"; m_sErrorDescription = "The pipe state is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 231: { m_sErrorName = "ERROR_PIPE_BUSY"; m_sErrorDescription = "All pipe instances are busy. "; m_sErrorLabel = m_sErrorDescription; break; } case 232: { m_sErrorName = "ERROR_NO_DATA"; m_sErrorDescription = "The pipe is being closed. "; m_sErrorLabel = m_sErrorDescription; break; } case 233: { m_sErrorName = "ERROR_PIPE_NOT_CONNECTED"; m_sErrorDescription = "No process is on the other end of the pipe. "; m_sErrorLabel = m_sErrorDescription; break; } case 234: { m_sErrorName = "ERROR_MORE_DATA"; m_sErrorDescription = "More data is available. "; m_sErrorLabel = m_sErrorDescription; break; } case 240: { m_sErrorName = "ERROR_VC_DISCONNECTED"; m_sErrorDescription = "The session was canceled. "; m_sErrorLabel = m_sErrorDescription; break; } case 254: { m_sErrorName = "ERROR_INVALID_EA_NAME"; m_sErrorDescription = "The specified extended attribute name was invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 255: { m_sErrorName = "ERROR_EA_LIST_INCONSISTENT"; m_sErrorDescription = "The extended attributes are inconsistent. "; m_sErrorLabel = m_sErrorDescription; break; } case 258: { m_sErrorName = "WAIT_TIMEOUT"; m_sErrorDescription = "The wait operation timed out. "; m_sErrorLabel = m_sErrorDescription; break; } case 259: { m_sErrorName = "ERROR_NO_MORE_ITEMS"; m_sErrorDescription = "No more data is available. "; m_sErrorLabel = m_sErrorDescription; break; } case 266: { m_sErrorName = "ERROR_CANNOT_COPY"; m_sErrorDescription = "The copy functions cannot be used. "; m_sErrorLabel = m_sErrorDescription; break; } case 267: { m_sErrorName = "ERROR_DIRECTORY"; m_sErrorDescription = "The directory name is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 275: { m_sErrorName = "ERROR_EAS_DIDNT_FIT"; m_sErrorDescription = "The extended attributes did not fit in the buffer. "; m_sErrorLabel = m_sErrorDescription; break; } case 276: { m_sErrorName = "ERROR_EA_FILE_CORRUPT"; m_sErrorDescription = "The extended attribute file on the mounted file system is corrupt. "; m_sErrorLabel = m_sErrorDescription; break; } case 277: { m_sErrorName = "ERROR_EA_TABLE_FULL"; m_sErrorDescription = "The extended attribute table file is full. "; m_sErrorLabel = m_sErrorDescription; break; } case 278: { m_sErrorName = "ERROR_INVALID_EA_HANDLE"; m_sErrorDescription = "The specified extended attribute handle is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 282: { m_sErrorName = "ERROR_EAS_NOT_SUPPORTED"; m_sErrorDescription = "The mounted file system does not support extended attributes. "; m_sErrorLabel = m_sErrorDescription; break; } case 288: { m_sErrorName = "ERROR_NOT_OWNER"; m_sErrorDescription = "Attempt to release mutex not owned by caller. "; m_sErrorLabel = m_sErrorDescription; break; } case 298: { m_sErrorName = "ERROR_TOO_MANY_POSTS"; m_sErrorDescription = "Too many posts were made to a semaphore. "; m_sErrorLabel = m_sErrorDescription; break; } case 299: { m_sErrorName = "ERROR_PARTIAL_COPY"; m_sErrorDescription = "Only part of a ReadProcessMemory or WriteProcessMemory request was completed. "; m_sErrorLabel = m_sErrorDescription; break; } case 300: { m_sErrorName = "ERROR_OPLOCK_NOT_GRANTED"; m_sErrorDescription = "The oplock request is denied. "; m_sErrorLabel = m_sErrorDescription; break; } case 301: { m_sErrorName = "ERROR_INVALID_OPLOCK_PROTOCOL"; m_sErrorDescription = "An invalid oplock acknowledgment was received by the system. "; m_sErrorLabel = m_sErrorDescription; break; } case 317: { m_sErrorName = "ERROR_MR_MID_NOT_FOUND"; m_sErrorDescription = "The system cannot find message text for message number 0x%1 in the message file for %2. "; m_sErrorLabel = m_sErrorDescription; break; } case 487: { m_sErrorName = "ERROR_INVALID_ADDRESS"; m_sErrorDescription = "Attempt to access invalid address. "; m_sErrorLabel = m_sErrorDescription; break; } case 534: { m_sErrorName = "ERROR_ARITHMETIC_OVERFLOW"; m_sErrorDescription = "Arithmetic result exceeded 32 bits. "; m_sErrorLabel = m_sErrorDescription; break; } case 535: { m_sErrorName = "ERROR_PIPE_CONNECTED"; m_sErrorDescription = "There is a process on other end of the pipe. "; m_sErrorLabel = m_sErrorDescription; break; } case 536: { m_sErrorName = "ERROR_PIPE_LISTENING"; m_sErrorDescription = "Waiting for a process to open the other end of the pipe. "; m_sErrorLabel = m_sErrorDescription; break; } case 994: { m_sErrorName = "ERROR_EA_ACCESS_DENIED"; m_sErrorDescription = "Access to the extended attribute was denied. "; m_sErrorLabel = m_sErrorDescription; break; } case 995: { m_sErrorName = "ERROR_OPERATION_ABORTED"; m_sErrorDescription = "The I/O operation has been aborted because of either a thread exit or an application request. "; m_sErrorLabel = m_sErrorDescription; break; } case 996: { m_sErrorName = "ERROR_IO_INCOMPLETE"; m_sErrorDescription = "Overlapped I/O event is not in a signaled state. "; m_sErrorLabel = m_sErrorDescription; break; } case 997: { m_sErrorName = "ERROR_IO_PENDING"; m_sErrorDescription = "Overlapped I/O operation is in progress. "; m_sErrorLabel = m_sErrorDescription; break; } case 998: { m_sErrorName = "ERROR_NOACCESS"; m_sErrorDescription = "Invalid access to memory location. "; m_sErrorLabel = m_sErrorDescription; break; } case 999: { m_sErrorName = "ERROR_SWAPERROR"; m_sErrorDescription = "Error performing inpage operation. "; m_sErrorLabel = m_sErrorDescription; break; } case 1001: { m_sErrorName = "ERROR_STACK_OVERFLOW"; m_sErrorDescription = "Recursion too deep; the stack overflowed. "; m_sErrorLabel = m_sErrorDescription; break; } case 1002: { m_sErrorName = "ERROR_INVALID_MESSAGE"; m_sErrorDescription = "The window cannot act on the sent message. "; m_sErrorLabel = m_sErrorDescription; break; } case 1003: { m_sErrorName = "ERROR_CAN_NOT_COMPLETE"; m_sErrorDescription = "Cannot complete this function. "; m_sErrorLabel = m_sErrorDescription; break; } case 1004: { m_sErrorName = "ERROR_INVALID_FLAGS"; m_sErrorDescription = "Invalid flags. "; m_sErrorLabel = m_sErrorDescription; break; } case 1005: { m_sErrorName = "ERROR_UNRECOGNIZED_VOLUME"; m_sErrorDescription = "The volume does not contain a recognized file system. Please make sure that all required file system drivers are loaded and that the volume is not corrupted. "; m_sErrorLabel = m_sErrorDescription; break; } case 1006: { m_sErrorName = "ERROR_FILE_INVALID"; m_sErrorDescription = "The volume for a file has been externally altered so that the opened file is no longer valid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1007: { m_sErrorName = "ERROR_FULLSCREEN_MODE"; m_sErrorDescription = "The requested operation cannot be performed in full-screen mode. "; m_sErrorLabel = m_sErrorDescription; break; } case 1008: { m_sErrorName = "ERROR_NO_TOKEN"; m_sErrorDescription = "An attempt was made to reference a token that does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1009: { m_sErrorName = "ERROR_BADDB"; m_sErrorDescription = "The configuration registry database is corrupt. "; m_sErrorLabel = m_sErrorDescription; break; } case 1010: { m_sErrorName = "ERROR_BADKEY"; m_sErrorDescription = "The configuration registry key is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1011: { m_sErrorName = "ERROR_CANTOPEN"; m_sErrorDescription = "The configuration registry key could not be opened. "; m_sErrorLabel = m_sErrorDescription; break; } case 1012: { m_sErrorName = "ERROR_CANTREAD"; m_sErrorDescription = "The configuration registry key could not be read. "; m_sErrorLabel = m_sErrorDescription; break; } case 1013: { m_sErrorName = "ERROR_CANTWRITE"; m_sErrorDescription = "The configuration registry key could not be written. "; m_sErrorLabel = m_sErrorDescription; break; } case 1014: { m_sErrorName = "ERROR_REGISTRY_RECOVERED"; m_sErrorDescription = "One of the files in the registry database had to be recovered by use of a log or alternate copy. The recovery was successful. "; m_sErrorLabel = m_sErrorDescription; break; } case 1015: { m_sErrorName = "ERROR_REGISTRY_CORRUPT"; m_sErrorDescription = "The registry is corrupted. The structure of one of the files containing registry data is corrupted, or the system's memory image of the file is corrupted, or the file could not be recovered because the alternate copy or log was absent or corrupted. "; m_sErrorLabel = m_sErrorDescription; break; } case 1016: { m_sErrorName = "ERROR_REGISTRY_IO_FAILED"; m_sErrorDescription = "An I/O operation initiated by the registry failed unrecoverably. The registry could not read in, or write out, or flush, one of the files that contain the system's image of the registry. "; m_sErrorLabel = m_sErrorDescription; break; } case 1017: { m_sErrorName = "ERROR_NOT_REGISTRY_FILE"; m_sErrorDescription = "The system has attempted to load or restore a file into the registry, but the specified file is not in a registry file format. "; m_sErrorLabel = m_sErrorDescription; break; } case 1018: { m_sErrorName = "ERROR_KEY_DELETED"; m_sErrorDescription = "Illegal operation attempted on a registry key that has been marked for deletion. "; m_sErrorLabel = m_sErrorDescription; break; } case 1019: { m_sErrorName = "ERROR_NO_LOG_SPACE"; m_sErrorDescription = "System could not allocate the required space in a registry log. "; m_sErrorLabel = m_sErrorDescription; break; } case 1020: { m_sErrorName = "ERROR_KEY_HAS_CHILDREN"; m_sErrorDescription = "Cannot create a symbolic link in a registry key that already has subkeys or values. "; m_sErrorLabel = m_sErrorDescription; break; } case 1021: { m_sErrorName = "ERROR_CHILD_MUST_BE_VOLATILE"; m_sErrorDescription = "Cannot create a stable subkey under a volatile parent key. "; m_sErrorLabel = m_sErrorDescription; break; } case 1022: { m_sErrorName = "ERROR_NOTIFY_ENUM_DIR"; m_sErrorDescription = "A notify change request is being completed and the information is not being returned in the caller's buffer. The caller now needs to enumerate the files to find the changes. "; m_sErrorLabel = m_sErrorDescription; break; } case 1051: { m_sErrorName = "ERROR_DEPENDENT_SERVICES_RUNNING"; m_sErrorDescription = "A stop control has been sent to a service that other running services are dependent on. "; m_sErrorLabel = m_sErrorDescription; break; } case 1052: { m_sErrorName = "ERROR_INVALID_SERVICE_CONTROL"; m_sErrorDescription = "The requested control is not valid for this service. "; m_sErrorLabel = m_sErrorDescription; break; } case 1053: { m_sErrorName = "ERROR_SERVICE_REQUEST_TIMEOUT"; m_sErrorDescription = "The service did not respond to the start or control request in a timely fashion. "; m_sErrorLabel = m_sErrorDescription; break; } case 1054: { m_sErrorName = "ERROR_SERVICE_NO_THREAD"; m_sErrorDescription = "A thread could not be created for the service. "; m_sErrorLabel = m_sErrorDescription; break; } case 1055: { m_sErrorName = "ERROR_SERVICE_DATABASE_LOCKED"; m_sErrorDescription = "The service database is locked. "; m_sErrorLabel = m_sErrorDescription; break; } case 1056: { m_sErrorName = "ERROR_SERVICE_ALREADY_RUNNING"; m_sErrorDescription = "An instance of the service is already running. "; m_sErrorLabel = m_sErrorDescription; break; } case 1057: { m_sErrorName = "ERROR_INVALID_SERVICE_ACCOUNT"; m_sErrorDescription = "The account name is invalid or does not exist, or the password is invalid for the account name specified. "; m_sErrorLabel = m_sErrorDescription; break; } case 1058: { m_sErrorName = "ERROR_SERVICE_DISABLED"; m_sErrorDescription = "The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. "; m_sErrorLabel = m_sErrorDescription; break; } case 1059: { m_sErrorName = "ERROR_CIRCULAR_DEPENDENCY"; m_sErrorDescription = "Circular service dependency was specified. "; m_sErrorLabel = m_sErrorDescription; break; } case 1060: { m_sErrorName = "ERROR_SERVICE_DOES_NOT_EXIST"; m_sErrorDescription = "The specified service does not exist as an installed service. "; m_sErrorLabel = m_sErrorDescription; break; } case 1061: { m_sErrorName = "ERROR_SERVICE_CANNOT_ACCEPT_CTRL"; m_sErrorDescription = "The service cannot accept control messages at this time. "; m_sErrorLabel = m_sErrorDescription; break; } case 1062: { m_sErrorName = "ERROR_SERVICE_NOT_ACTIVE"; m_sErrorDescription = "The service has not been started. "; m_sErrorLabel = m_sErrorDescription; break; } case 1063: { m_sErrorName = "ERROR_FAILED_SERVICE_CONTROLLER_CONNECT"; m_sErrorDescription = "The service process could not connect to the service controller. "; m_sErrorLabel = m_sErrorDescription; break; } case 1064: { m_sErrorName = "ERROR_EXCEPTION_IN_SERVICE"; m_sErrorDescription = "An exception occurred in the service when handling the control request. "; m_sErrorLabel = m_sErrorDescription; break; } case 1065: { m_sErrorName = "ERROR_DATABASE_DOES_NOT_EXIST"; m_sErrorDescription = "The database specified does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1066: { m_sErrorName = "ERROR_SERVICE_SPECIFIC_ERROR"; m_sErrorDescription = "The service has returned a service-specific error code. "; m_sErrorLabel = m_sErrorDescription; break; } case 1067: { m_sErrorName = "ERROR_PROCESS_ABORTED"; m_sErrorDescription = "The process terminated unexpectedly. "; m_sErrorLabel = m_sErrorDescription; break; } case 1068: { m_sErrorName = "ERROR_SERVICE_DEPENDENCY_FAIL"; m_sErrorDescription = "The dependency service or group failed to start. "; m_sErrorLabel = m_sErrorDescription; break; } case 1069: { m_sErrorName = "ERROR_SERVICE_LOGON_FAILED"; m_sErrorDescription = "The service did not start due to a logon failure. "; m_sErrorLabel = m_sErrorDescription; break; } case 1070: { m_sErrorName = "ERROR_SERVICE_START_HANG"; m_sErrorDescription = "After starting, the service hung in a start-pending state. "; m_sErrorLabel = m_sErrorDescription; break; } case 1071: { m_sErrorName = "ERROR_INVALID_SERVICE_LOCK"; m_sErrorDescription = "The specified service database lock is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1072: { m_sErrorName = "ERROR_SERVICE_MARKED_FOR_DELETE"; m_sErrorDescription = "The specified service has been marked for deletion. "; m_sErrorLabel = m_sErrorDescription; break; } case 1073: { m_sErrorName = "ERROR_SERVICE_EXISTS"; m_sErrorDescription = "The specified service already exists. "; m_sErrorLabel = m_sErrorDescription; break; } case 1074: { m_sErrorName = "ERROR_ALREADY_RUNNING_LKG"; m_sErrorDescription = "The system is currently running with the last-known-good configuration. "; m_sErrorLabel = m_sErrorDescription; break; } case 1075: { m_sErrorName = "ERROR_SERVICE_DEPENDENCY_DELETED"; m_sErrorDescription = "The dependency service does not exist or has been marked for deletion. "; m_sErrorLabel = m_sErrorDescription; break; } case 1076: { m_sErrorName = "ERROR_BOOT_ALREADY_ACCEPTED"; m_sErrorDescription = "The current boot has already been accepted for use as the last-known-good control set. "; m_sErrorLabel = m_sErrorDescription; break; } case 1077: { m_sErrorName = "ERROR_SERVICE_NEVER_STARTED"; m_sErrorDescription = "No attempts to start the service have been made since the last boot. "; m_sErrorLabel = m_sErrorDescription; break; } case 1078: { m_sErrorName = "ERROR_DUPLICATE_SERVICE_NAME"; m_sErrorDescription = "The name is already in use as either a service name or a service display name. "; m_sErrorLabel = m_sErrorDescription; break; } case 1079: { m_sErrorName = "ERROR_DIFFERENT_SERVICE_ACCOUNT"; m_sErrorDescription = "The account specified for this service is different from the account specified for other services running in the same process. "; m_sErrorLabel = m_sErrorDescription; break; } case 1080: { m_sErrorName = "ERROR_CANNOT_DETECT_DRIVER_FAILURE"; m_sErrorDescription = "Failure actions can only be set for Win32 services, not for drivers. "; m_sErrorLabel = m_sErrorDescription; break; } case 1081: { m_sErrorName = "ERROR_CANNOT_DETECT_PROCESS_ABORT"; m_sErrorDescription = "This service runs in the same process as the service control manager. Therefore, the service control manager cannot take action if this service's process terminates unexpectedly. "; m_sErrorLabel = m_sErrorDescription; break; } case 1082: { m_sErrorName = "ERROR_NO_RECOVERY_PROGRAM"; m_sErrorDescription = "No recovery program has been configured for this service. "; m_sErrorLabel = m_sErrorDescription; break; } case 1083: { m_sErrorName = "ERROR_SERVICE_NOT_IN_EXE"; m_sErrorDescription = "The executable program that this service is configured to run in does not implement the service. "; m_sErrorLabel = m_sErrorDescription; break; } case 1100: { m_sErrorName = "ERROR_END_OF_MEDIA"; m_sErrorDescription = "The physical end of the tape has been reached. "; m_sErrorLabel = m_sErrorDescription; break; } case 1101: { m_sErrorName = "ERROR_FILEMARK_DETECTED"; m_sErrorDescription = "A tape access reached a filemark. "; m_sErrorLabel = m_sErrorDescription; break; } case 1102: { m_sErrorName = "ERROR_BEGINNING_OF_MEDIA"; m_sErrorDescription = "The beginning of the tape or a partition was encountered. "; m_sErrorLabel = m_sErrorDescription; break; } case 1103: { m_sErrorName = "ERROR_SETMARK_DETECTED"; m_sErrorDescription = "A tape access reached the end of a set of files. "; m_sErrorLabel = m_sErrorDescription; break; } case 1104: { m_sErrorName = "ERROR_NO_DATA_DETECTED"; m_sErrorDescription = "No more data is on the tape. "; m_sErrorLabel = m_sErrorDescription; break; } case 1105: { m_sErrorName = "ERROR_PARTITION_FAILURE"; m_sErrorDescription = "Tape could not be partitioned. "; m_sErrorLabel = m_sErrorDescription; break; } case 1106: { m_sErrorName = "ERROR_INVALID_BLOCK_LENGTH"; m_sErrorDescription = "When accessing a new tape of a multivolume partition, the current block size is incorrect. "; m_sErrorLabel = m_sErrorDescription; break; } case 1107: { m_sErrorName = "ERROR_DEVICE_NOT_PARTITIONED"; m_sErrorDescription = "Tape partition information could not be found when loading a tape. "; m_sErrorLabel = m_sErrorDescription; break; } case 1108: { m_sErrorName = "ERROR_UNABLE_TO_LOCK_MEDIA"; m_sErrorDescription = "Unable to lock the media eject mechanism. "; m_sErrorLabel = m_sErrorDescription; break; } case 1109: { m_sErrorName = "ERROR_UNABLE_TO_UNLOAD_MEDIA"; m_sErrorDescription = "Unable to unload the media. "; m_sErrorLabel = m_sErrorDescription; break; } case 1110: { m_sErrorName = "ERROR_MEDIA_CHANGED"; m_sErrorDescription = "The media in the drive may have changed. "; m_sErrorLabel = m_sErrorDescription; break; } case 1111: { m_sErrorName = "ERROR_BUS_RESET"; m_sErrorDescription = "The I/O bus was reset. "; m_sErrorLabel = m_sErrorDescription; break; } case 1112: { m_sErrorName = "ERROR_NO_MEDIA_IN_DRIVE"; m_sErrorDescription = "No media in drive. "; m_sErrorLabel = m_sErrorDescription; break; } case 1113: { m_sErrorName = "ERROR_NO_UNICODE_TRANSLATION"; m_sErrorDescription = "No mapping for the Unicode character exists in the target multi-byte code page. "; m_sErrorLabel = m_sErrorDescription; break; } case 1114: { m_sErrorName = "ERROR_DLL_INIT_FAILED"; m_sErrorDescription = "A dynamic link library (DLL) initialization routine failed. "; m_sErrorLabel = m_sErrorDescription; break; } case 1115: { m_sErrorName = "ERROR_SHUTDOWN_IN_PROGRESS"; m_sErrorDescription = "A system shutdown is in progress. "; m_sErrorLabel = m_sErrorDescription; break; } case 1116: { m_sErrorName = "ERROR_NO_SHUTDOWN_IN_PROGRESS"; m_sErrorDescription = "Unable to abort the system shutdown because no shutdown was in progress. "; m_sErrorLabel = m_sErrorDescription; break; } case 1117: { m_sErrorName = "ERROR_IO_DEVICE"; m_sErrorDescription = "The request could not be performed because of an I/O device error. "; m_sErrorLabel = m_sErrorDescription; break; } case 1118: { m_sErrorName = "ERROR_SERIAL_NO_DEVICE"; m_sErrorDescription = "No serial device was successfully initialized. The serial driver will unload. "; m_sErrorLabel = m_sErrorDescription; break; } case 1119: { m_sErrorName = "ERROR_IRQ_BUSY"; m_sErrorDescription = "Unable to open a device that was sharing an interrupt request (IRQ) with other devices. At least one other device that uses that IRQ was already opened. "; m_sErrorLabel = m_sErrorDescription; break; } case 1120: { m_sErrorName = "ERROR_MORE_WRITES"; m_sErrorDescription = "A serial I/O operation was completed by another write to the serial port. (The IOCTL_SERIAL_XOFF_COUNTER reached zero.) "; m_sErrorLabel = m_sErrorDescription; break; } case 1121: { m_sErrorName = "ERROR_COUNTER_TIMEOUT"; m_sErrorDescription = "A serial I/O operation completed because the timeout period expired. (The IOCTL_SERIAL_XOFF_COUNTER did not reach zero.) "; m_sErrorLabel = m_sErrorDescription; break; } case 1122: { m_sErrorName = "ERROR_FLOPPY_ID_MARK_NOT_FOUND"; m_sErrorDescription = "No ID address mark was found on the floppy disk. "; m_sErrorLabel = m_sErrorDescription; break; } case 1123: { m_sErrorName = "ERROR_FLOPPY_WRONG_CYLINDER"; m_sErrorDescription = "Mismatch between the floppy disk sector ID field and the floppy disk controller track address. "; m_sErrorLabel = m_sErrorDescription; break; } case 1124: { m_sErrorName = "ERROR_FLOPPY_UNKNOWN_ERROR"; m_sErrorDescription = "The floppy disk controller reported an error that is not recognized by the floppy disk driver. "; m_sErrorLabel = m_sErrorDescription; break; } case 1125: { m_sErrorName = "ERROR_FLOPPY_BAD_REGISTERS"; m_sErrorDescription = "The floppy disk controller returned inconsistent results in its registers. "; m_sErrorLabel = m_sErrorDescription; break; } case 1126: { m_sErrorName = "ERROR_DISK_RECALIBRATE_FAILED"; m_sErrorDescription = "While accessing the hard disk, a recalibrate operation failed, even after retries. "; m_sErrorLabel = m_sErrorDescription; break; } case 1127: { m_sErrorName = "ERROR_DISK_OPERATION_FAILED"; m_sErrorDescription = "While accessing the hard disk, a disk operation failed even after retries. "; m_sErrorLabel = m_sErrorDescription; break; } case 1128: { m_sErrorName = "ERROR_DISK_RESET_FAILED"; m_sErrorDescription = "While accessing the hard disk, a disk controller reset was needed, but even that failed. "; m_sErrorLabel = m_sErrorDescription; break; } case 1129: { m_sErrorName = "ERROR_EOM_OVERFLOW"; m_sErrorDescription = "Physical end of tape encountered. "; m_sErrorLabel = m_sErrorDescription; break; } case 1130: { m_sErrorName = "ERROR_NOT_ENOUGH_SERVER_MEMORY"; m_sErrorDescription = "Not enough server storage is available to process this command. "; m_sErrorLabel = m_sErrorDescription; break; } case 1131: { m_sErrorName = "ERROR_POSSIBLE_DEADLOCK"; m_sErrorDescription = "A potential deadlock condition has been detected. "; m_sErrorLabel = m_sErrorDescription; break; } case 1132: { m_sErrorName = "ERROR_MAPPED_ALIGNMENT"; m_sErrorDescription = "The base address or the file offset specified does not have the proper alignment. "; m_sErrorLabel = m_sErrorDescription; break; } case 1140: { m_sErrorName = "ERROR_SET_POWER_STATE_VETOED"; m_sErrorDescription = "An attempt to change the system power state was vetoed by another application or driver. "; m_sErrorLabel = m_sErrorDescription; break; } case 1141: { m_sErrorName = "ERROR_SET_POWER_STATE_FAILED"; m_sErrorDescription = "The system BIOS failed an attempt to change the system power state. "; m_sErrorLabel = m_sErrorDescription; break; } case 1142: { m_sErrorName = "ERROR_TOO_MANY_LINKS"; m_sErrorDescription = "An attempt was made to create more links on a file than the file system supports. "; m_sErrorLabel = m_sErrorDescription; break; } case 1150: { m_sErrorName = "ERROR_OLD_WIN_VERSION"; m_sErrorDescription = "The specified program requires a newer version of Windows. "; m_sErrorLabel = m_sErrorDescription; break; } case 1151: { m_sErrorName = "ERROR_APP_WRONG_OS"; m_sErrorDescription = "The specified program is not a Windows or MS-DOS program. "; m_sErrorLabel = m_sErrorDescription; break; } case 1152: { m_sErrorName = "ERROR_SINGLE_INSTANCE_APP"; m_sErrorDescription = "Cannot start more than one instance of the specified program. "; m_sErrorLabel = m_sErrorDescription; break; } case 1153: { m_sErrorName = "ERROR_RMODE_APP"; m_sErrorDescription = "The specified program was written for an earlier version of Windows. "; m_sErrorLabel = m_sErrorDescription; break; } case 1154: { m_sErrorName = "ERROR_INVALID_DLL"; m_sErrorDescription = "One of the library files needed to run this application is damaged. "; m_sErrorLabel = m_sErrorDescription; break; } case 1155: { m_sErrorName = "ERROR_NO_ASSOCIATION"; m_sErrorDescription = "No application is associated with the specified file for this operation. "; m_sErrorLabel = m_sErrorDescription; break; } case 1156: { m_sErrorName = "ERROR_DDE_FAIL"; m_sErrorDescription = "An error occurred in sending the command to the application. "; m_sErrorLabel = m_sErrorDescription; break; } case 1157: { m_sErrorName = "ERROR_DLL_NOT_FOUND"; m_sErrorDescription = "One of the library files needed to run this application cannot be found. "; m_sErrorLabel = m_sErrorDescription; break; } case 1158: { m_sErrorName = "ERROR_NO_MORE_USER_HANDLES"; m_sErrorDescription = "The current process has used all of its system allowance of handles for Window Manager objects. "; m_sErrorLabel = m_sErrorDescription; break; } case 1159: { m_sErrorName = "ERROR_MESSAGE_SYNC_ONLY"; m_sErrorDescription = "The message can be used only with synchronous operations. "; m_sErrorLabel = m_sErrorDescription; break; } case 1160: { m_sErrorName = "ERROR_SOURCE_ELEMENT_EMPTY"; m_sErrorDescription = "The indicated source element has no media. "; m_sErrorLabel = m_sErrorDescription; break; } case 1161: { m_sErrorName = "ERROR_DESTINATION_ELEMENT_FULL"; m_sErrorDescription = "The indicated destination element already contains media. "; m_sErrorLabel = m_sErrorDescription; break; } case 1162: { m_sErrorName = "ERROR_ILLEGAL_ELEMENT_ADDRESS"; m_sErrorDescription = "The indicated element does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1163: { m_sErrorName = "ERROR_MAGAZINE_NOT_PRESENT"; m_sErrorDescription = "The indicated element is part of a magazine that is not present. "; m_sErrorLabel = m_sErrorDescription; break; } case 1164: { m_sErrorName = "ERROR_DEVICE_REINITIALIZATION_NEEDED"; m_sErrorDescription = "The indicated device requires reinitialization due to hardware errors. "; m_sErrorLabel = m_sErrorDescription; break; } case 1165: { m_sErrorName = "ERROR_DEVICE_REQUIRES_CLEANING"; m_sErrorDescription = "The device has indicated that cleaning is required before further operations are attempted. "; m_sErrorLabel = m_sErrorDescription; break; } case 1166: { m_sErrorName = "ERROR_DEVICE_DOOR_OPEN"; m_sErrorDescription = "The device has indicated that its door is open. "; m_sErrorLabel = m_sErrorDescription; break; } case 1167: { m_sErrorName = "ERROR_DEVICE_NOT_CONNECTED"; m_sErrorDescription = "The device is not connected. "; m_sErrorLabel = m_sErrorDescription; break; } case 1168: { m_sErrorName = "ERROR_NOT_FOUND"; m_sErrorDescription = "Element not found. "; m_sErrorLabel = m_sErrorDescription; break; } case 1169: { m_sErrorName = "ERROR_NO_MATCH"; m_sErrorDescription = "There was no match for the specified key in the index. "; m_sErrorLabel = m_sErrorDescription; break; } case 1170: { m_sErrorName = "ERROR_SET_NOT_FOUND"; m_sErrorDescription = "The property set specified does not exist on the object. "; m_sErrorLabel = m_sErrorDescription; break; } case 1171: { m_sErrorName = "ERROR_POINT_NOT_FOUND"; m_sErrorDescription = "The point passed to GetMouseMovePointsEx is not in the buffer. "; m_sErrorLabel = m_sErrorDescription; break; } case 1172: { m_sErrorName = "ERROR_NO_TRACKING_SERVICE"; m_sErrorDescription = "The tracking (workstation) service is not running. "; m_sErrorLabel = m_sErrorDescription; break; } case 1173: { m_sErrorName = "ERROR_NO_VOLUME_ID"; m_sErrorDescription = "The Volume ID could not be found. "; m_sErrorLabel = m_sErrorDescription; break; } case 1175: { m_sErrorName = "ERROR_UNABLE_TO_REMOVE_REPLACED"; m_sErrorDescription = "Unable to remove the file to be replaced. "; m_sErrorLabel = m_sErrorDescription; break; } case 1176: { m_sErrorName = "ERROR_UNABLE_TO_MOVE_REPLACEMENT"; m_sErrorDescription = "Unable to move the replacement file to the file to be replaced. The file to be replaced has retained its original name. "; m_sErrorLabel = m_sErrorDescription; break; } case 1177: { m_sErrorName = "ERROR_UNABLE_TO_MOVE_REPLACEMENT_2"; m_sErrorDescription = "Unable to move the replacement file to the file to be replaced. The file to be replaced has been renamed using the backup name. "; m_sErrorLabel = m_sErrorDescription; break; } case 1178: { m_sErrorName = "ERROR_JOURNAL_DELETE_IN_PROGRESS"; m_sErrorDescription = "The volume change journal is being deleted. "; m_sErrorLabel = m_sErrorDescription; break; } case 1179: { m_sErrorName = "ERROR_JOURNAL_NOT_ACTIVE"; m_sErrorDescription = "The volume change journal service is not active. "; m_sErrorLabel = m_sErrorDescription; break; } case 1180: { m_sErrorName = "ERROR_POTENTIAL_FILE_FOUND"; m_sErrorDescription = "A file was found, but it may not be the correct file. "; m_sErrorLabel = m_sErrorDescription; break; } case 1181: { m_sErrorName = "ERROR_JOURNAL_ENTRY_DELETED"; m_sErrorDescription = "The journal entry has been deleted from the journal."; m_sErrorLabel = m_sErrorDescription; break; } case 1200: { m_sErrorName = "ERROR_BAD_DEVICE"; m_sErrorDescription = "The specified device name is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1201: { m_sErrorName = "ERROR_CONNECTION_UNAVAIL"; m_sErrorDescription = "The device is not currently connected but it is a remembered connection. "; m_sErrorLabel = m_sErrorDescription; break; } case 1202: { m_sErrorName = "ERROR_DEVICE_ALREADY_REMEMBERED"; m_sErrorDescription = "An attempt was made to remember a device that had previously been remembered. "; m_sErrorLabel = m_sErrorDescription; break; } case 1203: { m_sErrorName = "ERROR_NO_NET_OR_BAD_PATH"; m_sErrorDescription = "No network provider accepted the given network path. "; m_sErrorLabel = m_sErrorDescription; break; } case 1204: { m_sErrorName = "ERROR_BAD_PROVIDER"; m_sErrorDescription = "The specified network provider name is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1205: { m_sErrorName = "ERROR_CANNOT_OPEN_PROFILE"; m_sErrorDescription = "Unable to open the network connection profile. "; m_sErrorLabel = m_sErrorDescription; break; } case 1206: { m_sErrorName = "ERROR_BAD_PROFILE"; m_sErrorDescription = "The network connection profile is corrupted. "; m_sErrorLabel = m_sErrorDescription; break; } case 1207: { m_sErrorName = "ERROR_NOT_CONTAINER"; m_sErrorDescription = "Cannot enumerate a noncontainer. "; m_sErrorLabel = m_sErrorDescription; break; } case 1208: { m_sErrorName = "ERROR_EXTENDED_ERROR"; m_sErrorDescription = "An extended error has occurred. "; m_sErrorLabel = m_sErrorDescription; break; } case 1209: { m_sErrorName = "ERROR_INVALID_GROUPNAME"; m_sErrorDescription = "The format of the specified group name is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1210: { m_sErrorName = "ERROR_INVALID_COMPUTERNAME"; m_sErrorDescription = "The format of the specified computer name is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1211: { m_sErrorName = "ERROR_INVALID_EVENTNAME"; m_sErrorDescription = "The format of the specified event name is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1212: { m_sErrorName = "ERROR_INVALID_DOMAINNAME"; m_sErrorDescription = "The format of the specified domain name is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1213: { m_sErrorName = "ERROR_INVALID_SERVICENAME"; m_sErrorDescription = "The format of the specified service name is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1214: { m_sErrorName = "ERROR_INVALID_NETNAME"; m_sErrorDescription = "The format of the specified network name is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1215: { m_sErrorName = "ERROR_INVALID_SHARENAME"; m_sErrorDescription = "The format of the specified share name is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1216: { m_sErrorName = "ERROR_INVALID_PASSWORDNAME"; m_sErrorDescription = "The format of the specified password is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1217: { m_sErrorName = "ERROR_INVALID_MESSAGENAME"; m_sErrorDescription = "The format of the specified message name is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1218: { m_sErrorName = "ERROR_INVALID_MESSAGEDEST"; m_sErrorDescription = "The format of the specified message destination is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1219: { m_sErrorName = "ERROR_SESSION_CREDENTIAL_CONFLICT"; m_sErrorDescription = "The credentials supplied conflict with an existing set of credentials. "; m_sErrorLabel = m_sErrorDescription; break; } case 1220: { m_sErrorName = "ERROR_REMOTE_SESSION_LIMIT_EXCEEDED"; m_sErrorDescription = "An attempt was made to establish a session to a network server, but there are already too many sessions established to that server. "; m_sErrorLabel = m_sErrorDescription; break; } case 1221: { m_sErrorName = "ERROR_DUP_DOMAINNAME"; m_sErrorDescription = "The workgroup or domain name is already in use by another computer on the network. "; m_sErrorLabel = m_sErrorDescription; break; } case 1222: { m_sErrorName = "ERROR_NO_NETWORK"; m_sErrorDescription = "The network is not present or not started. "; m_sErrorLabel = m_sErrorDescription; break; } case 1223: { m_sErrorName = "ERROR_CANCELLED"; m_sErrorDescription = "The operation was canceled by the user. "; m_sErrorLabel = m_sErrorDescription; break; } case 1224: { m_sErrorName = "ERROR_USER_MAPPED_FILE"; m_sErrorDescription = "The requested operation cannot be performed on a file with a user-mapped section open. "; m_sErrorLabel = m_sErrorDescription; break; } case 1225: { m_sErrorName = "ERROR_CONNECTION_REFUSED"; m_sErrorDescription = "The remote system refused the network connection. "; m_sErrorLabel = m_sErrorDescription; break; } case 1226: { m_sErrorName = "ERROR_GRACEFUL_DISCONNECT"; m_sErrorDescription = "The network connection was gracefully closed. "; m_sErrorLabel = m_sErrorDescription; break; } case 1227: { m_sErrorName = "ERROR_ADDRESS_ALREADY_ASSOCIATED"; m_sErrorDescription = "The network transport endpoint already has an address associated with it. "; m_sErrorLabel = m_sErrorDescription; break; } case 1228: { m_sErrorName = "ERROR_ADDRESS_NOT_ASSOCIATED"; m_sErrorDescription = "An address has not yet been associated with the network endpoint. "; m_sErrorLabel = m_sErrorDescription; break; } case 1229: { m_sErrorName = "ERROR_CONNECTION_INVALID"; m_sErrorDescription = "An operation was attempted on a nonexistent network connection. "; m_sErrorLabel = m_sErrorDescription; break; } case 1230: { m_sErrorName = "ERROR_CONNECTION_ACTIVE"; m_sErrorDescription = "An invalid operation was attempted on an active network connection. "; m_sErrorLabel = m_sErrorDescription; break; } case 1231: { m_sErrorName = "ERROR_NETWORK_UNREACHABLE"; m_sErrorDescription = "The network location cannot be reached. For information about network troubleshooting, see Windows Help. "; m_sErrorLabel = m_sErrorDescription; break; } case 1232: { m_sErrorName = "ERROR_HOST_UNREACHABLE"; m_sErrorDescription = "The network location cannot be reached. For information about network troubleshooting, see Windows Help. "; m_sErrorLabel = m_sErrorDescription; break; } case 1233: { m_sErrorName = "ERROR_PROTOCOL_UNREACHABLE"; m_sErrorDescription = "The network location cannot be reached. For information about network troubleshooting, see Windows Help. "; m_sErrorLabel = m_sErrorDescription; break; } case 1234: { m_sErrorName = "ERROR_PORT_UNREACHABLE"; m_sErrorDescription = "No service is operating at the destination network endpoint on the remote system. "; m_sErrorLabel = m_sErrorDescription; break; } case 1235: { m_sErrorName = "ERROR_REQUEST_ABORTED"; m_sErrorDescription = "The request was aborted. "; m_sErrorLabel = m_sErrorDescription; break; } case 1236: { m_sErrorName = "ERROR_CONNECTION_ABORTED"; m_sErrorDescription = "The network connection was aborted by the local system. "; m_sErrorLabel = m_sErrorDescription; break; } case 1237: { m_sErrorName = "ERROR_RETRY"; m_sErrorDescription = "The operation could not be completed. A retry should be performed. "; m_sErrorLabel = m_sErrorDescription; break; } case 1238: { m_sErrorName = "ERROR_CONNECTION_COUNT_LIMIT"; m_sErrorDescription = "A connection to the server could not be made because the limit on the number of concurrent connections for this account has been reached. "; m_sErrorLabel = m_sErrorDescription; break; } case 1239: { m_sErrorName = "ERROR_LOGIN_TIME_RESTRICTION"; m_sErrorDescription = "Attempting to log in during an unauthorized time of day for this account. "; m_sErrorLabel = m_sErrorDescription; break; } case 1240: { m_sErrorName = "ERROR_LOGIN_WKSTA_RESTRICTION"; m_sErrorDescription = "The account is not authorized to log in from this station. "; m_sErrorLabel = m_sErrorDescription; break; } case 1241: { m_sErrorName = "ERROR_INCORRECT_ADDRESS"; m_sErrorDescription = "The network address could not be used for the operation requested. "; m_sErrorLabel = m_sErrorDescription; break; } case 1242: { m_sErrorName = "ERROR_ALREADY_REGISTERED"; m_sErrorDescription = "The service is already registered. "; m_sErrorLabel = m_sErrorDescription; break; } case 1243: { m_sErrorName = "ERROR_SERVICE_NOT_FOUND"; m_sErrorDescription = "The specified service does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1244: { m_sErrorName = "ERROR_NOT_AUTHENTICATED"; m_sErrorDescription = "The operation being requested was not performed because the user has not been authenticated. "; m_sErrorLabel = m_sErrorDescription; break; } case 1245: { m_sErrorName = "ERROR_NOT_LOGGED_ON"; m_sErrorDescription = "The operation being requested was not performed because the user has not logged on to the network. The specified service does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1246: { m_sErrorName = "ERROR_CONTINUE"; m_sErrorDescription = "Continue with work in progress. "; m_sErrorLabel = m_sErrorDescription; break; } case 1247: { m_sErrorName = "ERROR_ALREADY_INITIALIZED"; m_sErrorDescription = "An attempt was made to perform an initialization operation when initialization has already been completed. "; m_sErrorLabel = m_sErrorDescription; break; } case 1248: { m_sErrorName = "ERROR_NO_MORE_DEVICES"; m_sErrorDescription = "No more local devices. "; m_sErrorLabel = m_sErrorDescription; break; } case 1249: { m_sErrorName = "ERROR_NO_SUCH_SITE"; m_sErrorDescription = "The specified site does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1250: { m_sErrorName = "ERROR_DOMAIN_CONTROLLER_EXISTS"; m_sErrorDescription = "A domain controller with the specified name already exists. "; m_sErrorLabel = m_sErrorDescription; break; } case 1251: { m_sErrorName = "ERROR_ONLY_IF_CONNECTED"; m_sErrorDescription = "This operation is supported only when you are connected to the server."; m_sErrorLabel = m_sErrorDescription; break; } case 1252: { m_sErrorName = "ERROR_OVERRIDE_NOCHANGES"; m_sErrorDescription = "The group policy framework should call the extension even if there are no changes."; m_sErrorLabel = m_sErrorDescription; break; } case 1253: { m_sErrorName = "ERROR_BAD_USER_PROFILE"; m_sErrorDescription = "The specified user does not have a valid profile."; m_sErrorLabel = m_sErrorDescription; break; } case 1254: { m_sErrorName = "ERROR_NOT_SUPPORTED_ON_SBS"; m_sErrorDescription = "This operation is not supported on a Microsoft Small Business Server."; m_sErrorLabel = m_sErrorDescription; break; } case 1300: { m_sErrorName = "ERROR_NOT_ALL_ASSIGNED"; m_sErrorDescription = "Not all privileges referenced are assigned to the caller. "; m_sErrorLabel = m_sErrorDescription; break; } case 1301: { m_sErrorName = "ERROR_SOME_NOT_MAPPED"; m_sErrorDescription = "Some mapping between account names and security IDs was not done. "; m_sErrorLabel = m_sErrorDescription; break; } case 1302: { m_sErrorName = "ERROR_NO_QUOTAS_FOR_ACCOUNT"; m_sErrorDescription = "No system quota limits are specifically set for this account. "; m_sErrorLabel = m_sErrorDescription; break; } case 1303: { m_sErrorName = "ERROR_LOCAL_USER_SESSION_KEY"; m_sErrorDescription = "No encryption key is available. A well-known encryption key was returned. "; m_sErrorLabel = m_sErrorDescription; break; } case 1304: { m_sErrorName = "ERROR_NULL_LM_PASSWORD"; m_sErrorDescription = "The password is too complex to be converted to a LAN Manager password. The LAN Manager password returned is a NULL string. "; m_sErrorLabel = m_sErrorDescription; break; } case 1305: { m_sErrorName = "ERROR_UNKNOWN_REVISION"; m_sErrorDescription = "The revision level is unknown. "; m_sErrorLabel = m_sErrorDescription; break; } case 8399: { m_sErrorName = "ERROR_DS_ATT_SCHEMA_REQ_ID"; m_sErrorDescription = "Cannot read the governs class identifier for the schema record."; m_sErrorLabel = m_sErrorDescription; break; } case 8400: { m_sErrorName = "ERROR_DS_BAD_ATT_SCHEMA_SYNTAX"; m_sErrorDescription = "The attribute schema has bad syntax."; m_sErrorLabel = m_sErrorDescription; break; } case 8401: { m_sErrorName = "ERROR_DS_CANT_CACHE_ATT"; m_sErrorDescription = "The attribute could not be cached."; m_sErrorLabel = m_sErrorDescription; break; } case 8402: { m_sErrorName = "ERROR_DS_CANT_CACHE_CLASS"; m_sErrorDescription = "The class could not be cached."; m_sErrorLabel = m_sErrorDescription; break; } case 8403: { m_sErrorName = "ERROR_DS_CANT_REMOVE_ATT_CACHE"; m_sErrorDescription = "The attribute could not be removed from the cache."; m_sErrorLabel = m_sErrorDescription; break; } case 8404: { m_sErrorName = "ERROR_DS_CANT_REMOVE_CLASS_CACHE"; m_sErrorDescription = "The class could not be removed from the cache."; m_sErrorLabel = m_sErrorDescription; break; } case 8405: { m_sErrorName = "ERROR_DS_CANT_RETRIEVE_DN"; m_sErrorDescription = "The distinguished name attribute could not be read."; m_sErrorLabel = m_sErrorDescription; break; } case 8406: { m_sErrorName = "ERROR_DS_MISSING_SUPREF"; m_sErrorDescription = "A required subref is missing."; m_sErrorLabel = m_sErrorDescription; break; } case 8407: { m_sErrorName = "ERROR_DS_CANT_RETRIEVE_INSTANCE"; m_sErrorDescription = "The instance type attribute could not be retrieved."; m_sErrorLabel = m_sErrorDescription; break; } case 8408: { m_sErrorName = "ERROR_DS_CODE_INCONSISTENCY"; m_sErrorDescription = "An internal error has occurred."; m_sErrorLabel = m_sErrorDescription; break; } case 8409: { m_sErrorName = "ERROR_DS_DATABASE_ERROR"; m_sErrorDescription = "A database error has occurred."; m_sErrorLabel = m_sErrorDescription; break; } case 8410: { m_sErrorName = "ERROR_DS_GOVERNSID_MISSING"; m_sErrorDescription = "The attribute GOVERNSID is missing."; m_sErrorLabel = m_sErrorDescription; break; } case 8411: { m_sErrorName = "ERROR_DS_MISSING_EXPECTED_ATT"; m_sErrorDescription = "An expected attribute is missing."; m_sErrorLabel = m_sErrorDescription; break; } case 8412: { m_sErrorName = "ERROR_DS_NCNAME_MISSING_CR_REF"; m_sErrorDescription = "The specified naming context is missing a cross reference."; m_sErrorLabel = m_sErrorDescription; break; } case 8413: { m_sErrorName = "ERROR_DS_SECURITY_CHECKING_ERROR"; m_sErrorDescription = "A security checking error has occurred."; m_sErrorLabel = m_sErrorDescription; break; } case 8414: { m_sErrorName = "ERROR_DS_SCHEMA_NOT_LOADED"; m_sErrorDescription = "The schema is not loaded."; m_sErrorLabel = m_sErrorDescription; break; } case 8415: { m_sErrorName = "ERROR_DS_SCHEMA_ALLOC_FAILED"; m_sErrorDescription = "Schema allocation failed. Please check if the machine is running low on memory. "; m_sErrorLabel = m_sErrorDescription; break; } case 8416: { m_sErrorName = "ERROR_DS_ATT_SCHEMA_REQ_SYNTAX"; m_sErrorDescription = "Failed to obtain the required syntax for the attribute schema."; m_sErrorLabel = m_sErrorDescription; break; } case 8417: { m_sErrorName = "ERROR_DS_GCVERIFY_ERROR"; m_sErrorDescription = "The global catalog verification failed. The global catalog is not available or does not support the operation. Some part of the directory is currently not available."; m_sErrorLabel = m_sErrorDescription; break; } case 8418: { m_sErrorName = "ERROR_DS_DRA_SCHEMA_MISMATCH"; m_sErrorDescription = "The replication operation failed because of a schema mismatch between the servers involved. "; m_sErrorLabel = m_sErrorDescription; break; } case 8419: { m_sErrorName = "ERROR_DS_CANT_FIND_DSA_OBJ"; m_sErrorDescription = "The DSA object could not be found."; m_sErrorLabel = m_sErrorDescription; break; } case 8420: { m_sErrorName = "ERROR_DS_CANT_FIND_EXPECTED_NC"; m_sErrorDescription = "The naming context could not be found."; m_sErrorLabel = m_sErrorDescription; break; } case 8421: { m_sErrorName = "ERROR_DS_CANT_FIND_NC_IN_CACHE"; m_sErrorDescription = "The naming context could not be found in the cache."; m_sErrorLabel = m_sErrorDescription; break; } case 8422: { m_sErrorName = "ERROR_DS_CANT_RETRIEVE_CHILD"; m_sErrorDescription = "The child object could not be retrieved."; m_sErrorLabel = m_sErrorDescription; break; } case 8423: { m_sErrorName = "ERROR_DS_SECURITY_ILLEGAL_MODIFY"; m_sErrorDescription = "The modification was not permitted for security reasons."; m_sErrorLabel = m_sErrorDescription; break; } case 8424: { m_sErrorName = "ERROR_DS_CANT_REPLACE_HIDDEN_REC"; m_sErrorDescription = "The operation cannot replace the hidden record."; m_sErrorLabel = m_sErrorDescription; break; } case 8425: { m_sErrorName = "ERROR_DS_BAD_HIERARCHY_FILE"; m_sErrorDescription = "The hierarchy file is invalid."; m_sErrorLabel = m_sErrorDescription; break; } case 8426: { m_sErrorName = "ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED"; m_sErrorDescription = "The attempt to build the hierarchy table failed."; m_sErrorLabel = m_sErrorDescription; break; } case 8427: { m_sErrorName = "ERROR_DS_CONFIG_PARAM_MISSING"; m_sErrorDescription = "The directory configuration parameter is missing from the registry."; m_sErrorLabel = m_sErrorDescription; break; } case 8428: { m_sErrorName = "ERROR_DS_COUNTING_AB_INDICES_FAILED"; m_sErrorDescription = "The attempt to count the address book indices failed."; m_sErrorLabel = m_sErrorDescription; break; } case 8429: { m_sErrorName = "ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED"; m_sErrorDescription = "The allocation of the hierarchy table failed."; m_sErrorLabel = m_sErrorDescription; break; } case 8430: { m_sErrorName = "ERROR_DS_INTERNAL_FAILURE"; m_sErrorDescription = "The directory service encountered an internal failure. "; m_sErrorLabel = m_sErrorDescription; break; } case 8431: { m_sErrorName = "ERROR_DS_UNKNOWN_ERROR"; m_sErrorDescription = "The directory service encountered an unknown failure. "; m_sErrorLabel = m_sErrorDescription; break; } case 8432: { m_sErrorName = "ERROR_DS_ROOT_REQUIRES_CLASS_TOP"; m_sErrorDescription = "A root object requires a class of 'top'."; m_sErrorLabel = m_sErrorDescription; break; } case 8433: { m_sErrorName = "ERROR_DS_REFUSING_FSMO_ROLES"; m_sErrorDescription = "This directory server is shutting down, and cannot take ownership of new floating single-master operation roles. "; m_sErrorLabel = m_sErrorDescription; break; } case 8434: { m_sErrorName = "ERROR_DS_MISSING_FSMO_SETTINGS"; m_sErrorDescription = "The directory service is missing mandatory configuration information, and is unable to determine the ownership of floating single-master operation roles. "; m_sErrorLabel = m_sErrorDescription; break; } case 8435: { m_sErrorName = "ERROR_DS_UNABLE_TO_SURRENDER_ROLES"; m_sErrorDescription = "The directory service was unable to transfer ownership of one or more floating single-master operation roles to other servers. "; m_sErrorLabel = m_sErrorDescription; break; } case 8436: { m_sErrorName = "ERROR_DS_DRA_GENERIC"; m_sErrorDescription = "The replication operation failed. "; m_sErrorLabel = m_sErrorDescription; break; } case 8437: { m_sErrorName = "ERROR_DS_DRA_INVALID_PARAMETER"; m_sErrorDescription = "An invalid parameter was specified for this replication operation. "; m_sErrorLabel = m_sErrorDescription; break; } case 8438: { m_sErrorName = "ERROR_DS_DRA_BUSY"; m_sErrorDescription = "The directory service is too busy to complete the replication operation at this time. "; m_sErrorLabel = m_sErrorDescription; break; } case 8439: { m_sErrorName = "ERROR_DS_DRA_BAD_DN"; m_sErrorDescription = "The distinguished name specified for this replication operation is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 8440: { m_sErrorName = "ERROR_DS_DRA_BAD_NC"; m_sErrorDescription = "The naming context specified for this replication operation is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 8441: { m_sErrorName = "ERROR_DS_DRA_DN_EXISTS"; m_sErrorDescription = "The distinguished name specified for this replication operation already exists. "; m_sErrorLabel = m_sErrorDescription; break; } case 8442: { m_sErrorName = "ERROR_DS_DRA_INTERNAL_ERROR"; m_sErrorDescription = "The replication system encountered an internal error. "; m_sErrorLabel = m_sErrorDescription; break; } case 8443: { m_sErrorName = "ERROR_DS_DRA_INCONSISTENT_DIT"; m_sErrorDescription = "The replication operation encountered a database inconsistency. "; m_sErrorLabel = m_sErrorDescription; break; } case 8444: { m_sErrorName = "ERROR_DS_DRA_CONNECTION_FAILED"; m_sErrorDescription = "The server specified for this replication operation could not be contacted. "; m_sErrorLabel = m_sErrorDescription; break; } case 8445: { m_sErrorName = "ERROR_DS_DRA_BAD_INSTANCE_TYPE"; m_sErrorDescription = "The replication operation encountered an object with an invalid instance type. "; m_sErrorLabel = m_sErrorDescription; break; } case 8446: { m_sErrorName = "ERROR_DS_DRA_OUT_OF_MEM"; m_sErrorDescription = "The replication operation failed to allocate memory. "; m_sErrorLabel = m_sErrorDescription; break; } case 8447: { m_sErrorName = "ERROR_DS_DRA_MAIL_PROBLEM"; m_sErrorDescription = "The replication operation encountered an error with the mail system. "; m_sErrorLabel = m_sErrorDescription; break; } case 8448: { m_sErrorName = "ERROR_DS_DRA_REF_ALREADY_EXISTS"; m_sErrorDescription = "The replication reference information for the target server already exists. "; m_sErrorLabel = m_sErrorDescription; break; } case 8449: { m_sErrorName = "ERROR_DS_DRA_REF_NOT_FOUND"; m_sErrorDescription = "The replication reference information for the target server does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 8450: { m_sErrorName = "ERROR_DS_DRA_OBJ_IS_REP_SOURCE"; m_sErrorDescription = "The naming context cannot be removed because it is replicated to another server. "; m_sErrorLabel = m_sErrorDescription; break; } case 8451: { m_sErrorName = "ERROR_DS_DRA_DB_ERROR"; m_sErrorDescription = "The replication operation encountered a database error. "; m_sErrorLabel = m_sErrorDescription; break; } case 8452: { m_sErrorName = "ERROR_DS_DRA_NO_REPLICA"; m_sErrorDescription = "The naming context is in the process of being removed or is not replicated from the specified server. "; m_sErrorLabel = m_sErrorDescription; break; } case 8453: { m_sErrorName = "ERROR_DS_DRA_ACCESS_DENIED"; m_sErrorDescription = "Replication access was denied. "; m_sErrorLabel = m_sErrorDescription; break; } case 8454: { m_sErrorName = "ERROR_DS_DRA_NOT_SUPPORTED"; m_sErrorDescription = "The requested operation is not supported by this version of the directory service. "; m_sErrorLabel = m_sErrorDescription; break; } case 8455: { m_sErrorName = "ERROR_DS_DRA_RPC_CANCELLED"; m_sErrorDescription = "The replication remote procedure call was cancelled. "; m_sErrorLabel = m_sErrorDescription; break; } case 8456: { m_sErrorName = "ERROR_DS_DRA_SOURCE_DISABLED"; m_sErrorDescription = "The source server is currently rejecting replication requests. "; m_sErrorLabel = m_sErrorDescription; break; } case 8457: { m_sErrorName = "ERROR_DS_DRA_SINK_DISABLED"; m_sErrorDescription = "The destination server is currently rejecting replication requests. "; m_sErrorLabel = m_sErrorDescription; break; } case 1306: { m_sErrorName = "ERROR_REVISION_MISMATCH"; m_sErrorDescription = "Indicates two revision levels are incompatible. "; m_sErrorLabel = m_sErrorDescription; break; } case 1307: { m_sErrorName = "ERROR_INVALID_OWNER"; m_sErrorDescription = "This security ID may not be assigned as the owner of this object. "; m_sErrorLabel = m_sErrorDescription; break; } case 1308: { m_sErrorName = "ERROR_INVALID_PRIMARY_GROUP"; m_sErrorDescription = "This security ID may not be assigned as the primary group of an object. "; m_sErrorLabel = m_sErrorDescription; break; } case 1309: { m_sErrorName = "ERROR_NO_IMPERSONATION_TOKEN"; m_sErrorDescription = "An attempt has been made to operate on an impersonation token by a thread that is not currently impersonating a client. "; m_sErrorLabel = m_sErrorDescription; break; } case 1310: { m_sErrorName = "ERROR_CANT_DISABLE_MANDATORY"; m_sErrorDescription = "The group may not be disabled. "; m_sErrorLabel = m_sErrorDescription; break; } case 1311: { m_sErrorName = "ERROR_NO_LOGON_SERVERS"; m_sErrorDescription = "There are currently no logon servers available to service the logon request. "; m_sErrorLabel = m_sErrorDescription; break; } case 1312: { m_sErrorName = "ERROR_NO_SUCH_LOGON_SESSION"; m_sErrorDescription = "A specified logon session does not exist. It may already have been terminated. "; m_sErrorLabel = m_sErrorDescription; break; } case 1313: { m_sErrorName = "ERROR_NO_SUCH_PRIVILEGE"; m_sErrorDescription = "A specified privilege does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1314: { m_sErrorName = "ERROR_PRIVILEGE_NOT_HELD"; m_sErrorDescription = "A required privilege is not held by the client. "; m_sErrorLabel = m_sErrorDescription; break; } case 1315: { m_sErrorName = "ERROR_INVALID_ACCOUNT_NAME"; m_sErrorDescription = "The name provided is not a properly formed account name. "; m_sErrorLabel = m_sErrorDescription; break; } case 1316: { m_sErrorName = "ERROR_USER_EXISTS"; m_sErrorDescription = "The specified user already exists. "; m_sErrorLabel = m_sErrorDescription; break; } case 1317: { m_sErrorName = "ERROR_NO_SUCH_USER"; m_sErrorDescription = "The specified user does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1318: { m_sErrorName = "ERROR_GROUP_EXISTS"; m_sErrorDescription = "The specified group already exists. "; m_sErrorLabel = m_sErrorDescription; break; } case 1319: { m_sErrorName = "ERROR_NO_SUCH_GROUP"; m_sErrorDescription = "The specified group does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1320: { m_sErrorName = "ERROR_MEMBER_IN_GROUP"; m_sErrorDescription = "Either the specified user account is already a member of the specified group, or the specified group cannot be deleted because it contains a member. "; m_sErrorLabel = m_sErrorDescription; break; } case 1321: { m_sErrorName = "ERROR_MEMBER_NOT_IN_GROUP"; m_sErrorDescription = "The specified user account is not a member of the specified group account. "; m_sErrorLabel = m_sErrorDescription; break; } case 1322: { m_sErrorName = "ERROR_LAST_ADMIN"; m_sErrorDescription = "The last remaining administration account cannot be disabled or deleted. "; m_sErrorLabel = m_sErrorDescription; break; } case 1323: { m_sErrorName = "ERROR_WRONG_PASSWORD"; m_sErrorDescription = "Unable to update the password. The value provided as the current password is incorrect. "; m_sErrorLabel = m_sErrorDescription; break; } case 1324: { m_sErrorName = "ERROR_ILL_FORMED_PASSWORD"; m_sErrorDescription = "Unable to update the password. The value provided for the new password contains values that are not allowed in passwords. "; m_sErrorLabel = m_sErrorDescription; break; } case 1325: { m_sErrorName = "ERROR_PASSWORD_RESTRICTION"; m_sErrorDescription = "Unable to update the password. The value provided for the new password does not meet the length, complexity, or history requirement of the domain. "; m_sErrorLabel = m_sErrorDescription; break; } case 1326: { m_sErrorName = "ERROR_LOGON_FAILURE"; m_sErrorDescription = "Logon failure: unknown user name or bad password. "; m_sErrorLabel = m_sErrorDescription; break; } case 1327: { m_sErrorName = "ERROR_ACCOUNT_RESTRICTION"; m_sErrorDescription = "Logon failure: user account restriction. "; m_sErrorLabel = m_sErrorDescription; break; } case 1328: { m_sErrorName = "ERROR_INVALID_LOGON_HOURS"; m_sErrorDescription = "Logon failure: account logon time restriction violation. "; m_sErrorLabel = m_sErrorDescription; break; } case 1329: { m_sErrorName = "ERROR_INVALID_WORKSTATION"; m_sErrorDescription = "Logon failure: user not allowed to log on to this computer. "; m_sErrorLabel = m_sErrorDescription; break; } case 1330: { m_sErrorName = "ERROR_PASSWORD_EXPIRED"; m_sErrorDescription = "Logon failure: the specified account password has expired. "; m_sErrorLabel = m_sErrorDescription; break; } case 1331: { m_sErrorName = "ERROR_ACCOUNT_DISABLED"; m_sErrorDescription = "Logon failure: account currently disabled. "; m_sErrorLabel = m_sErrorDescription; break; } case 1332: { m_sErrorName = "ERROR_NONE_MAPPED"; m_sErrorDescription = "No mapping between account names and security IDs was done. "; m_sErrorLabel = m_sErrorDescription; break; } case 1333: { m_sErrorName = "ERROR_TOO_MANY_LUIDS_REQUESTED"; m_sErrorDescription = "Too many local user identifiers (LUIDs) were requested at one time. "; m_sErrorLabel = m_sErrorDescription; break; } case 1334: { m_sErrorName = "ERROR_LUIDS_EXHAUSTED"; m_sErrorDescription = "No more local user identifiers (LUIDs) are available. "; m_sErrorLabel = m_sErrorDescription; break; } case 1335: { m_sErrorName = "ERROR_INVALID_SUB_AUTHORITY"; m_sErrorDescription = "The subauthority part of a security ID is invalid for this particular use. "; m_sErrorLabel = m_sErrorDescription; break; } case 1336: { m_sErrorName = "ERROR_INVALID_ACL"; m_sErrorDescription = "The access control list (ACL) structure is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1337: { m_sErrorName = "ERROR_INVALID_SID"; m_sErrorDescription = "The security ID structure is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1338: { m_sErrorName = "ERROR_INVALID_SECURITY_DESCR"; m_sErrorDescription = "The security descriptor structure is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1340: { m_sErrorName = "ERROR_BAD_INHERITANCE_ACL"; m_sErrorDescription = "The inherited access control list (ACL) or access control entry (ACE) could not be built. "; m_sErrorLabel = m_sErrorDescription; break; } case 1341: { m_sErrorName = "ERROR_SERVER_DISABLED"; m_sErrorDescription = "The server is currently disabled. "; m_sErrorLabel = m_sErrorDescription; break; } case 1342: { m_sErrorName = "ERROR_SERVER_NOT_DISABLED"; m_sErrorDescription = "The server is currently enabled. "; m_sErrorLabel = m_sErrorDescription; break; } case 1343: { m_sErrorName = "ERROR_INVALID_ID_AUTHORITY"; m_sErrorDescription = "The value provided was an invalid value for an identifier authority. "; m_sErrorLabel = m_sErrorDescription; break; } case 1344: { m_sErrorName = "ERROR_ALLOTTED_SPACE_EXCEEDED"; m_sErrorDescription = "No more memory is available for security information updates. "; m_sErrorLabel = m_sErrorDescription; break; } case 1345: { m_sErrorName = "ERROR_INVALID_GROUP_ATTRIBUTES"; m_sErrorDescription = "The specified attributes are invalid, or incompatible with the attributes for the group as a whole. "; m_sErrorLabel = m_sErrorDescription; break; } case 1346: { m_sErrorName = "ERROR_BAD_IMPERSONATION_LEVEL"; m_sErrorDescription = "Either a required impersonation level was not provided, or the provided impersonation level is invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1347: { m_sErrorName = "ERROR_CANT_OPEN_ANONYMOUS"; m_sErrorDescription = "Cannot open an anonymous level security token. "; m_sErrorLabel = m_sErrorDescription; break; } case 1348: { m_sErrorName = "ERROR_BAD_VALIDATION_CLASS"; m_sErrorDescription = "The validation information class requested was invalid. "; m_sErrorLabel = m_sErrorDescription; break; } case 1349: { m_sErrorName = "ERROR_BAD_TOKEN_TYPE"; m_sErrorDescription = "The type of the token is inappropriate for its attempted use. "; m_sErrorLabel = m_sErrorDescription; break; } case 1350: { m_sErrorName = "ERROR_NO_SECURITY_ON_OBJECT"; m_sErrorDescription = "Unable to perform a security operation on an object that has no associated security. "; m_sErrorLabel = m_sErrorDescription; break; } case 1351: { m_sErrorName = "ERROR_CANT_ACCESS_DOMAIN_INFO"; m_sErrorDescription = "Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied. "; m_sErrorLabel = m_sErrorDescription; break; } case 1352: { m_sErrorName = "ERROR_INVALID_SERVER_STATE"; m_sErrorDescription = "The security account manager (SAM) or local security authority (LSA) server was in the wrong state to perform the security operation. "; m_sErrorLabel = m_sErrorDescription; break; } case 1353: { m_sErrorName = "ERROR_INVALID_DOMAIN_STATE"; m_sErrorDescription = "The domain was in the wrong state to perform the security operation. "; m_sErrorLabel = m_sErrorDescription; break; } case 1354: { m_sErrorName = "ERROR_INVALID_DOMAIN_ROLE"; m_sErrorDescription = "This operation is only allowed for the Primary Domain Controller of the domain. "; m_sErrorLabel = m_sErrorDescription; break; } case 1355: { m_sErrorName = "ERROR_NO_SUCH_DOMAIN"; m_sErrorDescription = "The specified domain either does not exist or could not be contacted. "; m_sErrorLabel = m_sErrorDescription; break; } case 1356: { m_sErrorName = "ERROR_DOMAIN_EXISTS"; m_sErrorDescription = "The specified domain already exists. "; m_sErrorLabel = m_sErrorDescription; break; } case 1357: { m_sErrorName = "ERROR_DOMAIN_LIMIT_EXCEEDED"; m_sErrorDescription = "An attempt was made to exceed the limit on the number of domains per server. "; m_sErrorLabel = m_sErrorDescription; break; } case 1358: { m_sErrorName = "ERROR_INTERNAL_DB_CORRUPTION"; m_sErrorDescription = "Unable to complete the requested operation because of either a catastrophic media failure or a data structure corruption on the disk. "; m_sErrorLabel = m_sErrorDescription; break; } case 1359: { m_sErrorName = "ERROR_INTERNAL_ERROR"; m_sErrorDescription = "An internal error occurred."; m_sErrorLabel = m_sErrorDescription; break; } case 1360: { m_sErrorName = "ERROR_GENERIC_NOT_MAPPED"; m_sErrorDescription = "Generic access types were contained in an access mask which should already be mapped to nongeneric types. "; m_sErrorLabel = m_sErrorDescription; break; } case 1361: { m_sErrorName = "ERROR_BAD_DESCRIPTOR_FORMAT"; m_sErrorDescription = "A security descriptor is not in the right format (absolute or self-relative). "; m_sErrorLabel = m_sErrorDescription; break; } case 1362: { m_sErrorName = "ERROR_NOT_LOGON_PROCESS"; m_sErrorDescription = "The requested action is restricted for use by logon processes only. The calling process has not registered as a logon process. "; m_sErrorLabel = m_sErrorDescription; break; } case 1363: { m_sErrorName = "ERROR_LOGON_SESSION_EXISTS"; m_sErrorDescription = "Cannot start a new logon session with an ID that is already in use. "; m_sErrorLabel = m_sErrorDescription; break; } case 1364: { m_sErrorName = "ERROR_NO_SUCH_PACKAGE"; m_sErrorDescription = "A specified authentication package is unknown. "; m_sErrorLabel = m_sErrorDescription; break; } case 1365: { m_sErrorName = "ERROR_BAD_LOGON_SESSION_STATE"; m_sErrorDescription = "The logon session is not in a state that is consistent with the requested operation. "; m_sErrorLabel = m_sErrorDescription; break; } case 1366: { m_sErrorName = "ERROR_LOGON_SESSION_COLLISION"; m_sErrorDescription = "The logon session ID is already in use. "; m_sErrorLabel = m_sErrorDescription; break; } case 1367: { m_sErrorName = "ERROR_INVALID_LOGON_TYPE"; m_sErrorDescription = "A logon request contained an invalid logon type value. "; m_sErrorLabel = m_sErrorDescription; break; } case 1368: { m_sErrorName = "ERROR_CANNOT_IMPERSONATE"; m_sErrorDescription = "Unable to impersonate using a named pipe until data has been read from that pipe. "; m_sErrorLabel = m_sErrorDescription; break; } case 1369: { m_sErrorName = "ERROR_RXACT_INVALID_STATE"; m_sErrorDescription = "The transaction state of a registry subtree is incompatible with the requested operation. "; m_sErrorLabel = m_sErrorDescription; break; } case 1370: { m_sErrorName = "ERROR_RXACT_COMMIT_FAILURE"; m_sErrorDescription = "An internal security database corruption has been encountered. "; m_sErrorLabel = m_sErrorDescription; break; } case 1371: { m_sErrorName = "ERROR_SPECIAL_ACCOUNT"; m_sErrorDescription = "Cannot perform this operation on built-in accounts. "; m_sErrorLabel = m_sErrorDescription; break; } case 1372: { m_sErrorName = "ERROR_SPECIAL_GROUP"; m_sErrorDescription = "Cannot perform this operation on this built-in special group. "; m_sErrorLabel = m_sErrorDescription; break; } case 1373: { m_sErrorName = "ERROR_SPECIAL_USER"; m_sErrorDescription = "Cannot perform this operation on this built-in special user. "; m_sErrorLabel = m_sErrorDescription; break; } case 1374: { m_sErrorName = "ERROR_MEMBERS_PRIMARY_GROUP"; m_sErrorDescription = "The user cannot be removed from a group because the group is currently the user's primary group. "; m_sErrorLabel = m_sErrorDescription; break; } case 1375: { m_sErrorName = "ERROR_TOKEN_ALREADY_IN_USE"; m_sErrorDescription = "The token is already in use as a primary token. "; m_sErrorLabel = m_sErrorDescription; break; } case 1376: { m_sErrorName = "ERROR_NO_SUCH_ALIAS"; m_sErrorDescription = "The specified local group does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1377: { m_sErrorName = "ERROR_MEMBER_NOT_IN_ALIAS"; m_sErrorDescription = "The specified account name is not a member of the local group. "; m_sErrorLabel = m_sErrorDescription; break; } case 1378: { m_sErrorName = "ERROR_MEMBER_IN_ALIAS"; m_sErrorDescription = "The specified account name is already a member of the local group. "; m_sErrorLabel = m_sErrorDescription; break; } case 1379: { m_sErrorName = "ERROR_ALIAS_EXISTS"; m_sErrorDescription = "The specified local group already exists. "; m_sErrorLabel = m_sErrorDescription; break; } case 1380: { m_sErrorName = "ERROR_LOGON_NOT_GRANTED"; m_sErrorDescription = "Logon failure: the user has not been granted the requested logon type at this computer. "; m_sErrorLabel = m_sErrorDescription; break; } case 1381: { m_sErrorName = "ERROR_TOO_MANY_SECRETS"; m_sErrorDescription = "The maximum number of secrets that may be stored in a single system has been exceeded. "; m_sErrorLabel = m_sErrorDescription; break; } case 1382: { m_sErrorName = "ERROR_SECRET_TOO_LONG"; m_sErrorDescription = "The length of a secret exceeds the maximum length allowed. "; m_sErrorLabel = m_sErrorDescription; break; } case 1383: { m_sErrorName = "ERROR_INTERNAL_DB_ERROR"; m_sErrorDescription = "The local security authority database contains an internal inconsistency. "; m_sErrorLabel = m_sErrorDescription; break; } case 1384: { m_sErrorName = "ERROR_TOO_MANY_CONTEXT_IDS"; m_sErrorDescription = "During a logon attempt, the user's security context accumulated too many security IDs. "; m_sErrorLabel = m_sErrorDescription; break; } case 1385: { m_sErrorName = "ERROR_LOGON_TYPE_NOT_GRANTED"; m_sErrorDescription = "Logon failure: the user has not been granted the requested logon type at this computer. "; m_sErrorLabel = m_sErrorDescription; break; } case 1386: { m_sErrorName = "ERROR_NT_CROSS_ENCRYPTION_REQUIRED"; m_sErrorDescription = "A cross-encrypted password is necessary to change a user password. "; m_sErrorLabel = m_sErrorDescription; break; } case 1387: { m_sErrorName = "ERROR_NO_SUCH_MEMBER"; m_sErrorDescription = "A new member could not be added to or removed from the local group because the member does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1388: { m_sErrorName = "ERROR_INVALID_MEMBER"; m_sErrorDescription = "A new member could not be added to a local group because the member has the wrong account type. "; m_sErrorLabel = m_sErrorDescription; break; } case 1389: { m_sErrorName = "ERROR_TOO_MANY_SIDS"; m_sErrorDescription = "Too many security IDs have been specified. "; m_sErrorLabel = m_sErrorDescription; break; } case 1390: { m_sErrorName = "ERROR_LM_CROSS_ENCRYPTION_REQUIRED"; m_sErrorDescription = "A cross-encrypted password is necessary to change this user password. "; m_sErrorLabel = m_sErrorDescription; break; } case 1391: { m_sErrorName = "ERROR_NO_INHERITANCE"; m_sErrorDescription = "Indicates an ACL contains no inheritable components. "; m_sErrorLabel = m_sErrorDescription; break; } case 1392: { m_sErrorName = "ERROR_FILE_CORRUPT"; m_sErrorDescription = "The file or directory is corrupted and unreadable. "; m_sErrorLabel = m_sErrorDescription; break; } case 1393: { m_sErrorName = "ERROR_DISK_CORRUPT"; m_sErrorDescription = "The disk structure is corrupted and unreadable. "; m_sErrorLabel = m_sErrorDescription; break; } case 1394: { m_sErrorName = "ERROR_NO_USER_SESSION_KEY"; m_sErrorDescription = "There is no user session key for the specified logon session. "; m_sErrorLabel = m_sErrorDescription; break; } case 1395: { m_sErrorName = "ERROR_LICENSE_QUOTA_EXCEEDED"; m_sErrorDescription = "The service being accessed is licensed for a particular number of connections. No more connections can be made to the service at this time because there are already as many connections as the service can accept. "; m_sErrorLabel = m_sErrorDescription; break; } case 1396: { m_sErrorName = "ERROR_WRONG_TARGET_NAME"; m_sErrorDescription = "Logon Failure: The target account name is incorrect. "; m_sErrorLabel = m_sErrorDescription; break; } case 1397: { m_sErrorName = "ERROR_MUTUAL_AUTH_FAILED"; m_sErrorDescription = "Mutual Authentication failed. The server's password is out of date at the domain controller. "; m_sErrorLabel = m_sErrorDescription; break; } case 1398: { m_sErrorName = "ERROR_TIME_SKEW"; m_sErrorDescription = "There is a time difference between the client and server. "; m_sErrorLabel = m_sErrorDescription; break; } case 1400: { m_sErrorName = "ERROR_INVALID_WINDOW_HANDLE"; m_sErrorDescription = "Invalid window handle. "; m_sErrorLabel = m_sErrorDescription; break; } case 1401: { m_sErrorName = "ERROR_INVALID_MENU_HANDLE"; m_sErrorDescription = "Invalid menu handle. "; m_sErrorLabel = m_sErrorDescription; break; } case 1402: { m_sErrorName = "ERROR_INVALID_CURSOR_HANDLE"; m_sErrorDescription = "Invalid cursor handle. "; m_sErrorLabel = m_sErrorDescription; break; } case 1403: { m_sErrorName = "ERROR_INVALID_ACCEL_HANDLE"; m_sErrorDescription = "Invalid accelerator table handle. "; m_sErrorLabel = m_sErrorDescription; break; } case 1404: { m_sErrorName = "ERROR_INVALID_HOOK_HANDLE"; m_sErrorDescription = "Invalid hook handle. "; m_sErrorLabel = m_sErrorDescription; break; } case 1405: { m_sErrorName = "ERROR_INVALID_DWP_HANDLE"; m_sErrorDescription = "Invalid handle to a multiple-window position structure. "; m_sErrorLabel = m_sErrorDescription; break; } case 1406: { m_sErrorName = "ERROR_TLW_WITH_WSCHILD"; m_sErrorDescription = "Cannot create a top-level child window. "; m_sErrorLabel = m_sErrorDescription; break; } case 1407: { m_sErrorName = "ERROR_CANNOT_FIND_WND_CLASS"; m_sErrorDescription = "Cannot find window class. "; m_sErrorLabel = m_sErrorDescription; break; } case 1408: { m_sErrorName = "ERROR_WINDOW_OF_OTHER_THREAD"; m_sErrorDescription = "Invalid window; it belongs to other thread. "; m_sErrorLabel = m_sErrorDescription; break; } case 1409: { m_sErrorName = "ERROR_HOTKEY_ALREADY_REGISTERED"; m_sErrorDescription = "Hot key is already registered. "; m_sErrorLabel = m_sErrorDescription; break; } case 1410: { m_sErrorName = "ERROR_CLASS_ALREADY_EXISTS"; m_sErrorDescription = "Class already exists. "; m_sErrorLabel = m_sErrorDescription; break; } case 1411: { m_sErrorName = "ERROR_CLASS_DOES_NOT_EXIST"; m_sErrorDescription = "Class does not exist. "; m_sErrorLabel = m_sErrorDescription; break; } case 1412: { m_sErrorName = "ERROR_CLASS_HAS_WINDOWS"; m_sErrorDescription = "Class still has open windows. "; m_sErrorLabel = m_sErrorDescription; break; } case 1413: { m_sErrorName = "ERROR_INVALID_INDEX"; m_sErrorDescription = "Invalid index. "; m_sErrorLabel = m_sErrorDescription; break; } case 1414: { m_sErrorName = "ERROR_INVALID_ICON_HANDLE"; m_sErrorDescription = "Invalid icon handle. "; m_sErrorLabel = m_sErrorDescription; break; } case 1415: { m_sErrorName = "ERROR_PRIVATE_DIALOG_INDEX"; m_sErrorDescription = "Using private DIALOG window words. "; m_sErrorLabel = m_sErrorDescription; break; } case 1416: { m_sErrorName = "ERROR_LISTBOX_ID_NOT_FOUND"; m_sErrorDescription = "The list box identifier was not found. "; m_sErrorLabel = m_sErrorDescription; break; } case 1417: { m_sErrorName = "ERROR_NO_WILDCARD_CHARACTERS"; m_sErrorDescription = "No wildcards were found. "; m_sErrorLabel = m_sErrorDescription; break; } case 1418: { m_sErrorName = "ERROR_CLIPBOARD_NOT_OPEN"; m_sErrorDescription = "Thread does not have a clipboard open. "; m_sErrorLabel = m_sErrorDescription; break; } case 1419: { m_sErrorName = "ERROR_HOTKEY_NOT_REGISTERED"; m_sErrorDescription = "Hot key is not registered. "; m_sErrorLabel = m_sErrorDescription; break; } case 1420: { m_sErrorName = "ERROR_WINDOW_NOT_DIALOG"; m_sErrorDescription = "The window is not a valid dialog window. "; m_sErrorLabel = m_sErrorDescription; break; } case 1421: { m_sErrorName = "ERROR_CONTROL_ID_NOT_FOUND"; m_sErrorDescription = "Control ID not found. "; m_sErrorLabel = m_sErrorDescription; break; } case 1422: { m_sErrorName = "ERROR_INVALID_COMBOBOX_MESSAGE"; m_sErrorDescription = "Invalid message for a combo box because it does not have an edit control. "; m_sErrorLabel = m_sErrorDescription; break; } case 1423: { m_sErrorName = "ERROR_WINDOW_NOT_COMBOBOX"; m_sErrorDescription = "The window is not a combo box. "; m_sErrorLabel = m_sErrorDescription; break; } case 1424: { m_sErrorName = "ERROR_INVALID_EDIT_HEIGHT"; m_sErrorDescription = "Height must be less than 256. "; m_sErrorLabel = m_sErrorDescription; break; } case 1425: { m_sErrorName = "ERROR_DC_NOT_FOUND"; m_sErrorDescription = "Invalid device context (DC) handle. "; m_sErrorLabel = m_sErrorDescription; break; } case 1426: { m_sErrorName = "ERROR_INVALID_HOOK_FILTER"; m_sErrorDescription = "Invalid hook procedure type. "; m_sErrorLabel = m_sErrorDescription; break; } case 1427: { m_sErrorName = "ERROR_INVALID_FILTER_PROC"; m_sErrorDescription = "Invalid hook procedure. "; m_sErrorLabel = m_sErrorDescription; break; } case 1428: { m_sErrorName = "ERROR_HOOK_NEEDS_HMOD"; m_sErrorDescription = "Cannot set nonlocal hook without a module handle. "; m_sErrorLabel = m_sErrorDescription; break; } case 1429: { m_sErrorName = "ERROR_GLOBAL_ONLY_HOOK"; m_sErrorDescription = "This hook procedure can only be set globally. "; m_sErrorLabel = m_sErrorDescription; break; } case 1430: { m_sErrorName = "ERROR_JOURNAL_HOOK_SET"; m_sErrorDescription = "The journal hook procedure is already installed. "; m_sErrorLabel = m_sErrorDescription; break; } case 1431: { m_sErrorName = "ERROR_HOOK_NOT_INSTALLED"; m_sErrorDescription = "The hook procedure is not installed. "; m_sErrorLabel = m_sErrorDescription; break; } case 1432: { m_sErrorName = "ERROR_INVALID_LB_MESSAGE"; m_sErrorDescription = "Invalid message for single-selection list box. "; m_sErrorLabel = m_sErrorDescription; break; } case 1433: { m_sErrorName = "ERROR_SETCOUNT_ON_BAD_LB"; m_sErrorDescription = "LB_SETCOUNT sent to non-lazy list box. "; m_sErrorLabel = m_sErrorDescription; break; } case 1434: { m_sErrorName = "ERROR_LB_WITHOUT_TABSTOPS"; m_sErrorDescription = "This list box does not support tab stops. "; m_sErrorLabel = m_sErrorDescription; break; } case 1435: { m_sErrorName = "ERROR_DESTROY_OBJECT_OF_OTHER_THREAD"; m_sErrorDescription = "Cannot destroy object created by another thread. "; m_sErrorLabel = m_sErrorDescription; break; } case 1436: { m_sErrorName = "ERROR_CHILD_WINDOW_MENU"; m_sErrorDescription = "Child windows cannot have menus. "; m_sErrorLabel = m_sErrorDescription; break; } case 1437: { m_sErrorName = "ERROR_NO_SYSTEM_MENU"; m_sErrorDescription = "The window does not have a system menu. "; m_sErrorLabel = m_sErrorDescription; break; } case 1438: { m_sErrorName = "ERROR_INVALID_MSGBOX_STYLE"; m_sErrorDescription = "Invalid message box style. "; m_sErrorLabel = m_sErrorDescription; break; } case 1439: { m_sErrorName = "ERROR_INVALID_SPI_VALUE"; m_sErrorDescription = "Invalid system-wide (SPI_*) parameter. "; m_sErrorLabel = m_sErrorDescription; break; } case 1440: { m_sErrorName = "ERROR_SCREEN_ALREADY_LOCKED"; m_sErrorDescription = "Screen already locked. "; m_sErrorLabel = m_sErrorDescription; break; } case 1441: { m_sErrorName = "ERROR_HWNDS_HAVE_DIFF_PARENT"; m_sErrorDescription = "All handles to windows in a multiple-window position structure must have the same parent. "; m_sErrorLabel = m_sErrorDescription; break; } case 1442: { m_sErrorName = "ERROR_NOT_CHILD_WINDOW"; m_sErrorDescription = "The window is not a child window. "; m_sErrorLabel = m_sErrorDescription; break; } case 1443: { m_sErrorName = "ERROR_INVALID_GW_COMMAND"; m_sErrorDescription = "Invalid GW_* command. "; m_sErrorLabel = m_sErrorDescription; break; } case 1444: { m_sErrorName = "ERROR_INVALID_THREAD_ID"; m_sErrorDescription = "Invalid thread identifier. "; m_sErrorLabel = m_sErrorDescription; break; } case 1445: { m_sErrorName = "ERROR_NON_MDICHILD_WINDOW"; m_sErrorDescription = "Cannot process a message from a window that is not a multiple document interface (MDI) window. "; m_sErrorLabel = m_sErrorDescription; break; } case 1446: { m_sErrorName = "ERROR_POPUP_ALREADY_ACTIVE"; m_sErrorDescription = "Popup menu already active. "; m_sErrorLabel = m_sErrorDescription; break; } case 1447: { m_sErrorName = "ERROR_NO_SCROLLBARS"; m_sErrorDescription = "The window does not have scroll bars. "; m_sErrorLabel = m_sErrorDescription; break; } case 1448: { m_sErrorName = "ERROR_INVALID_SCROLLBAR_RANGE"; m_sErrorDescription = "Scroll bar range cannot be greater than MAXLONG. "; m_sErrorLabel = m_sErrorDescription; break; } case 1449: { m_sErrorName = "ERROR_INVALID_SHOWWIN_COMMAND"; m_sErrorDescription = "Cannot show or remove the window in the way specified. "; m_sErrorLabel = m_sErrorDescription; break; } case 1450: { m_sErrorName = "ERROR_NO_SYSTEM_RESOURCES"; m_sErrorDescription = "Insufficient system resources exist to complete the requested service. "; m_sErrorLabel = m_sErrorDescription; break; } case 1451: { m_sErrorName = "ERROR_NONPAGED_SYSTEM_RESOURCES"; m_sErrorDescription = "Insufficient system resources exist to complete the requested service. "; m_sErrorLabel = m_sErrorDescription; break; } case 1452: { m_sErrorName = "ERROR_PAGED_SYSTEM_RESOURCES"; m_sErrorDescription = "Insufficient system resources exist to complete the requested service. "; m_sErrorLabel = m_sErrorDescription; break; } case 1453: { m_sErrorName = "ERROR_WORKING_SET_QUOTA"; m_sErrorDescription = "Insufficient quota to complete the requested service. "; m_sErrorLabel = m_sErrorDescription; break; } case 1454: { m_sErrorName = "ERROR_PAGEFILE_QUOTA"; m_sErrorDescription = "Insufficient quota to complete the requested service. "; m_sErrorLabel = m_sErrorDescription; break; } case 1455: { m_sErrorName = "ERROR_COMMITMENT_LIMIT"; m_sErrorDescription = "The paging file is too small for this operation to complete. "; m_sErrorLabel = m_sErrorDescription; break; } case 1456: { m_sErrorName = "ERROR_MENU_ITEM_NOT_FOUND"; m_sErrorDescription = "A menu item was not found. "; m_sErrorLabel = m_sErrorDescription; break; } case 1457: { m_sErrorName = "ERROR_INVALID_KEYBOARD_HANDLE"; m_sErrorDescription = "Invalid keyboard layout handle. "; m_sErrorLabel = m_sErrorDescription; break; } case 1458: { m_sErrorName = "ERROR_HOOK_TYPE_NOT_ALLOWED"; m_sErrorDescription = "Hook type not allowed. "; m_sErrorLabel = m_sErrorDescription; break; } case 1459: { m_sErrorName = "ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION"; m_sErrorDescription = "This operation requires an interactive window station. "; m_sErrorLabel = m_sErrorDescription; break; } case 1460: { m_sErrorName = "ERROR_TIMEOUT"; m_sErrorDescription = "This operation returned because the timeout period expired. "; m_sErrorLabel = m_sErrorDescription; break; } case 1461: { m_sErrorName = "ERROR_INVALID_MONITOR_HANDLE"; m_sErrorDescription = "Invalid monitor handle. "; m_sErrorLabel = m_sErrorDescription; break; } case 1500: { m_sErrorName = "ERROR_EVENTLOG_FILE_CORRUPT"; m_sErrorDescription = "The event log file is corrupted. "; m_sErrorLabel = m_sErrorDescription; break; } case 1501: { m_sErrorName = "ERROR_EVENTLOG_CANT_START"; m_sErrorDescription = "No event log file could be opened, so the event logging service did not start. "; m_sErrorLabel = m_sErrorDescription; break; } case 1502: { m_sErrorName = "ERROR_LOG_FILE_FULL"; m_sErrorDescription = "The event log file is full. "; m_sErrorLabel = m_sErrorDescription; break; } case 1503: { m_sErrorName = "ERROR_EVENTLOG_FILE_CHANGED"; m_sErrorDescription = "The event log file has changed between read operations. "; m_sErrorLabel = m_sErrorDescription; break; } case 1601: { m_sErrorName = "ERROR_INSTALL_SERVICE_FAILURE"; m_sErrorDescription = "The Windows Installer service could not be accessed. Contact your support personnel to verify that the Windows Installer service is properly registered."; m_sErrorLabel = m_sErrorDescription; break; } case 1602: { m_sErrorName = "ERROR_INSTALL_USEREXIT"; m_sErrorDescription = "User cancelled installation. "; m_sErrorLabel = m_sErrorDescription