#include <windows.h>
#include <stdlib.h>
#include <ntndk.h>
#include <stdio.h>
Go to the source code of this file.
◆ WIN32_NO_STATUS
◆ main()
hosttype.c Copyright (C) 2002 by Brian Palmer brian.nosp@m.p@sg.nosp@m.inet..nosp@m.com
Definition at line 20 of file nts2w32err.c.
26 DWORD Maximum = 0x40000;
33 printf (
"NT error codes 0x0-0x%lx that get translated *not* to ERROR_MR_MID_NOT_FOUND (317)\n\n", Maximum);
39 printf (
"--- Severity %ld ---\n", Severity);
42 StatusCode <= Maximum ;
45 Status = ((Severity << 30) | StatusCode);
NTSYSAPI ULONG WINAPI RtlNtStatusToDosError(NTSTATUS)
_Check_return_ _CRTIMP int __cdecl sscanf(_In_z_ const char *_Src, _In_z_ _Scanf_format_string_ const char *_Format,...)
#define ERROR_MR_MID_NOT_FOUND