home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / detk45he.zip / mciapi.h < prev    next >
C/C++ Source or Header  |  1999-04-30  |  3KB  |  76 lines

  1. #ifdef __cplusplus
  2.    extern "C" {
  3.    #endif
  4.    /****************************************************************************/
  5.    /*                                                                          */
  6.    /* Module Name: MCIAPI.H                                                    */
  7.    /*                                                                          */
  8.    /* This is the multimedia include file that has the typedefs, defines and   */
  9.    /* function prototyes for High-Level MCI Interfaces                         */
  10.    /*                                                                          */
  11.    /* Copyright (c) International Business Machines Corporation 1992, 1993     */
  12.    /*                        All Rights Reserved                               */
  13.    /*                                                                          */
  14.    /****************************************************************************/
  15.    
  16.    
  17.    /* High-Level Macro Service API Routines */
  18.    
  19.    #ifndef __MCIAPI_H
  20.       #define __MCIAPI_H
  21.       
  22.       
  23.       
  24.       ULONG EXPENTRY mciPlayFile (HWND hwndOwner,        /* Ownerwindow */
  25.       PSZ  pszFile,          /* File */
  26.       ULONG ulFlags,         /* Flags */
  27.       PSZ  pszTitle,         /* Title */
  28.       HWND hwndViewport);    /* Viewport Window */
  29.       
  30.       
  31.       ULONG EXPENTRY mciPlayResource (HWND hwndOwner,       /* Owner Window */
  32.       HMODULE hmod,         /* Module */
  33.       ULONG resType,        /* Resource Type */
  34.       ULONG resID,          /* Resource ID */
  35.       ULONG ulFlags,        /* Flags */
  36.       PSZ  pszTitle,        /* Title */
  37.       HWND hwndViewport);   /* Viewport Window */
  38.       
  39.       ULONG EXPENTRY mciRecordAudioFile (HWND hwndOwner, PSZ pszFile, PSZ pszTitle, ULONG ulFlags);
  40.       
  41.       /* Audio Macro Service Routines */
  42.       
  43.       ULONG EXPENTRY mmioRemoveElement (PSZ pszFileElement, ULONG ulFlag); /* c:\path\file+element */
  44.       
  45.       ULONG EXPENTRY mmioFindElement (ULONG ulCode,       /* Find Code */
  46.       PSZ   pszElement,   /* Element */
  47.       ULONG ulElementLen, /* Element Buffer Length */
  48.       PSZ   pszFile,
  49.       ULONG ulReserved
  50.       );     /* Compound File */
  51.       
  52.       #define MMIO_FE_FINDFIRST       1
  53.       #define MMIO_FE_FINDNEXT        2
  54.       #define MMIO_FE_FINDEND         3
  55.       #define MMIO_FE_FINDELEMENT     4
  56.       
  57.       #define MMIO_RE_COMPACT         1
  58.       
  59.       
  60.       /* ulFlags  for mciPlayFile */
  61.       
  62.       #define MCI_OWNERISPARENT   0x0001      /* digital and overlay                 */
  63.       #define MCI_STOPACTIVE      0x0002      /* stop playing whatever is playing    */
  64.       #define MCI_ASYNCRENDEZVOUS 0x0004      /* play and return immediately         */
  65.       #define MCI_RENDEZVOUS      0x0008      /* wait til prev is finished then play */
  66.       #define MCI_ASYNC           0x0010      /* no syncup will be done              */
  67.       #define MCI_REPEAT          0x0020      /* repeat */
  68.       #define MCI_STOPONSUSPEND   0x0040      /* stop when suspended */
  69.       
  70.    #endif
  71.    
  72.    #ifdef __cplusplus
  73.    }
  74. #endif
  75.  
  76.