⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 globerr.h

📁 IBM Lotus C++ API 7.0a for IBM Lotus Notes/Domino Directory Release --------- ------------------
💻 H
📖 第 1 页 / 共 2 页
字号:

#if defined(OS400) && (__OS400_TGTVRM__ >= 510)
#pragma datamodel(P128)
#endif

/*********************************************************************/
/*                                                                   */
/* Licensed Materials - Property of IBM                              */
/*                                                                   */
/* L-GHUS-5VMPGW, L-GHUS-5S3PEE                                      */
/* (C) Copyright IBM Corp. 1989, 2005  All Rights Reserved           */
/*                                                                   */
/* US Government Users Restricted Rights - Use, duplication or       */
/* disclosure restricted by GSA ADP Schedule Contract with           */
/* IBM Corp.                                                         */
/*                                                                   */
/*********************************************************************/


#ifndef GLOBAL_ERROR_DEFS
#define GLOBAL_ERROR_DEFS

/*	Define error code packages */	


#ifdef NOERROR
#undef NOERROR
#endif
#define NOERROR 0

#define	PKG_MAIN		0x0000	/* Codes are limited to 0-63 */
#define	PKG_CCONSOLE	0x0040	/* Codes are limited to 0-31 */
#define	PKG_MAILMISC3	0x0060	/* Mailmisc3 codes starting from 0-31 */
#define	PKG_MINDER		0x0080	/* Minder limit to 0 - 95 */
#define PKG_SERVER3		0x00E0	/* Codes are limited to 1 - 31 */
#define PKG_OS			0x0100
#define PKG_NSF			0x0200
#define PKG_NIF			0x0300	/* NIF codes are limited to 0 - 127 */
#define PKG_NSF2		0x0380	/* More NSF codes - limited to 0-127*/
#define PKG_MISC		0x0400	/* Codes are limited to 0 - 191 */
#define PKG_SERVER2  	0x04C0	/* Codes are limited to 0 - 47 */
#define PKG_THUNK		0x04F0	/* Codes are limited to 0 - 15 */
#define PKG_FORMULA		0x0500	/* FORMULA codes are limited to 0-127 */
#define PKG_NSF8		0x0580	/* AVAILABLE limit to 0 - 127 */
#define	PKG_ODS			0x0600	/* ODS codes, limited to 0-47 */
#define	PKG_LSXUI4		0x0630	/* LotusScript Front-end classes, 0 - 47 */
#define	PKG_AGENTS2		0x0660	/* for agents, limited to 0-31 */
#define PKG_SCHUI		0x0680	/* Schedule UI codes are limited to 0 - 31 */
#define PKG_BERT		0x06A0	/* BERT codes are limited to 0 - 31 */
#define PKG_PLUGINS		0x06C0	/* plugin codes are limited to 0 - 15 */

#define PKG_IMAIL		0x06D0	/* IMAIL Client 0 - 47 */

