From fae4bc494dbed6518e42e6cc971fcf8743a82f9a Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 22 Nov 2001 06:12:54 +0000 Subject: sync up with 2.2 (This used to be commit 0c0f3223731cfb46a0e3b8e289c13c8f908e0cf2) --- source3/include/doserr.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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) -- cgit