[MS-ERREF]: Windows Error Codes - Microsoft

[MS-ERREF]:

Windows Error Codes

Intellectual Property Rights Notice for Open Specifications Documentation

Technical Documentation. Microsoft publishes Open Specifications documentation ("this documentation") for protocols, file formats, data portability, computer languages, and standards support. Additionally, overview documents cover inter-protocol relationships and interactions.

Copyrights. This documentation is covered by Microsoft copyrights. Regardless of any other terms that are contained in the terms of use for the Microsoft website that hosts this documentation, you can make copies of it in order to develop implementations of the technologies that are described in this documentation and can distribute portions of it in your implementations that use these technologies or in your documentation as necessary to properly document the implementation. You can also distribute in your implementation, with or without modification, any schemas, IDLs, or code samples that are included in the documentation. This permission also applies to any documents that are referenced in the Open Specifications documentation.

No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation. Patents. Microsoft has patents that might cover your implementations of the technologies

described in the Open Specifications documentation. Neither this notice nor Microsoft's delivery of this documentation grants any licenses under those patents or any other Microsoft patents. However, a given Open Specifications document might be covered by the Microsoft Open Specifications Promise or the Microsoft Community Promise. If you would prefer a written license, or if the technologies described in this documentation are not covered by the Open Specifications Promise or Community Promise, as applicable, patent licenses are available by contacting iplg@. License Programs. To see all of the protocols in scope under a specific license program and the associated patents, visit the Patent Map. Trademarks. The names of companies and products contained in this documentation might be covered by trademarks or similar intellectual property rights. This notice does not grant any licenses under those rights. For a list of Microsoft trademarks, visit trademarks. Fictitious Names. The example companies, organizations, products, domain names, email addresses, logos, people, places, and events that are depicted in this documentation are fictitious. No association with any real company, organization, product, domain name, email address, logo, person, place, or event is intended or should be inferred.

Reservation of Rights. All other rights are reserved, and this notice does not grant any rights other than as specifically described above, whether by implication, estoppel, or otherwise.

Tools. The Open Specifications documentation does not require the use of Microsoft programming tools or programming environments in order for you to develop an implementation. If you have access to Microsoft programming tools and environments, you are free to take advantage of them. Certain Open Specifications documents are intended for use in conjunction with publicly available standards specifications and network programming art and, as such, assume that the reader either is familiar with the aforementioned material or has immediate access to it.

Support. For questions and support, please contact dochelp@.

[MS-ERREF] - v20211116 Windows Error Codes Copyright ? 2021 Microsoft Corporation Release: November 16, 2021

1 / 497

Revision Summary

Date

Revision History

2/14/2008 5.0.3

3/14/2008 5.1

5/16/2008 5.1.1

6/20/2008 5.2

7/25/2008 5.2.1

8/29/2008 5.2.2

10/24/2008 5.2.3

12/5/2008 5.3

1/16/2009 5.3.1

2/27/2009 5.3.2

4/10/2009 6.0

5/22/2009 7.0

7/2/2009

7.1

8/14/2009 8.0

9/25/2009 8.1

11/6/2009 8.2

12/18/2009 9.0

1/29/2010 9.0.1

3/12/2010 9.0.2

4/23/2010 9.0.3

6/4/2010

9.0.4

7/16/2010 9.0.4

8/27/2010 9.0.4

10/8/2010 9.0.4

11/19/2010 10.0

1/7/2011

11.0

2/11/2011 11.0

3/25/2011 12.0

Revision Class Editorial Minor Editorial Minor Editorial Editorial Editorial Minor Editorial Editorial Major Major Minor Major Minor Minor Major Editorial Editorial Editorial Editorial

None

None

None

Major Major

None

Major

[MS-ERREF] - v20211116 Windows Error Codes Copyright ? 2021 Microsoft Corporation Release: November 16, 2021

Comments Changed language and formatting in the technical content. Clarified the meaning of the technical content. Changed language and formatting in the technical content. Clarified the meaning of the technical content. Changed language and formatting in the technical content. Changed language and formatting in the technical content. Changed language and formatting in the technical content. Clarified the meaning of the technical content. Editorial Update. Changed language and formatting in the technical content. Updated and revised the technical content. Updated and revised the technical content. Clarified the meaning of the technical content. Updated and revised the technical content. Clarified the meaning of the technical content. Clarified the meaning of the technical content. Updated and revised the technical content. Changed language and formatting in the technical content. Changed language and formatting in the technical content. Changed language and formatting in the technical content. Changed language and formatting in the technical content. No changes to the meaning, language, or formatting of the technical content. No changes to the meaning, language, or formatting of the technical content. No changes to the meaning, language, or formatting of the technical content. Updated and revised the technical content. Updated and revised the technical content. No changes to the meaning, language, or formatting of the technical content. Updated and revised the technical content.

2 / 497

Date

Revision History

5/6/2011

12.0

6/17/2011 12.1 9/23/2011 12.2 12/16/2011 13.0 3/30/2012 13.1

7/12/2012 13.1

10/25/2012 13.1

1/31/2013 13.1

8/8/2013

14.0

11/14/2013 14.1

2/13/2014 14.2

5/15/2014 14.2

6/30/2015 15.0

10/16/2015 15.0

