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

📄 neterr.h

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

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

#define STR_DB_BEGIN_TRANSACTION_RQST	PKG_NETWORK+0
	stringtext(STR_DB_BEGIN_TRANSACTION_RQST,	"DB_BEGIN_TRANSACTION")
#define ERR_NO_MORE_SESSIONS	PKG_NETWORK+1
	errortext(ERR_NO_MORE_SESSIONS,	"Insufficient network or adapter resources.  Consult Network documentation to increase the maximum number of sessions.")
#define ERR_SESSION_CLOSED		PKG_NETWORK+2
	errortext(ERR_SESSION_CLOSED,	"Remote system no longer responding")
#define ERR_NAME_IN_USE			PKG_NETWORK+3
	errortext(ERR_NAME_IN_USE,
		"Another system is using the same server name as this system")
#define ERR_NET_FLAKY			PKG_NETWORK+4
	errortext(ERR_NET_FLAKY,
		"Network error due to transient network condition or hardware failure")
#define ERR_NET_HARDWARE		PKG_NETWORK+5
	errortext(ERR_NET_HARDWARE,
		"Network adapter not installed or not functioning")
#define ERR_NET_SOFTWARE		PKG_NETWORK+6
	errortext(ERR_NET_SOFTWARE,
		"Internal network software problem (or hardware malfunction)")
#define ERR_TIMEOUT				PKG_NETWORK+7
	errortext(ERR_TIMEOUT,		"Network operation did not complete in a reasonable amount of time; please retry")
#define ERR_NET_CMD_CANCELLED	PKG_NETWORK+8
	errortext(ERR_NET_CMD_CANCELLED,	"Network operation was cancelled")
#define ERR_RETRY				PKG_NETWORK+9
	internaltext(ERR_RETRY,		"(Retry command)")
#define ERR_NOT_RESPONDING		PKG_NETWORK+10
	errortext(ERR_NOT_RESPONDING,	"Remote system not responding")
#define ERR_NAME_IN_USE_HERE	PKG_NETWORK+11
	errortext(ERR_NAME_IN_USE_HERE,	"Network name already in use on this system")
#define ERR_INSUF_RCVD_DATA		PKG_NETWORK+12
	errortext(ERR_INSUF_RCVD_DATA,	"Network error: insufficient data received")
#define ERR_SEQUENCE_NUMBER		PKG_NETWORK+13
	errortext(ERR_SEQUENCE_NUMBER,	"Network error: message has incorrect sequence number")
#define ERR_BFR_TOO_SMALL		PKG_NETWORK+14
	errortext(ERR_BFR_TOO_SMALL,	"(Network error: buffer was too small)")
#define ERR_NO_NETBIOS			PKG_NETWORK+15
	errortext(ERR_NO_NETBIOS,	"NETBIOS not loaded or not running")
#define	ERR_WRONG_SERVER		PKG_NETWORK+16
	errortext(ERR_WRONG_SERVER,	"Specified port(s) currently in use")
#define ERR_DISCONNECTED		PKG_NETWORK+17
	errortext(ERR_DISCONNECTED,	"Disconnected from Server")
#define ERR_SESSION_TABLE_FULL	PKG_NETWORK+18
	errortext(ERR_SESSION_TABLE_FULL,	"Network Session Table is full. Increase maximum number of sessions with MAX_NETWORK_SESSIONS Notes.INI")
#define	ERR_TERMINATED			PKG_NETWORK+19
	debugtext(ERR_TERMINATED, 	"(Port successfully terminated)")
#define	ERR_WRONG_STATE			PKG_NETWORK+20
	errortext(ERR_WRONG_STATE,	"Port not ready or carrier not established")
#define	ERR_REMOTE_BUSY			PKG_NETWORK+21
	errortext(ERR_REMOTE_BUSY,	"Remote phone was busy")
#define	ERR_NO_ANSWER			PKG_NETWORK+22
	errortext(ERR_NO_ANSWER,	"Remote phone did not answer")
#define ERR_NO_CARRIER			PKG_NETWORK+23
	errortext(ERR_NO_CARRIER,	"Remote phone did not answer or modem could not detect carrier")
