mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
w32err: Re-define errors with numeric values
Signed-off-by: Günther Deschner <gd@samba.org>
This commit is contained in:
parent
91d3d3c6a2
commit
3f835eb947
@ -165,28 +165,28 @@ typedef uint32_t WERROR;
|
||||
|
||||
#define WERR_DEVICE_NOT_AVAILABLE W_ERROR(4319)
|
||||
|
||||
#define WERR_PRINTER_DRIVER_ALREADY_INSTALLED W_ERROR(ERRdriveralreadyinstalled)
|
||||
#define WERR_UNKNOWN_PORT W_ERROR(ERRunknownprinterport)
|
||||
#define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(ERRunknownprinterdriver)
|
||||
#define WERR_UNKNOWN_PRINTPROCESSOR W_ERROR(ERRunknownprintprocessor)
|
||||
#define WERR_INVALID_SEPARATOR_FILE W_ERROR(ERRinvalidseparatorfile)
|
||||
#define WERR_INVALID_PRIORITY W_ERROR(ERRinvalidjobpriority)
|
||||
#define WERR_INVALID_PRINTER_NAME W_ERROR(ERRinvalidprintername)
|
||||
#define WERR_PRINTER_ALREADY_EXISTS W_ERROR(ERRprinteralreadyexists)
|
||||
#define WERR_INVALID_PRINTER_COMMAND W_ERROR(ERRinvalidprintercommand)
|
||||
#define WERR_INVALID_DATATYPE W_ERROR(ERRinvaliddatatype)
|
||||
#define WERR_INVALID_ENVIRONMENT W_ERROR(ERRinvalidenvironment)
|
||||
#define WERR_PRINTER_DRIVER_ALREADY_INSTALLED W_ERROR(0x00000703)
|
||||
#define WERR_UNKNOWN_PORT W_ERROR(0x00000704)
|
||||
#define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(0x00000705)
|
||||
#define WERR_UNKNOWN_PRINTPROCESSOR W_ERROR(0x00000706)
|
||||
#define WERR_INVALID_SEPARATOR_FILE W_ERROR(0x00000707)
|
||||
#define WERR_INVALID_PRIORITY W_ERROR(0x00000708)
|
||||
#define WERR_INVALID_PRINTER_NAME W_ERROR(0x00000709)
|
||||
#define WERR_PRINTER_ALREADY_EXISTS W_ERROR(0x0000070A)
|
||||
#define WERR_INVALID_PRINTER_COMMAND W_ERROR(0x0000070B)
|
||||
#define WERR_INVALID_DATATYPE W_ERROR(0x0000070C)
|
||||
#define WERR_INVALID_ENVIRONMENT W_ERROR(0x0000070D)
|
||||
|
||||
#define WERR_UNKNOWN_PRINT_MONITOR W_ERROR(ERRunknownprintmonitor)
|
||||
#define WERR_PRINTER_DRIVER_IN_USE W_ERROR(ERRprinterdriverinuse)
|
||||
#define WERR_SPOOL_FILE_NOT_FOUND W_ERROR(ERRspoolfilenotfound)
|
||||
#define WERR_SPL_NO_STARTDOC W_ERROR(ERRnostartdoc)
|
||||
#define WERR_SPL_NO_ADDJOB W_ERROR(ERRnoaddjob)
|
||||
#define WERR_PRINT_PROCESSOR_ALREADY_INSTALLED W_ERROR(ERRprintprocessoralreadyinstalled)
|
||||
#define WERR_PRINT_MONITOR_ALREADY_INSTALLED W_ERROR(ERRprintmonitoralreadyinstalled)
|
||||
#define WERR_INVALID_PRINT_MONITOR W_ERROR(ERRinvalidprintmonitor)
|
||||
#define WERR_PRINT_MONITOR_IN_USE W_ERROR(ERRprintmonitorinuse)
|
||||
#define WERR_PRINTER_HAS_JOBS_QUEUED W_ERROR(ERRprinterhasjobsqueued)
|
||||
#define WERR_UNKNOWN_PRINT_MONITOR W_ERROR(0x00000BB8)
|
||||
#define WERR_PRINTER_DRIVER_IN_USE W_ERROR(0x00000BB9)
|
||||
#define WERR_SPOOL_FILE_NOT_FOUND W_ERROR(0x00000BBA)
|
||||
#define WERR_SPL_NO_STARTDOC W_ERROR(0x00000BBB)
|
||||
#define WERR_SPL_NO_ADDJOB W_ERROR(0x00000BBC)
|
||||
#define WERR_PRINT_PROCESSOR_ALREADY_INSTALLED W_ERROR(0x00000BBD)
|
||||
#define WERR_PRINT_MONITOR_ALREADY_INSTALLED W_ERROR(0x00000BBE)
|
||||
#define WERR_INVALID_PRINT_MONITOR W_ERROR(0x00000BBF)
|
||||
#define WERR_PRINT_MONITOR_IN_USE W_ERROR(0x00000BC0)
|
||||
#define WERR_PRINTER_HAS_JOBS_QUEUED W_ERROR(0x00000BC1)
|
||||
|
||||
#define WERR_NO_SHUTDOWN_IN_PROGRESS W_ERROR(0x45c)
|
||||
#define WERR_SHUTDOWN_ALREADY_IN_PROGRESS W_ERROR(0x45b)
|
||||
@ -208,31 +208,31 @@ typedef uint32_t WERROR;
|
||||
#define MAX_NERR (NERR_BASE+899)
|
||||
#endif
|
||||
|
||||
#define WERR_BUF_TOO_SMALL W_ERROR(NERR_BASE+23)
|
||||
#define WERR_ALREADY_SHARED W_ERROR(2118)
|
||||
#define WERR_JOB_NOT_FOUND W_ERROR(NERR_BASE+51)
|
||||
#define WERR_DEST_NOT_FOUND W_ERROR(NERR_BASE+52)
|
||||
#define WERR_GROUP_NOT_FOUND W_ERROR(NERR_BASE+120)
|
||||
#define WERR_USER_NOT_FOUND W_ERROR(NERR_BASE+121)
|
||||
#define WERR_USER_EXISTS W_ERROR(NERR_BASE+124)
|
||||
#define WERR_NOT_CONNECTED W_ERROR(2250)
|
||||
#define WERR_NAME_NOT_FOUND W_ERROR(2273)
|
||||
#define WERR_NET_NAME_NOT_FOUND W_ERROR(NERR_BASE+210)
|
||||
#define WERR_SESSION_NOT_FOUND W_ERROR(2312)
|
||||
#define WERR_DEVICE_NOT_SHARED W_ERROR(NERR_BASE+211)
|
||||
#define WERR_FID_NOT_FOUND W_ERROR(2314)
|
||||
#define WERR_NOT_LOCAL_DOMAIN W_ERROR(NERR_BASE+220)
|
||||
#define WERR_DC_NOT_FOUND W_ERROR(NERR_BASE+353)
|
||||
#define WERR_TIME_DIFF_AT_DC W_ERROR(2457)
|
||||
#define WERR_DFS_NO_SUCH_VOL W_ERROR(NERR_BASE+562)
|
||||
#define WERR_DFS_NO_SUCH_SHARE W_ERROR(NERR_BASE+565)
|
||||
#define WERR_DFS_NO_SUCH_SERVER W_ERROR(NERR_BASE+573)
|
||||
#define WERR_DFS_INTERNAL_ERROR W_ERROR(NERR_BASE+590)
|
||||
#define WERR_DFS_CANT_CREATE_JUNCT W_ERROR(NERR_BASE+569)
|
||||
#define WERR_SETUP_ALREADY_JOINED W_ERROR(NERR_BASE+591)
|
||||
#define WERR_SETUP_NOT_JOINED W_ERROR(NERR_BASE+592)
|
||||
#define WERR_SETUP_DOMAIN_CONTROLLER W_ERROR(NERR_BASE+593)
|
||||
#define WERR_DEFAULT_JOIN_REQUIRED W_ERROR(NERR_BASE+594)
|
||||
#define WERR_BUF_TOO_SMALL W_ERROR(0x0000084B)
|
||||
#define WERR_ALREADY_SHARED W_ERROR(0x00000846)
|
||||
#define WERR_JOB_NOT_FOUND W_ERROR(0x00000867)
|
||||
#define WERR_DEST_NOT_FOUND W_ERROR(0x00000868)
|
||||
#define WERR_GROUP_NOT_FOUND W_ERROR(0x000008AC)
|
||||
#define WERR_USER_NOT_FOUND W_ERROR(0x000008AD)
|
||||
#define WERR_USER_EXISTS W_ERROR(0x000008B0)
|
||||
#define WERR_NOT_CONNECTED W_ERROR(0x000008CA)
|
||||
#define WERR_NAME_NOT_FOUND W_ERROR(0x000008E1)
|
||||
#define WERR_NET_NAME_NOT_FOUND W_ERROR(0x00000906)
|
||||
#define WERR_SESSION_NOT_FOUND W_ERROR(0x00000908)
|
||||
#define WERR_DEVICE_NOT_SHARED W_ERROR(0x00000907)
|
||||
#define WERR_FID_NOT_FOUND W_ERROR(0x0000090A)
|
||||
#define WERR_NOT_LOCAL_DOMAIN W_ERROR(0x00000910)
|
||||
#define WERR_DC_NOT_FOUND W_ERROR(0x00000995)
|
||||
#define WERR_TIME_DIFF_AT_DC W_ERROR(0x00000999)
|
||||
#define WERR_DFS_NO_SUCH_VOL W_ERROR(0x00000A66)
|
||||
#define WERR_DFS_NO_SUCH_SHARE W_ERROR(0x00000A69)
|
||||
#define WERR_DFS_NO_SUCH_SERVER W_ERROR(0x00000A71)
|
||||
#define WERR_DFS_INTERNAL_ERROR W_ERROR(0x00000A82)
|
||||
#define WERR_DFS_CANT_CREATE_JUNCT W_ERROR(0x00000A6D)
|
||||
#define WERR_SETUP_ALREADY_JOINED W_ERROR(0x00000A83)
|
||||
#define WERR_SETUP_NOT_JOINED W_ERROR(0x00000A84)
|
||||
#define WERR_SETUP_DOMAIN_CONTROLLER W_ERROR(0x00000A85)
|
||||
#define WERR_DEFAULT_JOIN_REQUIRED W_ERROR(0x00000A86)
|
||||
|
||||
/* DS errors */
|
||||
#define WERR_DS_NO_ATTRIBUTE_OR_VALUE W_ERROR(0x0000200A)
|
||||
|
Loading…
Reference in New Issue
Block a user