home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mmoshead.zip / mciapi.h < prev    next >
Text File  |  1994-02-10  |  1KB  |  56 lines

  1. /**************************************/
  2. /* mciapi.h -- Multimedia for emx 1.0 */
  3. /*                                    */
  4. /*                                    */
  5. /* Marc E.E. van Woerkom, 2/94        */
  6. /*                                    */
  7. /**************************************/
  8.  
  9.  
  10. /* nested header management */
  11. #ifndef _MCIAPI_H
  12. #define _MCIAPI_H
  13.  
  14.  
  15. /**************/
  16. /* play flags */
  17. /**************/
  18.  
  19. #define MCI_OWNERISPARENT    0x0001
  20. #define MCI_STOPACTIVE       0x0002
  21. #define MCI_ASYNCRENDEZVOUS  0x0004
  22. #define MCI_RENDEZVOUS       0x0008
  23. #define MCI_ASYNC            0x0010
  24.  
  25. #define MMIO_FE_FINDFIRST    1
  26. #define MMIO_FE_FINDNEXT     2
  27. #define MMIO_FE_FINDEND      3
  28. #define MMIO_FE_FINDELEMENT  4
  29.  
  30. #define MMIO_RE_COMPACT  1
  31.  
  32.  
  33. /*********/
  34. /* API's */
  35. /*********/
  36.  
  37. ULONG mciPlayFile(HWND hwndOwner, PSZ pszFile, ULONG ulFlags,
  38.                   PSZ pszTitle, HWND hwndViewport);
  39.  
  40. ULONG mciPlayResource(HWND hwndOwner, HMODULE hmod, ULONG resType,
  41.                       ULONG resID, ULONG ulFlags, PSZ  pszTitle,
  42.                       HWND hwndViewport);
  43.  
  44. ULONG mciRecordAudioFile(HWND hwndOwner, PSZ pszFile, PSZ pszTitle,
  45.                          ULONG ulFlags);
  46.  
  47. ULONG mmioRemoveElement(PSZ pszFileElement, ULONG ulFlag);
  48.  
  49. ULONG mmioFindElement(ULONG ulCode, PSZ pszElement, ULONG ulElementLen,
  50.                       PSZ pszFile, ULONG ulReserved);
  51.  
  52.  
  53. /* nested header management */
  54. #endif
  55.  
  56.