home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Aktiv 1 / CDA1_96.ISO / novell / ncap12.exe / NCAPTURE.TXT < prev    next >
Text File  |  1995-09-17  |  46KB  |  968 lines

  1. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  2.  
  3.      NNNN   NNN      CCCCCCCC       AAAAAAAA      PPPPPPPPP
  4.      NNNNN  NNN     CCC    CCC     AAA    AAA     PPP    PPP
  5.      NNNNNNNNNN     CCC            AAAAAAAAAA     PPPPPPPPP
  6.      NNN  NNNNN     CCC    CCC     AAA    AAA     PPP
  7.      NNN   NNNN      CCCCCCCC      AAA    AAA     PPP
  8.  
  9. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  10.  
  11. This printer redirection utility is designed to work with Netware 4.10.
  12.  
  13. Please send bug reports (or suggestions) to Compuserve: 75600, 2274.
  14. I believe, I can also be reached by:
  15.       (Internet)  DARWIN@DART.MHS.COMPUSERVE.COM
  16.                   DCOLLINS@FASTLANE.NET
  17.       (MHS)       DARWIN@DART   via NHUB
  18.  
  19. NCAP is one of a few of my utilities specifically designed for Netware 4.10.
  20.  
  21. One of them is in the file NENVxx.EXE.  It includes NLOGIN.EXE, a utility to 
  22. make logging into 4.x servers easier, and a full demonstration of using the 
  23. included utilities to maintain/upgrade workstation drivers and other files.
  24. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  25. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  26.  
  27. Disclaimer:
  28. ===========
  29.  
  30.   Please apply all standard disclaimers here.  This utility is meant to
  31.   help you... not destroy your environment or waste your user's time.
  32.  
  33.   This utility is meant to help the network administrator present to the
  34.   enduser and easy interface for choosing their printer redirection.
  35.   If this blows up your network, or causes any harm, I am not responsible.
  36.   You will need to take all necessary precautions to protect your resources.
  37.  
  38.   This utility uses only standard API calls from official Novell SDK
  39.   releases and is compiled using Microsoft C/C++ version 7.0.  Large
  40.   Memory model.
  41.   The 'Window'y APIs are supplied from GreenLeaf DATAWindows 214-248-2561.
  42.   (btw: Their library is the main cause of the RAM cram)
  43.   Got any better choices for 'Window'y APIs for DOS ? Please, let me know.
  44.  
  45.   If you wish to include any of the utilities found in this ZIP file
  46.   in a publication, please ask first.  Thank You
  47.  
  48. Application:
  49. ============
  50.  
  51.   Display to the network user, a pick list of all allowable (accessible)
  52.   network print queues and print job names, and allow the user to redirect
  53.   their LPT ports to the desired choice.  These choices can be saved by the
  54.   user for later use.  (ie: Activation upon network login)
  55.   Fully compatible with Netware 4.1 's NDS.   Does not use Bindery Emulation.
  56.  
  57.    . User may make minor changes to their printer port redirection.
  58.    . The user's choices are saved in their personal sys:mail\userid
  59.      subdirectory. (or using command parameter to different path\filename)
  60.    . The user's printing environment may be automatically activated when the
  61.      user logs into the network.   (The admin places the command
  62.      "SCAPTURE SET" in the login script or batch file.)
  63.    . This utility does not use any 'Bindery Emulation' API calls.
  64.    . The user's settings may be initialized by the administrator placing a
  65.      'master' ncapture.cfg in the sys:public subdirectory.
  66.    . The administrator may disable the ability of the user to modify their
  67.      options for printer redirection.  Also, the SCAPTURE.EXE app is the
  68.      same as NCAPTURE.EXE but will not allow any modification of the options.
  69.  
  70. Parameters:
  71. ===========
  72.  
  73.    Additional commandline parameters are:
  74.  
  75.    ?          It will:  Display the help summary screen and then exit app.
  76.  
  77.    SET
  78.               Purpose:  Set the user's settings and exit.  This settings is
  79.                         meant for batch files and automated usage.
  80.                         Since no picklist screens are displayed, this
  81.                         method requires fewer memory resources.
  82.               It will:  Read the default cfg settings. (sys:public)
  83.                         Read the user's previously saved default settings.
  84.                         Activate the settings.
  85.                         Exit application.
  86.  
  87.    DEFAULT    Purpose:  To override the user's individual settings, and
  88.                         allow the user to 'restart' their settings.
  89.               It will:  Read the default cfg settings.
  90.                         Display the printer redirection menu.
  91.  
  92.    /C=Drive:\Path\FileName
  93.               Purpose:  To set the user's cfg file to a specifed location.
  94.               You can set the file to the local C: or to the network drive.
  95.               Popular locations are: F:\USR\UserName\Ncap.Cfg, C:\Ncap.Cfg,
  96.               F:\MHS\MAIL\USERS\UserName\Ncap.Cfg.
  97.               It will:  Read the default cfg settings.
  98.                         Read the specifed file for cfg settings.
  99.                         Display the printer redirection menu.
  100.               Optionally, you can use the environment variable NCAPTURE to
  101.               specify the user's cfg file.
  102.  
  103. ExitLevels:
  104. ===========
  105.  
  106.   Upon exit, the utility should return an ErrorLevel of 0.
  107.   If above 0, it will reflect the number of errors that occurred while
  108.   attempting to 'Capture' the printer ports to the user selected settings.
  109.  
  110. Executibles:
  111. ============
  112.  
  113.   NCAPTURE.EXE   -
  114.     . Consumes 450K+ conventional memory.
  115.     . Will allow user to change context list to scan for printjob / queue 
  116.       names.
  117.     . Will allow user to change simple printing options.
  118.       (supervisor can revoke this capability)
  119.  
  120.   SCAPTURE.EXE   -
  121.     . Consumes about 375K conventional memory.
  122.     . Similar to above but will allow user to only select scanned printjob
  123.       / queue names only.  The user can save these as the default setting.
  124.     . Will only display 'fatal' error messages.  
  125.  
  126.   DCAPTURE.EXE   -
  127.     . Consumes 460K+ conventional memory.
  128.     . Similar to NCAPTURE.EXE but will display almost all encountered error
  129.       messages.  This is used for debuging problems in the DS tree, or 
  130.       configurations errors in the printjob tasks.
  131.  
  132.   WCAPTURE.EXE   -
  133.     . Windows 3.1 application.  Workstation must be running VLMs and logged
  134.       into a Netware 4.10 server.
  135.     . Similar to both DCAPTURE.EXE and NCAPTURE.EXE.
  136.     . Of this release, WCAPTURE.EXE is new, so they may be some items to
  137.       be fixed.  The only one that I know is, that the 'Options' button
  138.       are not 'greyed' (disabled) when the printer port points to a local
  139.       printer port.
  140.     . All the same command line parameters work with WCapture.EXE as they 
  141.       did in the other ?Capture.EXE files.
  142.       Hint:  On the icon, choose Properties. (Alt-Enter)  Then, on the
  143.       item, 'Command Line:' you would place the additional parameters after
  144.       the application.exe text.
  145.  
  146. Workstation Requirements:
  147. =========================
  148.  
  149.    . DOS 5.0 or later.
  150.    . Workstation with at least 460K of available conventional memory.
  151.      (375K conventional memory if loading SCAPTURE.EXE)
  152.    . Novell VLM (network requestor) logged into a Netware 4.1 server.
  153.      It must be a NDS (Netware Directory Services) connection.
  154.    . Search drive to sys:public\nls or place the Novell unicode file in
  155.       current subdirectory that the NCAPTURE.EXE is copied too.
  156.       (English Unicode files have the .001 extension.)
  157.  
  158. Limitations:
  159. ============
  160.  
  161.    . Expects the full object name to be less than 80 characters.
  162.    . Will display upto 50 print queue / print job names.
  163.    . NCAPTURE.EXE requires at least 460K (maybe more) of available 
  164.      conventional memory.  (SCAPTURE.EXE requires less memory. DCAPTURE.EXE 
  165.      requires more memory.)
  166.    . Expects 3 redirectable printer ports.
  167.  
  168. Thanks:
  169. =======
  170.  
  171.    Thanks to Randy Cook, Ray Maxwell, Adam Jerome, Charles Rose, Novell 
  172.    employees and other forum volunteers for your hints in creating this 
  173.    utility.  Additional thanks to Marina Pimentel.
  174.    (Thanks to Novell for having these engineers available to developers.)
  175.    Also, special thanks to Marcus Williamson on NETW4X forum / Compuserve.
  176.    This utility is compiled using the Novell SDK volume 4. 
  177.    Contact Novell at 800-RED-WORD to subscribe to Novell's SDK.
  178.  
  179. WhoAmI:
  180. =======
  181.  
  182.    Darwin Collins, works at Dallas Area Rapid Transit in Dallas, Texas USA. 
  183.    Voice 214-749-3022.  My real job pays me to be a Network Administrator, 
  184.    but I love to program.
  185.  
  186.    I have been writing programs since 1980.  My first published utility
  187.    was called 'Graphic Writer' published in SoftSide in August 1982.
  188.    You could find a variety of my earlier utilities published in books 
  189.    such as 'LAN Desktop Guide To Troubleshooting' by Rick Segal, and 
  190.    'NetWare Unleashed Vol 1 and 2' from SAMS Publishing.   
  191.    My only commerical attempt, is a product called 'Office Logic Clerk',
  192.    which is a MHS-compatible (SMF-70,SMF-71) super utility (Alphapaging, 
  193.    dlists, file librarian/requestor, ...) marketed by LAN-ACES Inc. in 
  194.    Houston, TX.  800-LAN-ACES.  They have a email groupware product
  195.    called Office Logic Email which is pretty neat!
  196.  
  197. Sample Usage:
  198. =============
  199.  
  200.    . Use ?CAPTURE.EXE to automatically set the user's printer redirection
  201.      upon each login.
  202.  
  203.      To automatically enable the individual's preferred printing defaults,
  204.      you will need to execute the NCAPTURE utility in the system login
  205.      script or in a batch file that is called by the system login script.
  206.      For example, you have copied the NCAPTURE.EXE (or SCAPTURE.EXE) into 
  207.      the sys:public subdirectory.   (Preferably, you would have a directory
  208.      that is in the search path and contains your most usefull utilities.)
  209.      Normally, at the end of your login script, you would call a batch file
  210.      that would then take you to your network menu system.
  211.      Near the start of the batch file you would place the command:
  212.      F:\PUBLIC\SCAPTURE SET
  213.      The 'SET' parameter instructs the utility to read the individual/master
  214.      NCAPTURE.CFG file and setup the printer redirection.
  215.      Optionally... you can add a second parameter to the above command line
  216.      to specify the user's cfg file.  Syntax is:  /C=Drive:\Path\Filename.
  217.  
  218.    . Use ?CAPTURE.EXE to display a list of all accessible print job / print
  219.      queues to the user so that he can select his printing choices.
  220.      For the user to access the NCAPTURE utility from the network menu or
  221.      from the DOS prompt, you could simply copy the ?CAPTURE.EXE utility
  222.      to a subdirectory that is a 'search drive' or simply in the sys:public
  223.      subdirectory.
  224.  
  225. Configuration file:
  226. ===================
  227.  
  228.    ?CAPTURE.EXE will attempt to read the NCAPTURE.CFG settings from these 
  229.    locations:
  230.       SYS:\PUBLIC
  231.       SYS:\MAIL\UserObjectID
  232.       Current Subdirectory
  233.    The suggestion is to place a NCAPTURE.CFG file in the SYS:\PUBLIC with 
  234.    the default settings that you will want new users to 'use' the first 
  235.    time that they execute this utility.
  236.  
  237.    NCAPTURE.CFG is created by the ?CAPTURE.EXE
  238.    when the user selects 'Save' in the menu.   Use any normal text editor 
  239.    to edit the NCAPTURE.CFG file.   Information on each of the settings
  240.    are listed in the next section.
  241.  
  242.    ?CAPTURE.EXE will attempt to write the NCAPTURE.CFG file in the user's 
  243.    SYS:\MAIL\ObjectId subdirectory.  If it can not write it in that 
  244.    location, then it will attempt to write the file in the current 
  245.    subdirectory.
  246.  
  247.    If you set an environment variable called NCAPTURE, you can specify the
  248.    filename that you want the user's settings read/written to.  For example,
  249.    if you:   SET NCAPTURE=F:\MHS\MAIL\USERS\%username\NCAPTURE.CFG
  250.    Then the ?CAPTURE.EXE utilities will use the above file to read and 
  251.    write the user's settings.
  252.  
  253.  
  254. NCAPTURE.CFG nouns:
  255. ===================
  256.  
  257.    ContainersAvailable
  258.       Sample:         Printers.ABC;Finance.NYC.ABC
  259.       Lists all NDS containers (in addition to current) that the utility
  260.       should search in for the print queues and print job names.
  261.       Separate each container name by a semicolon.
  262.  
  263.    AllowChangeDefault
  264.       Settings are  Y  or  N
  265.       Normal setting is  Y
  266.       Set to Y, to allow the user to change their printing options.
  267.       Set to N, to not allow the user to change their default printing
  268.       options.
  269.       This noun does not effect the selection of Print Queue names or Print
  270.       Job names.
  271.  
  272.    The nouns that start with the text 'Default' are the settings that will
  273.    be automatically used when a user chooses a print queue.   The 'default'
  274.    settings are not used if the user selects a print job name.
  275.  
  276.    DefaultNumberOfCopies
  277.       Settings is from 1 to 1000.
  278.       Normal setting is 1.
  279.    DefaultTimeOut
  280.       Setting is the number of seconds for capture timeout.
  281.       Same meaning as 'TimeOut' for CAPTURE.EXE.
  282.    DefaultFormFeed
  283.       Setting is Y or N.
  284.       Set to Y, to send a FormFeed trailing the print job.
  285.       Similar purpose as 'FormFeed' for CAPTURE.EXE.
  286.    DefaultAutoEndCap
  287.       Setting is Y or N.
  288.       Same meaning as 'AutoEndCap' for CAPTURE.EXE.
  289.    DefaultNotify
  290.       Setting is Y or N.
  291.       If set to Y, then user will receive broadcast when printjob finished.
  292.    DefaultBanner
  293.       Setting is Y or N.
  294.       If set to Y, then the Banner will printed preceding the printjob.
  295.    DefaultBannerName
  296.       If LPTxBanner is set to Y, then it use this noun for the Banner name.
  297.    DefaultBannerText
  298.       If LPTxBanner is set to Y, then it use this noun for the Banner text.
  299.  
  300.    For each of the below nouns, x means the printer port from 1 to 3.  The
  301.    settings below are those that the user has defined when running the
  302.    NCAPTURE utility.
  303.  
  304.    LPTxContextName
  305.       Setting is the container name of the print queue, or blank if 'local'.
  306.       Sample:     Printers.ABC
  307.    LPTxQueueName
  308.       Setting is the full name of the print queue, or blank if 'local'.
  309.       Sample:     CN=Q-BJ600E.OU=Printers.O=ABC
  310.    LPTxPrintJobName
  311.       Setting is the print job name (if there is one), or blank if 'local'.
  312.       Sample:     CHECKS
  313.    LPTxNumberOfCopies
  314.       Settings is from 1 to 1000.
  315.       Normal setting is 1.
  316.    LPTxTimeOut
  317.       Setting is the number of seconds for capture timeout.
  318.       Same meaning as 'TimeOut' for CAPTURE.EXE.
  319.    LPTxFormFeed
  320.       Setting is Y or N.
  321.       Set to Y, to send a FormFeed trailing the print job.
  322.       Similar purpose as 'FormFeed' for CAPTURE.EXE.
  323.    LPTxAutoEndCap
  324.       Setting is Y or N.
  325.       Same meaning as 'FormFeed' for CAPTURE.EXE.
  326.    LPTxNotify
  327.       Setting is Y or N.
  328.       If set to Y, then user will receive broadcast when printjob finished.
  329.    LPTxBanner
  330.       Setting is Y or N.
  331.       If set to Y, then the Banner will printed preceding the printjob.
  332.    LPTxBannerName
  333.       If LPTxBanner is set to Y, then it use this noun for the Banner name.
  334.    LPTxBannerText
  335.       If LPTxBanner is set to Y, then it use this noun for the Banner text.
  336.  
  337.  
  338. My standard NET.CFG file for VLM 1.20 drivers is:
  339. =================================================
  340.  
  341.    preferred server=JUNGEUN2
  342.    show dots = ON
  343.    file handles = 60
  344.    print header = 255
  345.    print tail = 64
  346.  
  347.    Link Driver NE2000
  348.       Protocol IPX 8137 ETHERNET_II
  349.       Frame ETHERNET_II
  350.       INT 15
  351.       PORT 340
  352.  
  353.    NETWARE DOS REQUESTER
  354.       SET STATION TIME = ON
  355.       LOAD CONN TABLE LOW = ON
  356.       CONNECTIONS = 8
  357.       LARGE INTERNET PACKETS = ON
  358.       SIGNATURE LEVEL = 1
  359.       CACHE BUFFERS = 5
  360.       CACHE BUFFER SIZE = 1436
  361.       CACHE WRITES = ON
  362.       TRUE COMMIT = OFF
  363.       PB BUFFERS = 3
  364.       PBURST READ WINDOW SIZE = 16
  365.       FIRST NETWORK DRIVE = H
  366.       SHOW DOTS = ON
  367.       NAME CONTEXT = "O=HOME"
  368.       FORCE FIRST NETWORK DRIVE = ON
  369.       LOAD LOW REDIR = ON
  370.       READ ONLY COMPATIBILITY = ON
  371.       USE DEFAULTS = OFF
  372.          VLM = CONN.VLM
  373.          VLM = IPXNCP.VLM
  374.          VLM = TRAN.VLM
  375.          VLM = SECURITY.VLM
  376.          VLM = NDS.VLM
  377.          VLM = BIND.VLM
  378.          VLM = NWP.VLM
  379.          VLM = FIO.VLM
  380.          VLM = GENERAL.VLM
  381.          VLM = REDIR.VLM
  382.          VLM = PRINT.VLM
  383.          VLM = NETX.VLM
  384.  
  385. [end]
  386.  
  387. PS...
  388. Below are the error codes from extracted from the 'Error Include' files
  389. from the Novell SDK Vol4. (800)RED-WORD
  390. If you are a corporate site and you have a programmer on staff, then you owe
  391. it to him, to subscribe to the SDK Kit.  If using 'Visual Basic', then there
  392. is a 'Visual Basic' API library for NetWare too!
  393.  
  394. SHELL_ERROR                0x8800
  395. VLM_ERROR                  0x8800
  396. ALREADY_ATTACHED           0x8800   0  
  397.    - Attach attempted to server with valid, existing connection 
  398. INVALID_CONNECTION         0x8801   1  
  399.    - Request attempted with invalid or non-attached connection handle 
  400. DRIVE_IN_USE               0x8802   2  
  401.    - OS/2 only (NOT USED) 
  402. CANT_ADD_CDS               0x8803   3  
  403.    - Map drive attempted but unable to add new current directory structure 
  404. BAD_DRIVE_BASE             0x8804   4  
  405.    - Map drive attempted with invalid path specification 
  406. NET_READ_ERROR             0x8805   5  
  407.    - Attempt to receive from the selected transport failed 
  408. NET_RECV_ERROR             0x8805   5  
  409. UNKNOWN_NET_ERROR          0x8806   6  
  410.    - Network send attempted with an un-specific network error 
  411. SERVER_INVALID_SLOT        0x8807   7  
  412.    - Server request attempted with invalid server connection slot 
  413. BAD_SERVER_SLOT            0x8807   7  
  414. NO_SERVER_SLOTS            0x8808   8  
  415.    - Attach attempted to server with no connection slots available 
  416. NET_WRITE_ERROR            0x8809   9  
  417.    - Attempt to send on the selected transport failed 
  418. NET_SEND_ERROR             0x8809   9  
  419. SERVER_NO_ROUTE            0x880A   10 
  420.    - Attempted to find route to server where no route exists 
  421. BAD_LOCAL_TARGET           0x880B   11 - OS/2 only 
  422. TOO_MANY_REQ_FRAGS         0x880C   12 
  423.    - Attempted request with too many request fragments specified 
  424. CONNECT_LIST_OVERFLOW      0x880D   13 
  425. BUFFER_OVERFLOW            0x880E   14 
  426.    - Attempt to receive more data than the reply buffer had room for 
  427. NO_CONN_TO_SERVER          0x880F   15 
  428. NO_CONNECTION_TO_SERVER    0x880F   15 
  429.    - Attempt to get connection for a server not connected 
  430. NO_ROUTER_FOUND            0x8810   16 - OS/2 only 
  431. BAD_FUNC_ERROR             0x8811   17 
  432. INVALID_SHELL_CALL         0x8811   17 
  433.    - Attempted function call to non- existent or illegal function 
  434. NOT_SAME_CONNECTION        0x8830   48 
  435.    - Internal server request attempted accross different server connections 
  436. PRIMARY_CONNECTION_NOT_SET 0x8831   49 
  437.    - Attempt to retrieve default connection with no primary connection set 
  438. NO_PRIMARY_SET             0x8831   49 
  439. NO_CAPTURE_SET             0x8832   50 
  440. NO_CAPTURE_IN_PROGRESS     0x8832   50 
  441.    - Capture information requested on port with no capture in progress 
  442. BAD_BUFFER_LENGTH          0x8833   51 
  443. INVALID_BUFFER_LENGTH      0x8833   51 
  444.    - Used to indicate length which caller requested on a GetDNC or SetDNC was too large 
  445. NO_USER_NAME               0x8834   52 
  446. NO_NETWARE_PRINT_SPOOLER   0x8835   53 
  447.    - Capture requested without having the local print spooler installed 
  448. INVALID_PARAMETER          0x8836   54 
  449.    - Attempted function with an invalid function parameter specified 
  450. CONFIG_FILE_OPEN_FAILED    0x8837   55 - OS/2 only 
  451. NO_CONFIG_FILE             0x8838   56 - OS/2 only 
  452. CONFIG_FILE_READ_FAILED    0x8839   57 - OS/2 only 
  453. CONFIG_LINE_TOO_LONG       0x883A   58 - OS/2 only 
  454. CONFIG_LINES_IGNORED       0x883B   59 - OS/2 only 
  455. NOT_MY_RESOURCE            0x883C   60 
  456.    - Attempted request made with a parameter using foriegn resource 
  457. DAEMON_INSTALLED           0x883D   61 - OS/2 only 
  458. SPOOLER_INSTALLED          0x883E   62 
  459.    - Attempted load of print spooler with print spooler already installed 
  460. CONN_TABLE_FULL            0x883F   63 
  461. CONNECTION_TABLE_FULL      0x883F   63 
  462.    - Attempted to allocate a connection handle with no more local connection table entries 
  463. CONFIG_SECTION_NOT_FOUND   0x8840   64 - OS/2 only 
  464. BAD_TRAN_TYPE              0x8841   65 
  465. INVALID_TRANSPORT_TYPE     0x8841   65 
  466.    - Attempted function on a connection with an invalid transport selected 
  467. TDS_TAG_IN_USE             0x8842   66 - OS/2 only 
  468. TDS_OUT_OF_MEMORY          0x8843   67 - OS/2 only 
  469. TDS_INVALID_TAG            0x8844   68 
  470.    - Attempted TDS function with invalid tag 
  471. TDS_WRITE_TRUNCATED        0x8845   69 
  472.    - Attempted TDS write with buffer that exceeded buffer 
  473. NO_DIRECTORY_SERVICE_CONNECTION 0x8846   70 
  474. SERVICE_BUSY               0x8846   70 
  475.    - Attempted request made to partially asynchronous function in busy state 
  476. NO_SERVER_ERROR            0x8847   71 
  477.    - Attempted connect failed to find any servers responding 
  478. BAD_VLM_ERROR              0x8848   72 
  479.    - Attempted function call to non-existant or not-loaded overlay 
  480. NETWORK_DRIVE_IN_USE       0x8849   73 
  481.    - Attempted map to network drive that was already mapped 
  482. LOCAL_DRIVE_IN_USE         0x884A   74 
  483.    - Attempted map to local drive that was in use 
  484. NO_DRIVES_AVAILABLE        0x884B   75 
  485.    - Attempted map to next available drive when none were available 
  486. DEVICE_NOT_REDIRECTED      0x884C   76 
  487.    - The device is not redirected 
  488. NO_MORE_SFT_ENTRIES        0x884D   77 
  489.    - Maximum number of files was reached 
  490. UNLOAD_ERROR               0x884E   78 
  491.    - Attempted unload failed 
  492. IN_USE_ERROR               0x884F   79 
  493.    - Attempted re-use of already in use connection entry 
  494. TOO_MANY_REP_FRAGS         0x8850   80 
  495.    - Attempted request with too many reply fragments specified 
  496. TABLE_FULL                 0x8851   81 
  497.    - Attempted to add a name into the name table after it was full 
  498. SOCKET_NOT_OPEN            0x8852   82 
  499.    - Listen was posted on unopened socket 
  500. MEM_MGR_ERROR              0x8853   83 
  501.    - Attempted enhanced memory operation failed 
  502. SFT3_ERROR                 0x8854   84 
  503.    - An SFT3 switch occured mid-transfer 
  504. PREFERRED_NOT_FOUND        0x8855   85 
  505.    - the preferred directory server was not established but another directory server was returned 
  506. DEVICE_NOT_RECOGNIZED      0x8856   86 
  507.    - used to determine if the device is not used by VISE so pass it on to the next redirector, if any. 
  508. BAD_NET_TYPE               0x8857   87 
  509.    - the network type (Bind/NDS) does not match the server version 
  510. ERROR_OPENING_FILE         0x8858   88 
  511.    - generic open failure error, invalid path, access denied, etc.. 
  512. NO_PREFERRED_SPECIFIED     0x8859   89 
  513.    - no preferred name specified 
  514. ERROR_OPENING_SOCKET       0x885A   90 
  515.    - error opening a socket 
  516. SHELL_FAILURE              0x88FF
  517. VLM_FAILURE                0x88FF
  518.  
  519.  
  520.  Server Errors 
  521.  
  522. ERR_INSUFFICIENT_SPACE          0x8901   001 
  523. ERR_BUFFER_TOO_SMALL            0x8977   119 
  524. ERR_VOLUME_FLAG_NOT_SET         0x8978   120 the service requested, not avail. on the selected vol. 
  525. ERR_NO_ITEMS_FOUND              0x8979   121 
  526. ERR_CONN_ALREADY_TEMP           0x897a   122 
  527. ERR_CONN_ALREADY_LOGGED_IN      0x897b   123 
  528. ERR_CONN_NOT_AUTHENTICATED      0x897c   124 
  529. ERR_CONN_NOT_LOGGED_IN          0x897d   125 
  530. NCP_BOUNDARY_CHECK_FAILED       0x897e   126 
  531. ERR_LOCK_WAITING                0x897f   127 
  532. ERR_LOCK_FAIL                   0x8980   128 
  533. FILE_IN_USE_ERROR               0x8980   128 
  534. NO_MORE_FILE_HANDLES            0x8981   129 
  535. NO_OPEN_PRIVILEGES              0x8982   130 
  536. IO_ERROR_NETWORK_DISK           0x8983   131 
  537. NO_CREATE_PRIVILEGES            0x8984   132 
  538. NO_CREATE_DELETE_PRIVILEGES     0x8985   133 
  539. CREATE_FILE_EXISTS_READ_ONLY    0x8986   134 
  540. WILD_CARDS_IN_CREATE_FILE_NAME  0x8987   135 
  541. INVALID_FILE_HANDLE             0x8988   136 
  542. NO_SEARCH_PRIVILEGES            0x8989   137 
  543. NO_DELETE_PRIVILEGES            0x898A   138 
  544. NO_RENAME_PRIVILEGES            0x898B   139 
  545. NO_MODIFY_PRIVILEGES            0x898C   140 
  546. SOME_FILES_AFFECTED_IN_USE      0x898D   141 
  547. NO_FILES_AFFECTED_IN_USE        0x898E   142 
  548. SOME_FILES_AFFECTED_READ_ONLY   0x898F   143 
  549. NO_FILES_AFFECTED_READ_ONLY     0x8990   144 
  550. SOME_FILES_RENAMED_NAME_EXISTS  0x8991   145 
  551. NO_FILES_RENAMED_NAME_EXISTS    0x8992   146 
  552. NO_READ_PRIVILEGES              0x8993   147 
  553. NO_WRITE_PRIVILEGES_OR_READONLY 0x8994   148 
  554. FILE_DETACHED                   0x8995   149 
  555. SERVER_OUT_OF_MEMORY            0x8996   150 
  556. ERR_TARGET_NOT_A_SUBDIRECTORY   0x8986   150 can be changed later (note written by server people). 
  557. NO_DISK_SPACE_FOR_SPOOL_FILE    0x8997   151 
  558. VOLUME_DOES_NOT_EXIST           0x8998   152 
  559. DIRECTORY_FULL                  0x8999   153 
  560. RENAMING_ACROSS_VOLUMES         0x899A   154 
  561. BAD_DIRECTORY_HANDLE            0x899B   155 
  562. INVALID_PATH                    0x899C   156 
  563. NO_MORE_TRUSTEES                0x899C   156 
  564. NO_MORE_DIRECTORY_HANDLES       0x899D   157 
  565. INVALID_FILENAME                0x899E   158 
  566. DIRECTORY_ACTIVE                0x899F   159 
  567. DIRECTORY_NOT_EMPTY             0x89A0   160 
  568. DIRECTORY_IO_ERROR              0x89A1   161 
  569. READ_FILE_WITH_RECORD_LOCKED    0x89A2   162 
  570. ERR_TRANSACTION_RESTARTED       0x89A3   163 
  571. ERR_RENAME_DIR_INVALID          0x89A4   164 
  572. ERR_INVALID_OPENCREATE_MODE     0x89A5   165 
  573. ERR_ALREADY_IN_USE              0x89A6   166 
  574. ERR_INVALID_RESOURCE_TAG        0x89A7   167 
  575. ERR_ACCESS_DENIED               0x89A8   168 
  576. INVALID_DATA_STREAM             0x89BE   190 
  577. INVALID_NAME_SPACE              0x89BF   191 
  578. NO_ACCOUNTING_PRIVILEGES        0x89C0   192 
  579. LOGIN_DENIED_NO_ACCOUNT_BALANCE 0x89C1   193 
  580. LOGIN_DENIED_NO_CREDIT          0x89C2   194 
  581. ERR_TOO_MANY_HOLDS              0x89C3   195 
  582. ACCOUNTING_DISABLED             0x89C4   196 
  583. INTRUDER_DETECTION_LOCK         0x89C5   197 
  584. NO_CONSOLE_OPERATOR             0x89C6   198 
  585. NO_CONSOLE_PRIVILEGES           0x89C6   198 
  586. ERR_Q_IO_FAILURE                0x89D0   208 
  587. ERR_NO_QUEUE                    0x89D1   209 
  588. ERR_NO_Q_SERVER                 0x89D2   210 
  589. ERR_NO_Q_RIGHTS                 0x89D3   211 
  590. ERR_Q_FULL                      0x89D4   212 
  591. ERR_NO_Q_JOB                    0x89D5   213 
  592. ERR_NO_Q_JOB_RIGHTS             0x89D6   214 
  593. ERR_Q_IN_SERVICE                0x89D7   215 
  594. PASSWORD_NOT_UNIQUE             0x89D7   215 
  595. ERR_Q_NOT_ACTIVE                0x89D8   216 
  596. PASSWORD_TOO_SHORT              0x89D8   216 
  597. ERR_Q_STN_NOT_SERVER            0x89D9   217 
  598. LOGIN_DENIED_NO_CONNECTION      0x89D9   217 
  599. ERR_MAXIMUM_LOGINS_EXCEEDED     0x89D9   217 
  600. ERR_Q_HALTED                    0x89DA   218 
  601. UNAUTHORIZED_LOGIN_TIME         0x89DA   218 
  602. UNAUTHORIZED_LOGIN_STATION      0x89DB   219 
  603. ERR_Q_MAX_SERVERS               0x89DB   219 
  604. ACCOUNT_DISABLED                0x89DC   220 
  605. PASSWORD_HAS_EXPIRED_NO_GRACE   0x89DE   222 
  606. PASSWORD_HAS_EXPIRED            0x89DF   223 
  607. E_NO_MORE_USERS                 0x89E7   231 
  608. NOT_ITEM_PROPERTY               0x89E8   232 
  609. WRITE_PROPERTY_TO_GROUP         0x89E8   232 
  610. MEMBER_ALREADY_EXISTS           0x89E9   233 
  611. NO_SUCH_MEMBER                  0x89EA   234 
  612. NOT_GROUP_PROPERTY              0x89EB   235 
  613. NO_SUCH_SEGMENT                 0x89EC   236 
  614. PROPERTY_ALREADY_EXISTS         0x89ED   237 
  615. OBJECT_ALREADY_EXISTS           0x89EE   238 
  616. INVALID_NAME                    0x89EF   239 
  617. WILD_CARD_NOT_ALLOWED           0x89F0   240 
  618. INVALID_BINDERY_SECURITY        0x89F1   241 
  619. NO_OBJECT_READ_PRIVILEGE        0x89F2   242 
  620. NO_OBJECT_RENAME_PRIVILEGE      0x89F3   243 
  621. NO_OBJECT_DELETE_PRIVILEGE      0x89F4   244 
  622. NO_OBJECT_CREATE_PRIVILEGE      0x89F5   245 
  623. NO_PROPERTY_DELETE_PRIVILEGE    0x89F6   246 
  624. NO_PROPERTY_CREATE_PRIVILEGE    0x89F7   247 
  625. NO_PROPERTY_WRITE_PRIVILEGE     0x89F8   248 
  626. NO_FREE_CONNECTION_SLOTS        0x89F9   249 
  627. NO_PROPERTY_READ_PRIVILEGE      0x89F9   249 
  628. NO_MORE_SERVER_SLOTS            0x89FA   250 
  629. TEMP_REMAP_ERROR                0x89FA   250 
  630. INVALID_PARAMETERS              0x89FB   251 
  631. NO_SUCH_PROPERTY                0x89FB   251 
  632. ERR_NCP_NOT_SUPPORTED           0x89FB   251 
  633. INTERNET_PACKET_REQT_CANCELED   0x89FC   252 
  634. UNKNOWN_FILE_SERVER             0x89FC   252 
  635. MESSAGE_QUEUE_FULL              0x89FC   252 
  636. NO_SUCH_OBJECT                  0x89FC   252 
  637. LOCK_COLLISION                  0x89FD   253 
  638. BAD_STATION_NUMBER              0x89FD   253 
  639. INVALID_PACKET_LENGTH           0x89FD   253 
  640. UNKNOWN_REQUEST                 0x89FD   253 
  641. BINDERY_LOCKED                  0x89FE   254 
  642. TRUSTEE_NOT_FOUND               0x89FE   254 
  643. DIRECTORY_LOCKED                0x89FE   254 
  644. INVALID_SEMAPHORE_NAME_LENGTH   0x89FE   254 
  645. PACKET_NOT_DELIVERABLE          0x89FE   254 
  646. SERVER_BINDERY_LOCKED           0x89FE   254 
  647. SOCKET_TABLE_FULL               0x89FE   254 
  648. SPOOL_DIRECTORY_ERROR           0x89FE   254 
  649. SUPERVISOR_HAS_DISABLED_LOGIN   0x89FE   254 
  650. TIMEOUT_FAILURE                 0x89FE   254 
  651. BAD_PRINTER_ERROR               0x89FF   255 
  652. BAD_RECORD_OFFSET               0x89FF   255 
  653. CLOSE_FCB_ERROR                 0x89FF   255 
  654. FILE_EXTENSION_ERROR            0x89FF   255 
  655. FILE_NAME_ERROR                 0x89FF   255 
  656. HARDWARE_FAILURE                0x89FF   255 
  657. INVALID_DRIVE_NUMBER            0x89FF   255 
  658. DOS_INVALID_DRIVE               0x000F   255 
  659. INVALID_INITIAL_SEMAPHORE_VALUE 0x89FF   255 
  660. INVALID_SEMAPHORE_HANDLE        0x89FF   255 
  661. IO_BOUND_ERROR                  0x89FF   255 
  662. NO_FILES_FOUND_ERROR            0x89FF   255 
  663. NO_RESPONSE_FROM_SERVER         0x89FF   255 
  664. NO_SUCH_OBJECT_OR_BAD_PASSWORD  0x89FF   255 
  665. PATH_NOT_LOCATABLE              0x89FF   255 
  666. QUEUE_FULL_ERROR                0x89FF   255 
  667. REQUEST_NOT_OUTSTANDING         0x89FF   255 
  668. SOCKET_ALREADY_OPEN             0x89FF   255 
  669. LOCK_ERROR                      0x89FF   255 
  670.  
  671.  
  672. ERR_INSUFFICIENT_MEMORY        -150      0xFFFFFF6A, OS ERR_NO_ALLOC_SPACE is 0x96 
  673. ERR_REQUEST_UNKNOWN            -251      0xFFFFFF05, OS ERR_UNKNOWN_REQUEST is 0xFB 
  674. ERR_OF_SOME_SORT               -255      0xFFFFFF01, many OS errors are originally 0xFF 
  675.  
  676.  -301 to -399 are returned by the directory services client library 
  677. ERR_NOT_ENOUGH_MEMORY          -301      0xFFFFFED3 
  678. ERR_BAD_KEY                    -302      0xFFFFFED2 
  679. ERR_BAD_CONTEXT                -303      0xFFFFFED1 
  680. ERR_BUFFER_FULL                -304      0xFFFFFED0 
  681. ERR_LIST_EMPTY                 -305      0xFFFFFECF 
  682. ERR_BAD_SYNTAX                 -306      0xFFFFFECE 
  683. ERR_BUFFER_EMPTY               -307      0xFFFFFECD 
  684. ERR_BAD_VERB                   -308      0xFFFFFECC 
  685. ERR_EXPECTED_IDENTIFIER        -309      0xFFFFFECB 
  686. ERR_EXPECTED_EQUALS            -310      0xFFFFFECA 
  687. ERR_ATTR_TYPE_EXPECTED         -311      0xFFFFFEC9 
  688. ERR_ATTR_TYPE_NOT_EXPECTED     -312      0xFFFFFEC8 
  689. ERR_FILTER_TREE_EMPTY          -313      0xFFFFFEC7 
  690. ERR_INVALID_OBJECT_NAME        -314      0xFFFFFEC6 
  691. ERR_EXPECTED_RDN_DELIMITER     -315      0xFFFFFEC5 
  692. ERR_TOO_MANY_TOKENS            -316      0xFFFFFEC4 
  693. ERR_INCONSISTENT_MULTIAVA      -317      0xFFFFFEC3 
  694. ERR_COUNTRY_NAME_TOO_LONG      -318      0xFFFFFEC2 
  695. ERR_SYSTEM_ERROR               -319      0xFFFFFEC1 
  696. ERR_CANT_ADD_ROOT              -320      0xFFFFFEC0 
  697. ERR_UNABLE_TO_ATTACH           -321      0xFFFFFEBF 
  698. ERR_INVALID_HANDLE             -322      0xFFFFFEBE 
  699. ERR_BUFFER_ZERO_LENGTH         -323      0xFFFFFEBD 
  700. ERR_INVALID_REPLICA_TYPE       -324      0xFFFFFEBC 
  701. ERR_INVALID_ATTR_SYNTAX        -325      0xFFFFFEBB 
  702. ERR_INVALID_FILTER_SYNTAX      -326      0xFFFFFEBA 
  703. ERR_CONTEXT_CREATION           -328      0xFFFFFEB8 
  704. ERR_INVALID_UNION_TAG          -329      0xFFFFFEB7 
  705. ERR_INVALID_SERVER_RESPONSE    -330      0xFFFFFEB6 
  706. ERR_NULL_POINTER               -331      0xFFFFFEB5 
  707. ERR_NO_SERVER_FOUND            -332      0xFFFFFEB4 
  708. ERR_NO_CONNECTION              -333      0xFFFFFEB3 
  709. ERR_RDN_TOO_LONG               -334      0xFFFFFEB2 
  710. ERR_DUPLICATE_TYPE             -335      0xFFFFFEB1 
  711. ERR_DATA_STORE_FAILURE         -336      0xFFFFFEB0 
  712. ERR_NOT_LOGGED_IN              -337      0xFFFFFEAF 
  713. ERR_INVALID_PASSWORD_CHARS     -338      0xFFFFFEAE 
  714. ERR_FAILED_SERVER_AUTHENT      -339      0xFFFFFEAD 
  715. ERR_TRANSPORT                  -340      0xFFFFFEAC 
  716. ERR_NO_SUCH_SYNTAX             -341      0xFFFFFEAB 
  717. ERR_INVALID_DS_NAME            -342      0xFFFFFEAA 
  718. ERR_ATTR_NAME_TOO_LONG         -343      0xFFFFFEA9 
  719. ERR_INVALID_TDS                -344      0xFFFFFEA8 
  720. ERR_INVALID_DS_VERSION         -345      0xFFFFFEA7 
  721. ERR_UNICODE_TRANSLATION        -346      0xFFFFFEA6 
  722. ERR_SCHEMA_NAME_TOO_LONG       -347      0xFFFFFEA5 
  723. ERR_UNICODE_FILE_NOT_FOUND     -348      0xFFFFFEA4 
  724. ERR_UNICODE_ALREADY_LOADED     -349      0xFFFFFEA3 
  725. ERR_NOT_CONTEXT_OWNER          -350      0xFFFFFEA2 
  726. ERR_ATTEMPT_TO_AUTHENTICATE_0  -351      0xFFFFFEA1 
  727. ERR_NO_WRITABLE_REPLICAS       -352      0xFFFFFEA0 
  728. ERR_DN_TOO_LONG                -353      0xFFFFFE9F 
  729. ERR_RENAME_NOT_ALLOWED         -354      0xFFFFFE9E 
  730.  
  731.  -601 to -699 are returned by the directory services agent in the server 
  732. ERR_NO_SUCH_ENTRY              -601      0xFFFFFDA7 
  733. ERR_NO_SUCH_VALUE              -602      0xFFFFFDA6 
  734. ERR_NO_SUCH_ATTRIBUTE          -603      0xFFFFFDA5 
  735. ERR_NO_SUCH_CLASS              -604      0xFFFFFDA4 
  736. ERR_NO_SUCH_PARTITION          -605      0xFFFFFDA3 
  737. ERR_ENTRY_ALREADY_EXISTS       -606      0xFFFFFDA2 
  738. ERR_NOT_EFFECTIVE_CLASS        -607      0xFFFFFDA1 
  739. ERR_ILLEGAL_ATTRIBUTE          -608      0xFFFFFDA0 
  740. ERR_MISSING_MANDATORY          -609      0xFFFFFD9F 
  741. ERR_ILLEGAL_DS_NAME            -610      0xFFFFFD9E 
  742. ERR_ILLEGAL_CONTAINMENT        -611      0xFFFFFD9D 
  743. ERR_CANT_HAVE_MULTIPLE_VALUES  -612      0xFFFFFD9C 
  744. ERR_SYNTAX_VIOLATION           -613      0xFFFFFD9B 
  745. ERR_DUPLICATE_VALUE            -614      0xFFFFFD9A 
  746. ERR_ATTRIBUTE_ALREADY_EXISTS   -615      0xFFFFFD99 
  747. ERR_MAXIMUM_ENTRIES_EXIST      -616      0xFFFFFD98 
  748. ERR_DATABASE_FORMAT            -617      0xFFFFFD97 
  749. ERR_INCONSISTENT_DATABASE      -618      0xFFFFFD96 
  750. ERR_INVALID_COMPARISON         -619      0xFFFFFD95 
  751. ERR_COMPARISON_FAILED          -620      0xFFFFFD94 
  752. ERR_TRANSACTIONS_DISABLED      -621      0xFFFFFD93 
  753. ERR_INVALID_TRANSPORT          -622      0xFFFFFD92 
  754. ERR_SYNTAX_INVALID_IN_NAME     -623      0xFFFFFD91 
  755. ERR_REPLICA_ALREADY_EXISTS     -624      0xFFFFFD90 
  756. ERR_TRANSPORT_FAILURE          -625      0xFFFFFD8F 
  757. ERR_ALL_REFERRALS_FAILED       -626      0xFFFFFD8E 
  758. ERR_CANT_REMOVE_NAMING_VALUE   -627      0xFFFFFD8D 
  759. ERR_OBJECT_CLASS_VIOLATION     -628      0xFFFFFD8C 
  760. ERR_ENTRY_IS_NOT_LEAF          -629      0xFFFFFD8B 
  761. ERR_DIFFERENT_TREE             -630      0xFFFFFD8A 
  762. ERR_ILLEGAL_REPLICA_TYPE       -631      0xFFFFFD89 
  763. ERR_SYSTEM_FAILURE             -632      0xFFFFFD88 
  764. ERR_INVALID_ENTRY_FOR_ROOT     -633      0xFFFFFD87 
  765. ERR_NO_REFERRALS               -634      0xFFFFFD86 
  766. ERR_REMOTE_FAILURE             -635      0xFFFFFD85 
  767. ERR_UNREACHABLE_SERVER         -636      0XFFFFFD84 
  768. ERR_PREVIOUS_MOVE_IN_PROGRESS  -637      0XFFFFFD83 
  769. ERR_NO_CHARACTER_MAPPING       -638      0XFFFFFD82 
  770. ERR_INCOMPLETE_AUTHENTICATION  -639      0XFFFFFD81 
  771. ERR_INVALID_CERTIFICATE        -640      0xFFFFFD80 
  772. ERR_INVALID_REQUEST            -641      0xFFFFFD7F 
  773. ERR_INVALID_ITERATION          -642      0xFFFFFD7E 
  774. ERR_SCHEMA_IS_NONREMOVABLE     -643      0xFFFFFD7D 
  775. ERR_SCHEMA_IS_IN_USE           -644      0xFFFFFD7C 
  776. ERR_CLASS_ALREADY_EXISTS       -645      0xFFFFFD7B 
  777. ERR_BAD_NAMING_ATTRIBUTES      -646      0xFFFFFD7A 
  778. ERR_NOT_ROOT_PARTITION         -647      0xFFFFFD79 
  779. ERR_INSUFFICIENT_STACK         -648      0xFFFFFD78 
  780. ERR_INSUFFICIENT_BUFFER        -649      0xFFFFFD77 
  781. ERR_AMBIGUOUS_CONTAINMENT      -650      0xFFFFFD76 
  782. ERR_AMBIGUOUS_NAMING           -651      0xFFFFFD75 
  783. ERR_DUPLICATE_MANDATORY        -652      0xFFFFFD74 
  784. ERR_DUPLICATE_OPTIONAL         -653      0xFFFFFD73 
  785. ERR_PARTITION_BUSY             -654      0XFFFFFD72 
  786. ERR_MULTIPLE_REPLICAS          -655      0xFFFFFD71 
  787. ERR_CRUCIAL_REPLICA            -656      0xFFFFFD70 
  788. ERR_SCHEMA_SYNC_IN_PROGRESS    -657      0xFFFFFD6F 
  789. ERR_SKULK_IN_PROGRESS          -658      0xFFFFFD6E 
  790. ERR_TIME_NOT_SYNCHRONIZED      -659      0xFFFFFD6D 
  791. ERR_RECORD_IN_USE              -660      0xFFFFFD6C 
  792. ERR_DS_VOLUME_NOT_MOUNTED      -661      0xFFFFFD6B 
  793. ERR_DS_VOLUME_IO_FAILURE       -662      0xFFFFFD6A 
  794. ERR_DS_LOCKED                  -663      0xFFFFFD69 
  795. ERR_OLD_EPOCH                  -664      0xFFFFFD68 
  796. ERR_NEW_EPOCH                  -665      0xFFFFFD67 
  797. ERR_INCOMPATIBLE_DS_VERSION    -666      0xFFFFFD66 
  798. ERR_PARTITION_ROOT             -667      0xFFFFFD65 
  799. ERR_ENTRY_NOT_CONTAINER        -668      0xFFFFFD64 
  800. ERR_FAILED_AUTHENTICATION      -669      0xFFFFFD63 
  801. ERR_INVALID_CONTEXT            -670      0xFFFFFD62 
  802. ERR_NO_SUCH_PARENT             -671      0xFFFFFD61 
  803. ERR_NO_ACCESS                  -672      0xFFFFFD60 
  804. ERR_REPLICA_NOT_ON             -673      0xFFFFFD5F 
  805. ERR_INVALID_NAME_SERVICE       -674      0xFFFFFD5E 
  806. ERR_INVALID_TASK               -675      0xFFFFFD5D 
  807. ERR_INVALID_CONN_HANDLE        -676      0xFFFFFD5C 
  808. ERR_INVALID_IDENTITY           -677      0xFFFFFD5B 
  809. ERR_DUPLICATE_ACL              -678      0xFFFFFD5A 
  810. ERR_PARTITION_ALREADY_EXISTS   -679      0xFFFFFD59 
  811. ERR_TRANSPORT_MODIFIED         -680      0xFFFFFD58 
  812. ERR_ALIAS_OF_AN_ALIAS          -681      0xFFFFFD57 
  813. ERR_AUDITING_FAILED            -682      0xFFFFFD56 
  814. ERR_INVALID_API_VERSION        -683      0xFFFFFD55 
  815. ERR_SECURE_NCP_VIOLATION       -684      0xFFFFFD54 
  816. ERR_MOVE_IN_PROGRESS           -685      0xFFFFFD53 
  817. ERR_NOT_LEAF_PARTITION         -686      0xFFFFFD52 
  818. ERR_CANNOT_ABORT               -687      0xFFFFFD51 
  819. ERR_CACHE_OVERFLOW             -688      0xFFFFFD50 
  820. ERR_INVALID_SUBORDINATE_COUNT  -689      0xFFFFFD4F 
  821. ERR_INVALID_RDN                -690      0xFFFFFD4E 
  822. ERR_MOD_TIME_NOT_CURRENT       -691      0xFFFFFD4D 
  823. ERR_INCORRECT_BASE_CLASS       -692      0xFFFFFD4C 
  824. ERR_MISSING_REFERENCE          -693      0xFFFFFD4B 
  825. ERR_LOST_ENTRY                 -694      0xFFFFFD4A 
  826. ERR_AGENT_ALREADY_REGISTERED   -695      0xFFFFFD49 
  827. ERR_DS_LOADER_BUSY             -696      0xFFFFFD48 
  828. ERR_DS_CANNOT_RELOAD           -697      0xFFFFFD47 
  829. ERR_REPLICA_IN_SKULK           -698      0xFFFFFD46 
  830. ERR_FATAL                      -699      0xFFFFFD45 
  831. ERR_OBSOLETE_API               -700      0xFFFFFD44 
  832. ERR_SYNCHRONIZATION_DISABLED   -701      0xFFFFFD43 
  833. ERR_INVALID_PARAMETER          -702      0xFFFFFD42 
  834. ERR_DUPLICATE_TEMPLATE         -703      0xFFFFFD41 
  835. ERR_NO_MASTER_REPLICA          -704      0xFFFFFD40 
  836. ERR_DUPLICATE_CONTAINMENT      -705      0xFFFFFD3F 
  837.  
  838. ---------------------------------------------------------------------------
  839.  * -001 to -255 are OS Errors returned through directory services
  840.  
  841.  
  842. DSERR_INSUFFICIENT_SPACE             -001      FFFFFFFF 
  843. DSERR_BUFFER_TOO_SMALL               -119      FFFFFF89 
  844. DSERR_VOLUME_FLAG_NOT_SET            -120      FFFFFF88 
  845. DSERR_NO_ITEMS_FOUND                 -121      FFFFFF87 
  846. DSERR_CONN_ALREADY_TEMPORARY         -122      FFFFFF86 
  847. DSERR_CONN_ALREADY_LOGGED_IN         -123      FFFFFF85 
  848. DSERR_CONN_NOT_AUTHENTICATED         -124      FFFFFF84 
  849. DSERR_CONN_NOT_LOGGED_IN             -125      FFFFFF83 
  850. DSERR_NCP_BOUNDARY_CHECK_FAILED      -126      FFFFFF82 
  851. DSERR_LOCK_WAITING                   -127      FFFFFF81 
  852. DSERR_LOCK_FAIL                      -128      FFFFFF80 
  853. DSERR_OUT_OF_HANDLES                 -129      FFFFFF7F 
  854. DSERR_NO_OPEN_PRIVILEGE              -130      FFFFFF7E 
  855. DSERR_HARD_IO_ERROR                  -131      FFFFFF7D 
  856. DSERR_NO_CREATE_PRIVILEGE            -132      FFFFFF7C 
  857. DSERR_NO_CREATE_DELETE_PRIV          -133      FFFFFF7B 
  858. DSERR_R_O_CREATE_FILE                -134      FFFFFF7A 
  859. DSERR_CREATE_FILE_INVALID_NAME       -135      FFFFFF79 
  860. DSERR_INVALID_FILE_HANDLE            -136      FFFFFF78 
  861. DSERR_NO_SEARCH_PRIVILEGE            -137      FFFFFF77 
  862. DSERR_NO_DELETE_PRIVILEGE            -138      FFFFFF76 
  863. DSERR_NO_RENAME_PRIVILEGE            -139      FFFFFF75 
  864. DSERR_NO_SET_PRIVILEGE               -140      FFFFFF74 
  865. DSERR_SOME_FILES_IN_USE              -141      FFFFFF73 
  866. DSERR_ALL_FILES_IN_USE               -142      FFFFFF72 
  867. DSERR_SOME_READ_ONLY                 -143      FFFFFF71 
  868. DSERR_ALL_READ_ONLY                  -144      FFFFFF70 
  869. DSERR_SOME_NAMES_EXIST               -145      FFFFFF6F 
  870. DSERR_ALL_NAMES_EXIST                -146      FFFFFF6E 
  871. DSERR_NO_READ_PRIVILEGE              -147      FFFFFF6D 
  872. DSERR_NO_WRITE_PRIVILEGE             -148      FFFFFF6C 
  873. DSERR_FILE_DETACHED                  -149      FFFFFF6B 
  874. DSERR_NO_ALLOC_SPACE                 -150      FFFFFF6A 
  875. DSERR_TARGET_NOT_A_SUBDIR            -150      FFFFFF6A 
  876. DSERR_NO_SPOOL_SPACE                 -151      FFFFFF69 
  877. DSERR_INVALID_VOLUME                 -152      FFFFFF68 
  878. DSERR_DIRECTORY_FULL                 -153      FFFFFF67 
  879. DSERR_RENAME_ACROSS_VOLUME           -154      FFFFFF66 
  880. DSERR_BAD_DIR_HANDLE                 -155      FFFFFF65 
  881. DSERR_INVALID_PATH                   -156      FFFFFF64 
  882. DSERR_NO_SUCH_EXTENSION              -156      FFFFFF64 
  883. DSERR_NO_DIR_HANDLES                 -157      FFFFFF63 
  884. DSERR_BAD_FILE_NAME                  -158      FFFFFF62 
  885. DSERR_DIRECTORY_ACTIVE               -159      FFFFFF61 
  886. DSERR_DIRECTORY_NOT_EMPTY            -160      FFFFFF60 
  887. DSERR_DIRECTORY_IO_ERROR             -161      FFFFFF5F 
  888. DSERR_IO_LOCKED                      -162      FFFFFF5E 
  889. DSERR_TRANSACTION_RESTARTED          -163      FFFFFF5D 
  890. DSERR_RENAME_DIR_INVALID             -164      FFFFFF5C 
  891. DSERR_INVALID_OPENCREATE_MODE        -165      FFFFFF5B 
  892. DSERR_ALREADY_IN_USE                 -166      FFFFFF5A 
  893. DSERR_INVALID_RESOURCE_TAG           -167      FFFFFF59 
  894. DSERR_ACCESS_DENIED                  -168      FFFFFF58 
  895. DSERR_INVALID_DATA_STREAM            -190      FFFFFF42 
  896. DSERR_INVALID_NAME_SPACE             -191      FFFFFF41 
  897. DSERR_NO_ACCOUNTING_PRIVILEGES       -192      FFFFFF40 
  898. DSERR_NO_ACCOUNT_BALANCE             -193      FFFFFF3F 
  899. DSERR_CREDIT_LIMIT_EXCEEDED          -194      FFFFFF3E 
  900. DSERR_TOO_MANY_HOLDS                 -195      FFFFFF3D 
  901. DSERR_ACCOUNTING_DISABLED            -196      FFFFFF3C 
  902. DSERR_LOGIN_LOCKOUT                  -197      FFFFFF3B 
  903. DSERR_NO_CONSOLE_RIGHTS              -198      FFFFFF3A 
  904. DSERR_Q_IO_FAILURE                   -208      FFFFFF30 
  905. DSERR_NO_QUEUE                       -209      FFFFFF2F 
  906. DSERR_NO_Q_SERVER                    -210      FFFFFF2E 
  907. DSERR_NO_Q_RIGHTS                    -211      FFFFFF2D 
  908. DSERR_Q_FULL                         -212      FFFFFF2C 
  909. DSERR_NO_Q_JOB                       -213      FFFFFF2B 
  910. DSERR_NO_Q_JOB_RIGHTS                -214      FFFFFF2A 
  911. DSERR_UNENCRYPTED_NOT_ALLOWED        -214      FFFFFF2A 
  912. DSERR_Q_IN_SERVICE                   -215      FFFFFF29 
  913. DSERR_DUPLICATE_PASSWORD             -215      FFFFFF29 
  914. DSERR_Q_NOT_ACTIVE                   -216      FFFFFF28 
  915. DSERR_PASSWORD_TOO_SHORT             -216      FFFFFF28 
  916. DSERR_Q_STN_NOT_SERVER               -217      FFFFFF27 
  917. DSERR_MAXIMUM_LOGINS_EXCEEDED        -217      FFFFFF27 
  918. DSERR_Q_HALTED                       -218      FFFFFF26 
  919. DSERR_BAD_LOGIN_TIME                 -218      FFFFFF26 
  920. DSERR_Q_MAX_SERVERS                  -219      FFFFFF25 
  921. DSERR_NODE_ADDRESS_VIOLATION         -219      FFFFFF25 
  922. DSERR_LOG_ACCOUNT_EXPIRED            -220      FFFFFF24 
  923. DSERR_BAD_PASSWORD                   -222      FFFFFF22 
  924. DSERR_PASSWORD_EXPIRED               -223      FFFFFF21 
  925. DSERR_NO_LOGIN_CONN_AVAILABLE        -224      FFFFFF20 
  926. DSERR_WRITE_TO_GROUP_PROPERTY        -232      FFFFFF18 
  927. DSERR_MEMBER_ALREADY_EXISTS          -233      FFFFFF17 
  928. DSERR_NO_SUCH_MEMBER                 -234      FFFFFF16 
  929. DSERR_PROPERTY_NOT_GROUP             -235      FFFFFF15 
  930. DSERR_NO_SUCH_VALUE_SET              -236      FFFFFF14 
  931. DSERR_PROPERTY_ALREADY_EXISTS        -237      FFFFFF13 
  932. DSERR_OBJECT_ALREADY_EXISTS          -238      FFFFFF12 
  933. DSERR_ILLEGAL_NAME                   -239      FFFFFF11 
  934. DSERR_ILLEGAL_WILDCARD               -240      FFFFFF10 
  935. DSERR_BINDERY_SECURITY               -241      FFFFFF0F 
  936. DSERR_NO_OBJECT_READ_RIGHTS          -242      FFFFFF0E 
  937. DSERR_NO_OBJECT_RENAME_RIGHTS        -243      FFFFFF0D 
  938. DSERR_NO_OBJECT_DELETE_RIGHTS        -244      FFFFFF0C 
  939. DSERR_NO_OBJECT_CREATE_RIGHTS        -245      FFFFFF0B 
  940. DSERR_NO_PROPERTY_DELETE_RIGHTS      -246      FFFFFF0A 
  941. DSERR_NO_PROPERTY_CREATE_RIGHTS      -247      FFFFFF09 
  942. DSERR_NO_PROPERTY_WRITE_RIGHTS       -248      FFFFFF08 
  943. DSERR_NO_PROPERTY_READ_RIGHTS        -249      FFFFFF07 
  944. DSERR_TEMP_REMAP                     -250      FFFFFF06 
  945. DSERR_UNKNOWN_REQUEST                -251      FFFFFF05 
  946. DSERR_NO_SUCH_PROPERTY               -251      FFFFFF05 
  947. DSERR_MESSAGE_QUEUE_FULL             -252      FFFFFF04 
  948. DSERR_TARGET_ALREADY_HAS_MSG         -252      FFFFFF04 
  949. DSERR_NO_SUCH_OBJECT                 -252      FFFFFF04 
  950. DSERR_BAD_STATION_NUMBER             -253      FFFFFF03 
  951. DSERR_BINDERY_LOCKED                 -254      FFFFFF02 
  952. DSERR_DIR_LOCKED                     -254      FFFFFF02 
  953. DSERR_SPOOL_DELETE                   -254      FFFFFF02 
  954. DSERR_TRUSTEE_NOT_FOUND              -254      FFFFFF02 
  955. DSERR_HARD_FAILURE                   -255      FFFFFF01 
  956. DSERR_FILE_NAME                      -255      FFFFFF01 
  957. DSERR_FILE_EXISTS                    -255      FFFFFF01 
  958. DSERR_CLOSE_FCB                      -255      FFFFFF01 
  959. DSERR_IO_BOUND                       -255      FFFFFF01 
  960. DSERR_NO_SPOOL_FILE                  -255      FFFFFF01 
  961. DSERR_BAD_SPOOL_PRINTER              -255      FFFFFF01 
  962. DSERR_BAD_PARAMETER                  -255      FFFFFF01 
  963. DSERR_NO_FILES_FOUND                 -255      FFFFFF01 
  964. DSERR_NO_TRUSTEE_CHANGE_PRIV         -255      FFFFFF01 
  965. DSERR_TARGET_NOT_LOGGED_IN           -255      FFFFFF01 
  966. DSERR_TARGET_NOT_ACCEPTING_MSGS      -255      FFFFFF01 
  967. DSERR_MUST_FORCE_DOWN                -255      FFFFFF01 
  968.