diff options
author | Gerald Carter <jerry@samba.org> | 2001-11-22 06:12:54 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2001-11-22 06:12:54 +0000 |
commit | fae4bc494dbed6518e42e6cc971fcf8743a82f9a (patch) | |
tree | a982967e11f00915e8d14db68325653dd8aab5d2 /source3/include | |
parent | 116740a5df6294b0a4e244f575108ded87452c18 (diff) | |
download | samba-fae4bc494dbed6518e42e6cc971fcf8743a82f9a.tar.gz samba-fae4bc494dbed6518e42e6cc971fcf8743a82f9a.tar.bz2 samba-fae4bc494dbed6518e42e6cc971fcf8743a82f9a.zip |
sync up with 2.2
(This used to be commit 0c0f3223731cfb46a0e3b8e289c13c8f908e0cf2)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/doserr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 3dcfe02827..43a325bc52 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -78,6 +78,14 @@ /* here's a special one from observing NT */ #define ERRnoipc 66 /* don't support ipc */ +/* These errors seem to be only returned by the NT printer driver system */ + +#define ERRunknownprinterdriver 1797 /* ERROR_UNKNOWN_PRINTER_DRIVER */ +#define ERRinvalidprintername 1801 /* ERROR_INVALID_PRINTER_NAME */ +#define ERRinvaliddatatype 1804 /* ERROR_INVALID_DATATYPE */ +#define ERRinvalidenvironment 1805 /* ERROR_INVALID_ENVIRONMENT */ +#define ERRprinterdriverinuse 3001 /* ERROR_PRINTER_DRIVER_IN_USE */ + /* Error codes for the ERRSRV class */ #define ERRerror 1 /* Non specific error code */ @@ -136,6 +144,7 @@ /* these are win32 error codes. There are only a few places where these matter for Samba, primarily in the NT printing code */ #define WERR_OK W_ERROR(0) +#define WERR_BADFILE W_ERROR(2) #define WERR_ACCESS_DENIED W_ERROR(5) #define WERR_BADFID W_ERROR(6) #define WERR_BADFUNC W_ERROR(1) |