From 0f987d77becebc7d528f5fda6d0e23325035131c Mon Sep 17 00:00:00 2001 From: Jean-François Micouleau Date: Tue, 7 Mar 2000 09:06:03 +0000 Subject: fixed enumprinterdata. J.F. (This used to be commit 2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f) --- source3/include/nterr.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/nterr.h b/source3/include/nterr.h index 8793509119..df2cde61f7 100644 --- a/source3/include/nterr.h +++ b/source3/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 -- cgit