#define ERR_NO_DIALTONE			PKG_NETWORK+24
	errortext(ERR_NO_DIALTONE,	"Modem could not detect dial tone")
#define ERR_BADPORT_ARGS		PKG_NETWORK+25
	errortext(ERR_BADPORT_ARGS,	"Invalid port initialization argument list")
#define	ERR_MODEM_RESPONSE		PKG_NETWORK+26
	errortext(ERR_MODEM_RESPONSE, "Received unrecognizable response from modem")
#define	ERR_MODEM_NORESP		PKG_NETWORK+27
	errortext(ERR_MODEM_NORESP,	"Modem does not respond")
#define	ERR_HANDSHAKE			PKG_NETWORK+28
	errortext(ERR_HANDSHAKE,	"Could not establish dialog with remote system")
#define ERR_SESS_NOT_READY		PKG_NETWORK+29
	errortext(ERR_SESS_NOT_READY, "Session is not yet opened")
#define	ERR_NO_SUCH_UNIT		PKG_NETWORK+30
	errortext(ERR_NO_SUCH_UNIT,	"Communications port hardware not present or in use by another device.")
#define	ERR_DEVICE_IN_USE		PKG_NETWORK+31
	errortext(ERR_DEVICE_IN_USE,"Device or unit number already in use")
#define	ERR_DRIVER_IN_USE		PKG_NETWORK+32
	errortext(ERR_DRIVER_IN_USE,"Driver already in use")
#define	ERR_NO_RING_BUFFER		PKG_NETWORK+33
	errortext(ERR_NO_RING_BUFFER,"Driver could not allocate memory for communications buffers")
#define	ERR_NO_BUFFERS			PKG_NETWORK+34
	errortext(ERR_NO_BUFFERS,	"Unable to allocate network buffer(s)")
#define	ERR_BADDEV_PARAMS		PKG_NETWORK+35
	errortext(ERR_BADDEV_PARAMS,"Invalid driver initialization parameters")
#define	ERR_BAD_RESPONSE		PKG_NETWORK+36
	errortext(ERR_BAD_RESPONSE,	"Unrecognized response from system request")
#define ERR_NO_SUCH_PORT		PKG_NETWORK+37
	errortext(ERR_NO_SUCH_PORT,	"Notes Port Driver unavailable")
#define ERR_NO_SUCH_SESSION		PKG_NETWORK+38
	errortext(ERR_NO_SUCH_SESSION,	"No such session or session has been closed")
#define	ERR_SERVERS_UNKNOWN		PKG_NETWORK+39
	errortext(ERR_SERVERS_UNKNOWN,	"Other servers are not known by this system")
#define	ERR_DUPL_PORTNAME		PKG_NETWORK+40
	errortext(ERR_DUPL_PORTNAME,	 "A port with that name already exists")
#define	ERR_MSGQUEUE_EMPTY		PKG_NETWORK+41
	internaltext(ERR_MSGQUEUE_EMPTY, "Message queue is empty")
#define ERR_NOT_QUEUE			PKG_NETWORK+42
	internaltext(ERR_NOT_QUEUE,	"Structure is not a message queue head")
#define ERR_INSUFF_ARGS			PKG_NETWORK+43
	errortext(ERR_INSUFF_ARGS,	"Not enough parameters specified in NOTES.INI to initialize port driver")
#define ERR_INSUFF_ADAP_RES		PKG_NETWORK+44
	errortext(ERR_INSUFF_ADAP_RES,"Insufficient network or adapter resources.  Consult Network documentation to increase those resources.")
#define ERR_NO_PORT_FUNC		PKG_NETWORK+45
	errortext(ERR_NO_PORT_FUNC,	"Function not implemented on this port")
#define ERR_NO_PROGRESS			PKG_NETWORK+46
	internaltext(ERR_NO_PROGRESS,	"no progress in time allotted (but i/o still active)")
#define	STR_JS_GROUP_NAMESPACE		PKG_NETWORK+47
	debugtext(STR_JS_GROUP_NAMESPACE,	 "1\\$Groups")

#define	ERR_NET_NOT_INIT		PKG_NETWORK+48
	debugtext(ERR_NET_NOT_INIT,	 "Network package has not been initialized")
