home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / datatl25.zip / DABOOK.Z / ejrexit.h < prev    next >
C/C++ Source or Header  |  1997-09-12  |  4KB  |  77 lines

  1. /*****************************************************************
  2. *
  3. *      IBM Confidential (IBM Confidential-Restricted when Combined
  4. *      with the Aggregated OCO Source Modules for this Program)
  5. *
  6. *      OCO Source Materials
  7. *
  8. *      IBM VisualAge DataAtlas
  9. *
  10. *      5648-A48
  11. *
  12. *      (C) COPYRIGHT IBM CORP 1996,1997
  13. *
  14. *      The source code for this program is not published or otherwise
  15. *      divested of its trade secrets, irrespective of what has been
  16. *      deposited with the U.S. Copyright Office.
  17. *
  18. ******************************************************************/
  19. /*==========================================================================*/
  20. /* EJREXIT.H           IBM BookManager Read for Windows                     */
  21. /*                                                                          */    
  22. /* User Exit Routines - this header file is supplied by IBM for use with    */    
  23. /* BookManager Read for Windows.  This file is used in the creation of      */    
  24. /* the user exit DLL - EJREXIT.DLL, and in the creation of the Read for     */    
  25. /* Windows product.  Changes to this file are NOT SUPPORTED by IBM and      */    
  26. /* may CAUSE ERRRORS when using Read for Windows.  This file is already     */
  27. /* included by Read for Windows and must remain compatible.  This file is   */
  28. /* supplied for use as reference material and for inclusion when recreating */    
  29. /* the EJREXIT.DLL.  The EJREXIT.DLL supplied with Read for Windows uses    */    
  30. /* this file and the source code for creating the DLL has been included     */    
  31. /* with the product (EJREXIT.C).                                            */    
  32. /*                                                                          */    
  33. /* See the documentation for complete information on creating and using     */    
  34. /* user exits with Read for Windows.                                        */    
  35. /*                                                                          */    
  36. /*                                                                          */    
  37. /* This file is included by:                                                */    
  38. /*                                                                          */    
  39. /*    Read for Windows,                                                     */    
  40. /*    EJREXIT.C,                                                            */    
  41. /*   (Additional user code named here if appropriate).                      */    
  42. /*                                                                          */    
  43. /* MDW94                                                                    */    
  44. /*==========================================================================*/
  45.  
  46. #ifndef EJREXIT_H
  47. #define EJREXIT_H
  48.  
  49. /* Define a structure for passing book information.                         */
  50. /* Used by: EJROpenBookExit, EJRCloseBookExit                               */
  51. extern struct EJRBOOKINFO
  52.     { 
  53.         char    BookName[10];        // Book file name
  54.         char    BuildDateTime[256];  // Format is MM/DD/YY HH:MM:SS
  55.         char    BookTitle[256];      // 256 - maximum length allowed
  56.         char    DocumentNumber[256]; // 256 - maximum length allowed
  57.         char    QualifiedPath[260];  // 260 - maximum length allowed
  58.     }BookRecord;                   
  59.  
  60. /* Define a structure for passing search information.                       */
  61. /* Used by: EJRSearchExit                                                   */
  62. extern struct EJRSEARCHINFO
  63.     { 
  64.         char    Argument[255];       // 255 - maximum length allowed
  65.     }SearchRecord;                   
  66.  
  67.  
  68. /* User Exit Prototypes                                                     */ 
  69.  
  70. short FAR PASCAL _export EJROpenBookExit(struct EJRBOOKINFO pBookDataParm);
  71. short FAR PASCAL _export EJRCloseBookExit(struct EJRBOOKINFO pBookDataParm);
  72. short FAR PASCAL _export EJRSearchExit(struct EJRSEARCHINFO far * pSearchParm);
  73.  
  74.  
  75. #endif
  76.  
  77.