summaryrefslogtreecommitdiffstats
path: root/private/os2/inc/os2net16.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/os2/inc/os2net16.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/os2/inc/os2net16.h')
-rw-r--r--private/os2/inc/os2net16.h974
1 files changed, 974 insertions, 0 deletions
diff --git a/private/os2/inc/os2net16.h b/private/os2/inc/os2net16.h
new file mode 100644
index 000000000..fd0468966
--- /dev/null
+++ b/private/os2/inc/os2net16.h
@@ -0,0 +1,974 @@
+/*++
+
+Copyright (c) 1992 Microsoft Corporation
+
+Module Name:
+
+ os2net16.h
+
+Abstract:
+
+ This module implements 32 equivalents of OS/2 V1.21
+ LANMAN API Calls.
+ The APIs are called from 16->32 thunks (i386\doscalls.asm).
+
+Author:
+
+ Beni Lavi (BeniL) 15-Jan-1992
+
+Revision History:
+
+--*/
+
+#define DEVLEN_LM20 8
+#define CNLEN_LM20 15 /* Computer name length */
+#define UNLEN_LM20 20 /* Maximum user name length */
+#define ENCRYPTED_PWLEN_LM20 16
+#define NNLEN_LM20 12 /* 8.3 Net name length */
+#define SHPWLEN_LM20 8 /* Share password length */
+#define SNLEN_LM20 15 /* Service name length */
+#define STXTLEN_LM20 63 /* Service text length */
+
+#pragma pack(1)
+
+struct use_info_0 {
+ char ui0_local[DEVLEN_LM20+1];
+ char ui0_pad_1;
+ char *ui0_remote;
+}; /* use_info_0 */
+
+struct use_info_1 {
+ char ui1_local[DEVLEN_LM20+1];
+ char ui1_pad_1;
+ char * ui1_remote;
+ char * ui1_password;
+ unsigned short ui1_status;
+ short ui1_asg_type;
+ unsigned short ui1_refcount;
+ unsigned short ui1_usecount;
+}; /* use_info_1 */
+
+struct wksta_info_0 {
+ unsigned short wki0_reserved_1;
+ unsigned long wki0_reserved_2;
+ char far * wki0_root;
+ char far * wki0_computername;
+ char far * wki0_username;
+ char far * wki0_langroup;
+ unsigned char wki0_ver_major;
+ unsigned char wki0_ver_minor;
+ unsigned long wki0_reserved_3;
+ unsigned short wki0_charwait;
+ unsigned long wki0_chartime;
+ unsigned short wki0_charcount;
+ unsigned short wki0_reserved_4;
+ unsigned short wki0_reserved_5;
+ unsigned short wki0_keepconn;
+ unsigned short wki0_keepsearch;
+ unsigned short wki0_maxthreads;
+ unsigned short wki0_maxcmds;
+ unsigned short wki0_reserved_6;
+ unsigned short wki0_numworkbuf;
+ unsigned short wki0_sizworkbuf;
+ unsigned short wki0_maxwrkcache;
+ unsigned short wki0_sesstimeout;
+ unsigned short wki0_sizerror;
+ unsigned short wki0_numalerts;
+ unsigned short wki0_numservices;
+ unsigned short wki0_errlogsz;
+ unsigned short wki0_printbuftime;
+ unsigned short wki0_numcharbuf;
+ unsigned short wki0_sizcharbuf;
+ char far * wki0_logon_server;
+ char far * wki0_wrkheuristics;
+ unsigned short wki0_mailslots;
+}; /* wksta_info_0 */
+
+struct wksta_info_1 {
+ unsigned short wki1_reserved_1;
+ unsigned long wki1_reserved_2;
+ char far * wki1_root;
+ char far * wki1_computername;
+ char far * wki1_username;
+ char far * wki1_langroup;
+ unsigned char wki1_ver_major;
+ unsigned char wki1_ver_minor;
+ unsigned long wki1_reserved_3;
+ unsigned short wki1_charwait;
+ unsigned long wki1_chartime;
+ unsigned short wki1_charcount;
+ unsigned short wki1_reserved_4;
+ unsigned short wki1_reserved_5;
+ unsigned short wki1_keepconn;
+ unsigned short wki1_keepsearch;
+ unsigned short wki1_maxthreads;
+ unsigned short wki1_maxcmds;
+ unsigned short wki1_reserved_6;
+ unsigned short wki1_numworkbuf;
+ unsigned short wki1_sizworkbuf;
+ unsigned short wki1_maxwrkcache;
+ unsigned short wki1_sesstimeout;
+ unsigned short wki1_sizerror;
+ unsigned short wki1_numalerts;
+ unsigned short wki1_numservices;
+ unsigned short wki1_errlogsz;
+ unsigned short wki1_printbuftime;
+ unsigned short wki1_numcharbuf;
+ unsigned short wki1_sizcharbuf;
+ char far * wki1_logon_server;
+ char far * wki1_wrkheuristics;
+ unsigned short wki1_mailslots;
+ char far * wki1_logon_domain;
+ char far * wki1_oth_domains;
+ unsigned short wki1_numdgrambuf;
+}; /* wksta_info_1 */
+
+struct wksta_info_10 {
+ char far * wki10_computername;
+ char far * wki10_username;
+ char far * wki10_langroup;
+ unsigned char wki10_ver_major;
+ unsigned char wki10_ver_minor;
+ char far * wki10_logon_domain;
+ char far * wki10_oth_domains;
+}; /* wksta_info_10 */
+
+struct server_info_0 {
+ char sv0_name[CNLEN_LM20 + 1]; /* Server name */
+}; /* server_info_0 */
+
+
+struct server_info_1 {
+ char sv1_name[CNLEN_LM20 + 1];
+ unsigned char sv1_version_major; /* Major version # of net */
+ unsigned char sv1_version_minor; /* Minor version # of net */
+ unsigned long sv1_type; /* Server type */
+ char far * sv1_comment; /* Exported server comment */
+}; /* server_info_1 */
+
+
+struct server_info_2 {
+ char sv2_name[CNLEN_LM20 + 1];
+ unsigned char sv2_version_major;
+ unsigned char sv2_version_minor;
+ unsigned long sv2_type;
+ char far * sv2_comment;
+ unsigned long sv2_ulist_mtime; /* User list, last modification time */
+ unsigned long sv2_glist_mtime; /* Group list, last modification time */
+ unsigned long sv2_alist_mtime; /* Access list, last modification time */
+ unsigned short sv2_users; /* max number of users allowed */
+ unsigned short sv2_disc; /* auto-disconnect timeout(in minutes) */
+ char far * sv2_alerts; /* alert names (semicolon separated) */
+ unsigned short sv2_security; /* SV_USERSECURITY or SV_SHARESECURITY */
+ unsigned short sv2_auditing; /* 0 = no auditing; nonzero = auditing */
+
+ unsigned short sv2_numadmin; /* max number of administrators allowed */
+ unsigned short sv2_lanmask; /* bit mask representing the srv'd nets */
+ unsigned short sv2_hidden; /* 0 = visible; nonzero = hidden */
+ unsigned short sv2_announce; /* visible server announce rate (sec) */
+ unsigned short sv2_anndelta; /* announce randomize interval (sec) */
+ /* name of guest account */
+ char sv2_guestacct[UNLEN_LM20 + 1];
+ unsigned char sv2_pad1; /* Word alignment pad byte */
+ char far * sv2_userpath; /* ASCIIZ path to user directories */
+ unsigned short sv2_chdevs; /* max # shared character devices */
+ unsigned short sv2_chdevq; /* max # character device queues */
+ unsigned short sv2_chdevjobs; /* max # character device jobs */
+ unsigned short sv2_connections; /* max # of connections */
+ unsigned short sv2_shares; /* max # of shares */
+ unsigned short sv2_openfiles; /* max # of open files */
+ unsigned short sv2_sessopens; /* max # of open files per session */
+ unsigned short sv2_sessvcs; /* max # of virtual circuits per client */
+ unsigned short sv2_sessreqs; /* max # of simul. reqs. from a client */
+ unsigned short sv2_opensearch; /* max # of open searches */
+ unsigned short sv2_activelocks; /* max # of active file locks */
+ unsigned short sv2_numreqbuf; /* number of server (standard) buffers */
+ unsigned short sv2_sizreqbuf; /* size of svr (standard) bufs (bytes) */
+ unsigned short sv2_numbigbuf; /* number of big (64K) buffers */
+ unsigned short sv2_numfiletasks;/* number of file worker processes */
+ unsigned short sv2_alertsched; /* alert counting interval (minutes) */
+ unsigned short sv2_erroralert; /* error log alerting threshold */
+ unsigned short sv2_logonalert; /* logon violation alerting threshold */
+ unsigned short sv2_accessalert; /* access violation alerting threshold */
+ unsigned short sv2_diskalert; /* low disk space alert threshold (KB) */
+ unsigned short sv2_netioalert; /* net I/O error ratio alert threshold */
+ /* (tenths of a percent) */
+ unsigned short sv2_maxauditsz; /* Maximum audit file size (KB) */
+ char far * sv2_srvheuristics;/* performance related server switches */
+}; /* server_info_2 */
+
+
+struct server_info_3 {
+ char sv3_name[CNLEN_LM20 + 1];
+ unsigned char sv3_version_major;
+ unsigned char sv3_version_minor;
+ unsigned long sv3_type;
+ char far * sv3_comment;
+ unsigned long sv3_ulist_mtime; /* User list, last modification time */
+ unsigned long sv3_glist_mtime; /* Group list, last modification time */
+ unsigned long sv3_alist_mtime; /* Access list, last modification time */
+ unsigned short sv3_users; /* max number of users allowed */
+ unsigned short sv3_disc; /* auto-disconnect timeout(in minutes) */
+ char far * sv3_alerts; /* alert names (semicolon separated) */
+ unsigned short sv3_security; /* SV_USERSECURITY or SV_SHARESECURITY */
+ unsigned short sv3_auditing; /* 0 = no auditing; nonzero = auditing */
+
+ unsigned short sv3_numadmin; /* max number of administrators allowed */
+ unsigned short sv3_lanmask; /* bit mask representing the srv'd nets */
+ unsigned short sv3_hidden; /* 0 = visible; nonzero = hidden */
+ unsigned short sv3_announce; /* visible server announce rate (sec) */
+ unsigned short sv3_anndelta; /* announce randomize interval (sec) */
+ /* name of guest account */
+ char sv3_guestacct[UNLEN_LM20 + 1];
+ unsigned char sv3_pad1; /* Word alignment pad byte */
+ char far * sv3_userpath; /* ASCIIZ path to user directories */
+ unsigned short sv3_chdevs; /* max # shared character devices */
+ unsigned short sv3_chdevq; /* max # character device queues */
+ unsigned short sv3_chdevjobs; /* max # character device jobs */
+ unsigned short sv3_connections; /* max # of connections */
+ unsigned short sv3_shares; /* max # of shares */
+ unsigned short sv3_openfiles; /* max # of open files */
+ unsigned short sv3_sessopens; /* max # of open files per session */
+ unsigned short sv3_sessvcs; /* max # of virtual circuits per client */
+ unsigned short sv3_sessreqs; /* max # of simul. reqs. from a client */
+ unsigned short sv3_opensearch; /* max # of open searches */
+ unsigned short sv3_activelocks; /* max # of active file locks */
+ unsigned short sv3_numreqbuf; /* number of server (standard) buffers */
+ unsigned short sv3_sizreqbuf; /* size of svr (standard) bufs (bytes) */
+ unsigned short sv3_numbigbuf; /* number of big (64K) buffers */
+ unsigned short sv3_numfiletasks;/* number of file worker processes */
+ unsigned short sv3_alertsched; /* alert counting interval (minutes) */
+ unsigned short sv3_erroralert; /* error log alerting threshold */
+ unsigned short sv3_logonalert; /* logon violation alerting threshold */
+ unsigned short sv3_accessalert; /* access violation alerting threshold */
+ unsigned short sv3_diskalert; /* low disk space alert threshold (KB) */
+ unsigned short sv3_netioalert; /* net I/O error ratio alert threshold */
+ /* (tenths of a percent) */
+ unsigned short sv3_maxauditsz; /* Maximum audit file size (KB) */
+ char far * sv3_srvheuristics; /* performance related server switches*/
+ unsigned long sv3_auditedevents; /* Audit event control mask */
+ unsigned short sv3_autoprofile; /* (0,1,2,3) = (NONE,LOAD,SAVE,or BOTH) */
+ char far * sv3_autopath; /* file pathname (where to load & save) */
+}; /* server_info_3 */
+
+/****************************************************************
+ * *
+ * Data structure templates - USER *
+ * *
+ ****************************************************************/
+
+struct user_info_0 {
+ char usri0_name[UNLEN_LM20+1];
+}; /* user_info_0 */
+
+struct user_info_1 {
+ char usri1_name[UNLEN_LM20+1];
+ char usri1_pad_1;
+ char usri1_password[ENCRYPTED_PWLEN_LM20];/* See note below */
+ long usri1_password_age;
+ unsigned short usri1_priv; /* See values below */
+ char far * usri1_home_dir;
+ char far * usri1_comment;
+ unsigned short usri1_flags; /* See values below */
+ char far * usri1_script_path;
+}; /* user_info_1 */
+
+/*
+ * NOTE: The maximum length of a user password is PWLEN. The
+ * field usri1_password contains extra room for transporting
+ * the encrypted form of the password over the network. When
+ * setting the user's password, check length vs. PWLEN, not
+ * the size of this field. PWLEN is defined in NETCONS.H.
+ */
+
+
+
+struct user_info_2 {
+ char usri2_name[UNLEN_LM20+1];
+ char usri2_pad_1;
+ char usri2_password[ENCRYPTED_PWLEN_LM20];
+ long usri2_password_age;
+ unsigned short usri2_priv;
+ char far * usri2_home_dir;
+ char far * usri2_comment;
+ unsigned short usri2_flags;
+ char far * usri2_script_path;
+ unsigned long usri2_auth_flags;
+ char far * usri2_full_name;
+ char far * usri2_usr_comment;
+ char far * usri2_parms;
+ char far * usri2_workstations;
+ long usri2_last_logon;
+ long usri2_last_logoff;
+ long usri2_acct_expires;
+ unsigned long usri2_max_storage;
+ unsigned short usri2_units_per_week;
+ unsigned char far*usri2_logon_hours;
+ unsigned short usri2_bad_pw_count;
+ unsigned short usri2_num_logons;
+ char far * usri2_logon_server;
+ unsigned short usri2_country_code;
+ unsigned short usri2_code_page;
+}; /* user_info_2 */
+
+
+struct user_info_10 {
+ char usri10_name[UNLEN_LM20+1];
+ char usri10_pad_1;
+ char far * usri10_comment;
+ char far * usri10_usr_comment;
+ char far * usri10_full_name;
+}; /* user_info_10 */
+
+struct user_info_11 {
+ char usri11_name[UNLEN_LM20+1];
+ char usri11_pad_1;
+ char far * usri11_comment;
+ char far * usri11_usr_comment;
+ char far * usri11_full_name;
+ unsigned short usri11_priv;
+ unsigned long usri11_auth_flags;
+ long usri11_password_age;
+ char far * usri11_home_dir;
+ char far * usri11_parms;
+ long usri11_last_logon;
+ long usri11_last_logoff;
+ unsigned short usri11_bad_pw_count;
+ unsigned short usri11_num_logons;
+ char far * usri11_logon_server;
+ unsigned short usri11_country_code;
+ char far * usri11_workstations;
+ unsigned long usri11_max_storage;
+ unsigned short usri11_units_per_week;
+ unsigned char far*usri11_logon_hours;
+ unsigned short usri11_code_page;
+}; /* user_info_11 */
+
+/****************************************************************
+ * *
+ * Data structure templates - HANDLE *
+ * *
+ ****************************************************************/
+
+struct handle_info_1 {
+ unsigned long hdli1_chartime; /* time in msec to wait before send */
+ unsigned short hdli1_charcount; /* max size of send buffer */
+}; /* handle_info_1 */
+
+struct handle_info_2 {
+ char far * hdli2_username; /* owner of name-pipe handle */
+}; /* handle_info_2 */
+
+/****************************************************************
+ * *
+ * Data structure templates - SHARE *
+ * *
+ ****************************************************************/
+
+struct share_info_0 {
+ char shi0_netname[NNLEN_LM20+1];
+}; /* share_info_0 */
+
+struct share_info_1 {
+ char shi1_netname[NNLEN_LM20+1];
+ char shi1_pad1;
+ unsigned short shi1_type;
+ char far * shi1_remark;
+}; /* share_info_1 */
+
+struct share_info_2 {
+ char shi2_netname[NNLEN_LM20+1];
+ char shi2_pad1;
+ unsigned short shi2_type;
+ char far * shi2_remark;
+ unsigned short shi2_permissions;
+ unsigned short shi2_max_uses;
+ unsigned short shi2_current_uses;
+ char far * shi2_path;
+ char shi2_passwd[SHPWLEN_LM20+1];
+ char shi2_pad2;
+}; /* share_info_2 */
+
+/****************************************************************
+ * *
+ * Data structure templates *
+ * *
+ ****************************************************************/
+
+
+struct service_info_0 {
+ char svci0_name[SNLEN_LM20+1];
+}; /* service_info_0 */
+
+struct service_info_1 {
+ char svci1_name[SNLEN_LM20+1]; /* service name */
+ unsigned short svci1_status; /* See status values below */
+ unsigned long svci1_code; /* install code of service */
+ unsigned short svci1_pid; /* pid of service program */
+}; /* service_info_1 */
+
+struct service_info_2 {
+ char svci2_name[SNLEN_LM20+1]; /* service name */
+ unsigned short svci2_status; /* See status values below */
+ unsigned long svci2_code; /* install code of service */
+ unsigned short svci2_pid; /* pid of service program */
+ char svci2_text[STXTLEN_LM20+1];/* text area for use by services */
+}; /* service_info_2 */
+
+struct service_status {
+ unsigned short svcs_status; /* See status values below */
+ unsigned long svcs_code; /* install code of service */
+ unsigned short svcs_pid; /* pid of service program */
+ char svcs_text[STXTLEN_LM20+1]; /* text area for use by services */
+}; /* service_status */
+
+/****************************************************************
+ * *
+ * Data structure templates - ACCESS *
+ * *
+ ****************************************************************/
+
+struct access_list {
+ char acl_ugname[UNLEN_LM20+1];
+ char acl_ugname_pad_1;
+ short acl_access;
+}; /* access_list */
+
+struct access_info_0 {
+ char far * acc0_resource_name;
+}; /* access_info_0 */
+
+struct access_info_1 {
+ char far * acc1_resource_name;
+ short acc1_attr; /* See values below */
+ short acc1_count;
+}; /* access_info_1 */
+
+/****************************************************************
+ * *
+ * Special values and constants - ACCESS *
+ * *
+ ****************************************************************/
+
+/*
+ * Maximum number of permission entries for each resource.
+ */
+
+#define MAXPERMENTRIES 64
+
+
+/****************************************************************
+ * *
+ * Data structure templates - NETBIOS *
+ * *
+ ****************************************************************/
+
+
+struct netbios_info_0 {
+ char nb0_net_name[NETBIOS_NAME_LEN+1];
+}; /* netbios_info_0 */
+
+struct netbios_info_1 {
+ char nb1_net_name[NETBIOS_NAME_LEN+1];
+ char nb1_driver_name[DEVLEN_LM20+1];/* OS/2 device driver name */
+ unsigned char nb1_lana_num; /* LAN adapter number of this net */
+ char nb1_pad_1;
+ unsigned short nb1_driver_type;
+ unsigned short nb1_net_status;
+ unsigned long nb1_net_bandwidth; /* Network bandwidth, bits/second */
+ unsigned short nb1_max_sess; /* Max number of sessions */
+ unsigned short nb1_max_ncbs; /* Max number of outstanding NCBs */
+ unsigned short nb1_max_names; /* Max number of names */
+}; /* netbios_info_1 */
+
+
+/****************************************************************
+ * *
+ * Special values and constants - NETBIOS *
+ * *
+ ****************************************************************/
+
+
+/*
+ * Driver types (nb1_driver_type).
+ */
+
+#define NB_TYPE_NCB 1
+#define NB_TYPE_MCB 2
+
+/*
+ * Bits defined in nb1_net_status.
+ */
+
+#define NB_LAN_FLAGS_MASK 0x3FFF /* Mask for LAN Flags */
+#define NB_LAN_MANAGED 0x0001 /* LAN is managed by redirector */
+#define NB_LAN_LOOPBACK 0x0002 /* LAN is a loopback driver */
+#define NB_LAN_SENDNOACK 0x0004 /* LAN allows SendNoAck NCBs */
+#define NB_LAN_LMEXT 0x0008 /* LAN supports LAN Manager extended NCBs */
+#define NB_LAN_INTNCB 0x0010 /* LAN allows NCB submission at */
+ /* interrupt time (from NCBDone) */
+#define NB_LAN_16M 0x0020 /* LAN can support phys addr > 16M */
+
+#define NB_LAN_LM10PLUS 0x0080 /* Transport supports extensions to */
+ /* LM10 to work with Netbios$ drvr */
+#define NB_LAN_NONETBIND 0x0100 /* Driver can not netbind on bootup */
+
+
+#define NB_OPEN_MODE_MASK 0xC000 /* Mask for NetBios Open Modes */
+#define NB_OPEN_REGULAR 0x4000 /* NetBios opened in Regular mode */
+#define NB_OPEN_PRIVILEGED 0x8000 /* NetBios opened in Privileged mode */
+#define NB_OPEN_EXCLUSIVE 0xC000 /* NetBios opened in Exclusive mode */
+
+/*
+ * Open modes for NetBiosOpen.
+ */
+
+#define NB_REGULAR 1
+#define NB_PRIVILEGED 2
+#define NB_EXCLUSIVE 3
+
+#pragma pack()
+
+#define NERR_Success 0
+
+/*** NERR_BASE is the base of error codes from network utilities,
+ * chosen to avoid conflict with OS/2 and redirector error codes.
+ * 2100 is a value that has been assigned to us by OS/2.
+ */
+#define NERR_BASE 2100
+
+
+
+/* UNUSED BASE+0 */
+/* UNUSED BASE+1 */
+#define NERR_NetNotStarted (NERR_BASE+2) /* The workstation driver (NETWKSTA.SYS on OS/2 workstations, NETWKSTA.EXE on DOS workstations) isn't installed. */
+#define NERR_UnknownServer (NERR_BASE+3) /* The server cannot be located. */
+#define NERR_ShareMem (NERR_BASE+4) /* An internal error occurred. The network cannot access a shared memory segment. */
+#define NERR_NoNetworkResource (NERR_BASE+5) /* A network resource shortage occurred . */
+#define NERR_RemoteOnly (NERR_BASE+6) /* This operation is not supported on workstations. */
+#define NERR_DevNotRedirected (NERR_BASE+7) /* The device is not connected. */
+/* UNUSED BASE+8 */
+/* UNUSED BASE+9 */
+/* UNUSED BASE+10 */
+/* UNUSED BASE+11 */
+/* UNUSED BASE+12 */
+/* UNUSED BASE+13 */
+#define NERR_ServerNotStarted (NERR_BASE+14) /* The Server service isn't started. */
+#define NERR_ItemNotFound (NERR_BASE+15) /* The queue is empty. */
+#define NERR_UnknownDevDir (NERR_BASE+16) /* The device or directory does not exist. */
+#define NERR_RedirectedPath (NERR_BASE+17) /* The operation is invalid on a redirected resource. */
+#define NERR_DuplicateShare (NERR_BASE+18) /* The name has already been shared. */
+#define NERR_NoRoom (NERR_BASE+19) /* The server is currently out of the requested resource. */
+/* UNUSED BASE+20 */
+#define NERR_TooManyItems (NERR_BASE+21) /* Requested add of item exceeds maximum allowed. */
+#define NERR_InvalidMaxUsers (NERR_BASE+22) /* The Peer service supports only two simultaneous users. */
+#define NERR_BufTooSmall (NERR_BASE+23) /* The API return buffer is too small. */
+/* UNUSED BASE+24 */
+/* UNUSED BASE+25 */
+/* UNUSED BASE+26 */
+#define NERR_RemoteErr (NERR_BASE+27) /* A remote API error occurred. */
+/* UNUSED BASE+28 */
+/* UNUSED BASE+29 */
+/* UNUSED BASE+30 */
+#define NERR_LanmanIniError (NERR_BASE+31) /* An error occurred when opening or reading LANMAN.INI. */
+/* UNUSED BASE+32 */
+/* UNUSED BASE+33 */
+#define NERR_OS2IoctlError (NERR_BASE+34) /* An internal error occurred when calling the workstation driver. */
+/* UNUSED BASE+35 */
+#define NERR_NetworkError (NERR_BASE+36) /* A general network error occurred. */
+/* UNUSED BASE+37 */
+#define NERR_WkstaNotStarted (NERR_BASE+38) /* The Workstation service has not been started. */
+#define NERR_BrowserNotStarted (NERR_BASE+39) /* The requested information is not available. */
+#define NERR_InternalError (NERR_BASE+40) /* An internal LAN Manager error occurred.*/
+#define NERR_BadTransactConfig (NERR_BASE+41) /* The server is not configured for transactions. */
+#define NERR_InvalidAPI (NERR_BASE+42) /* The requested API isn't supported on the remote server. */
+#define NERR_BadEventName (NERR_BASE+43) /* The event name is invalid. */
+/* UNUSED BASE+44 */
+
+/*
+ * Config API related
+ * Error codes from BASE+45 to BASE+49
+ */
+
+/* UNUSED BASE+45 */
+#define NERR_CfgCompNotFound (NERR_BASE+46) /* Could not find the specified component in LANMAN.INI. */
+#define NERR_CfgParamNotFound (NERR_BASE+47) /* Could not find the specified parameter in LANMAN.INI. */
+#define NERR_LineTooLong (NERR_BASE+49) /* A line in LANMAN.INI is too long. */
+
+/*
+ * Spooler API related
+ * Error codes from BASE+50 to BASE+79
+ */
+
+#define NERR_QNotFound (NERR_BASE+50) /* The printer queue does not exist. */
+#define NERR_JobNotFound (NERR_BASE+51) /* The print job does not exist. */
+#define NERR_DestNotFound (NERR_BASE+52) /* The printer destination cannot be found. */
+#define NERR_DestExists (NERR_BASE+53) /* The printer destination already exists. */
+#define NERR_QExists (NERR_BASE+54) /* The printer queue already exists. */
+#define NERR_QNoRoom (NERR_BASE+55) /* No more printer queues can be added. */
+#define NERR_JobNoRoom (NERR_BASE+56) /* No more print jobs can be added. */
+#define NERR_DestNoRoom (NERR_BASE+57) /* No more printer destinations can be added. */
+#define NERR_DestIdle (NERR_BASE+58) /* This printer destination is idle and cannot accept control operations. */
+#define NERR_DestInvalidOp (NERR_BASE+59) /* This printer destination request contains an invalid control function. */
+#define NERR_ProcNoRespond (NERR_BASE+60) /* The printer processor is not responding. */
+#define NERR_SpoolerNotLoaded (NERR_BASE+61) /* The spooler is not running. */
+#define NERR_DestInvalidState (NERR_BASE+62) /* This operation cannot be performed on the print destination in its current state. */
+#define NERR_QInvalidState (NERR_BASE+63) /* This operation cannot be performed on the printer queue in its current state. */
+#define NERR_JobInvalidState (NERR_BASE+64) /* This operation cannot be performed on the print job in its current state. */
+#define NERR_SpoolNoMemory (NERR_BASE+65) /* A spooler memory allocation failure occurred. */
+#define NERR_DriverNotFound (NERR_BASE+66) /* The device driver does not exist. */
+#define NERR_DataTypeInvalid (NERR_BASE+67) /* The datatype is not supported by the processor. */
+#define NERR_ProcNotFound (NERR_BASE+68) /* The print processor is not installed. */
+
+/*
+ * Service API related
+ * Error codes from BASE+80 to BASE+99
+ */
+
+#define NERR_ServiceTableLocked (NERR_BASE+80) /* The service does not respond to control actions. */
+#define NERR_ServiceTableFull (NERR_BASE+81) /* The service table is full. */
+#define NERR_ServiceInstalled (NERR_BASE+82) /* The requested service has already been started. */
+#define NERR_ServiceEntryLocked (NERR_BASE+83) /* The service does not respond to control actions. */
+#define NERR_ServiceNotInstalled (NERR_BASE+84) /* The service has not been started. */
+#define NERR_BadServiceName (NERR_BASE+85) /* The service name is invalid. */
+#define NERR_ServiceCtlTimeout (NERR_BASE+86) /* The service is not responding to the control function. */
+#define NERR_ServiceCtlBusy (NERR_BASE+87) /* The service control is busy. */
+#define NERR_BadServiceProgName (NERR_BASE+88) /* LANMAN.INI contains an invalid service program name. */
+#define NERR_ServiceNotCtrl (NERR_BASE+89) /* The service cannot be controlled in its present state. */
+#define NERR_ServiceKillProc (NERR_BASE+90) /* The service ended abnormally. */
+#define NERR_ServiceCtlNotValid (NERR_BASE+91) /* The requested pause or stop is not valid for this service. */
+
+/*
+ * Wksta and Logon API related
+ * Error codes from BASE+100 to BASE+118
+ */
+
+#define NERR_AlreadyLoggedOn (NERR_BASE+100) /* This workstation is already logged on to the local-area network. */
+#define NERR_NotLoggedOn (NERR_BASE+101) /* The workstation isn't logged on to the local-area network. */
+#define NERR_BadUsername (NERR_BASE+102) /* The username or groupname parameter is invalid. */
+#define NERR_BadPassword (NERR_BASE+103) /* The password parameter is invalid. */
+#define NERR_UnableToAddName_W (NERR_BASE+104) /* @W The logon processor did not add the message alias. */
+#define NERR_UnableToAddName_F (NERR_BASE+105) /* The logon processor did not add the message alias. */
+#define NERR_UnableToDelName_W (NERR_BASE+106) /* @W The logoff processor did not delete the message alias. */
+#define NERR_UnableToDelName_F (NERR_BASE+107) /* The logoff processor did not delete the message alias. */
+/* UNUSED BASE+108 */
+#define NERR_LogonsPaused (NERR_BASE+109) /* Network logons are paused. */
+#define NERR_LogonServerConflict (NERR_BASE+110)/* A centralized logon-server conflict occurred. */
+#define NERR_LogonNoUserPath (NERR_BASE+111) /* The server is configured without a valid user path. */
+#define NERR_LogonScriptError (NERR_BASE+112) /* An error occurred while loading or running the logon script. */
+/* UNUSED BASE+113 */
+#define NERR_StandaloneLogon (NERR_BASE+114) /* The logon server was not specified. Your computer will be logged on as STANDALONE. */
+#define NERR_LogonServerNotFound (NERR_BASE+115) /* The logon server cannot be found. */
+#define NERR_LogonDomainExists (NERR_BASE+116) /* There is already a logon domain for this computer. */
+#define NERR_NonValidatedLogon (NERR_BASE+117) /* The logon server could not validate the logon. */
+
+/*
+ * ACF API related (access, user, group)
+ * Error codes from BASE+119 to BASE+149
+ */
+
+#define NERR_ACFNotFound (NERR_BASE+119) /* The accounts file NET.ACC cannot be found. */
+#define NERR_GroupNotFound (NERR_BASE+120) /* The groupname cannot be found. */
+#define NERR_UserNotFound (NERR_BASE+121) /* The username cannot be found. */
+#define NERR_ResourceNotFound (NERR_BASE+122) /* The resource name cannot be found. */
+#define NERR_GroupExists (NERR_BASE+123) /* The group already exists. */
+#define NERR_UserExists (NERR_BASE+124) /* The user account already exists. */
+#define NERR_ResourceExists (NERR_BASE+125) /* The resource permission list already exists. */
+#define NERR_NotPrimary (NERR_BASE+126) /* The UAS database is replicant and will not allow updates. */
+#define NERR_ACFNotLoaded (NERR_BASE+127) /* The user account system has not been started. */
+#define NERR_ACFNoRoom (NERR_BASE+128) /* There are too many names in the user account system. */
+#define NERR_ACFFileIOFail (NERR_BASE+129) /* A disk I/O failure occurred.*/
+#define NERR_ACFTooManyLists (NERR_BASE+130) /* The limit of 64 entries per resource was exceeded. */
+#define NERR_UserLogon (NERR_BASE+131) /* Deleting a user with a session is not allowed. */
+#define NERR_ACFNoParent (NERR_BASE+132) /* The parent directory cannot be located. */
+#define NERR_CanNotGrowSegment (NERR_BASE+133) /* Unable to grow UAS session cache segment. */
+#define NERR_SpeGroupOp (NERR_BASE+134) /* This operation is not allowed on this special group. */
+#define NERR_NotInCache (NERR_BASE+135) /* This user is not cached in UAS session cache. */
+#define NERR_UserInGroup (NERR_BASE+136) /* The user already belongs to this group. */
+#define NERR_UserNotInGroup (NERR_BASE+137) /* The user does not belong to this group. */
+#define NERR_AccountUndefined (NERR_BASE+138) /* This user account is undefined. */
+#define NERR_AccountExpired (NERR_BASE+139) /* This user account has expired. */
+#define NERR_InvalidWorkstation (NERR_BASE+140) /* The user is not allowed to log on from this workstation. */
+#define NERR_InvalidLogonHours (NERR_BASE+141) /* The user is not allowed to log on at this time. */
+#define NERR_PasswordExpired (NERR_BASE+142) /* The password of this user has expired. */
+#define NERR_PasswordCantChange (NERR_BASE+143) /* The password of this user cannot change. */
+#define NERR_PasswordHistConflict (NERR_BASE+144) /* This password cannot be used now. */
+#define NERR_PasswordTooShort (NERR_BASE+145) /* The password is shorter than required. */
+#define NERR_PasswordTooRecent (NERR_BASE+146) /* The password of this user is too recent to change. */
+#define NERR_InvalidDatabase (NERR_BASE+147) /* The UAS database file is corrupted. */
+#define NERR_DatabaseUpToDate (NERR_BASE+148) /* No updates are necessary to this replicant UAS database. */
+#define NERR_SyncRequired (NERR_BASE+149) /* This replicant database is outdated; synchronization is required. */
+
+/*
+ * Use API related
+ * Error codes from BASE+150 to BASE+169
+ */
+
+#define NERR_UseNotFound (NERR_BASE+150) /* The connection cannot be found. */
+#define NERR_BadAsgType (NERR_BASE+151) /* This asg_type is invalid. */
+#define NERR_DeviceIsShared (NERR_BASE+152) /* This device is currently being shared. */
+
+/*
+ * Message Server related
+ * Error codes BASE+170 to BASE+209
+ */
+
+#define NERR_NoComputerName (NERR_BASE+170) /* A computername has not been configured. */
+#define NERR_MsgAlreadyStarted (NERR_BASE+171) /* The Messenger service is already started. */
+#define NERR_MsgInitFailed (NERR_BASE+172) /* The Messenger service failed to start. */
+#define NERR_NameNotFound (NERR_BASE+173) /* The message alias cannot be found on the local-area network. */
+#define NERR_AlreadyForwarded (NERR_BASE+174) /* This message alias has already been forwarded. */
+#define NERR_AddForwarded (NERR_BASE+175) /* This message alias has been added but is still forwarded. */
+#define NERR_AlreadyExists (NERR_BASE+176) /* This message alias already exists locally. */
+#define NERR_TooManyNames (NERR_BASE+177) /* The maximum number of added message aliases has been exceeded. */
+#define NERR_DelComputerName (NERR_BASE+178) /* The computername cannot be deleted.*/
+#define NERR_LocalForward (NERR_BASE+179) /* Messages cannot be forwarded back to the same workstation. */
+#define NERR_GrpMsgProcessor (NERR_BASE+180) /* Error in domain message processor */
+#define NERR_PausedRemote (NERR_BASE+181) /* The message was sent, but the recipient has paused the Messenger service. */
+#define NERR_BadReceive (NERR_BASE+182) /* The message was sent but not received. */
+#define NERR_NameInUse (NERR_BASE+183) /* The message alias is currently in use. Try again later. */
+#define NERR_MsgNotStarted (NERR_BASE+184) /* The Messenger service has not been started. */
+#define NERR_NotLocalName (NERR_BASE+185) /* The name is not on the local computer. */
+#define NERR_NoForwardName (NERR_BASE+186) /* The forwarded message alias cannot be found on the network. */
+#define NERR_RemoteFull (NERR_BASE+187) /* The message alias table on the remote station is full. */
+#define NERR_NameNotForwarded (NERR_BASE+188) /* Messages for this alias are not currently being forwarded. */
+#define NERR_TruncatedBroadcast (NERR_BASE+189) /* The broadcast message was truncated. */
+#define NERR_InvalidDevice (NERR_BASE+194) /* This is an invalid devicename. */
+#define NERR_WriteFault (NERR_BASE+195) /* A write fault occurred. */
+/* UNUSED BASE+196 */
+#define NERR_DuplicateName (NERR_BASE+197) /* A duplicate message alias exists on the local-area network. */
+#define NERR_DeleteLater (NERR_BASE+198) /* @W This message alias will be deleted later. */
+#define NERR_IncompleteDel (NERR_BASE+199) /* The message alias was not successfully deleted from all networks. */
+#define NERR_MultipleNets (NERR_BASE+200) /* This operation is not supported on machines with multiple networks. */
+
+/*
+ * Server API related
+ * Error codes BASE+210 to BASE+229
+ */
+
+#define NERR_NetNameNotFound (NERR_BASE+210) /* This shared resource does not exist.*/
+#define NERR_DeviceNotShared (NERR_BASE+211) /* This device is not shared. */
+#define NERR_ClientNameNotFound (NERR_BASE+212) /* A session does not exist with that computername. */
+#define NERR_FileIdNotFound (NERR_BASE+214) /* There isn't an open file with that ID number. */
+#define NERR_ExecFailure (NERR_BASE+215) /* A failure occurred when executing a remote administration command. */
+#define NERR_TmpFile (NERR_BASE+216) /* A failure occurred when opening a remote temporary file. */
+#define NERR_TooMuchData (NERR_BASE+217) /* The data returned from a remote administration command has been truncated to 64K. */
+#define NERR_DeviceShareConflict (NERR_BASE+218) /* This device cannot be shared as both a spooled and a non-spooled resource. */
+#define NERR_BrowserTableIncomplete (NERR_BASE+219) /* The information in the list of servers may be incorrect. */
+#define NERR_NotLocalDomain (NERR_BASE+220) /* The computer isn't active on this domain. */
+
+/*
+ * CharDev API related
+ * Error codes BASE+230 to BASE+249
+ */
+
+/* UNUSED BASE+230 */
+#define NERR_DevInvalidOpCode (NERR_BASE+231) /* The operation is invalid for this device. */
+#define NERR_DevNotFound (NERR_BASE+232) /* This device cannot be shared. */
+#define NERR_DevNotOpen (NERR_BASE+233) /* This device was not open. */
+#define NERR_BadQueueDevString (NERR_BASE+234) /* This devicename list is invalid. */
+#define NERR_BadQueuePriority (NERR_BASE+235) /* The queue priority is invalid. */
+#define NERR_NoCommDevs (NERR_BASE+237) /* There are no shared communication devices. */
+#define NERR_QueueNotFound (NERR_BASE+238) /* The queue you specified doesn't exist. */
+#define NERR_BadDevString (NERR_BASE+240) /* This list of devices is invalid. */
+#define NERR_BadDev (NERR_BASE+241) /* The requested device is invalid. */
+#define NERR_InUseBySpooler (NERR_BASE+242) /* This device is already in use by the spooler. */
+#define NERR_CommDevInUse (NERR_BASE+243) /* This device is already in use as a communication device. */
+
+/*
+ * NetICanonicalize and NetIType and NetIMakeLMFileName
+ * NetIListCanon and NetINameCheck
+ * Error codes BASE+250 to BASE+269
+ */
+
+#define NERR_InvalidComputer (NERR_BASE+251) /* This computername is invalid. */
+/* UNUSED BASE+252 */
+/* UNUSED BASE+253 */
+#define NERR_MaxLenExceeded (NERR_BASE+254) /* The string and prefix specified are too long. */
+/* UNUSED BASE+255 */
+#define NERR_BadComponent (NERR_BASE+256) /* This path component is invalid. */
+#define NERR_CantType (NERR_BASE+257) /* Cannot determine type of input. */
+/* UNUSED BASE+258 */
+/* UNUSED BASE+259 */
+#define NERR_TooManyEntries (NERR_BASE+262) /* The buffer for types is not big enough. */
+
+/*
+ * NetProfile
+ * Error codes BASE+270 to BASE+276
+ */
+
+#define NERR_ProfileFileTooBig (NERR_BASE+270) /* Profile files cannot exceed 64K. */
+#define NERR_ProfileOffset (NERR_BASE+271) /* The start offset is out of range. */
+#define NERR_ProfileCleanup (NERR_BASE+272) /* The system cannot delete current connections to network resources. */
+#define NERR_ProfileUnknownCmd (NERR_BASE+273) /* The system was unable to parse the command line in this file.*/
+#define NERR_ProfileLoadErr (NERR_BASE+274) /* An error occurred while loading the profile file. */
+#define NERR_ProfileSaveErr (NERR_BASE+275) /* @W Errors occurred while saving the profile file. The profile was partially saved. */
+
+
+/*
+ * NetAudit and NetErrorLog
+ * Error codes BASE+277 to BASE+279
+ */
+
+#define NERR_LogOverflow (NERR_BASE+277) /* This log file exceeds the maximum defined size. */
+#define NERR_LogFileChanged (NERR_BASE+278) /* This log file has changed between reads. */
+#define NERR_LogFileCorrupt (NERR_BASE+279) /* This log file is corrupt. */
+
+/*
+ * NetRemote
+ * Error codes BASE+280 to BASE+299
+ */
+#define NERR_SourceIsDir (NERR_BASE+280) /* The source path cannot be a directory. */
+#define NERR_BadSource (NERR_BASE+281) /* The source path is illegal. */
+#define NERR_BadDest (NERR_BASE+282) /* The destination path is illegal. */
+#define NERR_DifferentServers (NERR_BASE+283) /* The source and destination paths are on different servers. */
+/* UNUSED BASE+284 */
+#define NERR_RunSrvPaused (NERR_BASE+285) /* The Run server you requested is paused. */
+/* UNUSED BASE+286 */
+/* UNUSED BASE+287 */
+/* UNUSED BASE+288 */
+#define NERR_ErrCommRunSrv (NERR_BASE+289) /* An error occurred when communicating with a Run server. */
+/* UNUSED BASE+290 */
+#define NERR_ErrorExecingGhost (NERR_BASE+291) /* An error occurred when starting a background process. */
+#define NERR_ShareNotFound (NERR_BASE+292) /* The shared resource you are connected to could not be found.*/
+/* UNUSED BASE+293 */
+/* UNUSED BASE+294 */
+
+
+/*
+ * NetWksta.sys (redir) returned error codes.
+ *
+ * NERR_BASE + (300-329)
+ */
+
+#define NERR_InvalidLana (NERR_BASE+300) /* The LAN adapter number is invalid. */
+#define NERR_OpenFiles (NERR_BASE+301) /* There are open files on the connection. */
+#define NERR_ActiveConns (NERR_BASE+302) /* Active connections still exist. */
+#define NERR_BadPasswordCore (NERR_BASE+303) /* This netname or password is invalid. */
+#define NERR_DevInUse (NERR_BASE+304) /* The device is being accessed by an active process. */
+#define NERR_LocalDrive (NERR_BASE+305) /* The drive letter is in use locally. */
+
+/*
+ * Alert error codes.
+ *
+ * NERR_BASE + (330-339)
+ */
+#define NERR_AlertExists (NERR_BASE+330) /* The specified client is already registered for the specified event. */
+#define NERR_TooManyAlerts (NERR_BASE+331) /* The alert table is full. */
+#define NERR_NoSuchAlert (NERR_BASE+332) /* An invalid or nonexistent alertname was raised. */
+#define NERR_BadRecipient (NERR_BASE+333) /* The alert recipient is invalid.*/
+#define NERR_AcctLimitExceeded (NERR_BASE+334) /* A user's session with this server has been deleted
+ * because his logon hours are no longer valid */
+
+/*
+ * Additional Error and Audit log codes.
+ *
+ * NERR_BASE +(340-343)
+ */
+#define NERR_InvalidLogSeek (NERR_BASE+340) /* The log file does not contain the requested record number. */
+/* UNUSED BASE+341 */
+/* UNUSED BASE+342 */
+/* UNUSED BASE+343 */
+
+/*
+ * Additional UAS and NETLOGON codes
+ *
+ * NERR_BASE +(350-359)
+ */
+#define NERR_BadUasConfig (NERR_BASE+350) /* The user account system database is not configured correctly. */
+#define NERR_InvalidUASOp (NERR_BASE+351) /* This operation is not permitted when the Netlogon service is running. */
+#define NERR_LastAdmin (NERR_BASE+352) /* This operation is not allowed on the last admin account. */
+#define NERR_DCNotFound (NERR_BASE+353) /* Unable to find domain controller for this domain. */
+#define NERR_LogonTrackingError (NERR_BASE+354) /* Unable to set logon information for this user. */
+#define NERR_NetlogonNotStarted (NERR_BASE+355) /* The Netlogon service has not been started. */
+#define NERR_CanNotGrowUASFile (NERR_BASE+356) /* Unable to grow the user account system database. */
+/* UNUSED BASE+357 */
+/* UNUSED BASE+358 */
+/* UNUSED BASE+359 */
+
+/*
+ * Server Integration error codes.
+ *
+ * NERR_BASE +(360-369)
+ */
+#define NERR_NoSuchServer (NERR_BASE+360) /* The server ID does not specify a valid server. */
+#define NERR_NoSuchSession (NERR_BASE+361) /* The session ID does not specify a valid session. */
+#define NERR_NoSuchConnection (NERR_BASE+362) /* The connection ID does not specify a valid connection. */
+#define NERR_TooManyServers (NERR_BASE+363) /* There is no space for another entry in the table of available servers. */
+#define NERR_TooManySessions (NERR_BASE+364) /* The server has reached the maximum number of sessions it supports. */
+#define NERR_TooManyConnections (NERR_BASE+365) /* The server has reached the maximum number of connections it supports. */
+#define NERR_TooManyFiles (NERR_BASE+366) /* The server cannot open more files because it has reached its maximum number. */
+#define NERR_NoAlternateServers (NERR_BASE+367) /* There are no alternate servers registered on this server. */
+/* UNUSED BASE+368 */
+/* UNUSED BASE+369 */
+
+/*
+ * UPS error codes.
+ *
+ * NERR_BASE + (380-384)
+ */
+#define NERR_UPSDriverNotStarted (NERR_BASE+380) /* The UPS driver could not be accessed by the UPS service. */
+/* UNUSED BASE+381 */
+/* UNUSED BASE+382 */
+/* UNUSED BASE+383 */
+/* UNUSED BASE+384 */
+
+/*
+ * Remoteboot error codes.
+ *
+ * NERR_BASE + (400-419)
+ * Error codes 400 - 405 are used by RPLBOOT.SYS.
+ * Error codes 403, 407 - 416 are used by RPLLOADR.COM,
+ * Error code 417 is the alerter message of REMOTEBOOT (RPLSERVR.EXE).
+ * Error code 418 is for when REMOTEBOOT can't start
+ * Error code 419 is for a disallowed 2nd rpl connection
+ */
+#define NERR_BadDosRetCode (NERR_BASE+400) /* The program below returned an MS-DOS error code:*/
+#define NERR_ProgNeedsExtraMem (NERR_BASE+401) /* The program below needs more memory:*/
+#define NERR_BadDosFunction (NERR_BASE+402) /* The program below called an unsupported MS-DOS function:*/
+#define NERR_RemoteBootFailed (NERR_BASE+403) /* The workstation failed to boot.*/
+#define NERR_BadFileCheckSum (NERR_BASE+404) /* The file below is corrupt.*/
+#define NERR_NoRplBootSystem (NERR_BASE+405) /* No loader is specified in the boot-block definition file.*/
+#define NERR_RplLoadrNetBiosErr (NERR_BASE+406) /* NetBIOS returned an error: The NCB and SMB are dumped above.*/
+#define NERR_RplLoadrDiskErr (NERR_BASE+407) /* A disk I/O error occurred.*/
+#define NERR_ImageParamErr (NERR_BASE+408) /* Image parameter substitution failed.*/
+#define NERR_TooManyImageParams (NERR_BASE+409) /* Too many image parameters cross disk sector boundaries.*/
+#define NERR_NonDosFloppyUsed (NERR_BASE+410) /* The image was not generated from an MS-DOS diskette formatted with /S.*/
+#define NERR_RplBootRestart (NERR_BASE+411) /* Remote boot will be restarted later.*/
+#define NERR_RplSrvrCallFailed (NERR_BASE+412) /* The call to the Remoteboot server failed.*/
+#define NERR_CantConnectRplSrvr (NERR_BASE+413) /* Cannot connect to the Remoteboot server.*/
+#define NERR_CantOpenImageFile (NERR_BASE+414) /* Cannot open image file on the Remoteboot server.*/
+#define NERR_CallingRplSrvr (NERR_BASE+415) /* Connecting to the Remoteboot server...*/
+#define NERR_StartingRplBoot (NERR_BASE+416) /* Connecting to the Remoteboot server...*/
+#define NERR_RplBootServiceTerm (NERR_BASE+417) /* Remote boot service was stopped; check the error log for the cause of the problem.*/
+#define NERR_RplBootStartFailed (NERR_BASE+418) /* Remote boot startup failed; check the error log for the cause of the problem.*/
+#define NERR_RPL_CONNECTED (NERR_BASE+419) /* A second connection to a Remoteboot resource is not allowed.*/
+
+/*
+ * FTADMIN API error codes
+ *
+ * NERR_BASE + (425-434)
+ *
+ */
+#define NERR_FTNotInstalled (NERR_BASE+425) /* DISKFT.SYS is not installed. */
+#define NERR_FTMONITNotRunning (NERR_BASE+426) /* FTMONIT is not running */
+#define NERR_FTDiskNotLocked (NERR_BASE+427) /* FTADMIN has not locked the disk. */
+#define NERR_FTDiskNotAvailable (NERR_BASE+428) /* Some other process has locked the disk. */
+#define NERR_FTUnableToStart (NERR_BASE+429) /* The verifier/correcter cannot be started. */
+#define NERR_FTNotInProgress (NERR_BASE+430) /* The verifier/correcter can't be aborted because it isn't started. */
+#define NERR_FTUnableToAbort (NERR_BASE+431) /* The verifier/correcter can't be aborted. */
+#define NERR_FTUnabletoChange (NERR_BASE+432) /* The disk could not be locked/unlocked. */
+#define NERR_FTInvalidErrHandle (NERR_BASE+433) /* The error handle was not recognized. */
+#define NERR_FTDriveNotMirrored (NERR_BASE+434) /* The drive is not mirrored. */
+
+
+#define MAX_NERR (NERR_BASE+899) /* This is the last error in NERR range. */
+
+/*
+ * end of list
+ *
+ * WARNING: Do not exceed MAX_NERR; values above this are used by
+ * other error code ranges (errlog.h, service.h, apperr.h).
+ */
+
+