1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r5237: Add error code for "class not registered"

(This used to be commit b72a0ac654857273eaaf3c5e32d86abed0af3ceb)
This commit is contained in:
Jelmer Vernooij 2005-02-05 14:40:47 +00:00 committed by Gerald (Jerry) Carter
parent 05db954edd
commit 58a9570353
2 changed files with 3 additions and 0 deletions

View File

@ -221,6 +221,8 @@
#define WERR_PRINT_MONITOR_IN_USE W_ERROR(ERRprintmonitorinuse)
#define WERR_PRINTER_HAS_JOBS_QUEUED W_ERROR(ERRprinterhasjobsqueued)
#define WERR_CLASS_NOT_REGISTERED W_ERROR(0x40154)
#ifndef NERR_BASE
#define NERR_BASE (2100)

View File

@ -86,6 +86,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_NO_SPOOL_SPACE", WERR_NO_SPOOL_SPACE },
{ "WERR_CAN_NOT_COMPLETE", WERR_CAN_NOT_COMPLETE },
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },
{ "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED },
{ NULL, W_ERROR(0) }
};