// 0x8004xxxx status codes
// 0x80040500
#define E_WPA_ERROR_0500 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0500)
// 0x80040501
#define E_WPA_ERROR_0501 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0501)
// 0x80040502
#define E_WPA_ERROR_0502 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0502)
// 0x80040503: results of GetSystemTime() and NtQuerySystemInformation() differ, something has been hacked
#define E_WPA_SYSTIME_HACKED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0503)
// 0x80040504
#define E_WPA_ERROR_0504 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0504)
// 0x80040505
#define E_WPA_ERROR_0505 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0505)
// 0x80040506
#define E_WPA_ERROR_0506 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0506)
// 0x80040507
#define E_WPA_ERROR_0507 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0507)
// 0x80040508
#define E_WPA_ERROR_0508 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0508)
// 0x80040509
#define E_WPA_VOLUME_LICENSE_BLOCKED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x0509)
// 0x8004050A: NtLockActivationKeys() reports too old kernel version
#define E_WPA_KERNEL_TOO_OLD MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x050A)
// 0x8004050B: results of NtLockProductActivationKeys() and GetSystemMetrics(SM_CLEANBOOT) differ, something has been hacked
#define E_WPA_GETSAFEMODE_HACKED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0x050B)
// 0x8004B012
#define E_WPA_ERROR_B012 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xB012)
// 0x8004B039
#define E_WPA_ERROR_B039 MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xB039)
