|
103 | 103 | * For WIN32, there is no wait() call so there are no wait() macros |
104 | 104 | * to interpret the return value of system(). Instead, system() |
105 | 105 | * return values < 0x100 are used for exit() termination, and higher |
106 | | - * values are used to indicated non-exit() termination, which is |
| 106 | + * values are used to indicate non-exit() termination, which is |
107 | 107 | * similar to a unix-style signal exit (think SIGSEGV == |
108 | 108 | * STATUS_ACCESS_VIOLATION). Return values are broken up into groups: |
109 | 109 | * |
110 | | - * http://msdn2.microsoft.com/en-gb/library/aa489609.aspx |
| 110 | + * https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/using-ntstatus-values |
111 | 111 | * |
112 | 112 | * NT_SUCCESS 0 - 0x3FFFFFFF |
113 | 113 | * NT_INFORMATION 0x40000000 - 0x7FFFFFFF |
|
121 | 121 | * |
122 | 122 | * Wine (URL used in our error messages) - |
123 | 123 | * http://source.winehq.org/source/include/ntstatus.h |
124 | | - * Descriptions - http://www.comp.nus.edu.sg/~wuyongzh/my_doc/ntstatus.txt |
125 | | - * MS SDK - http://www.nologs.com/ntstatus.html |
| 124 | + * Descriptions - |
| 125 | + * https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-erref/596a1078-e883-4972-9bbc-49e60bebca55 |
126 | 126 | * |
127 | | - * It seems the exception lists are in both ntstatus.h and winnt.h, but |
128 | | - * ntstatus.h has a more comprehensive list, and it only contains |
129 | | - * exception values, rather than winnt, which contains lots of other |
130 | | - * things: |
131 | | - * |
132 | | - * http://www.microsoft.com/msj/0197/exception/exception.aspx |
133 | | - * |
134 | | - * The ExceptionCode parameter is the number that the operating system |
135 | | - * assigned to the exception. You can see a list of various exception codes |
136 | | - * in WINNT.H by searching for #defines that start with "STATUS_". For |
137 | | - * example, the code for the all-too-familiar STATUS_ACCESS_VIOLATION is |
138 | | - * 0xC0000005. A more complete set of exception codes can be found in |
139 | | - * NTSTATUS.H from the Windows NT DDK. |
| 127 | + * The comprehensive exception list is included in ntstatus.h from the |
| 128 | + * Windows Driver Kit (WDK). A subset of the list is also included in |
| 129 | + * winnt.h from the Windows SDK. Defining WIN32_NO_STATUS before including |
| 130 | + * windows.h helps to avoid any conflicts. |
140 | 131 | * |
141 | 132 | * Some day we might want to print descriptions for the most common |
142 | 133 | * exceptions, rather than printing an include file name. We could use |
|
0 commit comments