home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Encyclopedia 96-1
/
novell-nsepro-1996-1-cd2.iso
/
download
/
netware
/
os2hdr.exe
/
NWERROR.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-06-21
|
17KB
|
254 lines
/*--------------------------------------------------------------------------
(C) Copyright Novell, Inc. 1991 All Rights Reserved.
No part of this file may be duplicated, revised, translated, localized or
modified in any manner or compiled, linked, or uploaded or downloaded to or
from any computer system without the prior written consent of Novell, Inc.
--------------------------------------------------------------------------*/
#ifndef NWERROR_INC
#define NWERROR_INC
#ifndef NWCALDEF_INC
#include <nwcaldef.h>
#endif
/**** Network errors ****/
/* Decimal values at end of line are 32768 lower than actual */
#define SHELL_ERROR 0x8800
#define VLM_ERROR 0x8800
#define ALREADY_ATTACHED 0x8800 /* 0 - Attach attempted to server with valid, existing connection */
#define INVALID_CONNECTION 0x8801 /* 1 - Request attempted with invalid or non-attached connection handle */
#define DRIVE_IN_USE 0x8802 /* 2 - OS/2 only (NOT USED) */
#define CANT_ADD_CDS 0x8803 /* 3 - Map drive attempted but unable to add new current directory structure */
#define BAD_DRIVE_BASE 0x8804 /* 4 - Map drive attempted with invalid path specification */
#define NET_READ_ERROR 0x8805 /* 5 - Attempt to receive from the selected transport failed */
#define NET_RECV_ERROR 0x8805 /* 5 */
#define UNKNOWN_NET_ERROR 0x8806 /* 6 - Network send attempted with an un-specific network error */
#define SERVER_INVALID_SLOT 0x8807 /* 7 - Server request attempted with invalid server connection slot */
#define BAD_SERVER_SLOT 0x8807 /* 7 */
#define NO_SERVER_SLOTS 0x8808 /* 8 - Attach attempted to server with no connection slots available */
#define NET_WRITE_ERROR 0x8809 /* 9 - Attempt to send on the selected transport failed */
#define NET_SEND_ERROR 0x8809 /* 9 */
#define SERVER_NO_ROUTE 0x880A /* 10 - Attempted to find route to server where no route exists */
#define BAD_LOCAL_TARGET 0x880B /* 11 - OS/2 only */
#define TOO_MANY_REQ_FRAGS 0x880C /* 12 - Attempted request with too many request fragments specified */
#define CONNECT_LIST_OVERFLOW 0x880D /* 13 */
#define BUFFER_OVERFLOW 0x880E /* 14 - Attempt to receive more data than the reply buffer had room for */
#define NO_CONN_TO_SERVER 0x880F /* 15 */
#define NO_CONNECTION_TO_SERVER 0x880F /* 15 - Attempt to get connection for a server not connected */
#define NO_ROUTER_FOUND 0x8810 /* 16 - OS/2 only */
#define BAD_FUNC_ERROR 0x8811 /* 17 */
#define INVALID_SHELL_CALL 0x8811 /* 17 - Attempted function call to non- existent or illegal function */
#define NOT_SAME_CONNECTION 0x8830 /* 48 - Internal server request attempted accross different server connections */
#define PRIMARY_CONNECTION_NOT_SET 0x8831 /* 49 - Attempt to retrieve default connection with no primary connection set */
#define NO_PRIMARY_SET 0x8831 /* 49 */
#define NO_CAPTURE_SET 0x8832 /* 50 */
#define NO_CAPTURE_IN_PROGRESS 0x8832 /* 50 - Capture information requested on port with no capture in progress */
#define BAD_BUFFER_LENGTH 0x8833 /* 51 */
#define INVALID_BUFFER_LENGTH 0x8833 /* 51 - Used to indicate length which caller requested on a GetDNC or SetDNC was too large */
#define NO_USER_NAME 0x8834 /* 52 */
#define NO_NETWARE_PRINT_SPOOLER 0x8835 /* 53 - Capture requested without having the local print spooler installed */
#define INVALID_PARAMETER 0x8836 /* 54 - Attempted function with an invalid function parameter specified */
#define CONFIG_FILE_OPEN_FAILED 0x8837 /* 55 - OS/2 only */
#define NO_CONFIG_FILE 0x8838 /* 56 - OS/2 only */
#define CONFIG_FILE_READ_FAILED 0x8839 /* 57 - OS/2 only */
#define CONFIG_LINE_TOO_LONG 0x883A /* 58 - OS/2 only */
#define CONFIG_LINES_IGNORED 0x883B /* 59 - OS/2 only */
#define NOT_MY_RESOURCE 0x883C /* 60 - Attempted request made with a parameter using foriegn resource */
#define DAEMON_INSTALLED 0x883D /* 61 - OS/2 only */
#define SPOOLER_INSTALLED 0x883E /* 62 - Attempted load of print spooler with print spooler already installed */
#define CONN_TABLE_FULL 0x883F /* 63 */
#define CONNECTION_TABLE_FULL 0x883F /* 63 - Attempted to allocate a connection handle with no more local connection table entries */
#define CONFIG_SECTION_NOT_FOUND 0x8840 /* 64 - OS/2 only */
#define BAD_TRAN_TYPE 0x8841 /* 65 */
#define INVALID_TRANSPORT_TYPE 0x8841 /* 65 - Attempted function on a connection with an invalid transport selected */
#define TDS_TAG_IN_USE 0x8842 /* 66 - OS/2 only */
#define TDS_OUT_OF_MEMORY 0x8843 /* 67 - OS/2 only */
#define TDS_INVALID_TAG 0x8844 /* 68 - Attempted TDS function with invalid tag */
#define TDS_WRITE_TRUNCATED 0x8845 /* 69 - Attempted TDS write with buffer that exceeded buffer */
#define NO_DIRECTORY_SERVICE_CONNECTION 0x8846 /* 70 */
#define SERVICE_BUSY 0x8846 /* 70 - Attempted request made to partially asynchronous function in busy state */
#define NO_SERVER_ERROR 0x8847 /* 71 - Attempted connect failed to find any servers responding */
#define BAD_VLM_ERROR 0x8848 /* 72 - Attempted function call to non-existant or not-loaded overlay */
#define NETWORK_DRIVE_IN_USE 0x8849 /* 73 - Attempted map to network drive that was already mapped */
#define LOCAL_DRIVE_IN_USE 0x884A /* 74 - Attempted map to local drive that was in use */
#define NO_DRIVES_AVAILABLE 0x884B /* 75 - Attempted map to next available drive when none were available */
#define DEVICE_NOT_REDIRECTED 0x884C /* 76 - The device is not redirected */
#define NO_MORE_SFT_ENTRIES 0x884D /* 77 - Maximum number of files was reached */
#define UNLOAD_ERROR 0x884E /* 78 - Attempted unload failed */
#define IN_USE_ERROR 0x884F /* 79 - Attempted re-use of already in use connection entry */
#define TOO_MANY_REP_FRAGS 0x8850 /* 80 - Attempted request with too many reply fragments specified */
#define TABLE_FULL 0x8851 /* 81 - Attempted to add a name into the name table after it was full */
#define SOCKET_NOT_OPEN 0x8852 /* 82 - Listen was posted on unopened socket */
#define MEM_MGR_ERROR 0x8853 /* 83 - Attempted enhanced memory operation failed */
#define SFT3_ERROR 0x8854 /* 84 - An SFT3 switch occured mid-transfer */
#define PREFERRED_NOT_FOUND 0x8855 /* 85 - the preferred directory server was not established but another directory server was returned */
#define DEVICE_NOT_RECOGNIZED 0x8856 /* 86 - used to determine if the device is not used by VISE so pass it on to the next redirector, if any. */
#define BAD_NET_TYPE 0x8857 /* 87 - the network type (Bind/NDS) does not match the server version */
#define ERROR_OPENING_FILE 0x8858 /* 88 - generic open failure error, invalid path, access denied, etc.. */
#define NO_PREFERRED_SPECIFIED 0x8859 /* 89 - no preferred name specified */
#define ERROR_OPENING_SOCKET 0x885A /* 90 - error opening a socket */
#define SHELL_FAILURE 0x88FF
#define VLM_FAILURE 0x88FF
/* Server Errors */
#define ERR_INSUFFICIENT_SPACE 0x8901 /* 001 */
#define ERR_BUFFER_TOO_SMALL 0x8977 /* 119 */
#define ERR_VOLUME_FLAG_NOT_SET 0x8978 /* 120 the service requested, not avail. on the selected vol. */
#define ERR_NO_ITEMS_FOUND 0x8979 /* 121 */
#define ERR_CONN_ALREADY_TEMP 0x897a /* 122 */
#define ERR_CONN_ALREADY_LOGGED_IN 0x897b /* 123 */
#define ERR_CONN_NOT_AUTHENTICATED 0x897c /* 124 */
#define ERR_CONN_NOT_LOGGED_IN 0x897d /* 125 */
#define NCP_BOUNDARY_CHECK_FAILED 0x897e /* 126 */
#define ERR_LOCK_WAITING 0x897e /* 127 */
#define ERR_LOCK_FAIL 0x8980 /* 128 */
#define FILE_IN_USE_ERROR 0x8980 /* 128 */
#define NO_MORE_FILE_HANDLES 0x8981 /* 129 */
#define NO_OPEN_PRIVILEGES 0x8982 /* 130 */
#define IO_ERROR_NETWORK_DISK 0x8983 /* 131 */
#define NO_CREATE_PRIVILEGES 0x8984 /* 132 */
#define NO_CREATE_DELETE_PRIVILEGES 0x8985 /* 133 */
#define CREATE_FILE_EXISTS_READ_ONLY 0x8986 /* 134 */
#define WILD_CARDS_IN_CREATE_FILE_NAME 0x8987 /* 135 */
#define INVALID_FILE_HANDLE 0x8988 /* 136 */
#define NO_SEARCH_PRIVILEGES 0x8989 /* 137 */
#define NO_DELETE_PRIVILEGES 0x898A /* 138 */
#define NO_RENAME_PRIVILEGES 0x898B /* 139 */
#define NO_MODIFY_PRIVILEGES 0x898C /* 140 */
#define SOME_FILES_AFFECTED_IN_USE 0x898D /* 141 */
#define NO_FILES_AFFECTED_IN_USE 0x898E /* 142 */
#define SOME_FILES_AFFECTED_READ_ONLY 0x898F /* 143 */
#define NO_FILES_AFFECTED_READ_ONLY 0x8990 /* 144 */
#define SOME_FILES_RENAMED_NAME_EXISTS 0x8991 /* 145 */
#define NO_FILES_RENAMED_NAME_EXISTS 0x8992 /* 146 */
#define NO_READ_PRIVILEGES 0x8993 /* 147 */
#define NO_WRITE_PRIVILEGES_OR_READONLY 0x8994 /* 148 */
#define FILE_DETACHED 0x8995 /* 149 */
#define SERVER_OUT_OF_MEMORY 0x8996 /* 150 */
#define ERR_TARGET_NOT_A_SUBDIRECTORY 0x8986 /* 150 can be changed later (note written by server people). */
#define NO_DISK_SPACE_FOR_SPOOL_FILE 0x8997 /* 151 */
#define VOLUME_DOES_NOT_EXIST 0x8998 /* 152 */
#define DIRECTORY_FULL 0x8999 /* 153 */
#define RENAMING_ACROSS_VOLUMES 0x899A /* 154 */
#define BAD_DIRECTORY_HANDLE 0x899B /* 155 */
#define INVALID_PATH 0x899C /* 156 */
#define NO_MORE_TRUSTEES 0x899C /* 156 */
#define NO_MORE_DIRECTORY_HANDLES 0x899D /* 157 */
#define INVALID_FILENAME 0x899E /* 158 */
#define DIRECTORY_ACTIVE 0x899F /* 159 */
#define DIRECTORY_NOT_EMPTY 0x89A0 /* 160 */
#define DIRECTORY_IO_ERROR 0x89A1 /* 161 */
#define READ_FILE_WITH_RECORD_LOCKED 0x89A2 /* 162 */
#define ERR_TRANSACTION_RESTARTED 0x89A3 /* 163 */
#define ERR_RENAME_DIR_INVALID 0x89A4 /* 164 */
#define ERR_INVALID_OPENCREATE_MODE 0x89A5 /* 165 */
#define ERR_ALREADY_IN_USE 0x89A6 /* 166 */
#define ERR_INVALID_RESOURCE_TAG 0x89A7 /* 167 */
#define ERR_ACCESS_DENIED 0x89A8 /* 168 */
#define INVALID_DATA_STREAM 0x89BE /* 190 */
#define INVALID_NAME_SPACE 0x89BF /* 191 */
#define NO_ACCOUNTING_PRIVILEGES 0x89C0 /* 192 */
#define LOGIN_DENIED_NO_ACCOUNT_BALANCE 0x89C1 /* 193 */
#define LOGIN_DENIED_NO_CREDIT 0x89C2 /* 194 */
#define ERR_TOO_MANY_HOLDS 0x89C3 /* 195 */
#define ACCOUNTING_DISABLED 0x89C4 /* 196 */
#define INTRUDER_DETECTION_LOCK 0x89C5 /* 197 */
#define NO_CONSOLE_OPERATOR 0x89C6 /* 198 */
#define NO_CONSOLE_PRIVILEGES 0x89C6 /* 198 */
#define ERR_Q_IO_FAILURE 0x89D0 /* 208 */
#define ERR_NO_QUEUE 0x89D1 /* 209 */
#define ERR_NO_Q_SERVER 0x89D2 /* 210 */
#define ERR_NO_Q_RIGHTS 0x89D3 /* 211 */
#define ERR_Q_FULL 0x89D4 /* 212 */
#define ERR_NO_Q_JOB 0x89D5 /* 213 */
#define ERR_NO_Q_JOB_RIGHTS 0x89D6 /* 214 */
#define ERR_Q_IN_SERVICE 0x89D7 /* 215 */
#define PASSWORD_NOT_UNIQUE 0x89D7 /* 215 */
#define ERR_Q_NOT_ACTIVE 0x89D8 /* 216 */
#define PASSWORD_TOO_SHORT 0x89D8 /* 216 */
#define ERR_Q_STN_NOT_SERVER 0x89D9 /* 217 */
#define LOGIN_DENIED_NO_CONNECTION 0x89D9 /* 217 */
#define ERR_MAXIMUM_LOGINS_EXCEEDED 0x89D9 /* 217 */
#define ERR_Q_HALTED 0x89DA /* 218 */
#define UNAUTHORIZED_LOGIN_TIME 0x89DA /* 218 */
#define UNAUTHORIZED_LOGIN_STATION 0x89DB /* 219 */
#define ERR_Q_MAX_SERVERS 0x89DB /* 219 */
#define ACCOUNT_DISABLED 0x89DC /* 220 */
#define PASSWORD_HAS_EXPIRED_NO_GRACE 0x89DE /* 222 */
#define PASSWORD_HAS_EXPIRED 0x89DF /* 223 */
#define E_NO_MORE_USERS 0x89E7 /* 231 */
#define NOT_ITEM_PROPERTY 0x89E8 /* 232 */
#define WRITE_PROPERTY_TO_GROUP 0x89E8 /* 232 */
#define MEMBER_ALREADY_EXISTS 0x89E9 /* 233 */
#define NO_SUCH_MEMBER 0x89EA /* 234 */
#define NOT_GROUP_PROPERTY 0x89EB /* 235 */
#define NO_SUCH_SEGMENT 0x89EC /* 236 */
#define PROPERTY_ALREADY_EXISTS 0x89ED /* 237 */
#define OBJECT_ALREADY_EXISTS 0x89EE /* 238 */
#define INVALID_NAME 0x89EF /* 239 */
#define WILD_CARD_NOT_ALLOWED 0x89F0 /* 240 */
#define INVALID_BINDERY_SECURITY 0x89F1 /* 241 */
#define NO_OBJECT_READ_PRIVILEGE 0x89F2 /* 242 */
#define NO_OBJECT_RENAME_PRIVILEGE 0x89F3 /* 243 */
#define NO_OBJECT_DELETE_PRIVILEGE 0x89F4 /* 244 */
#define NO_OBJECT_CREATE_PRIVILEGE 0x89F5 /* 245 */
#define NO_PROPERTY_DELETE_PRIVILEGE 0x89F6 /* 246 */
#define NO_PROPERTY_CREATE_PRIVILEGE 0x89F7 /* 247 */
#define NO_PROPERTY_WRITE_PRIVILEGE 0x89F8 /* 248 */
#define NO_FREE_CONNECTION_SLOTS 0x89F9 /* 249 */
#define NO_PROPERTY_READ_PRIVILEGE 0x89F9 /* 249 */
#define NO_MORE_SERVER_SLOTS 0x89FA /* 250 */
#define TEMP_REMAP_ERROR 0x89FA /* 250 */
#define INVALID_PARAMETERS 0x89FB /* 251 */
#define NO_SUCH_PROPERTY 0x89FB /* 251 */
#define INTERNET_PACKET_REQT_CANCELED 0x89FC /* 252 */
#define UNKNOWN_FILE_SERVER 0x89FC /* 252 */
#define MESSAGE_QUEUE_FULL 0x89FC /* 252 */
#define NO_SUCH_OBJECT 0x89FC /* 252 */
#define LOCK_COLLISION 0x89FD /* 253 */
#define BAD_STATION_NUMBER 0x89FD /* 253 */
#define INVALID_PACKET_LENGTH 0x89FD /* 253 */
#define UNKNOWN_REQUEST 0x89FD /* 253 */
#define BINDERY_LOCKED 0x89FE /* 254 */
#define TRUSTEE_NOT_FOUND 0x89FE /* 254 */
#define DIRECTORY_LOCKED 0x89FE /* 254 */
#define INVALID_SEMAPHORE_NAME_LENGTH 0x89FE /* 254 */
#define PACKET_NOT_DELIVERABLE 0x89FE /* 254 */
#define SERVER_BINDERY_LOCKED 0x89FE /* 254 */
#define SOCKET_TABLE_FULL 0x89FE /* 254 */
#define SPOOL_DIRECTORY_ERROR 0x89FE /* 254 */
#define SUPERVISOR_HAS_DISABLED_LOGIN 0x89FE /* 254 */
#define TIMEOUT_FAILURE 0x89FE /* 254 */
#define BAD_PRINTER_ERROR 0x89FF /* 255 */
#define BAD_RECORD_OFFSET 0x89FF /* 255 */
#define CLOSE_FCB_ERROR 0x89FF /* 255 */
#define FILE_EXTENSION_ERROR 0x89FF /* 255 */
#define FILE_NAME_ERROR 0x89FF /* 255 */
#define HARDWARE_FAILURE 0x89FF /* 255 */
#define INVALID_DRIVE_NUMBER 0x89FF /* 255 */
#define DOS_INVALID_DRIVE 0x000F /* 255 */
#define INVALID_INITIAL_SEMAPHORE_VALUE 0x89FF /* 255 */
#define INVALID_SEMAPHORE_HANDLE 0x89FF /* 255 */
#define IO_BOUND_ERROR 0x89FF /* 255 */
#define NO_FILES_FOUND_ERROR 0x89FF /* 255 */
#define NO_RESPONSE_FROM_SERVER 0x89FF /* 255 */
#define NO_SUCH_OBJECT_OR_BAD_PASSWORD 0x89FF /* 255 */
#define PATH_NOT_LOCATABLE 0x89FF /* 255 */
#define QUEUE_FULL_ERROR 0x89FF /* 255 */
#define REQUEST_NOT_OUTSTANDING 0x89FF /* 255 */
#define SOCKET_ALREADY_OPEN 0x89FF /* 255 */
#define LOCK_ERROR 0x89FF /* 255 */
/* #define NOT_SAME_LOCAL_DRIVE 0x89F6 */
/* #define TARGET_DRIVE_NOT_LOCAL 0x89F7 */
/* #define ALREADY_ATTACHED_TO_SERVER 0x89F8 */ /* 248 */
/* #define NOT_ATTACHED_TO_SERVER 0x89F8 */
#endif