#define	PKG_PKIX		0x0700	/* codes 0 - 95 New CA/PKIX error codes - in pkcs12 dir */
#define PKG_GT			0x0760	/* GraphTrends error codes 0 - 31 */
#define PKG_NIF2		0x0780	/* Second nif error package 0-127 */
#define PKG_CLIENT		0x0800  /* Client codes limited to 0 - 47 */
#define PKG_LSXUI3		0x0830  /* more LSXUI ERROR codes limited to 0 - 15 */
#define PKG_APC			0x0840  /* APC codes limited to 0 - 31 */
#define PKG_DBMISC2		0x0860	/* DBMISC2 codes limited to 0 - 15 */
#define PKG_TASK_LOADER	0x0870	/* Task Loader package */
#define PKG_MAILMISC4	0x0880	/* Mail Misc  limit to 0 - 127 */
#define PKG_SERVER  	0x0900
#define PKG_NETWORK 	0x0A00		/* If you split this range, fix IS_PKG_NETWORK below */
#define	PKG_WMISC_ERR	0x0B00		/* Codes are limited to 0 - 63 */
#define PKG_ACTION		0x0B80		/* Codes are limited to 0 - 63 */
#define PKG_ACTIONPANE	0x0BC0		/* Codes are limited to 0 - 63 */
#define	PKG_EDIT_ERR	0x0C00
#define PKG_VIEW_ERR	0x0D00
#define PKG_MAIL		0x0E00		/* MAIL errors are limited to 0-63 */
#define PKG_BSAFE3		0x0E40	    /* Limited to 0-31 */
#define PKG_BSAFE4		0x0E60	    /* Limited to 0-31 */
#define PKG_CONV		0x0E80		/* CONV errors are limited to 0 - 31 */
#define PKG_NSF4		0x0EA0		/* NSF4 errors are limited to 0 - 31 */
#define PKG_FRAMDES		0x0EC0		/* Frame design errors limited to 0 - 31 */
#define PKG_NETWORK3	0x0EE0		/* AVAILABLE codes are limited to 0 - 31 */
#define PKG_FT			0x0F00		/* FT errors are limited to 0 - 63 */
#define PKG_BSAFE5		0x0F40	    /* Limited to 0-15 */
#define PKG_DBMISC		0x0F50		/* 0 - 47 */
#define PKG_NETWORK2	0x0F80		/* 0 - 127, if this changes, fix IS_PKG_NETWORK below */
#define	PKG_DEBUG		0x1000		/* Debug strings, like for DDE, limited to 0 - 79 */
#define PKG_SSL			0x1040		/* SSL errors 0 - 15 */
#define	PKG_SERVER4 	0x1050		/* SERVER4, limited to 0 - 15 */
#define	PKG_BOOKMARK	0x1060		/* BOOKMARK, limited to 0 - 15 */
#define	PKG_NSF5		0x1070		/* NSF5, limited to 0 - 15 */
#define PKG_NEM_ERR		0x1080		/* NEM, limited to 0 - 127 */
#define PKG_ROUTER		0x1100		/* Errors returned by ROUTERL, 0 - 79 */
#define PKG_MAILMAN		0x1150		/* Errors returned by MAILMAN, 0 - 95 */
#define PKG_LSBE		0x11b0		/* LSXBE errors, 0 - 47 */
#define PKG_LSDO		0x11e0		/* LSDOE errors, 0 - 15 */
#define PKG_LSXDB2		0x11f0		/* LSXDB2 errors, 0 - 15 */
#define PKG_REG2		0x1200		/* REG2 errors, 0 - 127 */
#define PKG_LSIDE		0x1280		/* ide specific errors 0 - 95 */
#define PKG_HTML		0x12D0		/* html parser errors, 0 - 31 */ 
#define PKG_SERVER5		0x12F0		/* PKG_SERVER5 limit to 0 - 15 */
#define PKG_LOG			0x1300
#define PKG_NSF3		0x1380		/* More NSF codes - limited to 0-127*/
#define	PKG_XPC			0x1400
#define PKG_EVENT		0x1500		/* Event codes starting from 0-47 */
#define PKG_FIDE		0x1530		/* Event codes starting from 0-31 */
#define PKG_NETWORK4	0x1550		/* Limited to 0 - 15, if this changes, fix IS_PKG_NETWORK below */
#define PKG_MAILMISC2	0x1560		/* Mailmisc2 codes starting from 0-31 */
#define PKG_BCASE		0x1580		/* Briefcase codes are limited to 0 - 95 */
#define PKG_SECURE2		0x15E0		/* Secure2 limit to 0 - 15 */
#define PKG_BSAFE6		0x15F0		/* Bsafe codes are limited to 0 - 15 */
#define PKG_REPL		0x1600		/* Errors returned by REPLSUB library, limited to 0 - 199 */
#define PKG_ADMIN_ERR2	0x16C8		/* PKG_ADMIN_ERR2 limited to 0 - 55 */
#define	PKG_BSAFE		0x1700		/* BSAFE codes are limited to 0 - 151 */
#define PKG_SERVER7		0x1798		/* PKG_SERVER7 limit to 0 - 103 */
#define	PKG_DESK_ERR	0x1800
#define	PKG_SECURE		0x1900
#define	PKG_AGENT		0x1A00		/* AGENT codes are limited to 0-63 */
#define	PKG_CCONSOLE2	0x1A50		/* CCONSOLE2 codes are limited to 0-15 */
#define PKG_PLAT_STAT_ERR 0x1A60	/* Platform Statistics error package */
#define	PKG_AGENT1		0x1A70		/* AGENT1 codes are limited to 0-15 */
#define	PKG_AGENTS3		0x1A80		/* AGENTS3 codes are limited to 0-47 */
#define	PKG_AGENT2		0x1AB0		/* AGENT2 codes are limited to 0-79 */
#define PKG_XML			0x1B00		/* XML codes: limit to 0 - 255 */
#define PKG_NETDRV		0x1C00		/* If this PKG space is split, fix IS_PKG_NETWORK below */
#define PKG_IMPORT		0x1D00      /* Used for all imports - see IMPKG_xxx below */
#define PKG_EXPORT		0x1E00      /* Used for all exports - see EXPKG_xxx below */
#define PKG_LSXUI2		0x1F00		/* LSXUI2 Codes are limited to 0 - 63 */
#define PKG_REG			0x2000

