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

📄 oserr.h

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

#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 OSERR_DEFS
#define OSERR_DEFS

/* error codes  */

#define ERR_NTMULTI			PKG_OS+0
	errortext(ERR_NTMULTI,		"Cannot restart as new user.  Please be sure the multi-user cleanup service has been installed and started.")
#define ERR_UNKNOWN			PKG_OS+1
	errortext(ERR_UNKNOWN,		"Unknown OS error")
#define ERR_PROTECTED		PKG_OS+2
	errortext(ERR_PROTECTED,	"Cannot write or create file (file or disk is read-only)")
#define ERR_NOEXIST			PKG_OS+3
	errortext(ERR_NOEXIST,		"File does not exist")
#define ERR_EXISTS			PKG_OS+4
	errortext(ERR_EXISTS,		"File already exists")
#define ERR_FILES			PKG_OS+5
	errortext(ERR_FILES,		"Too many open files")
#define ERR_DISK			PKG_OS+6
	errortext(ERR_DISK,			"Insufficient disk space")
#define ERR_MEMORY			PKG_OS+7
#ifdef OS2
	errortext(ERR_MEMORY,		"Insufficient memory.  Check space on disk used for OS/2 swapping.")
#else
#ifdef MAC
	errortext(ERR_MEMORY,		"Insufficient memory. Please close any unneeded windows. You may also increase Notes' available memory by quitting and choosing 'Get Info...' from the Finder.")
#else
	errortext(ERR_MEMORY,		"Insufficient memory.")
#endif
#endif
#define ERR_CREATE			PKG_OS+8
	errortext(ERR_CREATE,		"File cannot be created")
#define ERR_TRUNC			PKG_OS+9
	errortext(ERR_TRUNC,		"File truncated - file may have been damaged")
#define ERR_LOCKS			PKG_OS+10
	errortext(ERR_LOCKS,		"too many file locks")
#define	ERR_NO_MORE_FILES	PKG_OS+11
	errortext(ERR_NO_MORE_FILES,"no more files to search")
#define ERR_LOCK			PKG_OS+12
	errortext(ERR_LOCK,			"File is in use by another program")
#define ERR_FD				PKG_OS+13
	errortext(ERR_FD,			"invalid file handle")
#define ERR_IOERROR			PKG_OS+14
	errortext(ERR_IOERROR,		"I/O data error")
#define ERR_DRIVE_NOT_READY	PKG_OS+15
	errortext(ERR_DRIVE_NOT_READY,"Drive is not ready")
#define ERR_ACCESS		PKG_OS+16
	errortext(ERR_ACCESS,		 "Access to data denied.")
#define ERR_PROGDIR			PKG_OS+17
	errortext(ERR_PROGDIR,	"Unable to access files directory")
#define ERR_INV_SERVER_NAME PKG_OS+18
	errortext(ERR_INV_SERVER_NAME,	"Invalid server or network name syntax")
#define ERR_INV_FILE_NAME 	PKG_OS+19
	errortext(ERR_INV_FILE_NAME,	"File name too long or invalid file name syntax")
#define ERR_DS_MEMORY		PKG_OS+20
	errortext(ERR_DS_MEMORY,		"Insufficient memory - local heap is full")
#define ERR_OS_ERROR		PKG_OS+21
	errortext(ERR_OS_ERROR,			"An OS/2 error has occurred.  The code is %d (0x%04x).  Consult your OS/2 documentation or ask for assistance.")
#define ERR_REALLOC_LOCKED	PKG_OS+22
	errortext(ERR_REALLOC_LOCKED,	"Warning: Novell OS/2 Requestor left I/O buffer locked.  Retrying...")
#define ERR_LOCALDEBUG1		PKG_OS+23
	debugtext(ERR_LOCALDEBUG1,		"OSLocalAlloc: DS Moved %04x -> %04x%n")
#define ERR_LOCALDEBUG2		PKG_OS+24
	debugtext(ERR_LOCALDEBUG2,		"OSLocalAlloc: DS Grew  %ld -> %ld%n")
#define ERR_LOCAL_REFCNT	PKG_OS+25
	debugtext(ERR_LOCAL_REFCNT,		"OSLocalAlloc: DS lock count = %u -- CAN'T EXTEND DS%n")
#define ERR_LIBLOAD			PKG_OS+26
	errortext(ERR_LIBLOAD,			"Insufficient memory to load the executable program library.")
#define ERR_PATHCHAR		PKG_OS+27
	errortext(ERR_PATHCHAR,			"Invalid character in file name")
#define ERR_LOCALCHECK1		PKG_OS+28
	debugtext(ERR_LOCALCHECK1,		"OSLocalCheck: First arena entry blown")
