home *** CD-ROM | disk | FTP | other *** search
/ BURKS 2 / BURKS_AUG97.ISO / BURKS / SOFTWARE / LIBS / TESS110.ZIP / TESS.H (.txt) < prev    next >
C/C++ Source or Header  |  1988-10-02  |  20KB  |  493 lines

  1.     /*
  2.      * TESS.H -- 'C' INCLUDE file for TesSeRact
  3.      */
  4. /********************************< TESS.H >**********************************
  5. *                                                                           *
  6. *                       C Include File for TesSeRact                        *
  7. *                       ----------------------------                        *
  8. *                                                                           *
  9. *   TesSeRact(TM) -- A Library of Routines for Creating Ram-Resident (TSR)  *
  10. *                    programs for the IBM PC and compatible Personal        *
  11. *                    Computers.                                             *
  12. *                                                                           *
  13. *   The software, documentation and source code are:                        *
  14. *                                                                           *
  15. *       Copyright (C) 1986, 1987, 1988 Tesseract Development Team           *
  16. *       All Rights Reserved                                                 *
  17. *                                                                           *
  18. *************************************************************************CR*/
  19.  
  20. /**
  21.      This product  supports the  TesSeRact(TM)  Standard  for  Ram-Resident
  22.      Program Communication.   For  information about TesSeRact, contact the
  23.      TesSeRact Development Team at:
  24.      
  25.           TesSeRact Development Team
  26.           c/o Chip Rabinowitz
  27.           2084 Woodlawn Avenue
  28.           Glenside, PA 19038
  29.           1-215-884-3373
  30.      
  31.           Compuserve:    70731,20
  32.           MCIMAIL:       315-5415
  33.      
  34.      This MCIMAIL  Account has  been provided  to the TesSeRact Development
  35.      Team by Borland International, Inc.  The TesSeRact Development Team is
  36.      in no  way associated with Borland International, Inc.  TesSeRact is a
  37.      trademark of the TesSeRact Development Team.
  38.  
  39. **/
  40.  
  41. /**
  42. ***************************************************************************
  43.                              Copyright Notice
  44. ***************************************************************************
  45.  
  46. This  document,   other  accompanying  written  and  disk-based  notes  and
  47. specifications, and all referenced and related program files, demonstration
  48. code and  object modules  accompanying this document are copyrighted by the
  49. TesSeRact Development  Team.   The copyright  owner hereby licenses you to:
  50. use the  software; make as many copies of the software and documentation as
  51. you wish;  give exact  copies of the original to anyone; and distribute the
  52. software and  documentation in  its unmodified  form via  electronic means.
  53. There is no charge for any of the above.
  54.  
  55. You are specifically prohibited from charging, or requesting donations, for
  56. any such  copies, however made.  Exceptions may be granted to organizations
  57. which charge  a small  fee for  materials, handling,  postage  and  general
  58. overhead.  NO   ORGANIZATION  IS   AUTHORIZED  TO  CHARGE  ANY  AMOUNT  FOR
  59. DISTRIBUTION OF  THE SOFTWARE  OR DOCUMENTATION UNDER ANY OTHER CONDITIONS.
  60. Organizations which  charge a fee for distribution of any and all TesSeRact
  61. materials, except  as noted  above or  with the express, written consent of
  62. the TesSeRact  Development Team,  will be  considered in  violation of this
  63. copyright, and will be prosecuted to the full extent of the law.
  64.  
  65. In addition,  you are specifically prohibited from making any modifications
  66. to the  TesSeRact Library  Routines and/or documentation, unless you have a
  67. license for  the use  of the  source code.   Under  no circumstances is the
  68. copyright notice embedded in the TesSeRact code to be modified or removed.
  69.  
  70. This is  not free  software.   This license allows you to use this software
  71. without charge  for a period of 30 days.  In order to include this software
  72. as part  of any  product, either commercial, shareware, freeware, or public
  73. domain, registration  is required.   TesSeRact  may not  be included in any
  74. product for  any use  without registration.   Any such use of the TesSeRact
  75. product are in violation of federal copyright laws, and will be prosecuted.
  76.  
  77. No copy  of the  software may  be distributed  or given  away without  this
  78. accompanying documentation; this notice must not be removed.
  79.  
  80.  
  81. ***************************************************************************
  82.                                  Warranty
  83. ***************************************************************************
  84.  
  85. There is  no warranty  of any  kind associated  with this software, and the
  86. copyright owner  is not  liable for  damages of  any kind.   By  using this
  87. software, you  agree to  this.  Every effort has been made by the TesSeRact
  88. Development Team  to make  this product  bug-free.   However, the nature of
  89. software development  is  that  it  is  impossible  to  guarantee  bug-free
  90. software.
  91.  
  92. In the event a verifiable bug is found, the TesSeRact Development Team will
  93. make every  attempt to  repair the  bug as  soon as possible.  
  94.  
  95. ***************************************************************************
  96.                              Acknowledgements
  97. ***************************************************************************
  98.  
  99. Grateful appreciation  is expressed  to CompuServe Information Service, the
  100. IBM Software  Forums and  their Sysops, and Computer Language Magazine, for
  101. providing us  with the  means to  accomplish the  development of TesSeRact.
  102. Without their  gracious assistance,  TesSeRact could  never have  come into
  103. existence.
  104.  
  105. And let's not forget Anne Marie, who suffered through the long evenings and
  106. nights spent getting this product ready.
  107.  
  108. ***************************************************************************
  109. The TesSeRact Development Team:
  110. ***************************************************************************
  111.      
  112.      Team Leader:   Chip Rabinowitz
  113.      Developers:    Lane Ferris
  114.                     Kim Kokkonen
  115.                     Jim Kyle
  116.                     Neil J. Rubenking
  117.                     Barry Simon
  118.                     Rick Wilson
  119.      Contributors:  Thomas Brandenborg
  120.                     Chris Dunford
  121.                     John Friend
  122.                     Mark Horvatich
  123.                     John Hensley
  124.      Advisors:      Robert Bierman
  125.                     David Intersimone
  126.                     Rick Kraus
  127.                     David Moskowitz
  128.                     Gary Saxer
  129.  
  130. ***************************************************************************
  131.  
  132. **/
  133.  
  134. /*#define MSC5 */                       /* If using Microsoft C 5.0        */
  135. /*#define TC */                         /* If using Turbo C 1.5            */
  136.  
  137.  
  138.     /*
  139.      * Stores interrupt vector information for TesSeRact use
  140.      */
  141. struct TsrIntTable {
  142.     void far * OldVector;               /* Old Interrupt Vector            */
  143.     unsigned char IntNumber;            /* Interrupt Number                */
  144.     void near * NewVector;              /* offset of new vector            */
  145.     };
  146.  
  147.     /*
  148.      * User structure for defining additional hotkeys
  149.      */
  150. struct ExtraHot {
  151.     unsigned char Hotkey;               /* hotkey to check for             */
  152.     unsigned char ShiftState;           /* shift state for this hot key    */
  153.     unsigned char FlagByte;             /* flag value to use               */
  154.                                         /*  MAY NOT BE ZERO!!!             */
  155.     };
  156.  
  157.     /*
  158.      * TesSeRact internal data
  159.      */
  160. struct TsrData {
  161.     unsigned char RevLvl;               /* Revision Level of TESS Lib      */
  162.     unsigned char PopupType;            /* Type of popup in effect         */
  163.     unsigned char WasInt8;              /* An Interrupt 08h occurred       */
  164.     unsigned char WasInt13;             /* An Interrupt 13h occurred       */
  165.     unsigned char IntFlags;             /* Which interrupts are active     */
  166.     unsigned char SoftFlags;            /* Which soft ints are active      */
  167.     unsigned char DosVersion;           /* current major revision of DOS   */
  168.