home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / psion / opp16f_zip / INCLUDE / SDK / PANIC.OPH < prev    next >
Encoding:
Text File  |  1995-12-21  |  9.5 KB  |  141 lines

  1. #define PanicTest0    0    /* Test code panic */
  2. #define PanicSem0    1    /* Invalid function number for semaphore manager */
  3. #define PanicSem1    2    /* Semaphore number out of range */
  4. #define PanicSem2    3    /* Semaphore not allocated */
  5. #define PanicSem3    4    /* Initial semaphore count not 0 or +ve */
  6. #define PanicSem4    5    /* Signal count not >= 0 */
  7. #define PanicProc0    6    /* Invalid function number for process manager */
  8. #define PanicProc1    7    /* Process Id out of range */
  9. #define PanicProc2    8    /* Task tried to create task */
  10. #define PanicTim0    9    /* Invalid function number for time manager */
  11. #define PanicSeg0    10    /* Invalid function number for segment manager */
  12. #define PanicSeg1    11    /* Size was negative */
  13. #define PanicSeg2    12    /* Type was neither CreateLow or High or Device */
  14. #define PanicSeg3    13    /* Segment handle was  invalid */
  15. #define PanicSeg4    14    /* Segment copy would have been out of range */
  16. #define PanicHeap0    15    /* Invalid function number for heap manager */
  17. #define PanicHeap1    16    /* Heap is not allocated */
  18. #define PanicHeap2    17    /* Cell being reduced by more than its size */
  19. #define PanicHeap3    18    /* Attempt to set heap granularity > MaxHeapGrowBy */
  20. #define PanicHeap4    19    /* Cell base address invalid */
  21. #define PanicMess0    20    /* Invalid function number for message manager */
  22. #define PanicMess1    21    /* Messages are already initialized */
  23. #define PanicMess2    22    /* Messages are not initialized */
  24. #define PanicMess3    23    /* Cannot initialize with 0 messages in the queue */
  25. #define PanicIo0    24    /* Invalid function number for I/O manager */
  26. #define PanicIo1    25    /* Invalid Io channel */
  27. #define PanicIo2    26    /* Device requested panic */
  28. #define PanicIo3    27    /* Invalid handler handle */
  29. #define PanicIo4    28    /* Key and Mouse already hooked */
  30. #define PanicIo5    29    /* Key and Mouse requesting process is not a task */
  31. #define PanicDev0    30    /* Invalid function number for device manager */
  32. #define PanicDev1    31    /* Inavlid device handle */
  33. #define PanicFile0    32    /* Invalid function number for file manager */
  34. #define PanicFile1    33    /* Process already connected to file server */
  35. #define PanicFile2    34    /* Argument was'nt IoFuncSet or IoFuncSense */
  36. #define PanicLib0    35    /* Invalid function number for library manager */
  37. #define PanicLib1    36    /* Invalid library handle */
  38. #define PanicLib2    37    /* Invalid function number for library */
  39. #define PanicLib3    38    /* Invalid LIB file channel */
  40. #define PanicLib4    39    /* Invalid DYL index number */
  41. #define PanicFs0    40    /* Invalid message to file server */
  42. #define PanicFs1    41    /* Process has not connected to file server */
  43. #define PanicConv0    42    /* Invalid function number for conversion manager */
  44. #define PanicGen0    43    /* Invalid function number for general manager */
  45. #define PanicGen1    44    /* Attempt to unhook from alarm or notify when not already hooked */
  46. #define PanicGen2    45    /* Invalid revector address */
  47. #define PanicFlt0    46    /* Invalid function number for conversion manager */
  48. #define PanicEnter0    47    /* Leave called before a call to enter */
  49. #define PanicObj0    48    /* No method available to handle message */
  50. #define PanicObj1    49    /* Invalid reclass attempted */
  51. #define PanicObj2    50    /* Unknown category in LibHandle */
  52. #define PanicObj3    51    /* Unknown class in LibCreate */
  53. #define PanicObj4    52    /* Supersend called from outside a method */
  54. #define PanicObj5    53    /* Attempt to get a handle before being linked */
  55. #define PanicObj6    54    /* Missing external categories in LibLink */
  56. #define PanicObj7    55    /* Object does not point to a valid class */
  57. #define PanicLink0    56    /* Invalid link layer completion code */
  58. #define PanicWin0    57    /* Invalid function number for window manager */
  59. #define PanicHw0    58    /* Invalid function number for hardware manager */
  60. #define PanicHw1    59    /* Unexpected interrupt */
  61. #define PanicHw2    60    /* User wrote out of range */
  62. #define PanicHw3    61    /* User left interrupts off */
  63. #define PanicHaymd0    62    /* Bad things going on in the i/o system */
  64. #define PanicDivide    63    /* Divide by zero interrupt */
  65. #define PanicOverflow    64    /* Overflow interrupt */
  66. #define PanicDbf0    65    /* Invalid function number for Dbf manager */
  67. #define PanicDbf1    66    /* Invalid DBF Io channel */
  68. #define PanicDbf2    67    /* Invalid parameter for DBF function */
  69. #define PanicDead0    68    /* Address 0 overwrite */
  70. #define PanicStack0    69    /* Stack below 100h */
  71. #define PanicEnv0    70    /* Environment name size > EnvMaxNameSize */
  72. #define PanicSStep    71    /* Single step interrupt */
  73. #define PanicBreak    72    /* Break point interrupt */
  74. #define PanicIoPending    73    /* Io was already pending */
  75. #define PanicIoSer0    74    /* Invalid function number for serial I/O manager */
  76.  
  77. #define PanicClib    80    /* Clib panic - usually means looking for sys$8087.ldd and can't find it*/
  78.  
  79. #define W_PANIC_FONT_NXIST    81    /* Font does not exist */
  80. #define W_PANIC_DRAWABLE    82    /* Illegal window or bitmap id */
  81. #define W_PANIC_WINDOW        83    /* Illegal window id */
  82. #define W_PANIC_NULL_HANDLE    84    /* Null handle given to server */
  83. #define W_PANIC_GC        85    /* Illegal GC id */
  84.  
  85. #define W_PANIC_REDRAW        89    /* wBeginRedraw() called while already in a redraw */
  86. #define W_PANIC_MOUSE_ICON    90    /* Mouse icon does not exist */
  87. #define W_PANIC_BITMAP        91    /* Illegal bitmap id */
  88. #define W_PANIC_ALREADY_INITIALISED    92    /* Window tree is already inititalised */
  89. #define W_PANIC_NO_REDRAW    93    /* wEndRedraw() called when there isn't a redraw to end. */
  90. #define W_PANIC_BACK_BITMAP    94    /* Modified a windows background to or from being backed up */
  91. #define W_PANIC_PARENT_UNINITIALISED    95    /* wInitialiseWindowTree() called when the parent window is not initialised */
  92. #define W_PANIC_ALERT        96    /* Illegal alert call (already outstanding /permanent flag in client alert) */
  93. #define W_PANIC_NOT_ALARM    97    /* Timed alert launched by non-alarm server application */
  94. #define W_PANIC_NOTIFY        98    /* Notify already outstanding */
  95.  
  96. #define W_PANIC_RECONNECT    100    /* Client tried to reconnect */
  97. #define W_PANIC_TEMP_GC        101    /* Accessing a GC while the temp GC is in use */
  98. #define W_PANIC_ILLEGAL_OPCODE    102    /* illegal opcode in message */
  99. #define W_PANIC_BUFFER_TOO_LONG    103    /* Command buffer received by wserv is too long */
  100. #define W_PANIC_NAFF_MSG    104    /* Generally naff message received */
  101. #define W_PANIC_OBJECT        105    /* wFree() was sent a handle that doesn't refer to a freeable object. */
  102. #define W_PANIC_DYL        106    /* Illegal DYL id */
  103. #define W_PANIC_WINBIT_COUNT    107    /* Out of range count sent to wSetWinBitmap() */
  104. #define W_PANIC_BITMAP_IN_USE    108    /* A bitmap was freed while still in use from a wSetWinBitmap() command */
  105. #define W_PANIC_WINBIT        109    /* Illegal window-bitmap handle */
  106. #define W_PANIC_BAD_CONNECT    110    /* Bad parameters in connect message */
  107. #define W_PANIC_GET_EVENT    111    /* read already outstanding */
  108. #define W_PANIC_FUNCTION_NA    112    /* Function not available in this version of the window server */
  109. #define W_PANIC_SET_CLOCK    113    /* Illegal Clock id in wsSetClock */
  110. #define WSERV_CLIENT_SIDE_PANIC_HANDLE    120    /* Corrupt control block or pointer to control block */
  111. #define WSERV_CLIENT_SIDE_PANIC_OUT_OF_RANGE    121    /*  Client side function number out of range */
  112. #define P_PANIC_P_VAFLAT_1    130    /* Record in flat variable array is out-of-range */
  113. #define P_PANIC_P_VAFLAT_2    131    /* Number of record to insert new record before in flat VA is out-of-range */
  114. #define P_PANIC_P_VAFLAT_3    132    /* Attempt to set capacity of flat VA less than current number of records */
  115. #define P_PANIC_P_VAFLAT_4    133    /* Number of record to delete in flat VA is out-of-range */
  116. #define P_PANIC_P_VASEG_1    134    /* Record in segemented VA is out-of-range */
  117. #define P_PANIC_P_SGBUF_1    135    /* Outside range of segmented buffer */
  118. #define P_PANIC_P_SGBUF_2    136    /* Tried to delete outside segmented buffer */
  119. #define P_PANIC_P_VASTR_1    137    /* Record in string VA whose address is sought is out-of-range */
  120. #define P_PANIC_P_VASTR_2    138    /* Attempt to set capacity of string VA less than current number of records */
  121. #define P_PANIC_P_VASTR_3    139    /* Number of record to insert new record before in string VA is out-of-range */
  122. #define P_PANIC_P_VASTR_4    140    /* Number of record to delete in string VA is out-of-range */
  123. #define P_PANIC_P_RSCFILE_1    141    /* Did not read correct number of bytes from resource file */
  124. #define P_PANIC_P_RSCFILE_2    142    /* Image fails to contain built-in resource file */
  125. #define P_PANIC_P_APPMAN_1    143    /* Stray signal death in Application Manager */
  126. #define P_PANIC_P_CMAP_1    144    /* Request to clear area outside character map */
  127. #define P_PANIC_P_TLVFILE_1    145    /* Bad type/length binary file record header */
  128. #define P_PANIC_P_SERIAL_1    146    /* Read on serial port already outstanding or read buffer not allocated */
  129. #define P_PANIC_P_SERIAL_2    147    /* Serial port read buffer too small for requested read */
  130. #define P_PANIC_P_SERIAL_3    148    /* Write to serial port already outstanding or write buffer not allocated */
  131. #define P_PANIC_P_SERIAL_4    149    /* Serial port write buffer too small for requested write */
  132. #define P_PANIC_P_SERIAL_5    150    /* Read on serial port outstanding when tried to see no. of characters available to read */
  133. #define P_PANIC_P_SERIAL_6    151    /* Read on serial port outstanding when tried to flush serial read buffer */
  134. #define P_PANIC_P_SERIAL_7    152    /* Read or write outstanding when tried to set serial port characteristics */
  135. #define P_PANIC_P_SERIAL_8    153    /* Control to set/get not supported */
  136. #define P_PANIC_P_OPLT_1    154    /* OPL translator invoked with empty command line */
  137. #define P_PANIC_P_CONSOL_1    155    /* Unrecognised code for setting the console */
  138. #define P_PANIC_P_CONSOL_2    156    /* String passed to consol is too long */
  139. #define P_PANIC_P_IPCS_1    157    /* IPCS Message read failed */
  140. #define P_PANIC_P_IPCS_2    158    /* Stray signal death in IPCS server list */
  141.