Mapping Nt Status Error Codes To Win32 Error Codes
Contents |
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community win32 error fix Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev what is a win32 error centers Samples Retired content We’re sorry. The content you requested has been removed. You’ll be auto
C# Win32 Error Codes
redirected in 1 second. Export (0) Print Expand All MSDN Library Open Specifications Protocols Windows Protocols References [MS-ERREF]: Windows Error Codes 2 Structures 2.1 HRESULT 2.2
Win32 Error Access Is Denied
Win32 Error Codes 2.3 NTSTATUS 2.4 LDAP Error to Win32 Error Mapping Collapse the table of content Expand the table of content This documentation is archived and is not being maintained. 2.2 Win32 Error Codes All Win32 error codes MUST be in the range 0x0000 to 0xFFFF, although Win32 error codes can be ntstatus definition used both in 16-bit fields (such as within the HRESULT type specified in section 2.1) as well as 32-bit fields. Most values also have a default message defined, which can be used to map the value to a human-readable text message; when this is done, the Win32 error code is also known as a message identifier. The following table specifies the values and corresponding meanings of the Win32 error codes. Vendors SHOULD NOT assign other meanings to these values, to avoid the risk of a collision in the future. This document provides the common usage details of the Win32 error codes; individual protocol specifications provide expanded or modified definitions. Note In the following descriptions, a percentage sign followed by one or more alphanumeric characters (for example, "%1" or "%hs") indicates a variable that will be replaced by text at the time the value is returned. Win32 error codes Description 0x00000000 ERROR_SUCCESS The operation completed successfully. 0x00000000 NERR_Succ
resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs
Win32 Error Code Returned By The Print Processor
Channel 9 Documentation APIs and reference Dev centers Samples Retired content win32 error code 87 We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Export ntstatus header (0) Print Expand All MSDN Library Open Specifications Protocols Windows Protocols References [MS-ERREF]: Windows Error Codes 2 Structures 2.1 HRESULT 2.1.1 HRESULT Values 2.1.2 HRESULT From WIN32 Error https://msdn.microsoft.com/en-us/library/cc231199.aspx Code Macro Collapse the table of content Expand the table of content This documentation is archived and is not being maintained. 2.1.1 HRESULT Values Combining the fields of an HRESULT into a single, 32-bit numbering space, the following HRESULT values are defined, in addition to those derived from NTSTATUS values (section 2.3.1) and Win32 error codes https://msdn.microsoft.com/en-us/library/cc704587.aspx (section 2.2). This document provides the common usage details of the HRESULTs; individual protocol specifications provide expanded or modified definitions. Most values also have a default message defined, which can be used to map the value to a human-readable text message; when this is done, the HRESULT value is also known as a message identifier. Note: In the following descriptions, a percentage sign (%) followed by one or more alphanumeric characters (for example, "%1" or "%hs") indicates a variable that is replaced by text at the time the value is returned. Return value/code Description 0x00030200 STG_S_CONVERTED The underlying file was converted to compound file format. 0x00030201 STG_S_BLOCK The storage operation should block until more data is available. 0x00030202 STG_S_RETRYNOW The storage operation should retry immediately. 0x00030203 STG_S_MONITORING The notified event sink will not influence the storage operation. 0x00030204 STG_S_MULTIPLEOPENS Multiple opens prevent consolidated (commit succeeded). 0x00030205 STG_S_CONSOLIDATIONFAILED Consolidation of the storage file failed (commit succeeded). 0x00030206 STG_S_CANNOTCONSOLIDATE Consolidation of the storage file is inappropriate (commit succeeded). 0x000
kernel level messages? Device driver developers these codes when they make calls into Windows APIs as well as when driver developers return error codes http://davidvielmetter.com/tips/ntstatus-error-code-list/ to Windows. Below is a comprehensive list of NTSTATUS codes defined in ntstatus.h: Status Value Description STATUS_WAIT_0 0x0 STATUS_SUCCESS STATUS_SUCCESS 0x0 STATUS_SUCCESS STATUS_WAIT_1 0x1 STATUS_WAIT_1 STATUS_WAIT_2 0x2 STATUS_WAIT_2 STATUS_WAIT_3 0x3 STATUS_WAIT_3 STATUS_WAIT_63 0x3F STATUS_WAIT_63 STATUS_ABANDONED 0x80 STATUS_ABANDONED_WAIT_0 STATUS_ABANDONED_WAIT_0 0x80 STATUS_ABANDONED_WAIT_0 STATUS_ABANDONED_WAIT_63 0xBF STATUS_ABANDONED_WAIT_63 STATUS_USER_APC 0xC0 STATUS_USER_APC STATUS_KERNEL_APC 0x100 STATUS_KERNEL_APC STATUS_ALERTED 0x101 STATUS_ALERTED STATUS_TIMEOUT 0x102 STATUS_TIMEOUT STATUS_PENDING 0x103 The operation that win32 error was requested is pending completion. STATUS_REPARSE 0x104 A reparse should be performed by the Object Manager since the name of the file resulted in a symbolic link. STATUS_MORE_ENTRIES 0x105 Returned by enumeration APIs to indicate more information is available to successive calls. STATUS_NOT_ALL_ASSIGNED 0x106 Indicates not all privileges or groups referenced are assigned to the caller.This allows, for example, win32 error code all privileges to be disabled without having to know exactly which privileges are assigned. STATUS_SOME_NOT_MAPPED 0x107 Some of the information to be translated has not been translated. STATUS_OPLOCK_BREAK_IN_PROGRESS 0x108 An open/create operation completed while an oplock break is underway. STATUS_VOLUME_MOUNTED 0x109 A new volume has been mounted by a file system. STATUS_RXACT_COMMITTED 0x10A This success level status indicates that the transaction state already exists for the registry sub-tree, but that a transaction commit was previously aborted. The commit has now been completed. STATUS_NOTIFY_CLEANUP 0x10B This indicates that a notify change request has been completed due to closing the handle which made the notify change request. STATUS_NOTIFY_ENUM_DIR 0x10C 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. STATUS_NO_QUOTAS_FOR_ACCOUNT 0x10D {No Quotas}No system quota limits are specifically set for this account. STATUS_PAGE_FAULT_TRANSITION 0x110 Page fault was a transition fault. STATUS_PAGE_FAULT_DEMAND_ZERO 0x111 Page fault was a demand zero fault. STATUS_PAGE_FAULT_COPY_ON_WRITE 0x112 Page fault was a dema