ntstatus: remove some unused definitions
This commit is contained in:
parent
20e76abf32
commit
8188c3df79
@ -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_ */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user