home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac_os2 / pmaud11.zip / MCIPLAY.H < prev    next >
Text File  |  1996-04-05  |  715b  |  24 lines

  1. /* Header for mciplay.h */
  2.  
  3. /*
  4.  * Note that ARGC and ARGV work precisely like argc and argv in main()...
  5.  *  in the case of mciplay(), struct _MCIPLAYARGS.ARGV[0] is ignored, and
  6.  *  struct _MCIPLAYARGS.ARGC is expected to be 1 greater than the last
  7.  *  element of _MCIPLAYARGS.ARGV. (Although the array does not have to end
  8.  *  with a NULL value, as main()'s argv does, it might be wise to set it as
  9.  *  such.
  10.  */
  11.  
  12. typedef struct _MCIPLAYARGS
  13. {
  14.     int ARGC;        /* number of elements in **ARGV */
  15.     char **ARGV;    /* Array of filenames.          */
  16. } MCIPLAYARGS;
  17.  
  18.  
  19. /* This function handles the digital audio device and plays the sounds. */
  20. void mciplay(MCIPLAYARGS *micp);
  21.  
  22. /* end of mciplay.h */
  23.  
  24.