/* Following 8 groups used for native OS error codes, mapped by OSMapError
	and translated by OSLoadString.  These give better feedback in certain
	cases, but should NEVER be interpreted if STS_REMOTE bit is set,
	indicating that another OS on server might have generated the error! */

#define PKG_NATIVE_FIRST 0x2100
#define PKG_NATIVE_LAST  0x28FF

#ifdef OS2
#define	PKG_OS2_BASE	0x2100		/* + status - 0x0000 (BSEERR base) */
#define	PKG_OS2_BASE2	0x2200		/*             (BSEERR continued) */
#define	PKG_OS2_LANMAN	0x2300		/* + status - 0x0834=2100 (LANMAN base) */
#define	PKG_OS2_LANMAN2	0x2400		/*             (LANMAN continued) */
#define	PKG_OS2_PMWIN	0x2500		/* + status - 0x1000 (PMWIN base) */
#define	PKG_OS2_PMGPI	0x2600		/* + status - 0x2000 (PMGPI base) */
#define	PKG_OS2_PMGPI2	0x2700		/*             (GPI continued) */
#define	PKG_OS2_PMSPL	0x2800		/* + status - 0x4000 (PMSPL base) */
#endif

#define PKG_NSE			0x2900		/* Network script engine */
#define PKG_NSF6		0x29B0		/* NSF6, limited to 0 - 15 */
#define PKG_PERFSTAT	0x29C0		/* PERFSTAT error codes 0-31 */
#define PKG_MISC2	0x29E0		/* MISC2 limit to 0 - 31 */
#define PKG_NETDRVLCL	0x2A00		/* Used for all Network Drivers, if PKG space is split, fix IS_PKG_NETWORK below */
#define	PKG_NTI			0x2B00		/* Used for NTI and its new Net drivers */

#define PKG_VIEWMAP		0x2C00		/* for ViewMap */
#define PKG_BSAFE2		0x2CF0		/* for BSAFE x509 routines */

#define PKG_REPL2		0x2D00		/* for remote debug 0-127 */
#define PKG_RDBGERR		0x2D80		/* for remote debug err messages 0-127 */