#define ERR_NETBFR_YIELD			PKG_NETWORK+49
	internaltext(ERR_NETBFR_YIELD,		"Yield, then call back with same NETBFR")
#define	ERR_NETBFR_ISSUERCV			PKG_NETWORK+50
	internaltext(ERR_NETBFR_ISSUERCV,	"Use NETBFR to issue a receive")
#define	ERR_NETBFR_ISSUEXMT			PKG_NETWORK+51
	internaltext(ERR_NETBFR_ISSUEXMT,	"Use NETBFR to issue a transmit")
#define	ERR_NETBFR_INUSE			PKG_NETWORK+52
	internaltext(ERR_NETBFR_INUSE,		"NETBFR has been consumed")

#define STR_DDM_PROBE_FREQUENCY						PKG_NETWORK+53
	stringtext(STR_DDM_PROBE_FREQUENCY, 			"%s - %z to %z (%ld minute)(%s)|%s - Daily at %z (%s)|%s - Weekly at %z (%s)|%s - Monthly on %ld at %z")
#define IDX_PROBE_SCHED_INTERVAL					1
#define IDX_PROBE_SCHED_DAILY						2
#define IDX_PROBE_SCHED_WEEKLY						3
#define IDX_PROBE_SCHED_MONTHLY						4

#define ERR_NO_SERVER_INFO			PKG_NETWORK+54
	errortext(ERR_NO_SERVER_INFO,	"Address Book database contains no Connection document for that server")
#define ERR_NO_PORT_FROM_DB			PKG_NETWORK+55
	errortext(ERR_NO_PORT_FROM_DB,	"No ports specified in connection document found in the Address Book (to reach the server) are configured on this system")
#define ERR_NO_SUCH_SITE			PKG_NETWORK+56
	errortext(ERR_NO_SUCH_SITE,		"Site is unknown")

#define ERR_MAIL_PROBE_FAILED		PKG_NETWORK+57
	errortext(ERR_MAIL_PROBE_FAILED,		"Mail probe to %s has failed due to error")

#define ERR_UNKNOWN_APPL			PKG_NETWORK+58
	errortext(ERR_UNKNOWN_APPL,		"Connections database has no information for that application")
#define ERR_TOO_MANY_APPLS			PKG_NETWORK+59
	errortext(ERR_TOO_MANY_APPLS,	"Connections database contains too many different applications")
#define ERR_LANMAN_PROC_LIMIT		PKG_NETWORK+60
	errortext(ERR_LANMAN_PROC_LIMIT,"The LANMAN process limit has been exceeded.  This cannot be increased.  Reduce usage by limiting clients (see SERVER_MAXSESSIONS parameter in Notes Admin Guide).")
#define ERR_NET_CONTINUE			PKG_NETWORK+61
	internaltext(ERR_NET_CONTINUE,	"Continue operation.")

#define ERR_MAIL_PROBE_TIMEDOUT		PKG_NETWORK+62
	errortext(ERR_MAIL_PROBE_TIMEDOUT,		"Mail probe to %s has timed out.")

#define ERR_LINK_TABLE_FULL			PKG_NETWORK+63
	internaltext(ERR_LINK_TABLE_FULL,	"Link notification table is full")
#define ERR_NET_PORT_VERSION		PKG_NETWORK+64
	errortext(ERR_NET_PORT_VERSION,	"The network port driver is an incompatible version")
#define ERR_NO_SCHED_INFO			PKG_NETWORK+65
	errortext(ERR_NO_SCHED_INFO,	"Name & Address Book contains a Connection entry with no schedule information")

#define ERR_MAIL_PROBE_SUCCESS		PKG_NETWORK+66
	errortext(ERR_MAIL_PROBE_SUCCESS, "Mail probe to %s was successful")

#define ERR_NET_CARRIER_DOWN		PKG_NETWORK+67
	errortext(ERR_NET_CARRIER_DOWN,	"Modem lost carrier")
#define	ERR_NET_CARRIER_UP			PKG_NETWORK+68
	stringtext(ERR_NET_CARRIER_UP,	" bits per second connection established")