#define ERR_LOCALCHECK2		PKG_OS+29
	debugtext(ERR_LOCALCHECK2,		"OSLocalCheck: Object count does not match chain")
#define ERR_LOCALCHECK3		PKG_OS+30
	debugtext(ERR_LOCALCHECK3,		"OSLocalCheck: Prev Link Destroyed")
#define ERR_LOCALCHECK4		PKG_OS+31
	debugtext(ERR_LOCALCHECK4,		"OSLocalCheck: Invalid Local Object")
#define ERR_CIRC_DIR		PKG_OS+32
	errortext(ERR_CIRC_DIR,			"Circular Directory Scan Reference")
#define ERR_OSTIME			PKG_OS+33
	errortext(ERR_OSTIME,			"Operating System Time or Date is invalid!")
#define ERR_NO_USER			PKG_OS+34
	errortext(ERR_NO_USER,			"User information not available")
#define ERR_OLDEXE			PKG_OS+35
	errortext(ERR_OLDEXE,			"Driver file format error")
#define ERR_ONEMOMENT		PKG_OS+36
	stringtext(ERR_ONEMOMENT,		"One moment, please...")
#define ERR_SWAPIN_MEMORY	PKG_OS+37
	errortext(ERR_SWAPIN_MEMORY,	"Insufficient memory for swapper - cannot continue")
#define ERR_SWAPIN_DISK		PKG_OS+38
	errortext(ERR_SWAPIN_DISK,		"Disk or network error (reading swap file) - cannot continue")
#define ERR_OSMESSAGE_OK	PKG_OS+39
	internaltext(ERR_OSMESSAGE_OK,		"(internal, used by message signal handler")
#define ERR_OSMESSAGE_YES	PKG_OS+40
	internaltext(ERR_OSMESSAGE_YES,	"(internal, used by message signal handler")
#define ERR_OSMESSAGE_NO	PKG_OS+41
	internaltext(ERR_OSMESSAGE_NO,		"(internal, used by message signal handler")
#define ERR_OSMESSAGE_CANCEL PKG_OS+42
	internaltext(ERR_OSMESSAGE_CANCEL,	"(internal, used by message signal handler")
#define ERR_OSMESSAGE_RETRY	PKG_OS+43
	internaltext(ERR_OSMESSAGE_RETRY,	"(internal, used by message signal handler")
#define ERR_NOTMULTITASK	PKG_OS+44
	errortext(ERR_NOTMULTITASK,			"Cannot support multiple processes using Notes in this environment")
#define ERR_RESTORED		PKG_OS+45
	internaltext(ERR_RESTORED,			"(restored from memory image")
#define ERR_WRITETRUNC		PKG_OS+46
	errortext(ERR_WRITETRUNC,		"Cannot write to file (possibly it is READ-ONLY or the disk is out of space or not ready)")
#define ERR_LOCALDEBUG3		PKG_OS+47
	debugtext(ERR_LOCALDEBUG3,		"OSLocalAlloc: retAddress arg is in DS being moved!!!")
#define	ERR_BADQUOTE_FORMAT	PKG_OS+48
	errortext(ERR_BADQUOTE_FORMAT,	"Invalid quoted argument format")
#define	ERR_DIVIDE_BY_ZERO	PKG_OS+49
	debugtext(ERR_DIVIDE_BY_ZERO,	"Divide By Zero")
#define	ERR_MARKERS_PRECEED	PKG_OS+50
	debugtext(ERR_MARKERS_PRECEED,	"CheckMarkers: Memory preceding object has been destroyed")
#define	ERR_MARKERS_FOLLOW	PKG_OS+51
	debugtext(ERR_MARKERS_FOLLOW,	"CheckMarkers: Memory following object has been destroyed")
#define	ERR_MARKERS_DUMP	PKG_OS+52
	debugtext(ERR_MARKERS_DUMP,	"CheckMarkers: Segment length: %u%n")
#define	ERR_INVALID_DRIVE	PKG_OS+53
	errortext(ERR_INVALID_DRIVE,	"Invalid drive")
#define	ERR_OS_NULL_HANDLE	PKG_OS+54
	debugtext(ERR_OS_NULL_HANDLE,	"LookupHandle: null handle")
#define	ERR_OS_HANDLE_RANGE	PKG_OS+55
	debugtext(ERR_OS_HANDLE_RANGE,	"LookupHandle: handle out of range")
#define	ERR_OS_FREE_HANDLE	PKG_OS+56
	debugtext(ERR_OS_FREE_HANDLE,	"LookupHandle: handle not allocated")
#define	ERR_OS_STILL_LOCKED PKG_OS+57
	debugtext(ERR_OS_STILL_LOCKED,	"MemFree: object still locked")
