home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional Developers Kit 1992 November / Disc01 / Disc01.mdf / mmpm2tk / mmpmtlk2 / admct / admcdat.c next >
Encoding:
C/C++ Source or Header  |  1992-05-06  |  2.2 KB  |  66 lines

  1. /********************** START OF SPECIFICATIONS ****************************
  2. *
  3. *   SOURCE FILE NAME:   ADMCDAT.C
  4. *
  5. *   DESCRIPTIVE NAME: mci Waveform Driver include file.
  6. *
  7. *              Copyright (c) IBM Corporation  1991
  8. *                        All Rights Reserved
  9. *
  10. *   STATUS: MM Extensions 1.0
  11. *
  12. *   FUNCTION: Global Data structure definitions.
  13. *
  14. *
  15. *   NOTES: The Global Data Structures are the following.
  16. *          UserCount.    -- Indicates the number of dynamic Links to the DLL
  17. *
  18. *          hmtxProcSem   -- Governs DLL intialization per processes
  19. *                        at load Time, provides sharead access to global heap.
  20. *
  21. *          hevInitCompleted -- Ensures DLL Intialization is complete
  22. *
  23. *          lPost          -- Posting frequency  of above
  24. *
  25. *          Heap          -- Global Heap. All instance Data is allocated off this
  26. *                           heap.
  27. *
  28. *          DataFormat[]. -- Time Format Conversions are driven from this table.
  29. *                           It also defines the known data types and associated
  30. *                           Information.
  31. *
  32. *   DEPENDENCIES:
  33. *
  34. *   EXTERNAL ENTRY POINTS: None.
  35. *   INTERNAL ENTRY POINTS: None.
  36. *
  37. *   EXTERNAL REFERENCES (system):
  38. *
  39. *   MODIFICATION HISTORY:
  40. *   DATE        DEVELOPER           CHANGE DESCRIPTION
  41. *****************************************************************************/
  42. #define INCL_BASE
  43. #define INCL_DOSSEMAPHORES
  44.  
  45. #include <os2.h>                        // OS/2 Include.
  46. #include <os2medef.h>                   // MME includes files.
  47. #include <hhpheap.h>                    // Heap Manager Definitions
  48.  
  49.  
  50.  
  51.      /***********************************
  52.      * Global Variables Used
  53.      ***********************************/
  54.  
  55.      int                 UserCount =  0;         // Process Count.
  56.      ULONG               lPost = 0;              // Posting Freq
  57.      HMTX                hmtxProcSem = 0;        // Access Semaphore.
  58.      HHUGEHEAP           heap = 0;               // Global Heap
  59.      HEV                 hEventInitCompleted = 0; // Global Event Sem
  60.      ULONG               ulWaitForInit = 1;       // per Process Intlzn
  61.  
  62.     /****************************
  63.     * Waveform Data Types
  64.     *****************************/
  65.  
  66.