#define PKG_AGENTS		0x2E00		/* for agents, limit to 0 - 127 */
#define PKG_DESK_ERR2	0x2E80		/* more Desk limit to 0 - 127 */
#define PKG_LSCRIPT		0x2F00 		/* LotusScript Interface, limit 0-127 */
#define PKG_LSXUI		0x2F80		/* LotusScript Front-end classes, 0-127 */
#define PKG_DSGN		0x3000		/* Database design package, 0-63 */
#define PKG_SERVER6		0x3040		/* PKG_SERVER6 error codes 0 - 63 */
#define PKG_ADMIN_ERR	0x3080		/* Admin facility, 0 - 127 */
#define	PKG_DBD			0x3100		/* database driver error codes, 0 - 199 */
#define PKG_COMPILER7	0x31B8		/* More COMPILER codes, limited to 0-15 */
#define PKG_NEWS		0x31C8		/* News classes, 0 - 15 */
#define PKG_IMAIL_EXT	0x31D8		/* IMail database extensions 0 - 23 */
#define PKG_DAEMON		0x31F0		/* CDaemon codes, 0 - 15 */
#define PKG_COMPILER8	0x3200		/* More COMPILER codes, limit to 0 - 255 */
#define PKG_ADDIN		0x3300		/* For use by mail gateways, etc. */
#define PKG_EDIT_ERR2	0x3400		/* need additional block for edit */
#define PKG_LSCRIPT2	0x3500		/* Lotusscript interface, limit 0 - 127 */
#define	PKG_ADMIN_ERR3	0x3580		/* PKG_ADMIN_ERR3 limited to 0 - 55 */																
#define	PKG_DSGN2		0x35C0		/* PKG_DSGN2 limit to 0 - 63 */	
#define PKG_GRMISC      0x3600      /* Graphics Library 0-31 */
#define PKG_VIMSMI		0x3620		/* VIM and SMI block codes 0-10 */
#define PKG_WEB         0x3640      /* InterNotes client extensions 0-191 */
#define	PKG_ADDIN2		0x3700		/* For extensions to PKG_ADDIN */
#define PKG_NSF9		0x3800		/* NSF9, limited to 0 - 255 */
#define PKG_DESK_ERR4	0x3900		/* DESK error, limit to 0 - 127 */
#define PKG_ORB			0x3980		/* ORB, limit to 0 - 63 */
#define PKG_LSXUI5		0x39C0		/* LSXUI5 Codes are limited to 0 - 63 */
#define PKG_HTTP		0x3A00		/* Web Server. limit to 0 - 199 */
#define PKG_POP3 		0x3AC8		/* POP3.  0 - 19 */
#define PKG_MAILMISC	0x3ADC		/* Mailmisc. 0 - 3 */
#define PKG_SMTP		0x3AE0		/* SMTP.  0 - 7 */
#define PKG_POP3C		0x3AE8		/* POP3 CLIENT.  0-2 */
#define PKG_SMTPC		0x3AEB		/* SMTP.  0 - 6 */
#define PKG_MAILMISC1	0x3AF2		/* MAILMISC.  0 - 13 */
#define PKG_DB2NSF		0x3B00		/* DB2NSF stuff */
#define PKG_SMARTI		0x3C00		/* To make smart icon res unique */
#define PKG_TOOLBAR		PKG_SMARTI  /* R6 Reuse smarticon pkg for new toolbars */
#define PKG_OLE_ERR		0x3D00		/* OLE error codes 0-63*/
									/* Note, PKG_OLE_ERR+0-53 were used in V3 */
#define PKG_MISC3		0x3D40		/* PKG_MISC3 codes are limited to 0-31 */
#define PKG_NSF7		0x3D60		/* PKG_NSF7 codes are limited to 0-31 */
#define PKG_NETWORK5	0x3D80		/* Limited to 0-31, if this area changes, fix IS_PKG_NETWORK below */
#define PKG_DESK_ERR3	0x3DA0		/* PKG_DESK_ERR3 are limited to 0-63 */
#define PKG_EVENT2		0x3DE0		/* Event codes starting from 0-31 */
/* #define PKG_OLE_CMD		0x3E00	 OLE Api Command Descriptions - OBSOLETE in V5 */
									/* Note, PKG_OLE_CMD+0-56 were used in V3 */
#define PKG_JAVAWRAP	0x3E00		/* javawrap error codes 0-63 */
#define PKG_ASSISTANT_ERR 0x3E40	/* Assistant codes limit to 0 - 63 */
#define PKG_JSWRAP		0x3E80		/* javascript wrap error codes 0-63 */
#define PKG_PRINT_ERR	0x3EC0		/* client print error codes limit to 0 - 63 */
#define PKG_EDIT_ERR3	0x3F00		/* More editor codes */
/*	3F00 IS THE LAST PACKAGE THAT CAN BE DEFINED FOR ERROR CODES!
 *  (LOOK FOR HOLES ABOVE).  THE RANGE 0x4000-0x7FFF CANNOT BE USED.
 */


#define	PKG_CODES		255


/* Define offsets within PKG_NETDRVLCL for local network drivers */

/*	On the Unix, since tcp is compiled into Notes, their strings must have
	unique IDs. We define a separate package for all drivers which are optional
	and each optional driver package will have its own offsets for first string
	as defined below. There is some room for expansion, but people adding
	strings should be aware of the extent  of their allocated ID space, and
	change it here if necessary, afterwards recompiling all dependent drivers.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -