home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / t / tvgluetc.zip / INT15DEF.H < prev    next >
Text File  |  1988-02-11  |  3KB  |  85 lines

  1. /*
  2. **    INT15DEF.H - definitions.
  3. **    IBM Personal Computer - TopView C Interface Header File.
  4. **    Written for Borland Turbo C v1.5.
  5. */
  6.  
  7. /* Subroutine Call Function Code Equates: */
  8.  
  9. #define PAUSE            0    /* Pause */
  10. #define PRINTC            3    /* Print Character/Attribute */
  11. #define GETBIT            19    /* Allocate a 2nd Level Interrupt Bit */
  12. #define FREEBIT            20    /* Deallocate a 2nd Level Interrupt Bit */
  13. #define SETBIT            21    /* Post a 2nd Level Interrupt Bit */
  14. #define ISOBJ            22    /* Check for valid object */
  15. #define LOCATE            24    /* Locate a Window */
  16. #define SOUND            25    /* Make a Sound */
  17. #define OSTACK            26    /* Set system stack */
  18. #define BEGINC            27    /* Begin Critical Section */
  19. #define ENDC             28    /* End Critical Section */
  20. #define STOP             29    /* Stop Task */
  21. #define START            30    /* Start Task */
  22. #define DISPEROR        31    /* Display Error Message */
  23. #define PGMINT            33    /* Program Interrupt */
  24. #define GETVER            34    /* Get Current Version */
  25. #define POSWIN            35    /* Position Window */
  26. #define GETBUF            36    /* Get Logical Window Buffer */
  27. #define USTACK            37    /* Set User Stack */
  28.  
  29. /* Predefined Message Numbers: */
  30.  
  31. #define OBJECT_MSG        0    /* Return Object Handle */
  32. #define NEW_MSG            1    /* Create New Object */
  33. #define FREE_MSG        2    /* Free Object */
  34. #define ADDR_MSG        3    /* Return Handle of Object */
  35. #define DIR_MSG            3    /* Get Panel File Directory */
  36. #define READ_MSG        4    /* Return Next Logical record (I/O) */
  37. #define APPLY_MSG        4    /* Apply Panel to Window Object */
  38. #define WRITE_MSG        5    /* Write String to Object */
  39. #define SIZE_MSG        8    /* Return Size of Object */
  40. #define LEN_MSG            9    /* Return Length of Object */
  41. #define ADDTO_MSG        10    /* Add To Value of Object */
  42. #define SUBFROM_MSG        11    /* Subtract From Value of Object */
  43. #define OPEN_MSG        12    /* Open Object for Use (I/O) */
  44. #define CLOSE_MSG        13    /* Close Object (I/O) */
  45. #define ERASE_MSG        14    /* Erase Object (I/O) */
  46. #define STATUS_MSG        15    /* Return Status of Object (I/O) */
  47. #define EOF_MSG            16    /* Return Object End of File Status (I/O) */
  48. #define AT_MSG            17    /* Position Object Cursor (I/O) */
  49. #define SETSCALE_MSG    17    /* Set Pointer Scale Factor */
  50. #define READN_MSG        18    /* Return Next n Byte from Object (I/O) */
  51. #define GETSCALE_MSG    18    /* Get Pointer Scale Factor */
  52. #define REDRAW_MSG        19    /* Redraw Object (WINDOW) */
  53. #define SETICON_MSG        19    /* Specify Pointer Icon */
  54. #define SETESC_MSG        20    /* Define User Escape */
  55.  
  56. /* Object Modifiers: */
  57.  
  58. #define TOS                0    /* Use Contents of Top of Stack as Object */
  59. #define ME                1    /* Use Requesting Task's WINDOW as Object */
  60. #define MAILTOS            2    /* Use MAILBOX(tos) as Object */
  61. #define MAILME            3    /* Use MAILBOX(me) as Object */
  62. #define KEYTOS            4    /* Use KEYBOARD(tos) as Object */
  63. #define KEYME            5    /* Use KEYBOARD(me) as Object */
  64. #define OBJQTOS            6    /* Use OBJECTQ(tos) as Object */
  65. #define OBJQME            7    /* Use OBJECTQ(me) as Object */
  66. #define WINDOW_CLASS    8    /* Use WINDOW Class as Object */
  67. #define MAILBOX_CLASS    9    /* Use MAILBOX Class as Object */
  68. #define KEYBOARD_CLASS    10    /* Use KEYBOARD Class as Object */
  69. #define TIMER_CLASS        11    /* Use TIMER Class as Object */
  70. #define POINTER_CLASS    15    /* Use POINTER Class as Object */
  71. #define PANEL_CLASS        16    /* Use PANEL Class as Object */
  72.  
  73. /* Logical Text Attributes: */
  74.  
  75. #define NORMAL            1
  76. #define NORMAL_HILITE    2
  77. #define HELP            3
  78. #define HELP_HILITE        4
  79. #define ERROR            5
  80. #define ERROR_HILITE    6
  81. #define EMPHASIZED        7
  82. #define MARK            8
  83.  
  84. /* end INT15DEF.H */
  85.