UNPKG

@vinothnb/smb2

Version:
1,395 lines (1,388 loc) 731 kB
module.exports = { getStatus: function(errorCode) { var hex = '0x' + ('00000000' + errorCode.toString(16)).toUpperCase().substr(-8); var err = ntStatus[hex] || win32ErrorCodes[hex] || { code: 'ERROR_UNRECOGNIZED', message: 'Unrecognized error', }; err.value = errorCode; err.valueHex = hex; var facility = (errorCode >> 16) & 0x7ff; err.facility = facilities[facility] || { code: 'FACILITY_UNRECOGNIZED', message: 'Unrecognized facility', }; err.facility.value = facility; var severity = (errorCode >> 30) & 0x03; err.severity = severities[severity] || { code: 'STATUS_UNRECOGNIZED', message: 'Unrecognized status', }; err.severity.value = severity; return err; }, getErrorMessage: function(err) { return err.code + ' (' + err.valueHex + ') : ' + err.message; }, }; var severities = { 0: { code: 'STATUS_SEVERITY_SUCCESS', message: 'Success', }, 1: { code: 'STATUS_SEVERITY_INFORMATIONAL', message: 'Informational', }, 2: { code: 'STATUS_SEVERITY_WARNING', message: 'Warning', }, 3: { code: 'STATUS_SEVERITY_ERROR', message: 'Error', }, }; var facilities = { 0: { code: 'FACILITY_NULL', message: 'The default facility code.', }, 1: { code: 'FACILITY_RPC', message: 'The source of the error code is an RPC subsystem.', }, 2: { code: 'FACILITY_DISPATCH', message: 'The source of the error code is a COM Dispatch.', }, 3: { code: 'FACILITY_STORAGE', message: 'The source of the error code is OLE Storage.', }, 4: { code: 'FACILITY_ITF', message: 'The source of the error code is COM/OLE Interface management.', }, 7: { code: 'FACILITY_WIN32', message: 'This region is reserved to map undecorated error codes into HRESULTs.', }, 8: { code: 'FACILITY_WINDOWS', message: 'The source of the error code is the Windows subsystem.', }, 9: { code: 'FACILITY_SECURITY', message: 'The source of the error code is the Security API layer.', }, // , 9:{ // "code":"FACILITY_SSPI" // , "message":"The source of the error code is the Security API layer." // } 10: { code: 'FACILITY_CONTROL', message: 'The source of the error code is the control mechanism.', }, 11: { code: 'FACILITY_CERT', message: 'The source of the error code is a certificate client or server?', }, 12: { code: 'FACILITY_INTERNET', message: 'The source of the error code is Wininet related.', }, 13: { code: 'FACILITY_MEDIASERVER', message: 'The source of the error code is the Windows Media Server.', }, 14: { code: 'FACILITY_MSMQ', message: 'The source of the error code is the Microsoft Message Queue.', }, 15: { code: 'FACILITY_SETUPAPI', message: 'The source of the error code is the Setup API.', }, 16: { code: 'FACILITY_SCARD', message: 'The source of the error code is the Smart-card subsystem.', }, 17: { code: 'FACILITY_COMPLUS', message: 'The source of the error code is COM+.', }, 18: { code: 'FACILITY_AAF', message: 'The source of the error code is the Microsoft agent.', }, 19: { code: 'FACILITY_URT', message: 'The source of the error code is .NET CLR.', }, 20: { code: 'FACILITY_ACS', message: 'The source of the error code is the audit collection service.', }, 21: { code: 'FACILITY_DPLAY', message: 'The source of the error code is Direct Play.', }, 22: { code: 'FACILITY_UMI', message: 'The source of the error code is the ubiquitous memoryintrospection service.', }, 23: { code: 'FACILITY_SXS', message: 'The source of the error code is Side-by-side servicing.', }, 24: { code: 'FACILITY_WINDOWS_CE', message: 'The error code is specific to Windows CE.', }, 25: { code: 'FACILITY_HTTP', message: 'The source of the error code is HTTP support.', }, 26: { code: 'FACILITY_USERMODE_COMMONLOG', message: 'The source of the error code is common Logging support.', }, 31: { code: 'FACILITY_USERMODE_FILTER_MANAGER', message: 'The source of the error code is the user mode filter manager.', }, 32: { code: 'FACILITY_BACKGROUNDCOPY', message: 'The source of the error code is background copy control', }, 33: { code: 'FACILITY_CONFIGURATION', message: 'The source of the error code is configuration services.', }, 34: { code: 'FACILITY_STATE_MANAGEMENT', message: 'The source of the error code is state management services.', }, 35: { code: 'FACILITY_METADIRECTORY', message: 'The source of the error code is the Microsoft Identity Server.', }, 36: { code: 'FACILITY_WINDOWSUPDATE', message: 'The source of the error code is a Windows update.', }, 37: { code: 'FACILITY_DIRECTORYSERVICE', message: 'The source of the error code is Active Directory.', }, 38: { code: 'FACILITY_GRAPHICS', message: 'The source of the error code is the graphics drivers.', }, 39: { code: 'FACILITY_SHELL', message: 'The source of the error code is the user Shell.', }, 40: { code: 'FACILITY_TPM_SERVICES', message: 'The source of the error code is the Trusted Platform Module services.', }, 41: { code: 'FACILITY_TPM_SOFTWARE', message: 'The source of the error code is the Trusted Platform Module applications.', }, 48: { code: 'FACILITY_PLA', message: 'The source of the error code is Performance Logs and Alerts', }, 49: { code: 'FACILITY_FVE', message: 'The source of the error code is Full volume encryption.', }, 50: { code: 'FACILITY_FWP', message: 'he source of the error code is the Firewall Platform.', }, 51: { code: 'FACILITY_WINRM', message: 'The source of the error code is the Windows Resource Manager.', }, 52: { code: 'FACILITY_NDIS', message: 'The source of the error code is the Network Driver Interface.', }, 53: { code: 'FACILITY_USERMODE_HYPERVISOR', message: 'The source of the error code is the Usermode Hypervisor components.', }, 54: { code: 'FACILITY_CMI', message: 'The source of the error code is the Configuration Management Infrastructure.', }, 55: { code: 'FACILITY_USERMODE_VIRTUALIZATION', message: 'The source of the error code is the user mode virtualization subsystem.', }, 56: { code: 'FACILITY_USERMODE_VOLMGR', message: 'The source of the error code is the user mode volume manager', }, 57: { code: 'FACILITY_BCD', message: 'The source of the error code is the Boot Configuration Database.', }, 58: { code: 'FACILITY_USERMODE_VHD', message: 'The source of the error code is user mode virtual hard disk support.', }, 60: { code: 'FACILITY_SDIAG', message: 'The source of the error code is System Diagnostics.', }, 61: { code: 'FACILITY_WEBSERVICES', message: 'The source of the error code is the Web Services.', }, 80: { code: 'FACILITY_WINDOWS_DEFENDER', message: 'The source of the error code is a Windows Defender component.', }, 81: { code: 'FACILITY_OPC', message: 'The source of the error code is the open connectivity service.', }, }; var ntStatus = { '0x00000000': { code: 'STATUS_SUCCESS', message: 'The operation completed successfully.', }, '0x00000001': { code: 'STATUS_WAIT_1', message: 'The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state.', }, '0x00000002': { code: 'STATUS_WAIT_2', message: 'The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state.', }, '0x00000003': { code: 'STATUS_WAIT_3', message: 'The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state.', }, '0x0000003F': { code: 'STATUS_WAIT_63', message: 'The caller specified WaitAny for WaitType and one of the dispatcher objects in the Object array has been set to the signaled state.', }, '0x00000080': { code: 'STATUS_ABANDONED', message: 'The caller attempted to wait for a mutex that has been abandoned.', }, // , "0x00000080":{ // "code":"STATUS_ABANDONED_WAIT_0" // , "message":"The caller attempted to wait for a mutex that has been abandoned." // } '0x000000BF': { code: 'STATUS_ABANDONED_WAIT_63', message: 'The caller attempted to wait for a mutex that has been abandoned.', }, '0x000000C0': { code: 'STATUS_USER_APC', message: 'A user-mode APC was delivered before the given Interval expired.', }, '0x00000101': { code: 'STATUS_ALERTED', message: 'The delay completed because the thread was alerted.', }, '0x00000102': { code: 'STATUS_TIMEOUT', message: 'The given Timeout interval expired.', }, '0x00000103': { code: 'STATUS_PENDING', message: 'The operation that was requested is pending completion.', }, '0x00000104': { code: 'STATUS_REPARSE', message: 'A reparse should be performed by the Object Manager because the name of the file resulted in a symbolic link.', }, '0x00000105': { code: 'STATUS_MORE_ENTRIES', message: 'Returned by enumeration APIs to indicate more information is available to successive calls.', }, '0x00000106': { code: 'STATUS_NOT_ALL_ASSIGNED', message: 'Indicates not all privileges or groups that are referenced are assigned to the caller. This allows, for example, all privileges to be disabled without having to know exactly which privileges are assigned.', }, '0x00000107': { code: 'STATUS_SOME_NOT_MAPPED', message: 'Some of the information to be translated has not been translated.', }, '0x00000108': { code: 'STATUS_OPLOCK_BREAK_IN_PROGRESS', message: 'An open/create operation completed while an opportunistic lock (oplock) break is underway.', }, '0x00000109': { code: 'STATUS_VOLUME_MOUNTED', message: 'A new volume has been mounted by a file system.', }, '0x0000010A': { code: 'STATUS_RXACT_COMMITTED', message: 'This success level status indicates that the transaction state already exists for the registry subtree but that a transaction commit was previously aborted. The commit has now been completed.', }, '0x0000010B': { code: 'STATUS_NOTIFY_CLEANUP', message: 'Indicates that a notify change request has been completed due to closing the handle that made the notify change request.', }, '0x0000010C': { code: 'STATUS_NOTIFY_ENUM_DIR', message: "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.", }, '0x0000010D': { code: 'STATUS_NO_QUOTAS_FOR_ACCOUNT', message: '{No Quotas} No system quota limits are specifically set for this account.', }, '0x0000010E': { code: 'STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED', message: '{Connect Failure on Primary Transport} An attempt was made to connect to the remote server %hs on the primary transport, but the connection failed. The computer WAS able to connect on a secondary transport.', }, '0x00000110': { code: 'STATUS_PAGE_FAULT_TRANSITION', message: 'The page fault was a transition fault.', }, '0x00000111': { code: 'STATUS_PAGE_FAULT_DEMAND_ZERO', message: 'The page fault was a demand zero fault.', }, '0x00000112': { code: 'STATUS_PAGE_FAULT_COPY_ON_WRITE', message: 'The page fault was a demand zero fault.', }, '0x00000113': { code: 'STATUS_PAGE_FAULT_GUARD_PAGE', message: 'The page fault was a demand zero fault.', }, '0x00000114': { code: 'STATUS_PAGE_FAULT_PAGING_FILE', message: 'The page fault was satisfied by reading from a secondary storage device.', }, '0x00000115': { code: 'STATUS_CACHE_PAGE_LOCKED', message: 'The cached page was locked during operation.', }, '0x00000116': { code: 'STATUS_CRASH_DUMP', message: 'The crash dump exists in a paging file.', }, '0x00000117': { code: 'STATUS_BUFFER_ALL_ZEROS', message: 'The specified buffer contains all zeros.', }, '0x00000118': { code: 'STATUS_REPARSE_OBJECT', message: 'A reparse should be performed by the Object Manager because the name of the file resulted in a symbolic link.', }, '0x00000119': { code: 'STATUS_RESOURCE_REQUIREMENTS_CHANGED', message: 'The device has succeeded a query-stop and its resource requirements have changed.', }, '0x00000120': { code: 'STATUS_TRANSLATION_COMPLETE', message: 'The translator has translated these resources into the global space and no additional translations should be performed.', }, '0x00000121': { code: 'STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY', message: 'The directory service evaluated group memberships locally, because it was unable to contact a global catalog server.', }, '0x00000122': { code: 'STATUS_NOTHING_TO_TERMINATE', message: 'A process being terminated has no threads to terminate.', }, '0x00000123': { code: 'STATUS_PROCESS_NOT_IN_JOB', message: 'The specified process is not part of a job.', }, '0x00000124': { code: 'STATUS_PROCESS_IN_JOB', message: 'The specified process is part of a job.', }, '0x00000125': { code: 'STATUS_VOLSNAP_HIBERNATE_READY', message: '{Volume Shadow Copy Service} The system is now ready for hibernation.', }, '0x00000126': { code: 'STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY', message: 'A file system or file system filter driver has successfully completed an FsFilter operation.', }, '0x00000127': { code: 'STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED', message: 'The specified interrupt vector was already connected.', }, '0x00000128': { code: 'STATUS_INTERRUPT_STILL_CONNECTED', message: 'The specified interrupt vector is still connected.', }, '0x00000129': { code: 'STATUS_PROCESS_CLONED', message: 'The current process is a cloned process.', }, '0x0000012A': { code: 'STATUS_FILE_LOCKED_WITH_ONLY_READERS', message: 'The file was locked and all users of the file can only read.', }, '0x0000012B': { code: 'STATUS_FILE_LOCKED_WITH_WRITERS', message: 'The file was locked and at least one user of the file can write.', }, '0x00000202': { code: 'STATUS_RESOURCEMANAGER_READ_ONLY', message: 'The specified ResourceManager made no changes or updates to the resource under this transaction.', }, '0x00000367': { code: 'STATUS_WAIT_FOR_OPLOCK', message: 'An operation is blocked and waiting for an oplock.', }, '0x00010001': { code: 'DBG_EXCEPTION_HANDLED', message: 'Debugger handled the exception.', }, '0x00010002': { code: 'DBG_CONTINUE', message: 'The debugger continued.', }, '0x001C0001': { code: 'STATUS_FLT_IO_COMPLETE', message: 'The IO was completed by a filter.', }, '0xC0000467': { code: 'STATUS_FILE_NOT_AVAILABLE', message: 'The file is temporarily unavailable.', }, '0xC0000721': { code: 'STATUS_CALLBACK_RETURNED_THREAD_AFFINITY', message: 'A threadpool worker thread entered a callback at thread affinity %p and exited at affinity %p.\nThis is unexpected, indicating that the callback missed restoring the priority.', }, '0x40000000': { code: 'STATUS_OBJECT_NAME_EXISTS', message: '{Object Exists} An attempt was made to create an object but the object name already exists.', }, '0x40000001': { code: 'STATUS_THREAD_WAS_SUSPENDED', message: '{Thread Suspended} A thread termination occurred while the thread was suspended. The thread resumed, and termination proceeded.', }, '0x40000002': { code: 'STATUS_WORKING_SET_LIMIT_RANGE', message: '{Working Set Range Error} An attempt was made to set the working set minimum or maximum to values that are outside the allowable range.', }, '0x40000003': { code: 'STATUS_IMAGE_NOT_AT_BASE', message: '{Image Relocated} An image file could not be mapped at the address that is specified in the image file. Local fixes must be performed on this image.', }, '0x40000004': { code: 'STATUS_RXACT_STATE_CREATED', message: 'This informational level status indicates that a specified registry subtree transaction state did not yet exist and had to be created.', }, '0x40000005': { code: 'STATUS_SEGMENT_NOTIFICATION', message: '{Segment Load} A virtual DOS machine (VDM) is loading, unloading, or moving an MS-DOS or Win16 program segment image. An exception is raised so that a debugger can load, unload, or track symbols and breakpoints within these 16-bit segments.', }, '0x40000006': { code: 'STATUS_LOCAL_USER_SESSION_KEY', message: '{Local Session Key} A user session key was requested for a local remote procedure call (RPC) connection. The session key that is returned is a constant value and not unique to this connection.', }, '0x40000007': { code: 'STATUS_BAD_CURRENT_DIRECTORY', message: '{Invalid Current Directory} The process cannot switch to the startup current directory %hs. Select OK to set the current directory to %hs, or select CANCEL to exit.', }, '0x40000008': { code: 'STATUS_SERIAL_MORE_WRITES', message: '{Serial IOCTL Complete} A serial I/O operation was completed by another write to a serial port. (The IOCTL_SERIAL_XOFF_COUNTER reached zero.)', }, '0x40000009': { code: 'STATUS_REGISTRY_RECOVERED', message: '{Registry Recovery} One of the files that contains the system registry data had to be recovered by using a log or alternate copy. The recovery was successful.', }, '0x4000000A': { code: 'STATUS_FT_READ_RECOVERY_FROM_BACKUP', message: '{Redundant Read} To satisfy a read request, the Windows NT fault-tolerant file system successfully read the requested data from a redundant copy. This was done because the file system encountered a failure on a member of the fault-tolerant volume but was unable to reassign the failing area of the device.', }, '0x4000000B': { code: 'STATUS_FT_WRITE_RECOVERY', message: '{Redundant Write} To satisfy a write request, the Windows NT fault-tolerant file system successfully wrote a redundant copy of the information. This was done because the file system encountered a failure on a member of the fault-tolerant volume but was unable to reassign the failing area of the device.', }, '0x4000000C': { code: 'STATUS_SERIAL_COUNTER_TIMEOUT', message: '{Serial IOCTL Timeout} A serial I/O operation completed because the time-out period expired. (The IOCTL_SERIAL_XOFF_COUNTER had not reached zero.)', }, '0x4000000D': { code: 'STATUS_NULL_LM_PASSWORD', message: '{Password Too Complex} The Windows password is too complex to be converted to a LAN Manager password. The LAN Manager password that returned is a NULL string.', }, '0x4000000E': { code: 'STATUS_IMAGE_MACHINE_TYPE_MISMATCH', message: '{Machine Type Mismatch} The image file %hs is valid but is for a machine type other than the current machine. Select OK to continue, or CANCEL to fail the DLL load.', }, '0x4000000F': { code: 'STATUS_RECEIVE_PARTIAL', message: '{Partial Data Received} The network transport returned partial data to its client. The remaining data will be sent later.', }, '0x40000010': { code: 'STATUS_RECEIVE_EXPEDITED', message: '{Expedited Data Received} The network transport returned data to its client that was marked as expedited by the remote system.', }, '0x40000011': { code: 'STATUS_RECEIVE_PARTIAL_EXPEDITED', message: '{Partial Expedited Data Received} The network transport returned partial data to its client and this data was marked as expedited by the remote system. The remaining data will be sent later.', }, '0x40000012': { code: 'STATUS_EVENT_DONE', message: '{TDI Event Done} The TDI indication has completed successfully.', }, '0x40000013': { code: 'STATUS_EVENT_PENDING', message: '{TDI Event Pending} The TDI indication has entered the pending state.', }, '0x40000014': { code: 'STATUS_CHECKING_FILE_SYSTEM', message: 'Checking file system on %wZ.', }, '0x40000015': { code: 'STATUS_FATAL_APP_EXIT', message: '{Fatal Application Exit} %hs', }, '0x40000016': { code: 'STATUS_PREDEFINED_HANDLE', message: 'The specified registry key is referenced by a predefined handle.', }, '0x40000017': { code: 'STATUS_WAS_UNLOCKED', message: "{Page Unlocked} The page protection of a locked page was changed to 'No Access' and the page was unlocked from memory and from the process.", }, '0x40000018': { code: 'STATUS_SERVICE_NOTIFICATION', message: '%hs', }, '0x40000019': { code: 'STATUS_WAS_LOCKED', message: '{Page Locked} One of the pages to lock was already locked.', }, '0x4000001A': { code: 'STATUS_LOG_HARD_ERROR', message: 'Application popup: %1 : %2', }, '0x4000001B': { code: 'STATUS_ALREADY_WIN32', message: 'A Win32 process already exists.', }, '0x4000001C': { code: 'STATUS_WX86_UNSIMULATE', message: 'An exception status code that is used by the Win32 x86 emulation subsystem.', }, '0x4000001D': { code: 'STATUS_WX86_CONTINUE', message: 'An exception status code that is used by the Win32 x86 emulation subsystem.', }, '0x4000001E': { code: 'STATUS_WX86_SINGLE_STEP', message: 'An exception status code that is used by the Win32 x86 emulation subsystem.', }, '0x4000001F': { code: 'STATUS_WX86_BREAKPOINT', message: 'An exception status code that is used by the Win32 x86 emulation subsystem.', }, '0x40000020': { code: 'STATUS_WX86_EXCEPTION_CONTINUE', message: 'An exception status code that is used by the Win32 x86 emulation subsystem.', }, '0x40000021': { code: 'STATUS_WX86_EXCEPTION_LASTCHANCE', message: 'An exception status code that is used by the Win32 x86 emulation subsystem.', }, '0x40000022': { code: 'STATUS_WX86_EXCEPTION_CHAIN', message: 'An exception status code that is used by the Win32 x86 emulation subsystem.', }, '0x40000023': { code: 'STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE', message: '{Machine Type Mismatch} The image file %hs is valid but is for a machine type other than the current machine.', }, '0x40000024': { code: 'STATUS_NO_YIELD_PERFORMED', message: 'A yield execution was performed and no thread was available to run.', }, '0x40000025': { code: 'STATUS_TIMER_RESUME_IGNORED', message: 'The resume flag to a timer API was ignored.', }, '0x40000026': { code: 'STATUS_ARBITRATION_UNHANDLED', message: 'The arbiter has deferred arbitration of these resources to its parent.', }, '0x40000027': { code: 'STATUS_CARDBUS_NOT_SUPPORTED', message: 'The device has detected a CardBus card in its slot.', }, '0x40000028': { code: 'STATUS_WX86_CREATEWX86TIB', message: 'An exception status code that is used by the Win32 x86 emulation subsystem.', }, '0x40000029': { code: 'STATUS_MP_PROCESSOR_MISMATCH', message: 'The CPUs in this multiprocessor system are not all the same revision level. To use all processors, the operating system restricts itself to the features of the least capable processor in the system. If problems occur with this system, contact the CPU manufacturer to see if this mix of processors is supported.', }, '0x4000002A': { code: 'STATUS_HIBERNATED', message: 'The system was put into hibernation.', }, '0x4000002B': { code: 'STATUS_RESUME_HIBERNATION', message: 'The system was resumed from hibernation.', }, '0x4000002C': { code: 'STATUS_FIRMWARE_UPDATED', message: 'Windows has detected that the system firmware (BIOS) was updated [previous firmware date = %2, current firmware date %3].', }, '0x4000002D': { code: 'STATUS_DRIVERS_LEAKING_LOCKED_PAGES', message: 'A device driver is leaking locked I/O pages and is causing system degradation. The system has automatically enabled the tracking code to try and catch the culprit.', }, '0x4000002E': { code: 'STATUS_MESSAGE_RETRIEVED', message: 'The ALPC message being canceled has already been retrieved from the queue on the other side.', }, '0x4000002F': { code: 'STATUS_SYSTEM_POWERSTATE_TRANSITION', message: 'The system power state is transitioning from %2 to %3.', }, '0x40000030': { code: 'STATUS_ALPC_CHECK_COMPLETION_LIST', message: 'The receive operation was successful. Check the ALPC completion list for the received message.', }, '0x40000031': { code: 'STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION', message: 'The system power state is transitioning from %2 to %3 but could enter %4.', }, '0x40000032': { code: 'STATUS_ACCESS_AUDIT_BY_POLICY', message: 'Access to %1 is monitored by policy rule %2.', }, '0x40000033': { code: 'STATUS_ABANDON_HIBERFILE', message: 'A valid hibernation file has been invalidated and should be abandoned.', }, '0x40000034': { code: 'STATUS_BIZRULES_NOT_ENABLED', message: 'Business rule scripts are disabled for the calling application.', }, '0x40000294': { code: 'STATUS_WAKE_SYSTEM', message: 'The system has awoken.', }, '0x40000370': { code: 'STATUS_DS_SHUTTING_DOWN', message: 'The directory service is shutting down.', }, '0x40010001': { code: 'DBG_REPLY_LATER', message: 'Debugger will reply later.', }, '0x40010002': { code: 'DBG_UNABLE_TO_PROVIDE_HANDLE', message: 'Debugger cannot provide a handle.', }, '0x40010003': { code: 'DBG_TERMINATE_THREAD', message: 'Debugger terminated the thread.', }, '0x40010004': { code: 'DBG_TERMINATE_PROCESS', message: 'Debugger terminated the process.', }, '0x40010005': { code: 'DBG_CONTROL_C', message: 'Debugger obtained control of C.', }, '0x40010006': { code: 'DBG_PRINTEXCEPTION_C', message: 'Debugger printed an exception on control C.', }, '0x40010007': { code: 'DBG_RIPEXCEPTION', message: 'Debugger received a RIP exception.', }, '0x40010008': { code: 'DBG_CONTROL_BREAK', message: 'Debugger received a control break.', }, '0x40010009': { code: 'DBG_COMMAND_EXCEPTION', message: 'Debugger command communication exception.', }, '0x40020056': { code: 'RPC_NT_UUID_LOCAL_ONLY', message: 'A UUID that is valid only on this computer has been allocated.', }, '0x400200AF': { code: 'RPC_NT_SEND_INCOMPLETE', message: 'Some data remains to be sent in the request buffer.', }, '0x400A0004': { code: 'STATUS_CTX_CDM_CONNECT', message: 'The Client Drive Mapping Service has connected on Terminal Connection.', }, '0x400A0005': { code: 'STATUS_CTX_CDM_DISCONNECT', message: 'The Client Drive Mapping Service has disconnected on Terminal Connection.', }, '0x4015000D': { code: 'STATUS_SXS_RELEASE_ACTIVATION_CONTEXT', message: 'A kernel mode component is releasing a reference on an activation context.', }, '0x40190034': { code: 'STATUS_RECOVERY_NOT_NEEDED', message: 'The transactional resource manager is already consistent. Recovery is not needed.', }, '0x40190035': { code: 'STATUS_RM_ALREADY_STARTED', message: 'The transactional resource manager has already been started.', }, '0x401A000C': { code: 'STATUS_LOG_NO_RESTART', message: 'The log service encountered a log stream with no restart area.', }, '0x401B00EC': { code: 'STATUS_VIDEO_DRIVER_DEBUG_REPORT_REQUEST', message: '{Display Driver Recovered From Failure} The %hs display driver has detected a failure and recovered from it. Some graphical operations may have failed. The next time you restart the machine, a dialog box appears, giving you an opportunity to upload data about this failure to Microsoft.', }, '0x401E000A': { code: 'STATUS_GRAPHICS_PARTIAL_DATA_POPULATED', message: "The specified buffer is not big enough to contain the entire requested dataset. Partial data is populated up to the size of the buffer.\nThe caller needs to provide a buffer of the size as specified in the partially populated buffer's content (interface specific).", }, '0x401E0117': { code: 'STATUS_GRAPHICS_DRIVER_MISMATCH', message: 'The kernel driver detected a version mismatch between it and the user mode driver.', }, '0x401E0307': { code: 'STATUS_GRAPHICS_MODE_NOT_PINNED', message: 'No mode is pinned on the specified VidPN source/target.', }, '0x401E031E': { code: 'STATUS_GRAPHICS_NO_PREFERRED_MODE', message: 'The specified mode set does not specify a preference for one of its modes.', }, '0x401E034B': { code: 'STATUS_GRAPHICS_DATASET_IS_EMPTY', message: 'The specified dataset (for example, mode set, frequency range set, descriptor set, or topology) is empty.', }, '0x401E034C': { code: 'STATUS_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET', message: 'The specified dataset (for example, mode set, frequency range set, descriptor set, or topology) does not contain any more elements.', }, '0x401E0351': { code: 'STATUS_GRAPHICS_PATH_CONTENT_GEOMETRY_TRANSFORMATION_NOT_PINNED', message: 'The specified content transformation is not pinned on the specified VidPN present path.', }, '0x401E042F': { code: 'STATUS_GRAPHICS_UNKNOWN_CHILD_STATUS', message: 'The child device presence was not reliably detected.', }, '0x401E0437': { code: 'STATUS_GRAPHICS_LEADLINK_START_DEFERRED', message: 'Starting the lead adapter in a linked configuration has been temporarily deferred.', }, '0x401E0439': { code: 'STATUS_GRAPHICS_POLLING_TOO_FREQUENTLY', message: 'The display adapter is being polled for children too frequently at the same polling level.', }, '0x401E043A': { code: 'STATUS_GRAPHICS_START_DEFERRED', message: 'Starting the adapter has been temporarily deferred.', }, '0x40230001': { code: 'STATUS_NDIS_INDICATION_REQUIRED', message: 'The request will be completed later by an NDIS status indication.', }, '0x80000001': { code: 'STATUS_GUARD_PAGE_VIOLATION', message: '{EXCEPTION} Guard Page Exception A page of memory that marks the end of a data structure, such as a stack or an array, has been accessed.', }, '0x80000002': { code: 'STATUS_DATATYPE_MISALIGNMENT', message: '{EXCEPTION} Alignment Fault A data type misalignment was detected in a load or store instruction.', }, '0x80000003': { code: 'STATUS_BREAKPOINT', message: '{EXCEPTION} Breakpoint A breakpoint has been reached.', }, '0x80000004': { code: 'STATUS_SINGLE_STEP', message: '{EXCEPTION} Single Step A single step or trace operation has just been completed.', }, '0x80000005': { code: 'STATUS_BUFFER_OVERFLOW', message: '{Buffer Overflow} The data was too large to fit into the specified buffer.', }, '0x80000006': { code: 'STATUS_NO_MORE_FILES', message: '{No More Files} No more files were found which match the file specification.', }, '0x80000007': { code: 'STATUS_WAKE_SYSTEM_DEBUGGER', message: '{Kernel Debugger Awakened} The system debugger was awakened by an interrupt.', }, '0x8000000A': { code: 'STATUS_HANDLES_CLOSED', message: '{Handles Closed} Handles to objects have been automatically closed because of the requested operation.', }, '0x8000000B': { code: 'STATUS_NO_INHERITANCE', message: '{Non-Inheritable ACL} An access control list (ACL) contains no components that can be inherited.', }, '0x8000000C': { code: 'STATUS_GUID_SUBSTITUTION_MADE', message: '{GUID Substitution} During the translation of a globally unique identifier (GUID) to a Windows security ID (SID), no administratively defined GUID prefix was found. A substitute prefix was used, which will not compromise system security. However, this may provide a more restrictive access than intended.', }, '0x8000000D': { code: 'STATUS_PARTIAL_COPY', message: 'Because of protection conflicts, not all the requested bytes could be copied.', }, '0x8000000E': { code: 'STATUS_DEVICE_PAPER_EMPTY', message: '{Out of Paper} The printer is out of paper.', }, '0x8000000F': { code: 'STATUS_DEVICE_POWERED_OFF', message: '{Device Power Is Off} The printer power has been turned off.', }, '0x80000010': { code: 'STATUS_DEVICE_OFF_LINE', message: '{Device Offline} The printer has been taken offline.', }, '0x80000011': { code: 'STATUS_DEVICE_BUSY', message: '{Device Busy} The device is currently busy.', }, '0x80000012': { code: 'STATUS_NO_MORE_EAS', message: '{No More EAs} No more extended attributes (EAs) were found for the file.', }, '0x80000013': { code: 'STATUS_INVALID_EA_NAME', message: '{Illegal EA} The specified extended attribute (EA) name contains at least one illegal character.', }, '0x80000014': { code: 'STATUS_EA_LIST_INCONSISTENT', message: '{Inconsistent EA List} The extended attribute (EA) list is inconsistent.', }, '0x80000015': { code: 'STATUS_INVALID_EA_FLAG', message: '{Invalid EA Flag} An invalid extended attribute (EA) flag was set.', }, '0x80000016': { code: 'STATUS_VERIFY_REQUIRED', message: '{Verifying Disk} The media has changed and a verify operation is in progress; therefore, no reads or writes may be performed to the device, except those that are used in the verify operation.', }, '0x80000017': { code: 'STATUS_EXTRANEOUS_INFORMATION', message: '{Too Much Information} The specified access control list (ACL) contained more information than was expected.', }, '0x80000018': { code: 'STATUS_RXACT_COMMIT_NECESSARY', message: 'This warning level status indicates that the transaction state already exists for the registry subtree, but that a transaction commit was previously aborted. The commit has NOT been completed but has not been rolled back either; therefore, it may still be committed, if needed.', }, '0x8000001A': { code: 'STATUS_NO_MORE_ENTRIES', message: '{No More Entries} No more entries are available from an enumeration operation.', }, '0x8000001B': { code: 'STATUS_FILEMARK_DETECTED', message: '{Filemark Found} A filemark was detected.', }, '0x8000001C': { code: 'STATUS_MEDIA_CHANGED', message: '{Media Changed} The media may have changed.', }, '0x8000001D': { code: 'STATUS_BUS_RESET', message: '{I/O Bus Reset} An I/O bus reset was detected.', }, '0x8000001E': { code: 'STATUS_END_OF_MEDIA', message: '{End of Media} The end of the media was encountered.', }, '0x8000001F': { code: 'STATUS_BEGINNING_OF_MEDIA', message: 'The beginning of a tape or partition has been detected.', }, '0x80000020': { code: 'STATUS_MEDIA_CHECK', message: '{Media Changed} The media may have changed.', }, '0x80000021': { code: 'STATUS_SETMARK_DETECTED', message: 'A tape access reached a set mark.', }, '0x80000022': { code: 'STATUS_NO_DATA_DETECTED', message: 'During a tape access, the end of the data written is reached.', }, '0x80000023': { code: 'STATUS_REDIRECTOR_HAS_OPEN_HANDLES', message: 'The redirector is in use and cannot be unloaded.', }, '0x80000024': { code: 'STATUS_SERVER_HAS_OPEN_HANDLES', message: 'The server is in use and cannot be unloaded.', }, '0x80000025': { code: 'STATUS_ALREADY_DISCONNECTED', message: 'The specified connection has already been disconnected.', }, '0x80000026': { code: 'STATUS_LONGJUMP', message: 'A long jump has been executed.', }, '0x80000027': { code: 'STATUS_CLEANER_CARTRIDGE_INSTALLED', message: 'A cleaner cartridge is present in the tape library.', }, '0x80000028': { code: 'STATUS_PLUGPLAY_QUERY_VETOED', message: 'The Plug and Play query operation was not successful.', }, '0x80000029': { code: 'STATUS_UNWIND_CONSOLIDATE', message: 'A frame consolidation has been executed.', }, '0x8000002A': { code: 'STATUS_REGISTRY_HIVE_RECOVERED', message: '{Registry Hive Recovered} The registry hive (file): %hs was corrupted and it has been recovered. Some data might have been lost.', }, '0x8000002B': { code: 'STATUS_DLL_MIGHT_BE_INSECURE', message: 'The application is attempting to run executable code from the module %hs. This may be insecure. An alternative, %hs, is available. Should the application use the secure module %hs?', }, '0x8000002C': { code: 'STATUS_DLL_MIGHT_BE_INCOMPATIBLE', message: 'The application is loading executable code from the module %hs. This is secure but may be incompatible with previous releases of the operating system. An alternative, %hs, is available. Should the application use the secure module %hs?', }, '0x8000002D': { code: 'STATUS_STOPPED_ON_SYMLINK', message: 'The create operation stopped after reaching a symbolic link.', }, '0x80000288': { code: 'STATUS_DEVICE_REQUIRES_CLEANING', message: 'The device has indicated that cleaning is necessary.', }, '0x80000289': { code: 'STATUS_DEVICE_DOOR_OPEN', message: 'The device has indicated that its door is open. Further operations require it closed and secured.', }, '0x80000803': { code: 'STATUS_DATA_LOST_REPAIR', message: 'Windows discovered a corruption in the file %hs. This file has now been repaired. Check if any data in the file was lost because of the corruption.', }, '0x80010001': { code: 'DBG_EXCEPTION_NOT_HANDLED', message: 'Debugger did not handle the exception.', }, '0x80130001': { code: 'STATUS_CLUSTER_NODE_ALREADY_UP', message: 'The cluster node is already up.', }, '0x80130002': { code: 'STATUS_CLUSTER_NODE_ALREADY_DOWN', message: 'The cluster node is already down.', }, '0x80130003': { code: 'STATUS_CLUSTER_NETWORK_ALREADY_ONLINE', message: 'The cluster network is already online.', }, '0x80130004': { code: 'STATUS_CLUSTER_NETWORK_ALREADY_OFFLINE', message: 'The cluster network is already offline.', }, '0x80130005': { code: 'STATUS_CLUSTER_NODE_ALREADY_MEMBER', message: 'The cluster node is already a member of the cluster.', }, '0x80190009': { code: 'STATUS_COULD_NOT_RESIZE_LOG', message: 'The log could not be set to the requested size.', }, '0x80190029': { code: 'STATUS_NO_TXF_METADATA', message: 'There is no transaction metadata on the file.', }, '0x80190031': { code: 'STATUS_CANT_RECOVER_WITH_HANDLE_OPEN', message: 'The file cannot be recovered because there is a handle still open on it.', }, '0x80190041': { code: 'STATUS_TXF_METADATA_ALREADY_PRESENT', message: 'Transaction metadata is already present on this file and cannot be superseded.', }, '0x80190042': { code: 'STATUS_TRANSACTION_SCOPE_CALLBACKS_NOT_SET', message: 'A transaction scope could not be entered because the scope handler has not been initialized.', }, '0x801B00EB': { code: 'STATUS_VIDEO_HUNG_DISPLAY_DRIVER_THREAD_RECOVERED', message: '{Display Driver Stopped Responding and recovered} The %hs display driver has stopped working normally. The recovery had been performed.', }, '0x801C0001': { code: 'STATUS_FLT_BUFFER_TOO_SMALL', message: '{Buffer too small} The buffer is too small to contain the entry. No information has been written to the buffer.', }, '0x80210001': { code: 'STATUS_FVE_PARTIAL_METADATA', message: 'Volume metadata read or write is incomplete.', }, '0x80210002': { code: 'STATUS_FVE_TRANSIENT_STATE', message: 'BitLocker encryption keys were ignored because the volume was in a transient state.', }, '0xC0000001': { code: 'STATUS_UNSUCCESSFUL', message: '{Operation Failed} The requested operation was unsuccessful.', }, '0xC0000002': { code: 'STATUS_NOT_IMPLEMENTED', message: '{Not Implemented} The requested operation is not implemented.', }, '0xC0000003': { code: 'STATUS_INVALID_INFO_CLASS', message: '{Invalid Parameter} The specified information class is not a valid information class for the specified object.', }, '0xC0000004': { code: 'STATUS_INFO_LENGTH_MISMATCH', message: 'The specified information record length does not match the length that is required for the specified information class.', }, '0xC0000005': { code: 'STATUS_ACCESS_VIOLATION', message: 'The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.', }, '0xC0000006': { code: 'STATUS_IN_PAGE_ERROR', message: 'The instruction at 0x%08lx referenced memory at 0x%08lx. The required data was not placed into memory because of an I/O error status of 0x%08lx.', }, '0xC0000007': { code: 'STATUS_PAGEFILE_QUOTA', message: 'The page file quota for the process has been exhausted.', }, '0xC0000008': { code: 'STATUS_INVALID_HANDLE', message: 'An invalid HANDLE was specified.', }, '0xC0000009': { code: 'STATUS_BAD_INITIAL_STACK', message: 'An invalid initial stack was specified in a call to NtCreateThread.', }, '0xC000000A': { code: 'STATUS_BAD_INITIAL_PC', message: 'An invalid initial start address was specified in a call to NtCreateThread.', }, '0xC000000B': { code: 'STATUS_INVALID_CID', message: 'An invalid client ID was specified.', }, '0xC000000C': { code: 'STATUS_TIMER_NOT_CANCELED', message: 'An attempt was made to cancel or set a timer that has an associated APC and the specified thread is not the thread that originally set the timer with an associated APC routine.', }, '0xC000000D': { code: 'STATUS_INVALID_PARAMETER', message: 'An invalid parameter was passed to a service or function.', }, '0xC000000E': { code: 'STATUS_NO_SUCH_DEVICE', message: 'A device that does not exist was specified.', }, '0xC000000F': { code: 'STATUS_NO_SUCH_FILE', message: '{File Not Found} The file %hs does not exist.', }, '0xC0000010': { code: 'STATUS_INVALID_DEVICE_REQUEST', message: 'The specified request is not a valid operation for the target device.', }, '0xC0000011': { code: 'STATUS_END_OF_FILE', message: 'The end-of-file marker has been reached. There is no valid data in the file beyond this marker.', }, '0xC0000012': { code: 'STATUS_WRONG_VOLUME', message: '{Wrong Volume} The wrong volume is in the drive. Insert volume %hs into drive %hs.', }, '0xC0000013': { code: 'STATUS_NO_MEDIA_IN_DEVICE', message: '{No Disk} There is no disk in the drive. Insert a disk into drive %hs.', }, '0xC0000014': { code: 'STATUS_UNRECOGNIZED_MEDIA', message: '{Unknown Disk Format} The disk in drive %hs is not formatted properly. Check the disk, and reformat it, if needed.', }, '0xC0000015': { code: 'STATUS_NONEXISTENT_SECTOR', message: '{Sector Not Found} The specified sector does not exist.', }, '0xC0000016': { code: 'STATUS_MORE_PROCESSING_REQUIRED', message: '{Still Busy} The specified I/O request packet (IRP) cannot be disposed of because the I/O operation is not complete.', }, '0xC0000017': { code: 'STATUS_NO_MEMORY', message: '{Not Enough Quota} Not enough virtual memory or paging file quota is available to complete the specified operation.', }, '0xC0000018': { code: 'STATUS_CONFLICTING_ADDRESSES', message: '{Conflicting Address Range} The specified address range conflicts with the address space.', }, '0xC0000019': { code: 'STATUS_NOT_MAPPED_VIEW', message: 'The address range to unmap is not a mapped view.', }, '0xC000001A': { code: 'STATUS_UNABLE_TO_FREE_VM', message: 'The virtual memory cannot be freed.', }, '0xC000001B': { code: 'STATUS_UNABLE_TO_DELETE_SECTION', message: 'The specified section cannot be deleted.', }, '0xC000001C': { code: 'STATUS_INVALID_SYSTEM_SERVICE', message: 'An invalid system service was specified in a system service call.', }, '0xC000001D': { code: 'STATUS_ILLEGAL_INSTRUCTION', message: '{EXCEPTION} Illegal Instruction An attempt was made to execute an illegal instruction.', }, '0xC000001E': { code: 'STATUS_INVALID_LOCK_SEQUENCE', message: '{Invalid Lock Sequence} An attempt was made to execute an invalid lock sequence.', }, '0xC000001F': { code: 'STATUS_INVALID_VIEW_SIZE', message: '{Invalid Mapping} An attempt was made to create a view for a section that is bigger than the section.', }, '0xC0000020': { code: 'STATUS_INVALID_FILE_FOR_SECTION', message: '{Bad File} The attributes of the specified mapping file for a section of memory cannot be read.', }, '0xC0000021': { code: 'STATUS_ALREADY_COMMITTED', message: '{Already Committed} The specified address range is already committed.', }, '0xC0000022': { code: 'STATUS_ACCESS_DENIED', message: '{Access Denied} A process has requested access to an object but has not been granted those access rights.', }, '0xC0000023': { code: 'STATUS_BUFFER_TOO_SMALL', message: '{Buffer Too Small} The buffer is too small to contain the entry. No information has been written to the buffer.', }, '0xC0000024': { code: 'STATUS_OBJECT_TYPE_MISMATCH', message: '{Wrong Type} There is a mismatch between the type of object that is required by the requested operation and the type of object that is specified in the request.', }, '0xC0000025': { code: 'STATUS_NONCONTINUABLE_EXCEPTION', message: '{EXCEPTION} Cannot Continue Windows cannot continue from this exception.', }, '0xC0000026': { code: 'STATUS_INVALID_DISPOSITION', message: 'An invalid exception disposition was returned by an exception handler.', }, '0xC0000027': { code: 'STATUS_UNWIND', message: 'Unwind exception code.', }, '0xC0000028': { code: 'STATUS_BAD_STACK', message: 'An invalid or unaligned stack was encountered during an unwind operation.', }, '0xC0000029': { code: 'STATUS_INVALID_UNWIND_TARGET', message: 'An invalid unwind target was encountered during an unwind operation.', }, '0xC000002A': { code: 'STATUS_NOT_LOCKED', message: 'An attempt was made to unlock a page of memory that was not locked.', }, '0xC000002B': { code: 'STATUS_PARITY_ERROR', message: 'A device parity error on an I/O operation.', }, '0xC000002C': { code: 'STATUS_UNABLE_TO_DECOMMIT_VM', message: 'An attempt was made to decommit uncommitted virtual memory.', }, '0xC000002D': { code: 'STATUS_NOT_COMMITTED', message: 'An attempt was made to change the attributes on memory that has not been committed.', }, '0xC000002E': { code: 'STATUS_INVALID_PORT_ATTRIBUTES', message: 'Invalid object attributes specified to NtCreatePort or invalid port attributes specified to NtConnectPort.', }, '0xC000002F': { code: 'STATUS_PORT_MESSAGE_TOO_LONG', message: 'The length of the message that was passed to NtRequestPort or NtRequestWaitReplyPort is longer than the maximum message that is allowed by the port.', }, '0xC0000030': { code: 'STATUS_INVALID_PARAMETER_MIX', message: 'An invalid combination of parameters was specified.', }, '0xC0000031': { code: 'STATUS_INVALID_QUOTA_LOWER', message: 'An