--- mstools/h/winerror.h 2018/08/09 18:20:01 1.1 +++ mstools/h/winerror.h 2018/08/09 18:21:02 1.1.1.3 @@ -1,6 +1,6 @@ /*++ BUILD Version: 0001 // Increment this if a change has global effects -Copyright (c) 1991 Microsoft Corporation +Copyright (c) 1991-1992 Microsoft Corporation Module Name: @@ -70,7 +70,16 @@ Notes: // // NO_ERROR // -#define NO_ERROR 0L +#define NO_ERROR 0L // dderror + +// +// MessageId: ERROR_SUCCESS +// +// MessageText: +// +// The configuration registry database operation completed successfully. +// +#define ERROR_SUCCESS 0L // // MessageId: ERROR_INVALID_FUNCTION @@ -79,7 +88,7 @@ Notes: // // Incorrect function // -#define ERROR_INVALID_FUNCTION 1L +#define ERROR_INVALID_FUNCTION 1L // dderror // // MessageId: ERROR_FILE_NOT_FOUND @@ -122,7 +131,7 @@ Notes: // // MessageText: // -// Incorrect internal file identifier. +// The handle is invalid. // #define ERROR_INVALID_HANDLE 6L @@ -143,7 +152,7 @@ Notes: // Not enough storage is available to // process this command. // -#define ERROR_NOT_ENOUGH_MEMORY 8L +#define ERROR_NOT_ENOUGH_MEMORY 8L // dderror // // MessageId: ERROR_INVALID_BLOCK @@ -192,6 +201,15 @@ Notes: #define ERROR_INVALID_DATA 13L // +// MessageId: ERROR_OUTOFMEMORY +// +// MessageText: +// +// Not enough storage is available to complete this operation. +// +#define ERROR_OUTOFMEMORY 14L + +// // MessageId: ERROR_INVALID_DRIVE // // MessageText: @@ -678,7 +696,7 @@ Notes: // // The parameter is incorrect. // -#define ERROR_INVALID_PARAMETER 87L +#define ERROR_INVALID_PARAMETER 87L // dderror // // MessageId: ERROR_NET_WRITE_FAULT @@ -892,14 +910,14 @@ Notes: // The data area passed to a system call is too // small. // -#define ERROR_INSUFFICIENT_BUFFER 122L +#define ERROR_INSUFFICIENT_BUFFER 122L // dderror // // MessageId: ERROR_INVALID_NAME // // MessageText: // -// A file name or volume label contains an incorrect character. +// The file name, directory name, or volume label is not syntactically correct. // #define ERROR_INVALID_NAME 123L @@ -1306,6 +1324,24 @@ Notes: #define ERROR_BUSY 170L // +// MessageId: ERROR_CANCEL_VIOLATION +// +// MessageText: +// +// A lock request was not outstanding for the supplied cancel region. +// +#define ERROR_CANCEL_VIOLATION 173L + +// +// MessageId: ERROR_ATOMIC_LOCKS_NOT_SUPPORTED +// +// MessageText: +// +// The file system does not supporting atomic changing of the lock type. +// +#define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED 174L + +// // MessageId: ERROR_INVALID_SEGMENT_NUMBER // // MessageText: @@ -1625,7 +1661,7 @@ Notes: // // More data is available. // -#define ERROR_MORE_DATA 234L +#define ERROR_MORE_DATA 234L // dderror // // MessageId: ERROR_VC_DISCONNECTED @@ -1664,6 +1700,15 @@ Notes: #define ERROR_NO_MORE_ITEMS 259L // +// MessageId: ERROR_CANNOT_COPY +// +// MessageText: +// +// The Copy API cannot be used. +// +#define ERROR_CANNOT_COPY 266L + +// // MessageId: ERROR_DIRECTORY // // MessageText: @@ -1682,6 +1727,33 @@ Notes: #define ERROR_EAS_DIDNT_FIT 275L // +// MessageId: ERROR_EA_FILE_CORRUPT +// +// MessageText: +// +// The EA file on the mounted file system is corrupt. +// +#define ERROR_EA_FILE_CORRUPT 276L + +// +// MessageId: ERROR_EA_TABLE_FULL +// +// MessageText: +// +// The EA table in the EA file on the mounted file system is full. +// +#define ERROR_EA_TABLE_FULL 277L + +// +// MessageId: ERROR_INVALID_EA_HANDLE +// +// MessageText: +// +// The EA handle specified is invalid. +// +#define ERROR_INVALID_EA_HANDLE 278L + +// // MessageId: ERROR_EAS_NOT_SUPPORTED // // MessageText: @@ -1789,7 +1861,7 @@ Notes: // // Overlapped IO operation in progress. // -#define ERROR_IO_PENDING 997L +#define ERROR_IO_PENDING 997L // dderror // // MessageId: ERROR_NOACCESS @@ -1809,4 +1881,3348 @@ Notes: // #define ERROR_SWAPERROR 999L +// +// MessageId: ERROR_STACK_OVERFLOW +// +// MessageText: +// +// Recursion too deep, stack overflowed. +// +#define ERROR_STACK_OVERFLOW 1001L + +// +// MessageId: ERROR_INVALID_MESSAGE +// +// MessageText: +// +// Window can't handle sent message. +// +#define ERROR_INVALID_MESSAGE 1002L + +// +// MessageId: ERROR_CAN_NOT_COMPLETE +// +// MessageText: +// +// Cannot complete function for some reason. Like calling GetSelection() +// when there is no selection. +// +#define ERROR_CAN_NOT_COMPLETE 1003L + +// +// MessageId: ERROR_INVALID_FLAGS +// +// MessageText: +// +// Invalid flags. +// +#define ERROR_INVALID_FLAGS 1004L + +// +// MessageId: ERROR_UNRECOGNIZED_VOLUME +// +// MessageText: +// +// 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 corrupt. +// +#define ERROR_UNRECOGNIZED_VOLUME 1005L + +// +// MessageId: ERROR_FILE_INVALID +// +// MessageText: +// +// The volume for a file has been externally altered such that the +// opened file is no longer valid. +// +#define ERROR_FILE_INVALID 1006L + +// +// MessageId: ERROR_FULLSCREEN_MODE +// +// MessageText: +// +// The requested operation cannot be performed in fullscreen mode. +// +#define ERROR_FULLSCREEN_MODE 1007L + +// +// MessageId: ERROR_NO_TOKEN +// +// MessageText: +// +// An attempt was made to reference a token that does not exist. +// +#define ERROR_NO_TOKEN 1008L + +// +// MessageId: ERROR_BADDB +// +// MessageText: +// +// The configuration registry database is corrupt. +// +#define ERROR_BADDB 1009L + +// +// MessageId: ERROR_BADKEY +// +// MessageText: +// +// The configuration registry key is invalid. +// +#define ERROR_BADKEY 1010L + +// +// MessageId: ERROR_CANTOPEN +// +// MessageText: +// +// The configuration registry key could not be opened. +// +#define ERROR_CANTOPEN 1011L + +// +// MessageId: ERROR_CANTREAD +// +// MessageText: +// +// The configuration registry key could not be read. +// +#define ERROR_CANTREAD 1012L + +// +// MessageId: ERROR_CANTWRITE +// +// MessageText: +// +// The configuration registry key could not be written. +// +#define ERROR_CANTWRITE 1013L + +// +// MessageId: ERROR_REGISTRY_RECOVERED +// +// MessageText: +// +// One of the files containing the system's Registry data had to be recovered +// by use of a log or alternate copy. The recovery was successful. +// +#define ERROR_REGISTRY_RECOVERED 1014L + +// +// MessageId: ERROR_REGISTRY_CORRUPT +// +// MessageText: +// +// The Registry is corrupt. +// The structure of one of the files that contains Registry data is corrupt, or +// the system's in memory image of the file is corrupt, or the file could not +// be recovered because its alternate copy or log was absent or corrupt. +// +#define ERROR_REGISTRY_CORRUPT 1015L + +// +// MessageId: ERROR_REGISTRY_IO_FAILED +// +// MessageText: +// +// 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. +// +#define ERROR_REGISTRY_IO_FAILED 1016L + +// +// MessageId: ERROR_NOT_REGISTRY_FILE +// +// MessageText: +// +// The system has attempted to load or restore a file into the registry, and the +// specified file is not in the format of a registry file. +// +#define ERROR_NOT_REGISTRY_FILE 1017L + +// +// MessageId: ERROR_KEY_DELETED +// +// MessageText: +// +// Illegal operation attempted on a registry key which has been marked for deletion. +// +#define ERROR_KEY_DELETED 1018L + +// +// MessageId: ERROR_NO_LOG_SPACE +// +// MessageText: +// +// System could not allocate required space in a registry log. +// +#define ERROR_NO_LOG_SPACE 1019L + +// +// MessageId: ERROR_KEY_HAS_CHILDREN +// +// MessageText: +// +// An attempt was made to create a symbolic link in a registry key that already +// has subkeys or values. +// +#define ERROR_KEY_HAS_CHILDREN 1020L + +// +// MessageId: ERROR_CHILD_MUST_BE_VOLATILE +// +// MessageText: +// +// An attempt was made to create a Stable subkey under a Volatile parent key. +// +#define ERROR_CHILD_MUST_BE_VOLATILE 1021L + +// +// MessageId: ERROR_NOTIFY_ENUM_DIR +// +// MessageText: +// +// This indicates that a notify change request is being completed and that the +// information is not being returned in the caller's buffer. The caller now +// needs to enumerate the files to find the changes. +// +#define ERROR_NOTIFY_ENUM_DIR 1022L + +// +// MessageId: ERROR_DEPENDENT_SERVICES_RUNNING +// +// MessageText: +// +// A stop control has been sent to a service which other running services +// are dependent on. +// +#define ERROR_DEPENDENT_SERVICES_RUNNING 1051L + +// +// MessageId: ERROR_INVALID_SERVICE_CONTROL +// +// MessageText: +// +// The requested control is not valid for this service +// +#define ERROR_INVALID_SERVICE_CONTROL 1052L + +// +// MessageId: ERROR_SERVICE_REQUEST_TIMEOUT +// +// MessageText: +// +// The service did not respond to the start or control request in a timely +// fashion. +// +#define ERROR_SERVICE_REQUEST_TIMEOUT 1053L + +// +// MessageId: ERROR_SERVICE_NO_THREAD +// +// MessageText: +// +// A thread could not be created for the Win32 service. +// +#define ERROR_SERVICE_NO_THREAD 1054L + +// +// MessageId: ERROR_SERVICE_DATABASE_LOCKED +// +// MessageText: +// +// The service database is locked. +// +#define ERROR_SERVICE_DATABASE_LOCKED 1055L + +// +// MessageId: ERROR_SERVICE_ALREADY_RUNNING +// +// MessageText: +// +// An instance of the service is already running. +// +#define ERROR_SERVICE_ALREADY_RUNNING 1056L + +// +// MessageId: ERROR_INVALID_SERVICE_ACCOUNT +// +// MessageText: +// +// The account name is invalid or does not exist. +// +#define ERROR_INVALID_SERVICE_ACCOUNT 1057L + +// +// MessageId: ERROR_SERVICE_DISABLED +// +// MessageText: +// +// The specified service is disabled and cannot be started. +// +#define ERROR_SERVICE_DISABLED 1058L + +// +// MessageId: ERROR_CIRCULAR_DEPENDENCY +// +// MessageText: +// +// Circular service dependency was specified. +// +#define ERROR_CIRCULAR_DEPENDENCY 1059L + +// +// MessageId: ERROR_SERVICE_DOES_NOT_EXIST +// +// MessageText: +// +// The specified service does not exist as an installed service. +// +#define ERROR_SERVICE_DOES_NOT_EXIST 1060L + +// +// MessageId: ERROR_SERVICE_CANNOT_ACCEPT_CTRL +// +// MessageText: +// +// The service cannot accept control messages at this time. +// +#define ERROR_SERVICE_CANNOT_ACCEPT_CTRL 1061L + +// +// MessageId: ERROR_SERVICE_NOT_ACTIVE +// +// MessageText: +// +// The service has not been started. +// +#define ERROR_SERVICE_NOT_ACTIVE 1062L + +// +// MessageId: ERROR_FAILED_SERVICE_CONTROLLER_CONNECT +// +// MessageText: +// +// The service process could not connect to the service controller. +// +#define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT 1063L + +// +// MessageId: ERROR_EXCEPTION_IN_SERVICE +// +// MessageText: +// +// An exception occurred in the service when handling the control request. +// +#define ERROR_EXCEPTION_IN_SERVICE 1064L + +// +// MessageId: ERROR_DATABASE_DOES_NOT_EXIST +// +// MessageText: +// +// The database specified does not exist. +// +#define ERROR_DATABASE_DOES_NOT_EXIST 1065L + +// +// MessageId: ERROR_SERVICE_SPECIFIC_ERROR +// +// MessageText: +// +// The service has returned a service specific error code. +// +#define ERROR_SERVICE_SPECIFIC_ERROR 1066L + +// +// MessageId: ERROR_PROCESS_ABORTED +// +// MessageText: +// +// The process terminated unexpectedly. +// +#define ERROR_PROCESS_ABORTED 1067L + +// +// MessageId: ERROR_SERVICE_DEPENDENCY_FAIL +// +// MessageText: +// +// The dependency service or group failed to start. +// +#define ERROR_SERVICE_DEPENDENCY_FAIL 1068L + +// +// MessageId: ERROR_SERVICE_LOGON_FAILED +// +// MessageText: +// +// The service failed to be logged on. +// +#define ERROR_SERVICE_LOGON_FAILED 1069L + +// +// MessageId: ERROR_SERVICE_START_HANG +// +// MessageText: +// +// The service hung on starting. +// +#define ERROR_SERVICE_START_HANG 1070L + +// +// MessageId: ERROR_INVALID_SERVICE_LOCK +// +// MessageText: +// +// The specified service database lock is invalid. +// +#define ERROR_INVALID_SERVICE_LOCK 1071L + +// +// MessageId: ERROR_SERVICE_MARKED_FOR_DELETE +// +// MessageText: +// +// The specified service has been marked for deletion. +// +#define ERROR_SERVICE_MARKED_FOR_DELETE 1072L + +// +// MessageId: ERROR_SERVICE_EXISTS +// +// MessageText: +// +// The specified service already exists. +// +#define ERROR_SERVICE_EXISTS 1073L + +// +// MessageId: ERROR_ALREADY_RUNNING_LKG +// +// MessageText: +// +// The system is currently booted using the last-known-good configuration. +// +#define ERROR_ALREADY_RUNNING_LKG 1074L + +// +// MessageId: ERROR_SERVICE_DEPENDENCY_DELETED +// +// MessageText: +// +// The dependency service does not exist or has been marked for +// deletion. +// +#define ERROR_SERVICE_DEPENDENCY_DELETED 1075L + +// +// MessageId: ERROR_BOOT_ALREADY_ACCEPTED +// +// MessageText: +// +// The current boot has already been accepted for use as the +// last-known-good control set. +// +#define ERROR_BOOT_ALREADY_ACCEPTED 1076L + +// +// MessageId: ERROR_END_OF_MEDIA +// +// MessageText: +// +// End of tape mark has been reached during an operation. +// +#define ERROR_END_OF_MEDIA 1100L + +// +// MessageId: ERROR_SHORT_FILEMARK_DETECTED +// +// MessageText: +// +// A tape access reached a short filemark. +// +#define ERROR_SHORT_FILEMARK_DETECTED 1101L + +// +// MessageId: ERROR_LONG_FILEMARK_DETECTED +// +// MessageText: +// +// A tape access reached a long filemark. +// +#define ERROR_LONG_FILEMARK_DETECTED 1102L + +// +// MessageId: ERROR_SETMARK_DETECTED +// +// MessageText: +// +// A tape access reached a setmark. +// +#define ERROR_SETMARK_DETECTED 1103L + +// +// MessageId: ERROR_NO_DATA_DETECTED +// +// MessageText: +// +// During a tape access, the end of the data written is reached. +// +#define ERROR_NO_DATA_DETECTED 1104L + +// +// MessageId: ERROR_PARTITION_FAILURE +// +// MessageText: +// +// Tape could not be partitioned. +// +#define ERROR_PARTITION_FAILURE 1105L + +// +// MessageId: ERROR_INVALID_BLOCK_LENGTH +// +// MessageText: +// +// When accessing a new tape of a multivolume partition, the current +// blocksize is incorrect. +// +#define ERROR_INVALID_BLOCK_LENGTH 1106L + +// +// MessageId: ERROR_DEVICE_NOT_PARTITIONED +// +// MessageText: +// +// Tape partition information could not be found when loading a tape. +// +#define ERROR_DEVICE_NOT_PARTITIONED 1107L + +// +// MessageId: ERROR_UNABLE_TO_LOCK_MEDIA +// +// MessageText: +// +// Attempt to lock the eject media mechansism fails. +// +#define ERROR_UNABLE_TO_LOCK_MEDIA 1108L + +// +// MessageId: ERROR_UNABLE_TO_UNLOAD_MEDIA +// +// MessageText: +// +// Unload media fails. +// +#define ERROR_UNABLE_TO_UNLOAD_MEDIA 1109L + +// +// MessageId: ERROR_TAPE_WRITE_PROTECTED +// +// MessageText: +// +// Attempt to write to or erase a write protected tape. +// +#define ERROR_TAPE_WRITE_PROTECTED 1110L + +// +// MessageId: ERROR_TAPE_OPERATION_NOT_SUPPORTED +// +// MessageText: +// +// Attempted operation not supported on drive. +// +#define ERROR_TAPE_OPERATION_NOT_SUPPORTED 1111L + +// +// MessageId: ERROR_NO_TAPE_IN_DRIVE +// +// MessageText: +// +// Tape query failed because of no tape in drive. +// +#define ERROR_NO_TAPE_IN_DRIVE 1112L + +// +// MessageId: ERROR_NO_UNICODE_TRANSLATION +// +// MessageText: +// +// No mapping for the Unicode character exists in the target multi-byte code page. +// +#define ERROR_NO_UNICODE_TRANSLATION 1113L + +// +// MessageId: ERROR_DLL_INIT_FAILED +// +// MessageText: +// +// A DLL initialization routine failed. +// +#define ERROR_DLL_INIT_FAILED 1114L + +// +// MessageId: ERROR_SHUTDOWN_IN_PROGRESS +// +// MessageText: +// +// A system shutdown is in progress. +// +#define ERROR_SHUTDOWN_IN_PROGRESS 1115L + +// +// MessageId: ERROR_NO_SHUTDOWN_IN_PROGRESS +// +// MessageText: +// +// An attempt to abort the shutdown of the system failed because no shutdown +// was in progress. +// +#define ERROR_NO_SHUTDOWN_IN_PROGRESS 1116L + +// +// MessageId: ERROR_IO_DEVICE +// +// MessageText: +// +// The request could not be performed because of an I/O device error. +// +#define ERROR_IO_DEVICE 1117L + +// +// MessageId: ERROR_SERIAL_NO_DEVICE +// +// MessageText: +// +// No serial device was successfully initialized. The serial driver will unload. +// +#define ERROR_SERIAL_NO_DEVICE 1118L + +// +// MessageId: ERROR_IRQ_BUSY +// +// MessageText: +// +// An attempt was made to open a device that was sharing an IRQ with other devices. +// At least one other device that uses that IRQ was already opened. Two concurrent +// opens of devices that share an IRQ and only work via interrupts is not supported +// for the particular bus type that the devices use. +// +#define ERROR_IRQ_BUSY 1119L + +// +// MessageId: ERROR_MORE_WRITES +// +// MessageText: +// +// This informational status message indicates that the serial io control +// IOCTL_SERIAL_XOFF_COUNTER completed due to another write to the serial +// port. +// +#define ERROR_MORE_WRITES 1120L + +// +// MessageId: ERROR_COUNTER_TIMEOUT +// +// MessageText: +// +// This informational status message indicates that the serial io control +// IOCTL_SERIAL_XOFF_COUNTER completed due to timer expiring before the +// counter reached 0. +// +#define ERROR_COUNTER_TIMEOUT 1121L + +// +// MessageId: ERROR_FLOPPY_ID_MARK_NOT_FOUND +// +// MessageText: +// +// While accessing the floppy an id address mark was not found. +// +#define ERROR_FLOPPY_ID_MARK_NOT_FOUND 1122L + +// +// MessageId: ERROR_FLOPPY_WRONG_CYLINDER +// +// MessageText: +// +// While accessing the floppy the track address from the sector id field was found +// to be different than the track address maintained by the controller. +// +#define ERROR_FLOPPY_WRONG_CYLINDER 1123L + +// +// MessageId: ERROR_FLOPPY_UNKNOWN_ERROR +// +// MessageText: +// +// The floppy controller reported an error that is not recognized by the floppy driver. +// +#define ERROR_FLOPPY_UNKNOWN_ERROR 1124L + +// +// MessageId: ERROR_FLOPPY_BAD_REGISTERS +// +// MessageText: +// +// While accessing the floppy, the controller returned inconsistant results via its registers. +// +#define ERROR_FLOPPY_BAD_REGISTERS 1125L + +// +// MessageId: ERROR_DISK_RECALIBRATE_FAILED +// +// MessageText: +// +// While accessing the hard disk, a recalibrate operation failed, even after retries. +// +#define ERROR_DISK_RECALIBRATE_FAILED 1126L + +// +// MessageId: ERROR_DISK_OPERATION_FAILED +// +// MessageText: +// +// While accessing the hard disk, a disk operation failed even after retries. +// +#define ERROR_DISK_OPERATION_FAILED 1127L + +// +// MessageId: ERROR_DISK_RESET_FAILED +// +// MessageText: +// +// While accessing the hard disk, a disk controller reset was needed, but even that failed. +// It would seem that some diagnostics should be run. +// +#define ERROR_DISK_RESET_FAILED 1128L + + + + +/////////////////////////// +// // +// Winnet32 Status Codes // +// // +/////////////////////////// + + +// +// MessageId: ERROR_BAD_USERNAME +// +// MessageText: +// +// The specified user name is invalid. +// +#define ERROR_BAD_USERNAME 2202L + +// +// MessageId: ERROR_NO_NETWORK +// +// MessageText: +// +// The network is not present or not started. +// +#define ERROR_NO_NETWORK 2138L + +// +// MessageId: ERROR_NOT_CONNECTED +// +// MessageText: +// +// This network connection does not exist. +// +#define ERROR_NOT_CONNECTED 2250L + +// +// MessageId: ERROR_OPEN_FILES +// +// MessageText: +// +// There are open files or requests pending on this connection. +// +#define ERROR_OPEN_FILES 2401L + +// +// MessageId: ERROR_DEVICE_IN_USE +// +// MessageText: +// +// The device is in use by an active process and cannot be disconnected. +// +#define ERROR_DEVICE_IN_USE 2404L + +// +// MessageId: ERROR_BAD_DEVICE +// +// MessageText: +// +// The specified device name is invalid. +// +#define ERROR_BAD_DEVICE 1200L + +// +// MessageId: ERROR_CONNECTION_UNAVAIL +// +// MessageText: +// +// The device is not currently connected but it is a remembered connection. +// +#define ERROR_CONNECTION_UNAVAIL 1201L + +// +// MessageId: ERROR_DEVICE_ALREADY_REMEMBERED +// +// MessageText: +// +// An attempt was made to remember a device that had previously been remembered. +// +#define ERROR_DEVICE_ALREADY_REMEMBERED 1202L + +// +// MessageId: ERROR_NO_NET_OR_BAD_PATH +// +// MessageText: +// +// No network provider accepted the given network path. +// +#define ERROR_NO_NET_OR_BAD_PATH 1203L + +// +// MessageId: ERROR_BAD_PROVIDER +// +// MessageText: +// +// The specified network provider name is invalid. +// +#define ERROR_BAD_PROVIDER 1204L + +// +// MessageId: ERROR_CANNOT_OPEN_PROFILE +// +// MessageText: +// +// Unable to open the network connection profile. +// +#define ERROR_CANNOT_OPEN_PROFILE 1205L + +// +// MessageId: ERROR_BAD_PROFILE +// +// MessageText: +// +// The network connection profile is corrupt. +// +#define ERROR_BAD_PROFILE 1206L + +// +// MessageId: ERROR_NOT_CONTAINER +// +// MessageText: +// +// Cannot enumerate a non-container. +// +#define ERROR_NOT_CONTAINER 1207L + +// +// MessageId: ERROR_EXTENDED_ERROR +// +// MessageText: +// +// An extended error has occurred. +// +#define ERROR_EXTENDED_ERROR 1208L + +// +// MessageId: ERROR_INVALID_GROUPNAME +// +// MessageText: +// +// The format of the specified group name is invalid. +// +#define ERROR_INVALID_GROUPNAME 1209L + +// +// MessageId: ERROR_INVALID_COMPUTERNAME +// +// MessageText: +// +// The format of the specified computer name is invalid. +// +#define ERROR_INVALID_COMPUTERNAME 1210L + +// +// MessageId: ERROR_INVALID_EVENTNAME +// +// MessageText: +// +// The format of the specified event name is invalid. +// +#define ERROR_INVALID_EVENTNAME 1211L + +// +// MessageId: ERROR_INVALID_DOMAINNAME +// +// MessageText: +// +// The format of the specified domain name is invalid. +// +#define ERROR_INVALID_DOMAINNAME 1212L + +// +// MessageId: ERROR_INVALID_SERVICENAME +// +// MessageText: +// +// The format of the specified service name is invalid. +// +#define ERROR_INVALID_SERVICENAME 1213L + +// +// MessageId: ERROR_INVALID_NETNAME +// +// MessageText: +// +// The format of the specified network name is invalid. +// +#define ERROR_INVALID_NETNAME 1214L + +// +// MessageId: ERROR_INVALID_SHARENAME +// +// MessageText: +// +// The format of the specified share name is invalid. +// +#define ERROR_INVALID_SHARENAME 1215L + +// +// MessageId: ERROR_INVALID_PASSWORDNAME +// +// MessageText: +// +// The format of the specified password is invalid. +// +#define ERROR_INVALID_PASSWORDNAME 1216L + +// +// MessageId: ERROR_INVALID_MESSAGENAME +// +// MessageText: +// +// The format of the specified message name is invalid. +// +#define ERROR_INVALID_MESSAGENAME 1217L + +// +// MessageId: ERROR_INVALID_MESSAGEDEST +// +// MessageText: +// +// The format of the specified message destination is invalid. +// +#define ERROR_INVALID_MESSAGEDEST 1218L + + + + +/////////////////////////// +// // +// Security Status Codes // +// // +/////////////////////////// + + +// +// MessageId: ERROR_NOT_ALL_ASSIGNED +// +// MessageText: +// +// Indicates not all privileges referenced are assigned to the caller. +// This allows, for example, all privileges to be disabled without having +// to know exactly which privileges are assigned. +// +#define ERROR_NOT_ALL_ASSIGNED 1300L + +// +// MessageId: ERROR_SOME_NOT_MAPPED +// +// MessageText: +// +// Some of the information to be translated has not been translated. +// +#define ERROR_SOME_NOT_MAPPED 1301L + +// +// MessageId: ERROR_NO_QUOTAS_FOR_ACCOUNT +// +// MessageText: +// +// No system quota limits are specifically set for this Account. +// +#define ERROR_NO_QUOTAS_FOR_ACCOUNT 1302L + +// +// MessageId: ERROR_LOCAL_USER_SESSION_KEY +// +// MessageText: +// +// A user session key was requested for a local rpc connection. The session key +// returned is a constant value and not unique to this connection. There is +// little to be gained by encrypting data on such a connection. +// +#define ERROR_LOCAL_USER_SESSION_KEY 1303L + +// +// MessageId: ERROR_NULL_LM_PASSWORD +// +// MessageText: +// +// The NT password is too complex to be converted to a Lan-Manager password. +// The Lan-Manager password returned is a NULL string. +// +#define ERROR_NULL_LM_PASSWORD 1304L + +// +// MessageId: ERROR_UNKNOWN_REVISION +// +// MessageText: +// +// Indicates a revision number encountered or specified is not one +// known by the service. It may be a more recent revision than the +// service is aware of. +// +#define ERROR_UNKNOWN_REVISION 1305L + +// +// MessageId: ERROR_REVISION_MISMATCH +// +// MessageText: +// +// Indicates two revision levels are incompatible. +// +#define ERROR_REVISION_MISMATCH 1306L + +// +// MessageId: ERROR_INVALID_OWNER +// +// MessageText: +// +// Indicates a particular Security ID may not be assigned as the +// owner of an object. +// +#define ERROR_INVALID_OWNER 1307L + +// +// MessageId: ERROR_INVALID_PRIMARY_GROUP +// +// MessageText: +// +// Indicates a particular Security ID may not be assigned as the +// primary group of an object. +// +#define ERROR_INVALID_PRIMARY_GROUP 1308L + +// +// MessageId: ERROR_NO_IMPERSONATION_TOKEN +// +// MessageText: +// +// An attempt has been made to operate on an impersonation token +// by a thread that is not currently impersonating a client. +// +#define ERROR_NO_IMPERSONATION_TOKEN 1309L + +// +// MessageId: ERROR_CANT_DISABLE_MANDATORY +// +// MessageText: +// +// A mandatory group may not be disabled. +// +#define ERROR_CANT_DISABLE_MANDATORY 1310L + +// +// MessageId: ERROR_NO_LOGON_SERVERS +// +// MessageText: +// +// There are currently no logon servers available to service the logon +// request. +// +#define ERROR_NO_LOGON_SERVERS 1311L + +// +// MessageId: ERROR_NO_SUCH_LOGON_SESSION +// +// MessageText: +// +// A specified logon session does not exist. It may already have +// been terminated. +// +#define ERROR_NO_SUCH_LOGON_SESSION 1312L + +// +// MessageId: ERROR_NO_SUCH_PRIVILEGE +// +// MessageText: +// +// A specified privilege does not exist. +// +#define ERROR_NO_SUCH_PRIVILEGE 1313L + +// +// MessageId: ERROR_PRIVILEGE_NOT_HELD +// +// MessageText: +// +// A required privilege is not held by the client. +// +#define ERROR_PRIVILEGE_NOT_HELD 1314L + +// +// MessageId: ERROR_INVALID_ACCOUNT_NAME +// +// MessageText: +// +// The name provided is not a properly formed account name. +// +#define ERROR_INVALID_ACCOUNT_NAME 1315L + +// +// MessageId: ERROR_USER_EXISTS +// +// MessageText: +// +// The specified user already exists. +// +#define ERROR_USER_EXISTS 1316L + +// +// MessageId: ERROR_NO_SUCH_USER +// +// MessageText: +// +// The specified user does not exist. +// +#define ERROR_NO_SUCH_USER 1317L + +// +// MessageId: ERROR_GROUP_EXISTS +// +// MessageText: +// +// The specified group already exists. +// +#define ERROR_GROUP_EXISTS 1318L + +// +// MessageId: ERROR_NO_SUCH_GROUP +// +// MessageText: +// +// The specified group does not exist. +// +#define ERROR_NO_SUCH_GROUP 1319L + +// +// MessageId: ERROR_MEMBER_IN_GROUP +// +// MessageText: +// +// The specified user account is already in the specified group account. +// Also used to indicate a group can not be deleted because it contains +// a member. +// +#define ERROR_MEMBER_IN_GROUP 1320L + +// +// MessageId: ERROR_MEMBER_NOT_IN_GROUP +// +// MessageText: +// +// The specified user account is not a member of the specified group account. +// +#define ERROR_MEMBER_NOT_IN_GROUP 1321L + +// +// MessageId: ERROR_LAST_ADMIN +// +// MessageText: +// +// Indicates the requested operation would disable or delete the last +// remaining administration account. This is not allowed to prevent +// creating a situation in which the system will not be administratable. +// +#define ERROR_LAST_ADMIN 1322L + +// +// MessageId: ERROR_WRONG_PASSWORD +// +// MessageText: +// +// When trying to update a password, this return status indicates that +// the value provided as the current password is not correct. +// +#define ERROR_WRONG_PASSWORD 1323L + +// +// MessageId: ERROR_ILL_FORMED_PASSWORD +// +// MessageText: +// +// When trying to update a password, this return status indicates that +// the value provided for the new password contains values that are +// not allowed in passwords. +// +#define ERROR_ILL_FORMED_PASSWORD 1324L + +// +// MessageId: ERROR_PASSWORD_RESTRICTION +// +// MessageText: +// +// When trying to update a password, this status indicates that some +// password update rule has been violated. For example, the password +// may not meet length criteria. +// +#define ERROR_PASSWORD_RESTRICTION 1325L + +// +// MessageId: ERROR_LOGON_FAILURE +// +// MessageText: +// +// The attempted logon is invalid. This is either due to a bad username +// or authentication information. +// +#define ERROR_LOGON_FAILURE 1326L + +// +// MessageId: ERROR_ACCOUNT_RESTRICTION +// +// MessageText: +// +// Indicates a referenced user name and authentication information are +// valid, but some user account restriction has prevented successful +// authentication (such as time-of-day restrictions). +// +#define ERROR_ACCOUNT_RESTRICTION 1327L + +// +// MessageId: ERROR_INVALID_LOGON_HOURS +// +// MessageText: +// +// The user account has time restrictions and may not be logged onto +// at this time. +// +#define ERROR_INVALID_LOGON_HOURS 1328L + +// +// MessageId: ERROR_INVALID_WORKSTATION +// +// MessageText: +// +// The user account is restricted such that it may not be used to +// log on from the source workstation. +// +#define ERROR_INVALID_WORKSTATION 1329L + +// +// MessageId: ERROR_PASSWORD_EXPIRED +// +// MessageText: +// +// The user account's password has expired. +// +#define ERROR_PASSWORD_EXPIRED 1330L + +// +// MessageId: ERROR_ACCOUNT_DISABLED +// +// MessageText: +// +// The referenced account is currently disabled and may not be logged on to. +// +#define ERROR_ACCOUNT_DISABLED 1331L + +// +// MessageId: ERROR_NONE_MAPPED +// +// MessageText: +// +// None of the information to be translated has been translated. +// +#define ERROR_NONE_MAPPED 1332L + +// +// MessageId: ERROR_TOO_MANY_LUIDS_REQUESTED +// +// MessageText: +// +// The number of LUIDs requested may not be allocated with a single +// allocation. +// +#define ERROR_TOO_MANY_LUIDS_REQUESTED 1333L + +// +// MessageId: ERROR_LUIDS_EXHAUSTED +// +// MessageText: +// +// Indicates there are no more LUIDs to allocate. +// +#define ERROR_LUIDS_EXHAUSTED 1334L + +// +// MessageId: ERROR_INVALID_SUB_AUTHORITY +// +// MessageText: +// +// Indicates the sub-authority value is invalid for the particular use. +// +#define ERROR_INVALID_SUB_AUTHORITY 1335L + +// +// MessageId: ERROR_INVALID_ACL +// +// MessageText: +// +// Indicates the ACL structure is not valid. +// +#define ERROR_INVALID_ACL 1336L + +// +// MessageId: ERROR_INVALID_SID +// +// MessageText: +// +// Indicates the SID structure is not valid. +// +#define ERROR_INVALID_SID 1337L + +// +// MessageId: ERROR_INVALID_SECURITY_DESCR +// +// MessageText: +// +// Indicates the SECURITY_DESCRIPTOR structure is not valid. +// +#define ERROR_INVALID_SECURITY_DESCR 1338L + +// +// MessageId: ERROR_BAD_INHERITANCE_ACL +// +// MessageText: +// +// Indicates that an attempt to build either an inherited ACL or ACE +// was not successful. +// This can be caused by a number of things. One of the more probable +// causes is the replacement of a CreatorId with an SID that didn't fit +// into the ACE or ACL. +// +#define ERROR_BAD_INHERITANCE_ACL 1340L + +// +// MessageId: ERROR_SERVER_DISABLED +// +// MessageText: +// +// The GUID allocation server is [already] disabled at the moment. +// +#define ERROR_SERVER_DISABLED 1341L + +// +// MessageId: ERROR_SERVER_NOT_DISABLED +// +// MessageText: +// +// The GUID allocation server is [already] enabled at the moment. +// +#define ERROR_SERVER_NOT_DISABLED 1342L + +// +// MessageId: ERROR_INVALID_ID_AUTHORITY +// +// MessageText: +// +// The value provided was an invalid value for an identifier authority. +// +#define ERROR_INVALID_ID_AUTHORITY 1343L + +// +// MessageId: ERROR_ALLOTTED_SPACE_EXCEEDED +// +// MessageText: +// +// When a block of memory is allotted for future updates, such as the memory +// allocated to hold discretionary access control and primary group information, +// successive updates may exceed the amount of memory originally allotted. +// Since quota may already have been charged to several processes which have +// handles to the object, it is not reasonable to alter the size of the +// allocated memory. Instead, a request that requires more memory than has +// been allotted must fail and the ERROR_ALLOTTED_SPACE_EXCEEDED error returned. +// +#define ERROR_ALLOTTED_SPACE_EXCEEDED 1344L + +// +// MessageId: ERROR_INVALID_GROUP_ATTRIBUTES +// +// MessageText: +// +// The specified attributes are invalid, or incompatible with the +// attributes for the group as a whole. +// +#define ERROR_INVALID_GROUP_ATTRIBUTES 1345L + +// +// MessageId: ERROR_BAD_IMPERSONATION_LEVEL +// +// MessageText: +// +// A specified impersonation level is invalid. +// Also used to indicate a required impersonation level was not provided. +// +#define ERROR_BAD_IMPERSONATION_LEVEL 1346L + +// +// MessageId: ERROR_CANT_OPEN_ANONYMOUS +// +// MessageText: +// +// An attempt was made to open an Anonymous level token. +// Anonymous tokens may not be opened. +// +#define ERROR_CANT_OPEN_ANONYMOUS 1347L + +// +// MessageId: ERROR_BAD_VALIDATION_CLASS +// +// MessageText: +// +// The validation information class requested was invalid. +// +#define ERROR_BAD_VALIDATION_CLASS 1348L + +// +// MessageId: ERROR_BAD_TOKEN_TYPE +// +// MessageText: +// +// The type of a token object is inapropriate for its attempted use. +// +#define ERROR_BAD_TOKEN_TYPE 1349L + +// +// MessageId: ERROR_NO_SECURITY_ON_OBJECT +// +// MessageText: +// +// Indicates an attempt was made to operate on the security of +// an object that does not have security associated with it. +// +#define ERROR_NO_SECURITY_ON_OBJECT 1350L + +// +// MessageId: ERROR_CANT_ACCESS_DOMAIN_INFO +// +// MessageText: +// +// Indicates a domain controller could not be contacted or that +// objects within the domain are protected such that necessary +// information could not be retrieved. +// +#define ERROR_CANT_ACCESS_DOMAIN_INFO 1351L + +// +// MessageId: ERROR_INVALID_SERVER_STATE +// +// MessageText: +// +// Indicates the Sam Server was in the wrong state to +// perform the desired operation. +// +#define ERROR_INVALID_SERVER_STATE 1352L + +// +// MessageId: ERROR_INVALID_DOMAIN_STATE +// +// MessageText: +// +// Indicates the Domain was in the wrong state to +// perform the desired operation. +// +#define ERROR_INVALID_DOMAIN_STATE 1353L + +// +// MessageId: ERROR_INVALID_DOMAIN_ROLE +// +// MessageText: +// +// Indicates the desired operation cannot be completed +// with the domain in its present role. +// +#define ERROR_INVALID_DOMAIN_ROLE 1354L + +// +// MessageId: ERROR_NO_SUCH_DOMAIN +// +// MessageText: +// +// The specified Domain did not exist. +// +#define ERROR_NO_SUCH_DOMAIN 1355L + +// +// MessageId: ERROR_DOMAIN_EXISTS +// +// MessageText: +// +// The specified Domain already exists. +// +#define ERROR_DOMAIN_EXISTS 1356L + +// +// MessageId: ERROR_DOMAIN_LIMIT_EXCEEDED +// +// MessageText: +// +// An attempt to exceed the limit on the number of domains per server +// for this release. +// +#define ERROR_DOMAIN_LIMIT_EXCEEDED 1357L + +// +// MessageId: ERROR_INTERNAL_DB_CORRUPTION +// +// MessageText: +// +// This error indicates that the requested operation cannot be +// completed due to a catastrophic media failure or on-disk data +// structure corruption +// +#define ERROR_INTERNAL_DB_CORRUPTION 1358L + +// +// MessageId: ERROR_INTERNAL_ERROR +// +// MessageText: +// +// This error indicates that the SAM server has encounterred an +// internal consistency error in its database. This catastrophic +// failure will prevent further operation of SAM +// +#define ERROR_INTERNAL_ERROR 1359L + +// +// MessageId: ERROR_GENERIC_NOT_MAPPED +// +// MessageText: +// +// Indicates generic access types were contained in an access mask +// which should already be mapped to non-generic access types. +// +#define ERROR_GENERIC_NOT_MAPPED 1360L + +// +// MessageId: ERROR_BAD_DESCRIPTOR_FORMAT +// +// MessageText: +// +// Indicates a security descriptor is not in the necessary format (absolute +// or self-relative). +// +#define ERROR_BAD_DESCRIPTOR_FORMAT 1361L + +// +// MessageId: ERROR_NOT_LOGON_PROCESS +// +// MessageText: +// +// The requested action is restricted for use by logon processes +// only. The calling process has not registered as a logon process. +// +#define ERROR_NOT_LOGON_PROCESS 1362L + +// +// MessageId: ERROR_LOGON_SESSION_EXISTS +// +// MessageText: +// +// A attempt has been made to start a new session manager or +// LSA logon session with an ID that is alread in use. +// +#define ERROR_LOGON_SESSION_EXISTS 1363L + +// +// MessageId: ERROR_NO_SUCH_PACKAGE +// +// MessageText: +// +// A specified authentication package is unknown +// +#define ERROR_NO_SUCH_PACKAGE 1364L + +// +// MessageId: ERROR_BAD_LOGON_SESSION_STATE +// +// MessageText: +// +// The logon session is not in a state the is consistent with the +// requested operation. +// +#define ERROR_BAD_LOGON_SESSION_STATE 1365L + +// +// MessageId: ERROR_LOGON_SESSION_COLLISION +// +// MessageText: +// +// The logon session is not in a state the is consistent with the +// requested operation. BUG, BUG - fix this message +// +#define ERROR_LOGON_SESSION_COLLISION 1366L + +// +// MessageId: ERROR_INVALID_LOGON_TYPE +// +// MessageText: +// +// Indicates an invalid value has been provided for LogonType has been +// requested. +// +#define ERROR_INVALID_LOGON_TYPE 1367L + +// +// MessageId: ERROR_CANNOT_IMPERSONATE +// +// MessageText: +// +// Indicates that an attempt has been made to impersonate via a named +// pipe that has not yet been read from. +// +#define ERROR_CANNOT_IMPERSONATE 1368L + +// +// MessageId: ERROR_RXACT_INVALID_STATE +// +// MessageText: +// +// Indicates that the transaction state of a registry sub-tree is +// incompatible with the requested operation. +// For example, a request has been made to start a new transaction with +// one already in progress, or a request to apply a transaction when one +// is not currently in progress. +// This status value is returned by the runtime library (RTL) registry +// transaction package (RXact). +// +#define ERROR_RXACT_INVALID_STATE 1369L + +// +// MessageId: ERROR_RXACT_COMMIT_FAILURE +// +// MessageText: +// +// Indicates an error has occured during a registry transaction commit. +// The database has been left in an unknown, but probably inconsistent, +// state. The state of the registry transaction is left as COMMITTING. +// This status value is returned by the runtime library (RTL) registry +// transaction package (RXact). +// +#define ERROR_RXACT_COMMIT_FAILURE 1370L + +// +// MessageId: ERROR_SPECIAL_ACCOUNT +// +// MessageText: +// +// Indicates an operation has been attempted on a built-in (special) +// SAM account which is incompatible with built-in accounts. For +// example, built-in accounts can not be re-named or deleted. +// +#define ERROR_SPECIAL_ACCOUNT 1371L + +// +// MessageId: ERROR_SPECIAL_GROUP +// +// MessageText: +// +// The operation requested may not be performed on the specified +// group because it is a built-in special group. +// +#define ERROR_SPECIAL_GROUP 1372L + +// +// MessageId: ERROR_SPECIAL_USER +// +// MessageText: +// +// The operation requested may not be performed on the specified +// user because it is a built-in special user. +// +#define ERROR_SPECIAL_USER 1373L + +// +// MessageId: ERROR_MEMBERS_PRIMARY_GROUP +// +// MessageText: +// +// Indicates a member can not be removed from a group because the +// group is currently the member's primary group. +// +#define ERROR_MEMBERS_PRIMARY_GROUP 1374L + +// +// MessageId: ERROR_TOKEN_ALREADY_IN_USE +// +// MessageText: +// +// An attempt was made to establish a token for use as a primary token +// but the token is already in use. A token can only be the primary token +// of one process at a time. +// +#define ERROR_TOKEN_ALREADY_IN_USE 1375L + +// +// MessageId: ERROR_NO_SUCH_ALIAS +// +// MessageText: +// +// The specified alias does not exist. +// +#define ERROR_NO_SUCH_ALIAS 1376L + +// +// MessageId: ERROR_MEMBER_NOT_IN_ALIAS +// +// MessageText: +// +// The specified account name is not a member of the alias. +// +#define ERROR_MEMBER_NOT_IN_ALIAS 1377L + +// +// MessageId: ERROR_MEMBER_IN_ALIAS +// +// MessageText: +// +// The specified account name is already a member of the alias. +// +#define ERROR_MEMBER_IN_ALIAS 1378L + +// +// MessageId: ERROR_ALIAS_EXISTS +// +// MessageText: +// +// The specified alias already exists. +// +#define ERROR_ALIAS_EXISTS 1379L + +// +// MessageId: ERROR_LOGON_NOT_GRANTED +// +// MessageText: +// +// A requested type of logon (e.g., Interactive, Network, Service) is not +// granted by the target system's local security policy. Please ask the +// system administrator to grant the necessary form of logon. +// +#define ERROR_LOGON_NOT_GRANTED 1380L + +// +// MessageId: ERROR_TOO_MANY_SECRETS +// +// MessageText: +// +// The maximum number of secrets that may be stored in a single system has been +// exceeded. The length and number of secrets is limited to satisfy United +// States State Department export restrictions. +// +#define ERROR_TOO_MANY_SECRETS 1381L + +// +// MessageId: ERROR_SECRET_TOO_LONG +// +// MessageText: +// +// The length of an secret exceeds the maximum length allowed. The length and +// number of secrets is limited to satisfy United States State Department +// export restrictions. +// +#define ERROR_SECRET_TOO_LONG 1382L + +// +// MessageId: ERROR_INTERNAL_DB_ERROR +// +// MessageText: +// +// The Local Security Authority (LSA) database contains in internal inconsistency. +// +#define ERROR_INTERNAL_DB_ERROR 1383L + +// +// MessageId: ERROR_TOO_MANY_CONTEXT_IDS +// +// MessageText: +// +// During a logon attempt, the user's security context accumulated too many +// security IDs. This is a very unusual situation. Remove the user from +// some groups or aliases to reduce the number of security ids to incorporate +// into the security context. +// +#define ERROR_TOO_MANY_CONTEXT_IDS 1384L + +// +// MessageId: ERROR_LOGON_TYPE_NOT_GRANTED +// +// MessageText: +// +// A user has requested a type of logon (e.g., interactive or network) that +// has not be granted. An administrator has control over who may logon +// interactively and through the network. +// +#define ERROR_LOGON_TYPE_NOT_GRANTED 1385L + +// +// MessageId: ERROR_NT_CROSS_ENCRYPTION_REQUIRED +// +// MessageText: +// +// An attempt was made to change a user password in the security account manager +// without providing the necessary NT cross-encrypted password. +// +#define ERROR_NT_CROSS_ENCRYPTION_REQUIRED 1386L + +// +// MessageId: ERROR_NO_SUCH_MEMBER +// +// MessageText: +// +// A new member could not be added to an alias because the member does not exist. +// +#define ERROR_NO_SUCH_MEMBER 1387L + +// +// MessageId: ERROR_INVALID_MEMBER +// +// MessageText: +// +// A new member could not be added to an alias because the member has the +// wrong account type. +// +#define ERROR_INVALID_MEMBER 1388L + +// +// MessageId: ERROR_TOO_MANY_SIDS +// +// MessageText: +// +// Too many Sids have been specified. +// +#define ERROR_TOO_MANY_SIDS 1389L + +// +// MessageId: ERROR_LM_CROSS_ENCRYPTION_REQUIRED +// +// MessageText: +// +// An attempt was made to change a user password in the security account manager +// without providing the necessary LM cross-encrypted password. +// +#define ERROR_LM_CROSS_ENCRYPTION_REQUIRED 1390L + +// +// MessageId: ERROR_NO_INHERITANCE +// +// MessageText: +// +// Indicates an ACL contains no inheritable components +// +#define ERROR_NO_INHERITANCE 1391L + +// +// MessageId: ERROR_FILE_CORRUPT +// +// MessageText: +// +// The file or directory is corrupt and non-readable. +// +#define ERROR_FILE_CORRUPT 1392L + +// +// MessageId: ERROR_DISK_CORRUPT +// +// MessageText: +// +// The disk structure is corrupt and non-readable. +// +#define ERROR_DISK_CORRUPT 1393L + +// End of security error codes + + + +/////////////////////////// +// // +// WinUser Error Codes // +// // +/////////////////////////// + + +// +// MessageId: ERROR_INVALID_WINDOW_HANDLE +// +// MessageText: +// +// Invalid window handle. +// +#define ERROR_INVALID_WINDOW_HANDLE 1400L + +// +// MessageId: ERROR_INVALID_MENU_HANDLE +// +// MessageText: +// +// Invalid menu handle. +// +#define ERROR_INVALID_MENU_HANDLE 1401L + +// +// MessageId: ERROR_INVALID_CURSOR_HANDLE +// +// MessageText: +// +// Invalid cursor handle. +// +#define ERROR_INVALID_CURSOR_HANDLE 1402L + +// +// MessageId: ERROR_INVALID_ACCEL_HANDLE +// +// MessageText: +// +// Invalid accelerator-table handle. +// +#define ERROR_INVALID_ACCEL_HANDLE 1403L + +// +// MessageId: ERROR_INVALID_HOOK_HANDLE +// +// MessageText: +// +// Invalid hook handle. +// +#define ERROR_INVALID_HOOK_HANDLE 1404L + +// +// MessageId: ERROR_INVALID_DWP_HANDLE +// +// MessageText: +// +// Invalid DeferWindowPos handle. +// +#define ERROR_INVALID_DWP_HANDLE 1405L + +// +// MessageId: ERROR_TLW_WITH_WSCHILD +// +// MessageText: +// +// CreateWindow() failed, creating top-level window with WS_CHILD style. +// +#define ERROR_TLW_WITH_WSCHILD 1406L + +// +// MessageId: ERROR_CANNOT_FIND_WND_CLASS +// +// MessageText: +// +// Cannot find window class. +// +#define ERROR_CANNOT_FIND_WND_CLASS 1407L + +// +// MessageId: ERROR_WINDOW_OF_OTHER_THREAD +// +// MessageText: +// +// Invalid window, belongs to other thread. +// +#define ERROR_WINDOW_OF_OTHER_THREAD 1408L + +// +// MessageId: ERROR_HOTKEY_ALREADY_REGISTERED +// +// MessageText: +// +// Hotkey already registered. +// +#define ERROR_HOTKEY_ALREADY_REGISTERED 1409L + +// +// MessageId: ERROR_CLASS_ALREADY_EXISTS +// +// MessageText: +// +// Class already exists. +// +#define ERROR_CLASS_ALREADY_EXISTS 1410L + +// +// MessageId: ERROR_CLASS_DOES_NOT_EXIST +// +// MessageText: +// +// Class does not exist. +// +#define ERROR_CLASS_DOES_NOT_EXIST 1411L + +// +// MessageId: ERROR_CLASS_HAS_WINDOWS +// +// MessageText: +// +// Class still has open windows. +// +#define ERROR_CLASS_HAS_WINDOWS 1412L + +// +// MessageId: ERROR_INVALID_INDEX +// +// MessageText: +// +// Invalid index. +// +#define ERROR_INVALID_INDEX 1413L + +// +// MessageId: ERROR_INVALID_ICON_HANDLE +// +// MessageText: +// +// Invalid icon handle. +// +#define ERROR_INVALID_ICON_HANDLE 1414L + +// +// MessageId: ERROR_PRIVATE_DIALOG_INDEX +// +// MessageText: +// +// Using private DIALOG window words. +// +#define ERROR_PRIVATE_DIALOG_INDEX 1415L + +// +// MessageId: ERROR_LISTBOX_ID_NOT_FOUND +// +// MessageText: +// +// Listbox ID not found. +// +#define ERROR_LISTBOX_ID_NOT_FOUND 1416L + +// +// MessageId: ERROR_NO_WILDCARD_CHARACTERS +// +// MessageText: +// +// No wildcard characters found. +// +#define ERROR_NO_WILDCARD_CHARACTERS 1417L + +// +// MessageId: ERROR_CLIPBOARD_NOT_OPEN +// +// MessageText: +// +// Thread doesn't have clipboard open. +// +#define ERROR_CLIPBOARD_NOT_OPEN 1418L + +// +// MessageId: ERROR_HOTKEY_NOT_REGISTERED +// +// MessageText: +// +// Hotkey not registered. +// +#define ERROR_HOTKEY_NOT_REGISTERED 1419L + +// +// MessageId: ERROR_WINDOW_NOT_DIALOG +// +// MessageText: +// +// The window is not a valid dialog window. +// +#define ERROR_WINDOW_NOT_DIALOG 1420L + +// +// MessageId: ERROR_CONTROL_ID_NOT_FOUND +// +// MessageText: +// +// Control ID not found. +// +#define ERROR_CONTROL_ID_NOT_FOUND 1421L + +// +// MessageId: ERROR_INVALID_COMBOBOX_MESSAGE +// +// MessageText: +// +// Invalid Message, combobox doesn't have an edit control. +// +#define ERROR_INVALID_COMBOBOX_MESSAGE 1422L + +// +// MessageId: ERROR_WINDOW_NOT_COMBOBOX +// +// MessageText: +// +// The window is not a combobox. +// +#define ERROR_WINDOW_NOT_COMBOBOX 1423L + +// +// MessageId: ERROR_INVALID_EDIT_HEIGHT +// +// MessageText: +// +// Height must be less than 256. +// +#define ERROR_INVALID_EDIT_HEIGHT 1424L + +// +// MessageId: ERROR_DC_NOT_FOUND +// +// MessageText: +// +// Invalid HDC passed to ReleaseDC. +// +#define ERROR_DC_NOT_FOUND 1425L + +// +// MessageId: ERROR_INVALID_HOOK_FILTER +// +// MessageText: +// +// Invalid hook filter type. +// +#define ERROR_INVALID_HOOK_FILTER 1426L + +// +// MessageId: ERROR_INVALID_FILTER_PROC +// +// MessageText: +// +// Invalid filter proc. +// +#define ERROR_INVALID_FILTER_PROC 1427L + +// +// MessageId: ERROR_HOOK_NEEDS_HMOD +// +// MessageText: +// +// Cannot set non-local hook without an module handle. +// +#define ERROR_HOOK_NEEDS_HMOD 1428L + +// +// MessageId: ERROR_GLOBAL_ONLY_HOOK +// +// MessageText: +// +// This hook can only be set globally. +// +#define ERROR_GLOBAL_ONLY_HOOK 1429L + +// +// MessageId: ERROR_JOURNAL_HOOK_SET +// +// MessageText: +// +// The journal hook is already installed. +// +#define ERROR_JOURNAL_HOOK_SET 1430L + +// +// MessageId: ERROR_HOOK_NOT_INSTALLED +// +// MessageText: +// +// Hook not installed. +// +#define ERROR_HOOK_NOT_INSTALLED 1431L + +// +// MessageId: ERROR_INVALID_LB_MESSAGE +// +// MessageText: +// +// Invalid message for single-selection listbox. +// +#define ERROR_INVALID_LB_MESSAGE 1432L + +// +// MessageId: ERROR_SETCOUNT_ON_BAD_LB +// +// MessageText: +// +// LB_SETCOUNT sent to non-lazy listbox. +// +#define ERROR_SETCOUNT_ON_BAD_LB 1433L + +// +// MessageId: ERROR_LB_WITHOUT_TABSTOPS +// +// MessageText: +// +// This listbox doesn't support tab stops. +// +#define ERROR_LB_WITHOUT_TABSTOPS 1434L + +// +// MessageId: ERROR_DESTROY_OBJECT_OF_OTHER_THREAD +// +// MessageText: +// +// Cannot destroy object created by another thread. +// +#define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD 1435L + +// +// MessageId: ERROR_CHILD_WINDOW_MENU +// +// MessageText: +// +// Child windows can't have menus. +// +#define ERROR_CHILD_WINDOW_MENU 1436L + +// +// MessageId: ERROR_NO_SYSTEM_MENU +// +// MessageText: +// +// Window doesn't have system menu. +// +#define ERROR_NO_SYSTEM_MENU 1437L + +// +// MessageId: ERROR_INVALID_MSGBOX_STYLE +// +// MessageText: +// +// Invalid message box style. +// +#define ERROR_INVALID_MSGBOX_STYLE 1438L + +// +// MessageId: ERROR_INVALID_SPI_VALUE +// +// MessageText: +// +// Invalid SPI_* parameter. +// +#define ERROR_INVALID_SPI_VALUE 1439L + +// +// MessageId: ERROR_SCREEN_ALREADY_LOCKED +// +// MessageText: +// +// Screen already locked. +// +#define ERROR_SCREEN_ALREADY_LOCKED 1440L + +// +// MessageId: ERROR_HWNDS_HAVE_DIFF_PARENT +// +// MessageText: +// +// All DeferWindowPos() HWNDs must have same parent. +// +#define ERROR_HWNDS_HAVE_DIFF_PARENT 1441L + +// +// MessageId: ERROR_NOT_CHILD_WINDOW +// +// MessageText: +// +// Window is not a child window. +// +#define ERROR_NOT_CHILD_WINDOW 1442L + +// +// MessageId: ERROR_INVALID_GW_COMMAND +// +// MessageText: +// +// Invalid GW_* command. +// +#define ERROR_INVALID_GW_COMMAND 1443L + +// +// MessageId: ERROR_INVALID_THREAD_ID +// +// MessageText: +// +// Invalid thread ID. +// +#define ERROR_INVALID_THREAD_ID 1444L + +// +// MessageId: ERROR_NON_MDICHILD_WINDOW +// +// MessageText: +// +// DefMDIChildProc() called with a non-MDIChild window. +// +#define ERROR_NON_MDICHILD_WINDOW 1445L + +// +// MessageId: ERROR_POPUP_ALREADY_ACTIVE +// +// MessageText: +// +// Popup menu already active. +// +#define ERROR_POPUP_ALREADY_ACTIVE 1446L + +// +// MessageId: ERROR_NO_SCROLLBARS +// +// MessageText: +// +// Window does not have scrollbars. +// +#define ERROR_NO_SCROLLBARS 1447L + +// +// MessageId: ERROR_INVALID_SCROLLBAR_RANGE +// +// MessageText: +// +// Scrollbar range greater than 0x7FFF. +// +#define ERROR_INVALID_SCROLLBAR_RANGE 1448L + +// +// MessageId: ERROR_INVALID_SHOWWIN_COMMAND +// +// MessageText: +// +// Invalid ShowWindow() command. +// +#define ERROR_INVALID_SHOWWIN_COMMAND 1449L + +// End of WinUser error codes + + + +/////////////////////////// +// // +// Eventlog Status Codes // +// // +/////////////////////////// + + +// +// MessageId: ERROR_EVENTLOG_FILE_CORRUPT +// +// MessageText: +// +// The Eventlog logfile %1 is corrupt. +// +#define ERROR_EVENTLOG_FILE_CORRUPT 1500L + +// +// MessageId: ERROR_EVENTLOG_CANT_START +// +// MessageText: +// +// No Eventlog log file could be opened. The Eventlog service did not start. +// +#define ERROR_EVENTLOG_CANT_START 1501L + +// End of eventlog error codes + + + +/////////////////////////// +// // +// RPC Status Codes // +// // +/////////////////////////// + + +// +// MessageId: RPC_S_INVALID_STRING_BINDING +// +// MessageText: +// +// The string binding is invalid. +// +#define RPC_S_INVALID_STRING_BINDING 1700L + +// +// MessageId: RPC_S_WRONG_KIND_OF_BINDING +// +// MessageText: +// +// The binding handle is not the correct type. +// +#define RPC_S_WRONG_KIND_OF_BINDING 1701L + +// +// MessageId: RPC_S_INVALID_BINDING +// +// MessageText: +// +// The binding handle is invalid. +// +#define RPC_S_INVALID_BINDING 1702L + +// +// MessageId: RPC_S_PROTSEQ_NOT_SUPPORTED +// +// MessageText: +// +// The Rpc protocol sequence is not supported. +// +#define RPC_S_PROTSEQ_NOT_SUPPORTED 1703L + +// +// MessageId: RPC_S_INVALID_RPC_PROTSEQ +// +// MessageText: +// +// The rpc protocol sequence is invalid. +// +#define RPC_S_INVALID_RPC_PROTSEQ 1704L + +// +// MessageId: RPC_S_INVALID_STRING_UUID +// +// MessageText: +// +// The string uuid is invalid. +// +#define RPC_S_INVALID_STRING_UUID 1705L + +// +// MessageId: RPC_S_INVALID_ENDPOINT_FORMAT +// +// MessageText: +// +// The endpoint format is invalid. +// +#define RPC_S_INVALID_ENDPOINT_FORMAT 1706L + +// +// MessageId: RPC_S_INVALID_NET_ADDR +// +// MessageText: +// +// The network address is invalid. +// +#define RPC_S_INVALID_NET_ADDR 1707L + +// +// MessageId: RPC_S_NO_ENDPOINT_FOUND +// +// MessageText: +// +// No endpoint was found. +// +#define RPC_S_NO_ENDPOINT_FOUND 1708L + +// +// MessageId: RPC_S_INVALID_TIMEOUT +// +// MessageText: +// +// The timeout value is invalid. +// +#define RPC_S_INVALID_TIMEOUT 1709L + +// +// MessageId: RPC_S_OBJECT_NOT_FOUND +// +// MessageText: +// +// The object uuid was not found. +// +#define RPC_S_OBJECT_NOT_FOUND 1710L + +// +// MessageId: RPC_S_ALREADY_REGISTERED +// +// MessageText: +// +// The object uuid has already been registered. +// +#define RPC_S_ALREADY_REGISTERED 1711L + +// +// MessageId: RPC_S_TYPE_ALREADY_REGISTERED +// +// MessageText: +// +// The type uuid has already been registered. +// +#define RPC_S_TYPE_ALREADY_REGISTERED 1712L + +// +// MessageId: RPC_S_ALREADY_LISTENING +// +// MessageText: +// +// The server is already listening. +// +#define RPC_S_ALREADY_LISTENING 1713L + +// +// MessageId: RPC_S_NO_PROTSEQS_REGISTERED +// +// MessageText: +// +// No protocol sequences have been registered. +// +#define RPC_S_NO_PROTSEQS_REGISTERED 1714L + +// +// MessageId: RPC_S_NOT_LISTENING +// +// MessageText: +// +// The server is not listening. +// +#define RPC_S_NOT_LISTENING 1715L + +// +// MessageId: RPC_S_UNKNOWN_MGR_TYPE +// +// MessageText: +// +// The manager type is unknown. +// +#define RPC_S_UNKNOWN_MGR_TYPE 1716L + +// +// MessageId: RPC_S_UNKNOWN_IF +// +// MessageText: +// +// The interface is unknown. +// +#define RPC_S_UNKNOWN_IF 1717L + +// +// MessageId: RPC_S_NO_BINDINGS +// +// MessageText: +// +// There are no bindings. +// +#define RPC_S_NO_BINDINGS 1718L + +// +// MessageId: RPC_S_NO_PROTSEQS +// +// MessageText: +// +// There are no protocol sequences. +// +#define RPC_S_NO_PROTSEQS 1719L + +// +// MessageId: RPC_S_CANT_CREATE_ENDPOINT +// +// MessageText: +// +// The endpoint can not be created. +// +#define RPC_S_CANT_CREATE_ENDPOINT 1720L + +// +// MessageId: RPC_S_OUT_OF_RESOURCES +// +// MessageText: +// +// Not enough resources are available to complete this operation. +// +#define RPC_S_OUT_OF_RESOURCES 1721L + +// +// MessageId: RPC_S_SERVER_UNAVAILABLE +// +// MessageText: +// +// The server is unavailable. +// +#define RPC_S_SERVER_UNAVAILABLE 1722L + +// +// MessageId: RPC_S_SERVER_TOO_BUSY +// +// MessageText: +// +// The server is too busy to complete this operation. +// +#define RPC_S_SERVER_TOO_BUSY 1723L + +// +// MessageId: RPC_S_INVALID_NETWORK_OPTIONS +// +// MessageText: +// +// The network options are invalid. +// +#define RPC_S_INVALID_NETWORK_OPTIONS 1724L + +// +// MessageId: RPC_S_NO_CALL_ACTIVE +// +// MessageText: +// +// There is not a remote procedure call active in this thread. +// +#define RPC_S_NO_CALL_ACTIVE 1725L + +// +// MessageId: RPC_S_CALL_FAILED +// +// MessageText: +// +// The remote procedure call failed. +// +#define RPC_S_CALL_FAILED 1726L + +// +// MessageId: RPC_S_CALL_FAILED_DNE +// +// MessageText: +// +// The remote procedure call failed and did not execute. +// +#define RPC_S_CALL_FAILED_DNE 1727L + +// +// MessageId: RPC_S_PROTOCOL_ERROR +// +// MessageText: +// +// An rpc protocol error occured. +// +#define RPC_S_PROTOCOL_ERROR 1728L + +// +// MessageId: RPC_S_CANNOT_BIND +// +// MessageText: +// +// An attempt to bind with the server failed. +// +#define RPC_S_CANNOT_BIND 1729L + +// +// MessageId: RPC_S_UNSUPPORTED_TRANS_SYN +// +// MessageText: +// +// The transfer syntax is not supported by the server. +// +#define RPC_S_UNSUPPORTED_TRANS_SYN 1730L + +// +// MessageId: RPC_S_SERVER_OUT_OF_MEMORY +// +// MessageText: +// +// The server has insufficient memory to complete this operation. +// +#define RPC_S_SERVER_OUT_OF_MEMORY 1731L + +// +// MessageId: RPC_S_UNSUPPORTED_TYPE +// +// MessageText: +// +// The type uuid is not supported. +// +#define RPC_S_UNSUPPORTED_TYPE 1732L + +// +// MessageId: RPC_S_INVALID_TAG +// +// MessageText: +// +// The tag is invalid. +// +#define RPC_S_INVALID_TAG 1733L + +// +// MessageId: RPC_S_INVALID_BOUND +// +// MessageText: +// +// The array bounds are invalid. +// +#define RPC_S_INVALID_BOUND 1734L + +// +// MessageId: RPC_S_NO_ENTRY_NAME +// +// MessageText: +// +// The binding does not contain an entry name. +// +#define RPC_S_NO_ENTRY_NAME 1735L + +// +// MessageId: RPC_S_INVALID_NAME_SYNTAX +// +// MessageText: +// +// The name syntax is invalid. +// +#define RPC_S_INVALID_NAME_SYNTAX 1736L + +// +// MessageId: RPC_S_UNSUPPORTED_NAME_SYNTAX +// +// MessageText: +// +// The name syntax is not supported. +// +#define RPC_S_UNSUPPORTED_NAME_SYNTAX 1737L + +// +// MessageId: RPC_S_SERVER_NOT_LISTENING +// +// MessageText: +// +// The server is not listening for remote procedure calls. +// +#define RPC_S_SERVER_NOT_LISTENING 1738L + +// +// MessageId: RPC_S_UUID_NO_ADDRESS +// +// MessageText: +// +// No network address is available to use to construct a uuid. +// +#define RPC_S_UUID_NO_ADDRESS 1739L + +// +// MessageId: RPC_S_DUPLICATE_ENDPOINT +// +// MessageText: +// +// The endpoint is a duplicate. +// +#define RPC_S_DUPLICATE_ENDPOINT 1740L + +// +// MessageId: RPC_S_UNKNOWN_AUTHN_TYPE +// +// MessageText: +// +// The authentication type is unknown. +// +#define RPC_S_UNKNOWN_AUTHN_TYPE 1741L + +// +// MessageId: RPC_S_MAX_CALLS_TOO_SMALL +// +// MessageText: +// +// The maximum number of calls is too small. +// +#define RPC_S_MAX_CALLS_TOO_SMALL 1742L + +// +// MessageId: RPC_S_STRING_TOO_LONG +// +// MessageText: +// +// The string is too long. +// +#define RPC_S_STRING_TOO_LONG 1743L + +// +// MessageId: RPC_S_PROTSEQ_NOT_FOUND +// +// MessageText: +// +// The rpc protocol sequence was not found. +// +#define RPC_S_PROTSEQ_NOT_FOUND 1744L + +// +// MessageId: RPC_S_PROCNUM_OUT_OF_RANGE +// +// MessageText: +// +// The procedure number is out of range. +// +#define RPC_S_PROCNUM_OUT_OF_RANGE 1745L + +// +// MessageId: RPC_S_BINDING_HAS_NO_AUTH +// +// MessageText: +// +// The binding does not contain any authentication information. +// +#define RPC_S_BINDING_HAS_NO_AUTH 1746L + +// +// MessageId: RPC_S_UNKNOWN_AUTHN_SERVICE +// +// MessageText: +// +// The authentication service is unknown. +// +#define RPC_S_UNKNOWN_AUTHN_SERVICE 1747L + +// +// MessageId: RPC_S_UNKNOWN_AUTHN_LEVEL +// +// MessageText: +// +// The authentication level is unknown. +// +#define RPC_S_UNKNOWN_AUTHN_LEVEL 1748L + +// +// MessageId: RPC_S_INVALID_AUTH_IDENTITY +// +// MessageText: +// +// The security context is invalid. +// +#define RPC_S_INVALID_AUTH_IDENTITY 1749L + +// +// MessageId: RPC_S_UNKNOWN_AUTHZ_SERVICE +// +// MessageText: +// +// The authorization service is unknown. +// +#define RPC_S_UNKNOWN_AUTHZ_SERVICE 1750L + +// +// MessageId: EPT_S_INVALID_ENTRY +// +// MessageText: +// +// The entry is invalid. +// +#define EPT_S_INVALID_ENTRY 1751L + +// +// MessageId: EPT_S_CANT_PERFORM_OP +// +// MessageText: +// +// The operation can not be performed. +// +#define EPT_S_CANT_PERFORM_OP 1752L + +// +// MessageId: EPT_S_NOT_REGISTERED +// +// MessageText: +// +// There are not more endpoints available from the endpoint mapper. +// +#define EPT_S_NOT_REGISTERED 1753L + +// +// MessageId: RPC_S_NO_INTERFACES_EXPORTED +// +// MessageText: +// +// No interfaces have been exported. +// +#define RPC_S_NO_INTERFACES_EXPORTED 1754L + +// +// MessageId: RPC_S_INCOMPLETE_NAME +// +// MessageText: +// +// The entry name is incomplete. +// +#define RPC_S_INCOMPLETE_NAME 1755L + +// +// MessageId: RPC_S_INVALID_VERS_OPTION +// +// MessageText: +// +// The version option is invalid. +// +#define RPC_S_INVALID_VERS_OPTION 1756L + +// +// MessageId: RPC_S_NO_MORE_MEMBERS +// +// MessageText: +// +// There are no more members. +// +#define RPC_S_NO_MORE_MEMBERS 1757L + +// +// MessageId: RPC_S_NOTHING_TO_UNEXPORT +// +// MessageText: +// +// There is nothing to unexport. +// +#define RPC_S_NOTHING_TO_UNEXPORT 1758L + +// +// MessageId: RPC_S_INTERFACE_NOT_FOUND +// +// MessageText: +// +// The interface was not found. +// +#define RPC_S_INTERFACE_NOT_FOUND 1759L + +// +// MessageId: RPC_S_ENTRY_ALREADY_EXISTS +// +// MessageText: +// +// The entry already exists. +// +#define RPC_S_ENTRY_ALREADY_EXISTS 1760L + +// +// MessageId: RPC_S_ENTRY_NOT_FOUND +// +// MessageText: +// +// The entry is not found. +// +#define RPC_S_ENTRY_NOT_FOUND 1761L + +// +// MessageId: RPC_S_NAME_SERVICE_UNAVAILABLE +// +// MessageText: +// +// The name service is unavailable. +// +#define RPC_S_NAME_SERVICE_UNAVAILABLE 1762L + +// +// MessageId: RPC_S_INVALID_NAF_IF +// +// MessageText: +// +// The network address family is invalid. +// +#define RPC_S_INVALID_NAF_IF 1763L + +// +// MessageId: RPC_S_CANNOT_SUPPORT +// +// MessageText: +// +// The requested operation is not supported. +// +#define RPC_S_CANNOT_SUPPORT 1764L + +// +// MessageId: RPC_S_NO_CONTEXT_AVAILABLE +// +// MessageText: +// +// No security context is available to allow impersonation. +// +#define RPC_S_NO_CONTEXT_AVAILABLE 1765L + +// +// MessageId: RPC_S_INTERNAL_ERROR +// +// MessageText: +// +// An internal error occured in rpc. +// +#define RPC_S_INTERNAL_ERROR 1766L + +// +// MessageId: RPC_S_ZERO_DIVIDE +// +// MessageText: +// +// The server attempted an integer divide by zero. +// +#define RPC_S_ZERO_DIVIDE 1767L + +// +// MessageId: RPC_S_ADDRESS_ERROR +// +// MessageText: +// +// An addressing error occured in the server. +// +#define RPC_S_ADDRESS_ERROR 1768L + +// +// MessageId: RPC_S_FP_DIV_ZERO +// +// MessageText: +// +// A floating point operation at the server caused a divide by zero. +// +#define RPC_S_FP_DIV_ZERO 1769L + +// +// MessageId: RPC_S_FP_UNDERFLOW +// +// MessageText: +// +// A floating point underflow occured at the server. +// +#define RPC_S_FP_UNDERFLOW 1770L + +// +// MessageId: RPC_S_FP_OVERFLOW +// +// MessageText: +// +// A floating point overflow occured at the server. +// +#define RPC_S_FP_OVERFLOW 1771L + +// +// MessageId: RPC_X_NO_MORE_ENTRIES +// +// MessageText: +// +// The list of servers available for auto_handle binding has been exhausted. +// +#define RPC_X_NO_MORE_ENTRIES 1772L + +// +// MessageId: RPC_X_SS_CHAR_TRANS_OPEN_FAIL +// +// MessageText: +// +// The file designated by DCERPCCHARTRANS cannot be opened. +// +#define RPC_X_SS_CHAR_TRANS_OPEN_FAIL 1773L + +// +// MessageId: RPC_X_SS_CHAR_TRANS_SHORT_FILE +// +// MessageText: +// +// The file containing the character translation table has fewer than +// 512 bytes. +// +#define RPC_X_SS_CHAR_TRANS_SHORT_FILE 1774L + +// +// MessageId: RPC_X_SS_IN_NULL_CONTEXT +// +// MessageText: +// +// A null context handle is passed as an [in] parameter. +// +#define RPC_X_SS_IN_NULL_CONTEXT 1775L + +// +// MessageId: RPC_X_SS_CONTEXT_MISMATCH +// +// MessageText: +// +// The context handle does not match any known context handles. +// +#define RPC_X_SS_CONTEXT_MISMATCH 1776L + +// +// MessageId: RPC_X_SS_CONTEXT_DAMAGED +// +// MessageText: +// +// The context handle changed during a call. +// +#define RPC_X_SS_CONTEXT_DAMAGED 1777L + +// +// MessageId: RPC_X_SS_HANDLES_MISMATCH +// +// MessageText: +// +// The binding handles passed to a remote procedure call do not match. +// +#define RPC_X_SS_HANDLES_MISMATCH 1778L + +// +// MessageId: RPC_X_SS_CANNOT_GET_CALL_HANDLE +// +// MessageText: +// +// The stub is unable to get the call handle. +// +#define RPC_X_SS_CANNOT_GET_CALL_HANDLE 1779L + +// +// MessageId: RPC_X_NULL_REF_POINTER +// +// MessageText: +// +// A null reference pointer was passed to the stub. +// +#define RPC_X_NULL_REF_POINTER 1780L + +// +// MessageId: RPC_X_ENUM_VALUE_OUT_OF_RANGE +// +// MessageText: +// +// The enumeration value is out of range. +// +#define RPC_X_ENUM_VALUE_OUT_OF_RANGE 1781L + +// +// MessageId: RPC_X_BYTE_COUNT_TOO_SMALL +// +// MessageText: +// +// The byte count is too small +// +#define RPC_X_BYTE_COUNT_TOO_SMALL 1782L + +// +// MessageId: RPC_X_BAD_STUB_DATA +// +// MessageText: +// +// The stub received bad data. +// +#define RPC_X_BAD_STUB_DATA 1783L + +// +// MessageId: ERROR_INVALID_USER_BUFFER +// +// MessageText: +// +// The supplied user buffer is not valid for the requested operation. +// +#define ERROR_INVALID_USER_BUFFER 1784L + +// +// MessageId: ERROR_UNRECOGNIZED_MEDIA +// +// MessageText: +// +// The disk media is not recognized. It may not be formatted. +// +#define ERROR_UNRECOGNIZED_MEDIA 1785L + +// +// MessageId: ERROR_NO_TRUST_LSA_SECRET +// +// MessageText: +// +// The workstation does not have a trust secret. +// +#define ERROR_NO_TRUST_LSA_SECRET 1786L + +// +// MessageId: ERROR_NO_TRUST_SAM_ACCOUNT +// +// MessageText: +// +// The domain controller does not have an account for this workstation. +// +#define ERROR_NO_TRUST_SAM_ACCOUNT 1787L + +// +// MessageId: ERROR_TRUSTED_DOMAIN_FAILURE +// +// MessageText: +// +// The trust relationship between the primary domain and the trusted +// domain failed. +// +#define ERROR_TRUSTED_DOMAIN_FAILURE 1788L + +// +// MessageId: ERROR_TRUSTED_RELATIONSHIP_FAILURE +// +// MessageText: +// +// The trust relationship between this workstation and the primary +// domain failed. +// +#define ERROR_TRUSTED_RELATIONSHIP_FAILURE 1789L + +// +// MessageId: ERROR_TRUST_FAILURE +// +// MessageText: +// +// The network logon failed. This may be due the validation authority can't +// be reached +// +#define ERROR_TRUST_FAILURE 1790L + +// +// MessageId: RPC_S_CALL_IN_PROGRESS +// +// MessageText: +// +// A remote procedure call is already in progress for this thread. +// +#define RPC_S_CALL_IN_PROGRESS 1791L + +// +// MessageId: ERROR_NETLOGON_NOT_STARTED +// +// MessageText: +// +// An attempt was made to logon, but the netlogon service was not started. +// +#define ERROR_NETLOGON_NOT_STARTED 1792L + +// +// MessageId: ERROR_ACCOUNT_EXPIRED +// +// MessageText: +// +// The user's account has expired. +// +#define ERROR_ACCOUNT_EXPIRED 1793L + +// +// MessageId: ERROR_REDIRECTOR_HAS_OPEN_HANDLES +// +// MessageText: +// +// The redirector is in use and cannot be unloaded. +// +#define ERROR_REDIRECTOR_HAS_OPEN_HANDLES 1794L + +// +// MessageId: ERROR_PRINTER_DRIVER_ALREADY_INSTALLED +// +// MessageText: +// +// The specified Printer Driver is already installed. +// +#define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED 1795L + +// +// MessageId: ERROR_UNKNOWN_PORT +// +// MessageText: +// +// The specified Port is unknown. +// +#define ERROR_UNKNOWN_PORT 1796L + +// +// MessageId: ERROR_UNKNOWN_PRINTER_DRIVER +// +// MessageText: +// +// The Printer Driver is unknown. +// +#define ERROR_UNKNOWN_PRINTER_DRIVER 1797L + +// +// MessageId: ERROR_UNKNOWN_PRINTPROCESSOR +// +// MessageText: +// +// The Print Processor is unknown. +// +#define ERROR_UNKNOWN_PRINTPROCESSOR 1798L + +// +// MessageId: ERROR_INVALID_SEPARATOR_FILE +// +// MessageText: +// +// The specified separator file is invalid. +// +#define ERROR_INVALID_SEPARATOR_FILE 1799L + +// +// MessageId: ERROR_INVALID_PRIORITY +// +// MessageText: +// +// The specified Priority is invalid. +// +#define ERROR_INVALID_PRIORITY 1800L + +// +// MessageId: ERROR_INVALID_PRINTER_NAME +// +// MessageText: +// +// The Printer Name is invalid. +// +#define ERROR_INVALID_PRINTER_NAME 1801L + +// +// MessageId: ERROR_PRINTER_ALREADY_EXISTS +// +// MessageText: +// +// The Printer already exists. +// +#define ERROR_PRINTER_ALREADY_EXISTS 1802L + +// +// MessageId: ERROR_INVALID_PRINTER_COMMAND +// +// MessageText: +// +// The Printer Command is invalid. +// +#define ERROR_INVALID_PRINTER_COMMAND 1803L + +// +// MessageId: ERROR_INVALID_DATATYPE +// +// MessageText: +// +// The specified datatype is invalid. +// +#define ERROR_INVALID_DATATYPE 1804L + +// +// MessageId: ERROR_INVALID_ENVIRONMENT +// +// MessageText: +// +// The Environment specified is invalid. +// +#define ERROR_INVALID_ENVIRONMENT 1805L + #endif // _WINERROR_