#include <windows.h>
#include <stdlib.h>
#include <ntndk.h>
#include <stdio.h>
Go to the source code of this file.
◆ WIN32_NO_STATUS
◆ main()
Definition at line 20 of file nts2w32err.c.
21{
26 DWORD Maximum = 0x40000;
27
29 {
31 }
32
33 printf (
"NT error codes 0x0-0x%lx that get translated *not* to ERROR_MR_MID_NOT_FOUND (317)\n\n", Maximum);
34
35 for ( Severity = 0;
36 Severity < 4;
37 Severity ++)
38 {
39 printf (
"--- Severity %ld ---\n", Severity);
40
42 StatusCode <= Maximum ;
43 StatusCode ++)
44 {
45 Status = ((Severity << 30) | StatusCode);
48 {
50 }
51 }
52 }
54}
_Check_return_ _CRTIMP int __cdecl sscanf(_In_z_ const char *_Src, _In_z_ _Scanf_format_string_ const char *_Format,...)
NTSYSAPI ULONG WINAPI RtlNtStatusToDosError(NTSTATUS)
#define ERROR_MR_MID_NOT_FOUND