home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / SAMPLES / MM / ADMCT / ADMCDAT.C < prev    next >
C/C++ Source or Header  |  1995-08-24  |  3KB  |  77 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, 1993
  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 <ssm.h>
  48.  
  49. #include <hhpheap.h>                    // Heap Manager Definitions
  50.  
  51. #pragma data_seg(SHR_SEG)
  52.  
  53.  
  54.      /***********************************
  55.      * Global Variables Used
  56.      ***********************************/
  57.  
  58.      int                 UserCount =  0;         // Process Count.
  59.      ULONG               lPost = 0;              // Posting Freq
  60.      HMTX                hmtxProcSem = 0;        // Access Semaphore.
  61.      HHUGEHEAP           heap = 0;           // Global Heap
  62.      ULONG               ulAcquireMessage = 0;
  63.  
  64.      HID                 hidASource = 0;        // File system source/target
  65.      HID                 hidATarget = 0;
  66.      HID                 hidA2Source = 0;        // Memory source/target stream handlers
  67.      HID                 hidA2Target = 0;
  68.      HID                 hidBSource = 0;         // Audio source/target stream handlers
  69.      HID                 hidBTarget = 0;
  70.  
  71. //     HAB                 hab;
  72. //     HMQ                 hmq;
  73. //     QMSG                qmsg;
  74. //     HWND                hwndClipWin;               /* Clipboard win handle */
  75.  
  76.      ULONG               hModuleHandle;          // Module handle for dll
  77.