home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / d / d001 / 1.ddi / MCIAVI.H_ / MCIAVI.H
Encoding:
C/C++ Source or Header  |  1992-10-27  |  2.3 KB  |  64 lines

  1. /*
  2. **    Copyright (C) Microsoft Corporation 1991-1992. All rights reserved.
  3. **
  4. **    Title: mciavi.h - Multimedia Systems Media Control Interface
  5. **    AVI driver external header file
  6. **
  7. **    Version:    1.00    
  8. **
  9. **    Date:        16-JUL-1992
  10. **
  11. **    Depends on MMSYSTEM.H and WINDOWS.h
  12. */
  13.  
  14. /************************************************************************/
  15.  
  16.  
  17. /*
  18. ** These three flags apply to the 'play' command:
  19. **    play <alias> window        Play in normal window
  20. **    play <alias> fullscreen        Play in 320x240 full-screen mode
  21. **    play <alias> fullscreen by 2    Play fullscreen, zoomed by 2
  22. */
  23. #define MCI_MCIAVI_PLAY_WINDOW        0x01000000L
  24. #define    MCI_MCIAVI_PLAY_FULLSCREEN    0x02000000L
  25. #define MCI_MCIAVI_PLAY_FULLBY2        0x04000000L
  26. /*
  27. ** Debugging constants for AVI diagnostics
  28. */
  29. /* 
  30. ** Returns number of frames not drawn during last play.  If this number
  31. ** is more than a small fraction of the number of frames that should have
  32. ** been displayed, things aren't looking good.
  33. */
  34. #define MCI_AVI_STATUS_FRAMES_SKIPPED        0x8001L
  35. /*
  36. ** Returns a number representing how well the last AVI play worked.
  37. ** A result of 1000 indicates that the AVI sequence took the amount
  38. ** of time to play that it should have; a result of 2000, for instance,
  39. ** would indicate that a 5-second AVI sequence took 10 seconds to play,
  40. ** implying that the audio and video were badly broken up.
  41. */
  42. #define MCI_AVI_STATUS_LAST_PLAY_SPEED        0x8002L
  43. /*
  44. ** Returns the number of times that the audio definitely broke up.
  45. ** (We count one for every time we're about to write some audio data
  46. ** to the driver, and we notice that it's already played all of the
  47. ** data we have.
  48. */
  49. #define MCI_AVI_STATUS_AUDIO_BREAKS        0x8003L
  50.  
  51.  
  52. /*
  53. **    Custom error return values
  54. */
  55. #define MCIERR_AVI_OLDAVIFORMAT        (MCIERR_CUSTOM_DRIVER_BASE + 100)
  56. #define MCIERR_AVI_NOTINTERLEAVED    (MCIERR_CUSTOM_DRIVER_BASE + 101)
  57. #define MCIERR_AVI_NODISPDIB        (MCIERR_CUSTOM_DRIVER_BASE + 102)
  58. #define MCIERR_AVI_CANTPLAYFULLSCREEN    (MCIERR_CUSTOM_DRIVER_BASE + 103)
  59. #define MCIERR_AVI_TOOBIGFORVGA        (MCIERR_CUSTOM_DRIVER_BASE + 104)
  60. #define MCIERR_AVI_NOCOMPRESSOR         (MCIERR_CUSTOM_DRIVER_BASE + 105)
  61. #define MCIERR_AVI_DISPLAYERROR         (MCIERR_CUSTOM_DRIVER_BASE + 106)
  62. #define MCIERR_AVI_AUDIOERROR        (MCIERR_CUSTOM_DRIVER_BASE + 107)
  63. #define MCIERR_AVI_BADPALETTE        (MCIERR_CUSTOM_DRIVER_BASE + 108)
  64.