summaryrefslogtreecommitdiffstats
path: root/source/include/nterr.h
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2000-03-07 09:06:03 +0000
committerJean-François Micouleau <jfm@samba.org>2000-03-07 09:06:03 +0000
commit2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f (patch)
tree241f1b408e72fc15046ae518ee1551c75ef78816 /source/include/nterr.h
parent025cdb345f6de287a41d4449b2662dbc5e762bf2 (diff)
downloadsamba-2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f.tar.gz
samba-2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f.tar.xz
samba-2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f.zip
fixed enumprinterdata.
J.F.
Diffstat (limited to 'source/include/nterr.h')
-rw-r--r--source/include/nterr.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/include/nterr.h b/source/include/nterr.h
index 87935091195..df2cde61f70 100644
--- a/source/include/nterr.h
+++ b/source/include/nterr.h
@@ -3,10 +3,17 @@
#define STATUS_BUFFER_OVERFLOW (5)
#define STATUS_MORE_ENTRIES (0x105)
+
+/* Win32 Error codes. */
+
+#define ERROR_ACCESS_DENIED (5)
#define ERROR_INVALID_HANDLE (6)
#define ERROR_INVALID_PARAMETER (87)
#define ERROR_INSUFFICIENT_BUFFER (122)
-#define STATUS_1804 (1804)
+#define ERROR_INVALID_NAME (123)
+#define ERROR_NO_MORE_ITEMS (259)
+#define ERROR_INVALID_PRINTER_NAME (1801)
+#define ERROR_INVALID_DATATYPE (1804)
/* these are the NT error codes less than 1000. They are here for when
we start supporting NT error codes in Samba. They were extracted