#define	ERR_NET_PORT_REINIT			PKG_NETWORK+69
	errortext(ERR_NET_PORT_REINIT,	"Some changes may require a restart to take effect")
#define ERR_DIAL_QUERY1				PKG_NETWORK+70
	errortext(ERR_DIAL_QUERY1,		"Make call to server ")
#define ERR_DIAL_QUERY2				PKG_NETWORK+71
	stringtext(ERR_DIAL_QUERY2,		" on port ")
#define ERR_DIAL_QUERY3				PKG_NETWORK+72
	stringtext(ERR_DIAL_QUERY3,		"?")
#define ERR_DIAL_QUERY_NO			PKG_NETWORK+73
	errortext(ERR_DIAL_QUERY_NO,	"Remote computer is not currently accessible")
#define	ERR_1200_DIAL_ERROR			PKG_NETWORK+74
	errortext(ERR_1200_DIAL_ERROR,	"Could not detect carrier or dialtone; or phone was busy or did not answer")
#define	ERR_MODEM_BADCMD			PKG_NETWORK+75
	errortext(ERR_MODEM_BADCMD,		"Modem reported command error.  Check: (1) That the command file selected is correct; \
(2) If editing a command file, that all commands conform to modem vendor documentation of supported AT commands.")
#define	ERR_STRING_RESOURCE			PKG_NETWORK+76
	errortext(ERR_STRING_RESOURCE,	"String resource not provided")
#define	ERR_NET_CLEARING_DTR		PKG_NETWORK+77
	errortext(ERR_NET_CLEARING_DTR,	"Clearing modem's DTR")
#define	ERR_NET_ANSWERING_PHONE		PKG_NETWORK+78
	errortext(ERR_NET_ANSWERING_PHONE,	"Error encountered while answering an incoming call")
#define ERR_NO_SUCH_TASK			PKG_NETWORK+79
	errortext(ERR_NO_SUCH_TASK,		"No such task known")
#define ERR_DIAL_TIMER_EXPIRED		PKG_NETWORK+80
	errortext(ERR_DIAL_TIMER_EXPIRED, "Call Timer expired")
#define ERR_UNKNOWN_LANMAN			PKG_NETWORK+81
	errortext(ERR_UNKNOWN_LANMAN,	"Unknown LAN Manager error")
#define ERR_NET_NOT_STARTED			PKG_NETWORK+82
	errortext(ERR_NET_NOT_STARTED,	"Network not started")
#define ERR_INTERNAL_LANMAN			PKG_NETWORK+83
	errortext(ERR_INTERNAL_LANMAN,	"Internal error in network operating system")
#define ERR_DRIVER_HANDLE			PKG_NETWORK+84
	errortext(ERR_DRIVER_HANDLE,	"Invalid network driver or semaphore handle")
#define ERR_BAD_UNIT_NUM			PKG_NETWORK+85
	errortext(ERR_BAD_UNIT_NUM,		"NETBIOS unit/lana number specified in NOTES.INI is not valid on this system, or a network is not started")
#define ERR_INSUFF_OS_RES			PKG_NETWORK+86
	errortext(ERR_INSUFF_OS_RES,	"Insufficient operating system resources")

#define ERR_ISPY_PROBE_TIMEDOUT			PKG_NETWORK+87
	errortext(ERR_ISPY_PROBE_TIMEDOUT,	"Probe of %s port on %s has timed out")


#define ERR_ADAP_BUSY				PKG_NETWORK+88
	errortext(ERR_ADAP_BUSY,		"Network adapter too busy to handle request")
#define ERR_NOLOGFILE				PKG_NETWORK+89
	errortext(ERR_NOLOGFILE,		"Unable to open log file")
#define	ERR_DRIVER_NOT_INIT			PKG_NETWORK+90
	errortext(ERR_DRIVER_NOT_INIT,	 "Network driver has not been initialized")
#define ERR_LOGENTRY_INVALID		PKG_NETWORK+91
	debugtext(ERR_LOGENTRY_INVALID,	"LogEntry out of range")
#define ERR_LOG_NULLHANDLE			PKG_NETWORK+92
	debugtext(ERR_LOG_NULLHANDLE,  	"LogEntry not allocated")

⌨️ 快捷键说明

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