home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pc3270sa.zip / errorids.hpp < prev    next >
C/C++ Source or Header  |  2002-02-28  |  7KB  |  68 lines

  1. //-------------------------------------------------------------------------------
  2. // Module:  errorids.hpp
  3. //-------------------------------------------------------------------------------
  4. //
  5. // Description:  Emulator Class Library (ECL) internal error IDs and related 
  6. //               macros.
  7. //
  8. //-------------------------------------------------------------------------------
  9. // Copyright Notice: IBM Personal Communication/3270 Version 4.3
  10. //                   (C) COPYRIGHT IBM CORP. 1989,1998 - PROGRAM PROPERTY
  11. //                   OF IBM ALL RIGHTS RESERVED
  12. //-------------------------------------------------------------------------------
  13.  
  14. #ifndef _ERRORIDS_HPP_
  15. #define _ERRORIDS_HPP_
  16.  
  17. #define  IDS_STR_ECL_FIRST              37100                    
  18. #define  IDS_STR_ECL_HLLAPI_ERR         (IDS_STR_ECL_FIRST)      // "ECL37100:  Emulator interface (EHLLAPI) error."
  19. #define  IDS_STR_ECL_CHLLAPI_ERR        (IDS_STR_ECL_FIRST+10)   // "ECL37110:  Emulator interface initialization failed."
  20. #define  IDS_STR_ECL_CHLLAPI_ERRLIB     (IDS_STR_ECL_FIRST+11)   // "  Emulator library not found."
  21. #define  IDS_STR_ECL_CHLLAPI_ERRENTRY   (IDS_STR_ECL_FIRST+12)   // "  Emulator entry point not found."
  22. #define  IDS_STR_ECL_CHLLAPI_ERRUNAVAIL (IDS_STR_ECL_FIRST+13)   // "  Emulator interface not available."
  23. #define  IDS_STR_ECL_CHLLAPI_ERRSYS     (IDS_STR_ECL_FIRST+14)   // "  EHLLAPI system error"
  24. #define  IDS_STR_ECL_SYSCALL_ERR        (IDS_STR_ECL_FIRST+20)   // "ECL37120:  System call failed. "
  25. #define  IDS_STR_ECL_SYSCALL_ERRTHREAD  (IDS_STR_ECL_FIRST+21)   // "  _beginthread failure."
  26. #define  IDS_STR_ECL_SYSCALL_ERRSEM     (IDS_STR_ECL_FIRST+22)   // "  Unexpected semaphore timeout."
  27. #define  IDS_STR_ECL_SYSCALL_ERRCWIN    (IDS_STR_ECL_FIRST+23)   // "  CreateWindow failure."
  28. #define  IDS_STR_ECL_SYSCALL_RWINMGS    (IDS_STR_ECL_FIRST+24)   // "  RegisterWindowMessage failure."
  29. #define  IDS_STR_ECL_SYSCALL_RCLASS     (IDS_STR_ECL_FIRST+25)   // "  RegisterClass failure."
  30. #define  IDS_STR_ECL_SESSION_ERR        (IDS_STR_ECL_FIRST+30)   // "ECL37130:  Invalid host session specified. "
  31. #define  IDS_STR_ECL_SESSION_ERRBUSY    (IDS_STR_ECL_FIRST+40)   // "ECL37140:  Host session is busy or in use."
  32. #define  IDS_STR_ECL_SESSION_ERRLOCKED  (IDS_STR_ECL_FIRST+50)   // "ECL37150:  Host session is locked."
  33. #define  IDS_STR_ECL_MEMORY_ERR         (IDS_STR_ECL_FIRST+60)   // "ECL37160:  Out of memory or system resources. "
  34. #define  IDS_STR_ECL_PARM_ERR           (IDS_STR_ECL_FIRST+70)   // "ECL37170:  Invalid parameters. "
  35. #define  IDS_STR_ECL_PARM_ERRNULLPTR    (IDS_STR_ECL_FIRST+71)   // "  Null pointer."
  36. #define  IDS_STR_ECL_PARM_ERRDATA       (IDS_STR_ECL_FIRST+72)   // "  Invalid data."
  37. #define  IDS_STR_ECL_PARM_ERRBUFFSIZE   (IDS_STR_ECL_FIRST+73)   // "  Invalid buffer size."
  38. #define  IDS_STR_ECL_PARM_ERRBADDELIM   (IDS_STR_ECL_FIRST+74)   // "  Unmatched keyword delimiters."
  39. #define  IDS_STR_ECL_PARM_ERRBADKEYWD   (IDS_STR_ECL_FIRST+75)   // "  Invalid keyword."
  40. #define  IDS_STR_ECL_INTERNAL_ERR       (IDS_STR_ECL_FIRST+80)   // "ECL37180:  Internal Emulator Class Library program error. "
  41. #define  IDS_STR_ECL_REASON_CODE        (IDS_STR_ECL_FIRST+81)   // "   Reason code:"                                                                                                                  
  42. #define  IDS_STR_ECL_SESS_ERRUNAVAIL    (IDS_STR_ECL_FIRST+90)   // "ECL37190:  The host session is not available.  It may be in use by another application or system function. "
  43. #define  IDS_STR_ECL_EVENT_ERR          (IDS_STR_ECL_FIRST+100)  // "ECL37200:  Emulator Class Library event error"                                                              
  44. #define  IDS_STR_ECL_EVENT_ERRREG       (IDS_STR_ECL_FIRST+110)  // "ECL37210:  A notify object is already registered for the event. "                                           
  45. #define  IDS_STR_ECL_PS_ERRUNDEFKEY     (IDS_STR_ECL_FIRST+120)  // "ECL37220:  Undefined key was pressed (keystroke notify). "                                                  
  46. #define  IDS_STR_ECL_PS_ERRKEYOVERFLOW  (IDS_STR_ECL_FIRST+130)  // "ECL37230:  Keystroke buffer overflow. "                                                                     
  47. #define  IDS_STR_ECL_CMGR_INVPROFILE    (IDS_STR_ECL_FIRST+140)  // "ECL37240:  Invalid WS profile name. "                                                                       
  48. #define  IDS_STR_AUTECL_SYSTEM_ERR      (IDS_STR_ECL_FIRST+170)  // "AUTECL:  A general system error has occurred."
  49. #define  IDS_STR_AUTECL_SESS_ERRSET     (IDS_STR_ECL_FIRST+171)  // "AUTECL:  The session has already been set for this object.  You can set the session for an object instance only once."
  50. #define  IDS_STR_AUTECL_SESS_ERRNOSET   (IDS_STR_ECL_FIRST+172)  // "AUTECL:  The session has not been set for this object.  You need to call SetConnectionByName or SetConnectionByHandle once for this object."
  51. #define  IDS_STR_AUTECL_REG_ERR         (IDS_STR_ECL_FIRST+173)  // "AUTECL:  Couldn't get object from the registry."
  52. #define  IDS_STR_AUTECL_PARM_ERRINPUT   (IDS_STR_ECL_FIRST+174)  // "AUTECL:  Invalid input parameter passed."
  53. #define  IDS_STR_AUTECL_ITEM_ERRRET     (IDS_STR_ECL_FIRST+175)  // "AUTECL:  Item retrieval failed."
  54. #define  IDS_STR_AUTECL_ITEM_ERRINDTYPE (IDS_STR_ECL_FIRST+176)  // "AUTECL:  Index type for item retrieval must be integer."
  55. #define  IDS_STR_AUTECL_ITEM_ERRINDBND  (IDS_STR_ECL_FIRST+177)  // "AUTECL:  Index out of bounds."
  56. #define  IDS_STR_AUTECL_COLL_ERRENUMCR  (IDS_STR_ECL_FIRST+178)  // "AUTECL:  Error creating enumerator."
  57. #define  IDS_STR_AUTECL_COLL_ERRENUMSUP (IDS_STR_ECL_FIRST+179)  // "AUTECL:  Enumerator interface not supported."
  58. #define  IDS_STR_AUTECL_COLL_ERRDEST    (IDS_STR_ECL_FIRST+180)  // "AUTECL:  Failed to destroy collection."
  59. #define  IDS_STR_AUTECL_COLL_ERRINIT    (IDS_STR_ECL_FIRST+181)  // "AUTECL:  Failed to initialize collection."
  60. #define  IDS_STR_AUTECL_COLL_ERRINITEV  (IDS_STR_ECL_FIRST+182)  // "AUTECL:  Failed to initiliaze event handling."
  61. #define  IDS_STR_AUTECL_COLL_ERREVENT   (IDS_STR_ECL_FIRST+183)  // "AUTECL:  Event handler is in error."
  62. #define  IDS_STR_LSXECL_PARM_ERR        (IDS_STR_ECL_FIRST+190)  // "LSXECL:  Bad parameter on method."
  63. #define  IDS_STR_LSXECL_ATTR_ERRRO      (IDS_STR_ECL_FIRST+191)  // "LSXECL:  Attempt to set a read-only field."
  64. #define  IDS_STR_AUTECL_SESS_EVNTSET    (IDS_STR_ECL_FIRST+192)  // "AUTECL:  Event has already been registered."  
  65. //#define  IDS_STR_AUTECL_SESS_EVNTNOSET  (IDS_STR_ECL_FIRST+193)  // "AUTECL:  Event has not been registered."      
  66.  
  67. #endif //_ERRORIDS_HPP_
  68.