#define	ERR_OS_ALREADY_UNLOCKED PKG_OS+58
	debugtext(ERR_OS_ALREADY_UNLOCKED, "UnlockObject: already unlocked")
#define	ERR_SEGMENT_TOO_BIG	PKG_OS+59
	errortext(ERR_SEGMENT_TOO_BIG, "Memory allocation request exceeded 65,000 bytes")
#define	ERR_FILE_CLOSE_ACC	PKG_OS+60
	internaltext(ERR_FILE_CLOSE_ACC, "Attempt to close file that still has accessors")
#define	ERR_THREAD_CREATE	PKG_OS+61
	errortext(ERR_THREAD_CREATE, "Cannot create thread")
#define	ERR_SIGNAL_CHANGE	PKG_OS+62
	internaltext(ERR_SIGNAL_CHANGE, "Cannot change a signal handler!")
#define	ERR_PCB				PKG_OS+63
	internaltext(ERR_PCB,	 "There is already a PCB for this process!")
#define ERR_LIBLOAD2	 	PKG_OS+64
	errortext(ERR_LIBLOAD2,	"Program library not loaded. Required .DLL missing or could not load.")
#define ERR_OS_LAUNCH_UNAVAILABLE	 PKG_OS+65
	errortext(ERR_OS_LAUNCH_UNAVAILABLE,	"Launching attachments only works with System 7 or later.")
#define ERR_SETUP_NOT_DONE	PKG_OS+66
#ifdef OS400
	errortext(ERR_SETUP_NOT_DONE,"Server is not setup.  Please run CFGDOMSVR or the Setup Wizard to setup your Domino server...")
#else
	errortext(ERR_SETUP_NOT_DONE,"Launching the Domino setup wizard to setup your server...")
#endif
#define ERR_MEMORY_WENT_AWAY PKG_OS+67
	debugtext(ERR_MEMORY_WENT_AWAY,"Halt: ANOTHER process crashed (not this one). Report previous crash!")
#define ERR_UNLOCK_UNDERFLOW PKG_OS+68
	debugtext(ERR_UNLOCK_UNDERFLOW,"DosUnlockSeg expected error (%e)%n")
#define ERR_FREESEG			PKG_OS+69
	debugtext(ERR_FREESEG,	"DosFreeSeg error")
#define ERR_OSMESSAGE_CANNOT_PROMPT PKG_OS+70
	internaltext(ERR_OSMESSAGE_CANNOT_PROMPT, "(internal, used by message signal handler")
#define ERR_LIBLOAD3	 	PKG_OS+71
	errortext(ERR_LIBLOAD3,	"The executable program library cannot be found.")
#define ERR_EXCEPTION	 	PKG_OS+72
	debugtext(ERR_EXCEPTION,"Fatal program exception interrupt")
#define ERR_OS_EXECERRORNF	PKG_OS+73
	errortext(ERR_OS_EXECERRORNF,"Unable to locate program")
#define ERR_OS_EXECERROR	PKG_OS+74
	errortext(ERR_OS_EXECERROR,"Unable to invoke program")
#define ERR_OS_ABSOLUTE 	PKG_OS+75
	errortext(ERR_OS_ABSOLUTE,	"File name must be an absolute path")

/*** PKG_OS+76 through PKG_OS+124 are reserved for internationalization use */

/* Daylight saving in GMT is called Bristish Summer Time (BST)  SPR #CLE3GUFC9 */

#define STR_OS_ZONE_0		PKG_OS+77
	stringtext(STR_OS_ZONE_0,	"0 GMT GDT Greenwich Mean Time")
#define STR_OS_ZONE_1		PKG_OS+78
	stringtext(STR_OS_ZONE_1,	"1 ZW1 YW1 One hour west of GMT")
#define STR_OS_ZONE_2		PKG_OS+79
	stringtext(STR_OS_ZONE_2,	"2 ZW2 YW2 Two hours west of GMT")
#define STR_OS_ZONE_3		PKG_OS+80
	stringtext(STR_OS_ZONE_3,	"3 ZW3 ZW3 Three hours west of GMT")
#define STR_OS_ZONE_4		PKG_OS+81
	stringtext(STR_OS_ZONE_4,	"3003 NST NDT Newfoundland")
#define STR_OS_ZONE_5		PKG_OS+82
	stringtext(STR_OS_ZONE_5,	"4 AST ADT Atlantic Standard Time")
#define STR_OS_ZONE_6		PKG_OS+83
	stringtext(STR_OS_ZONE_6,	"5 EST EDT Eastern Standard Time")
#define STR_OS_ZONE_7		PKG_OS+84
	stringtext(STR_OS_ZONE_7,	"6 CST CDT Central Standard Time")

⌨️ 快捷键说明

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