summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/ntdll.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-08-09 09:14:28 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-08-09 09:14:28 +0000
commitc29da54058ab28475e1a8e31c67abb8e2168b44f (patch)
tree2cf8215eab6537f9d4c4e337c2b6b379debd8150 /winsup/cygwin/ntdll.h
parent4ae8b410a30bd26277212f1413d92b1b66540d36 (diff)
downloadcygnal-c29da54058ab28475e1a8e31c67abb8e2168b44f.tar.gz
cygnal-c29da54058ab28475e1a8e31c67abb8e2168b44f.tar.bz2
cygnal-c29da54058ab28475e1a8e31c67abb8e2168b44f.zip
* ntdll.h (STATUS_NOT_FOUND): Define.
* ntea.cc (read_ea): Return correct ENOTSUP rather than EOPNOTSUPP. Handle STATUS_INVALID_DEVICE_REQUEST and STATUS_NOT_FOUND. Explain why. Convert conditional to switch statement. (write_ea): Return correct ENOTSUP rather than EOPNOTSUPP. Handle STATUS_INVALID_DEVICE_REQUEST. Convert conditional to switch statement.
Diffstat (limited to 'winsup/cygwin/ntdll.h')
-rw-r--r--winsup/cygwin/ntdll.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h
index 13e145790..b317e66b9 100644
--- a/winsup/cygwin/ntdll.h
+++ b/winsup/cygwin/ntdll.h
@@ -56,6 +56,7 @@
#define STATUS_INVALID_LEVEL ((NTSTATUS) 0xc0000148)
#define STATUS_DLL_NOT_FOUND ((NTSTATUS) 0xc0000135)
#define STATUS_ENTRYPOINT_NOT_FOUND ((NTSTATUS) 0xc0000139)
+#define STATUS_NOT_FOUND ((NTSTATUS) 0xc0000225)
#define STATUS_BAD_DLL_ENTRYPOINT ((NTSTATUS) 0xc0000251)
#define STATUS_ILLEGAL_DLL_RELOCATION ((NTSTATUS) 0xc0000269)
/* custom status code: */