mirror of
https://github.com/samba-team/samba.git
synced 2025-03-10 12:58:35 +03:00
sync up with 2.2
(This used to be commit 0c0f3223731cfb46a0e3b8e289c13c8f908e0cf2)
This commit is contained in:
parent
116740a5df
commit
fae4bc494d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user