summaryrefslogtreecommitdiff
path: root/libcli/util/werror.h
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2009-09-17 04:28:28 +0300
committerGünther Deschner <gd@samba.org>2009-09-17 07:18:29 +0200
commit1cfac63fa4335b45b9c722316a45b2b187de78a0 (patch)
tree40566c7cdabaf3d2657b11ae2b28a5fbbd4d3526 /libcli/util/werror.h
parent277597de8548d6bcc65e7eff40b238415659eb17 (diff)
downloadsamba-1cfac63fa4335b45b9c722316a45b2b187de78a0.tar.gz
samba-1cfac63fa4335b45b9c722316a45b2b187de78a0.tar.bz2
samba-1cfac63fa4335b45b9c722316a45b2b187de78a0.zip
w32err: WERR_CLASS_NOT_REGISTERED updated
Error code move to COM/OLE group. Error value changed to as REGDB_E_CLASSNOTREG in Windows Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'libcli/util/werror.h')
-rw-r--r--libcli/util/werror.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libcli/util/werror.h b/libcli/util/werror.h
index f82879cac9..f559c673ab 100644
--- a/libcli/util/werror.h
+++ b/libcli/util/werror.h
@@ -194,7 +194,6 @@ typedef uint32_t WERROR;
#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)
#define WERR_NO_SHUTDOWN_IN_PROGRESS W_ERROR(0x45c)
#define WERR_SHUTDOWN_ALREADY_IN_PROGRESS W_ERROR(0x45b)
/* Configuration Manager Errors */
@@ -293,6 +292,8 @@ typedef uint32_t WERROR;
#define WERR_DS_NO_MSDS_INTID W_ERROR(0x00002194)
#define WERR_DS_DUP_MSDS_INTID W_ERROR(0x00002195)
+
+/* RPC/COM/OLE HRESULT error codes */
/* FRS errors */
#define WERR_FRS_INSUFFICIENT_PRIV W_ERROR(FRS_ERR_BASE+7)
#define WERR_FRS_SYSVOL_IS_BUSY W_ERROR(FRS_ERR_BASE+15)
@@ -307,6 +308,10 @@ typedef uint32_t WERROR;
#define WERR_SEC_E_DECRYPT_FAILURE W_ERROR(0x80090330)
#define WERR_SEC_E_ALGORITHM_MISMATCH W_ERROR(0x80090331)
+/* COM REGDB error codes */
+#define WERR_CLASS_NOT_REGISTERED W_ERROR(0x80040154) /* REGDB_E_CLASSNOTREG */
+
+/* Generic error code aliases */
#define WERR_FOOBAR WERR_GENERAL_FAILURE
/*****************************************************************************