home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p024 / 12.img / ADS2.LIB / OL_ERRNO.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-29  |  7.3 KB  |  122 lines

  1.  
  2. /*    OL_ERRNO.H 
  3.       (C) Copyright 1988-1992 by Autodesk, Inc.
  4.  
  5.       This program is copyrighted by Autodesk, Inc. and is  licensed
  6.       to you under the following conditions.  You may not distribute
  7.       or  publish the source code of this program in any form.   You
  8.       may  incorporate this code in object form in derivative  works
  9.       provided  such  derivative  works  are  (i.) are  designed and 
  10.       intended  to  work  solely  with  Autodesk, Inc. products, and 
  11.       (ii.)  contain  Autodesk's  copyright  notice  "(C)  Copyright  
  12.       1988-1992 by Autodesk, Inc."
  13.  
  14.       AUTODESK  PROVIDES THIS PROGRAM "AS IS" AND WITH  ALL  FAULTS.
  15.       AUTODESK  SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF  MER-
  16.       CHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK,  INC.
  17.       DOES  NOT  WARRANT THAT THE OPERATION OF THE PROGRAM  WILL  BE
  18.       UNINTERRUPTED OR ERROR FREE.
  19.  
  20.    AutoCAD Release 11 On-Line application Error codes (set in the "_ERRNO"
  21.    system variable).
  22.  
  23.    NOTE:  The "_ERRNO" values are subject to change with major  
  24.    releases of AutoCAD.  To ensure proper error diagnostics, be
  25.    sure to include the proper version of this file with your program.
  26.  
  27. */
  28.  
  29. #ifndef  _OL_ERRNO_H
  30. #define  _OL_ERRNO_H
  31.  
  32. #define  OL_ESNVALID    1             /* Invalid symbol table name */
  33. #define  OL_ENAMEVALID  2             /* Invalid name (entity or ss) value */
  34. #define  OL_ESSMAX      3             /* Exceeded max number of sel. sets */
  35. #define  OL_ESSVALID    4             /* Invalid selection set */
  36. #define  OL_EBDEVALID   5             /* Improper use of block def. entity */
  37. #define  OL_EXDEVALID   6             /* Improper use of xref entity */
  38. #define  OL_ENTSELPICK  7             /* Entity selection (failed pick) */
  39. #define  OL_EEOEF       8             /* End of entity file */
  40. #define  OL_EEOBD       9             /* End of Block def. file */
  41. #define  OL_EEMPDB     10             /* Failure of entlast */
  42. #define  OL_EDELVPORT  11             /* Illegal entdel of VPORT */
  43. #define  OL_EACQPLINE  12             /* Operation not allowed during PLINE */
  44. #define  OL_EHANDLE    13             /* Invalid handle */
  45. #define  OL_ENOHAND    14             /* Handles not enabled */
  46. #define  OL_ETRANS     15             /* Invalid trans request */
  47. #define  OL_EXSPACE    16             /* Invalid space trans request */
  48. #define  OL_EDELENT    17             /* Invalid use of deleted entity */
  49. #define  OL_ETBLNAME   18             /* Invalid table name */
  50. #define  OL_ETBLARG    19             /* Invalid table function argument */
  51. #define  OL_ERDONLY    20             /* Attempt to set read only variable */
  52. #define  OL_ENONZERO   21             /* Zero value invalid */
  53. #define  OL_ERANGE     22             /* Value out of range */
  54. #define  OL_ERGBUSY    23             /* Complex regen in progress */
  55. #define  OL_EMMTYPE    24             /* Attempt to change entity type */
  56. #define  OL_EMMLAY     25             /* Bad layer name */
  57. #define  OL_EMMLT      26             /* Bad linetype name */
  58. #define  OL_EMMCOLOR   27             /* Bad color name */
  59. #define  OL_EMMSTYLE   28             /* Bad text style name */
  60. #define  OL_EMMSHAPE   29             /* Bad shape name */
  61. #define  OL_EMMFTYPE   30             /* Bad field for entity type */
  62. #define  OL_EMODDEL    31             /* Attempted entmod of deleted entity */
  63. #define  OL_EMODSEQ    32             /* Attempted entmod of SEQEND */
  64. #define  OL_EMODHAND   33             /* Attempt to change handle */
  65. #define  OL_EMODVPVIS  34             /* Illegal modification of vport vis. */
  66. #define  OL_EMMLL      35             /* Entity on locked layer */
  67. #define  OL_EMKTYPE    36             /* Bad entity type */
  68. #define  OL_EMKPLINE   37             /* Bad PLINE entity */
  69. #define  OL_EMKCMPLX   38             /* Incomplete complex ent in block */
  70. #define  OL_EMKBNAME   39             /* Invalid block name field */
  71. #define  OL_EMKBFLAG   40             /* Duplicate block flag fields */
  72. #define  OL_EMKDBNAME  41             /* Duplicate block name fields */
  73. #define  OL_EMKNORM    42             /* Bad normal vector */
  74. #define  OL_EMKNOBNM   43             /* Missing block name */
  75. #define  OL_EMKNOBFLG  44             /* Missing block flags */
  76. #define  OL_EMKANON    45             /* Invalid anonymous block */
  77. #define  OL_EMKBLOCK   46             /* Invalid block definition entity */
  78. #define  OL_EMKMANDF   47             /* Manditory field missing */
  79. #define  OL_EMMXDTYPE  48             /* Unrecognized extended data type */
  80. #define  OL_EMMXDNEST  49             /* Improper nesting of list in xdata */
  81. #define  OL_EMMXDAPPID 50             /* Improper location of APPID field */
  82. #define  OL_EMMXDSIZE  51             /* Exceeded maximum xdata size */
  83. #define  OL_ENTSELNULL 52             /* Entity selection (null response) */
  84. #define  OL_EMXDAPPID  53             /* Entmod/entmake with duplicate appid */
  85. #define  OL_EMMVPORT   54             /* Entmod/entmake of VPORT failed */
  86. #define  OL_INVEXT     55             /* Entmake of XDEF/XREF/XDEP */
  87. #define  OL_EFLTR1     56             /* Bad SSGET filter: premature end */
  88. #define  OL_EFLTR2     57             /*       "     missing test operand */
  89. #define  OL_EFLTR3     58             /*       "     invalid opcode string */
  90. #define  OL_EFLTR4     59             /*       "     void clause/bad nesting */
  91. #define  OL_EFLTR5     60             /*       "     beg/end clause mismatch */
  92. #define  OL_EFLTR6     61             /*       "     wrong # of XOR/NOT args */
  93. #define  OL_EFLTR7     62             /*       "     max nesting exceeded */
  94. #define  OL_EFLTR8     63             /*       "     invalid group code */
  95. #define  OL_EFLTR9     64             /*       "     invalid string test */
  96. #define  OL_EFLTR10    65             /*       "     invalid vector test */
  97. #define  OL_EFLTR11    66             /*       "     invliad real test */
  98. #define  OL_EFLTR12    67             /*       "     invalid integer test */
  99. #define  OL_TABNOT     68             /* Digitizer isn't a tablet */
  100. #define  OL_TABNOCAL   69             /* Tablet isn't calibrated. */
  101. #define  OL_TABERR     70             /* Invalid (tablet) arguments */
  102. #define  OL_ENEWRB     71             /* Unable to allocate resbuf */
  103. #define  OL_ENULLPTR   72             /* NULL Pointer detected */ 
  104. #define  OL_EOPEN      73             /* Can't open file */ 
  105. #define  OL_ELOADED    74             /* Application is already loaded */ 
  106. #define  OL_EMAXAPP    75             /* Number of apps exceeds limit */ 
  107. #define  OL_EEXEC      76             /* Unable to execute the application */
  108. #define  OL_EVERSION   77             /* Incompatible version number */ 
  109. #define  OL_EDENIED    78             /* Unable to unload nested ADS app */
  110. #define  OL_EREFUSE    79             /* The application refused to XUNLOAD */ 
  111. #define  OL_ENOTLOADED 80             /* The application isn't loaded */ 
  112. #define  OL_ENOMEM     81             /* Out of memory */
  113. #define  OL_EXFMVALID  82             /* Invalid transformation matrix */
  114. #define  OL_ESYMNAM    83             /* Invalid symbol name */
  115. #define  OL_ESYMVAL    84             /* Invalid symbol value */
  116. #define  OL_NONDIALOG  85             /* Not allowed while dialogue up */
  117.  
  118. /* If you add a new error code, be sure to increment this number */
  119. #define  MAX_OL_ERRNO  85
  120.  
  121. #endif /* _OL_ERRNO_H */
  122.