7/14/2016 6/1/2017 9/15/2017

16.0 17.0 18.0

12/1/2017 18.0

9/12/2018 19.0

4/7/2021

20.0

6/25/2021 21.0

11/16/2021 22.0

Revision Class None Minor Minor Major Minor None

None

None Major Minor Minor None Major None Major Major Major None Major Major Major Major

Comments

No changes to the meaning, language, or formatting of the technical content. Clarified the meaning of the technical content. Clarified the meaning of the technical content.

Updated and revised the technical content. Clarified the meaning of the technical content. No changes to the meaning, language, or formatting of the technical content.

No changes to the meaning, language, or formatting of the technical content. No changes to the meaning, language, or formatting of the technical content.

Updated and revised the technical content. Clarified the meaning of the technical content. Clarified the meaning of the technical content.

No changes to the meaning, language, or formatting of the technical content. Significantly changed the technical content. No changes to the meaning, language, or formatting of the technical content.

Significantly changed the technical content. Significantly changed the technical content. Significantly changed the technical content.

No changes to the meaning, language, or formatting of the technical content. Significantly changed the technical content.

Significantly changed the technical content. Significantly changed the technical content. Significantly changed the technical content.

[MS-ERREF] - v20211116 Windows Error Codes Copyright ? 2021 Microsoft Corporation Release: November 16, 2021

3 / 497

Table of Contents

1 Introduction ............................................................................................................ 5 1.1 Glossary ........................................................................................................... 5 1.2 References ........................................................................................................ 5 1.2.1 Normative References ................................................................................... 5 1.2.2 Informative References ................................................................................. 6 1.3 Overview .......................................................................................................... 6 1.4 Relationship to Protocols and Other Structures ...................................................... 6 1.5 Applicability Statement ....................................................................................... 6 1.6 Versioning and Localization ................................................................................. 6 1.7 Vendor Extensible Fields ..................................................................................... 6

2 Structures ............................................................................................................... 7 2.1 HRESULT .......................................................................................................... 7 2.1.1 HRESULT Values ......................................................................................... 10 2.1.2 HRESULT From WIN32 Error Code Macro ......................................................203 2.2 Win32 Error Codes ..........................................................................................203 2.3 NTSTATUS .....................................................................................................377 2.3.1 NTSTATUS Values ......................................................................................377 2.4 LDAP Error to Win32 Error Mapping ...................................................................490

3 Structure Example ............................................................................................... 495

4 Security Considerations ....................................................................................... 496

5 Appendix A: Product Behavior ............................................................................. 497

6 Change Tracking.................................................................................................. 500

7 Index................................................................................................................... 501

[MS-ERREF] - v20211116 Windows Error Codes Copyright ? 2021 Microsoft Corporation Release: November 16, 2021

4 / 497

1 Introduction

The Windows Error Codes document is a companion reference to the protocol specifications. It documents the common usage details for those HRESULT values, Win32 error codes, and NTSTATUS values that are referenced by specifications in the protocol documentation set.

Sections 1.7 and 2 of this specification are normative. All other sections and examples in this specification are informative.

1.1 Glossary

This document uses the following terms:

HRESULT: An integer value that indicates the result or status of an operation. A particular HRESULT can have different meanings depending on the protocol using it. See [MS-ERREF] section 2.1 and specific protocol documents for further details.

terminal server: A computer on which terminal services is running.

terminal services (TS): A service on a server computer that allows delivery of applications, or the desktop itself, to various computing devices. When a user runs an application on a terminal server, the application execution takes place on the server computer and only keyboard, mouse, and display information is transmitted over the network. Each user sees only his or her individual session, which is managed transparently by the server operating system and is independent of any other client session.

universally unique identifier (UUID): A 128-bit value. UUIDs can be used for multiple purposes, from tagging objects with an extremely short lifetime, to reliably identifying very persistent objects in cross-process communication such as client and server interfaces, manager entry-point vectors, and RPC objects. UUIDs are highly likely to be unique. UUIDs are also known as globally unique identifiers (GUIDs) and these terms are used interchangeably in the Microsoft protocol technical documents (TDs). Interchanging the usage of these terms does not imply or require a specific algorithm or mechanism to generate the UUID. Specifically, the use of this term does not imply or require that the algorithms described in [RFC4122] or [C706] must be used for generating the UUID.

MAY, SHOULD, MUST, SHOULD NOT, MUST NOT: These terms (in all caps) are used as defined in [RFC2119]. All statements of optional behavior use either MAY, SHOULD, or SHOULD NOT.

1.2 References

Links to a document in the Microsoft Open Specifications library point to the correct section in the most recently published version of the referenced document. However, because individual documents in the library are not updated at the same time, the section numbers in the documents may not match. You can confirm the correct section numbering by checking the Errata.

1.2.1 Normative References

We conduct frequent surveys of the normative references to assure their continued availability. If you have any issue with finding a normative reference, please contact dochelp@. We will assist you in finding the relevant information.

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997,

[RFC2251] Wahl, M., Howes, T., and Kille, S., "Lightweight Directory Access Protocol (v3)", RFC 2251, December 1997,

[MS-ERREF] - v20211116 Windows Error Codes Copyright ? 2021 Microsoft Corporation Release: November 16, 2021

5 / 497

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download