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_ */