From 8188c3df79e12eca4c8ca6f7b50dea687e03d536 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Tue, 26 Sep 2017 21:20:03 +0200 Subject: [PATCH] ntstatus: remove some unused definitions --- src/ntstatus.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/ntstatus.h b/src/ntstatus.h index d6eb493..941d37a 100644 --- a/src/ntstatus.h +++ b/src/ntstatus.h @@ -88,20 +88,4 @@ typedef NTSTATUS* PNTSTATUS; #define STATUS_SEVERITY_ERROR 0x3 #endif -#ifndef FACILITY_NTWIN32 -#define FACILITY_NTWIN32 0x7 -#endif - -/* This is not the NTSTATUS_FROM_WIN32 that the DDK provides, because the - * DDK got it wrong! - */ -#ifdef NTSTATUS_FROM_WIN32 -#undef NTSTATUS_FROM_WIN32 -#endif -#define NTSTATUS_FROM_WIN32(error) \ - ((NTSTATUS)(error) <= 0 \ - ? ((NTSTATUS)(error)) \ - : ((NTSTATUS)(((error) &0x0000FFFF) | (FACILITY_NTWIN32 << 16) | \ - ERROR_SEVERITY_WARNING))) - #endif /* EPOLL_NTSTATUS_H_ */