home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / SAMPLES / COMPILER / SAMPLE05 / SAMPLE05.DEF < prev    next >
Text File  |  1993-03-15  |  2KB  |  40 lines

  1. ;******************************************************************************
  2. ;*                                                                            *
  3. ;* SAMPLE05: Module definition file for SAMPLE05.DLL                          *
  4. ;*                                                                            *
  5. ;* COPYRIGHT:                                                                 *
  6. ;* ----------                                                                 *
  7. ;* Copyright (C) International Business Machines Corp., 1991, 1993.           *
  8. ;*                                                                            *
  9. ;* DISCLAIMER OF WARRANTIES:                                                  *
  10. ;* -------------------------                                                  *
  11. ;* The following [enclosed] code is sample code created by IBM                *
  12. ;* Corporation.  This sample code is not part of any standard IBM product     *
  13. ;* and is provided to you solely for the purpose of assisting you in the      *
  14. ;* development of your applications.  The code is provided "AS IS",           *
  15. ;* without warranty of any kind.  IBM shall not be liable for any damages     *
  16. ;* arising out of your use of the sample code, even if they have been         *
  17. ;* advised of the possibility of such damages.                                *
  18. ;*                                                                            *
  19. ;******************************************************************************
  20. ;
  21. LIBRARY SAMPLE05 INITINSTANCE TERMINSTANCE
  22. ; INITINSTANCE TERMINSTANCE specifies that the DLL init./term. routine should
  23. ; be called each time the DLL is loaded for the first time for a particular
  24. ; process and each time the DLL is freed for the last time for a particular
  25. ; process.
  26.  
  27. PROTMODE
  28.  
  29. DATA MULTIPLE NONSHARED READWRITE LOADONCALL
  30. CODE LOADONCALL
  31.  
  32. SEGMENTS
  33. ;  Declare the GLOBAL_SEG as shared so that all processes can access this
  34. ;  one segment.
  35.    GLOBAL_SEG CLASS 'DATA' SHARED
  36.  
  37. EXPORTS
  38.    DLLINCREMENT
  39.    DLLSTATS
  40.