I_CDMUS.H 770 B

123456789101112131415161718192021222324252627
  1. // i_cdmus.h
  2. #ifndef __ICDMUS__
  3. #define __ICDMUS__
  4. #define CDERR_NOTINSTALLED 10 // MSCDEX not installed
  5. #define CDERR_NOAUDIOSUPPORT 11 // CD-ROM Doesn't support audio
  6. #define CDERR_NOAUDIOTRACKS 12 // Current CD has no audio tracks
  7. #define CDERR_BADDRIVE 20 // Bad drive number
  8. #define CDERR_BADTRACK 21 // Bad track number
  9. #define CDERR_IOCTLBUFFMEM 22 // Not enough low memory for IOCTL
  10. #define CDERR_DEVREQBASE 100 // DevReq errors
  11. extern int cd_Error;
  12. int I_CDMusInit(void);
  13. int I_CDMusPlay(int track);
  14. int I_CDMusStop(void);
  15. int I_CDMusResume(void);
  16. int I_CDMusSetVolume(int volume);
  17. int I_CDMusFirstTrack(void);
  18. int I_CDMusLastTrack(void);
  19. int I_CDMusTrackLength(int track);
  20. #endif