home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / mciavi.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  3.0 KB  |  84 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  2. /**************************************************************************
  3.  *
  4.  *  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  5.  *  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  6.  *  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  7.  *  PURPOSE.
  8.  *
  9.  *
  10. **    Copyright (C) Microsoft Corporation 1991-1996. All rights reserved.
  11. **
  12. **    Title: mciavi.h - Multimedia Systems Media Control Interface
  13. **    AVI driver external header file
  14. **
  15. **    Version:    1.00    
  16. **
  17. **    Date:        16-JUL-1992
  18. **
  19. **    Depends on MMSYSTEM.H and WINDOWS.h
  20. */
  21.  
  22. /************************************************************************/
  23.  
  24.  
  25. /*
  26. ** These three flags apply to the 'play' command:
  27. **    play <alias> window        Play in normal window
  28. **    play <alias> fullscreen        Play in 320x240 full-screen mode
  29. **    play <alias> fullscreen by 2    Play fullscreen, zoomed by 2
  30. */
  31. #define MCI_MCIAVI_PLAY_WINDOW        0x01000000L
  32. #define    MCI_MCIAVI_PLAY_FULLSCREEN    0x02000000L
  33. #define MCI_MCIAVI_PLAY_FULLBY2        0x04000000L
  34. /*
  35. ** Debugging constants for AVI diagnostics
  36. */
  37. /*
  38. ** Returns number of frames not drawn during last play.  If this number
  39. ** is more than a small fraction of the number of frames that should have
  40. ** been displayed, things aren't looking good.
  41. */
  42. #define MCI_AVI_STATUS_FRAMES_SKIPPED        0x8001L
  43. /*
  44. ** Returns a number representing how well the last AVI play worked.
  45. ** A result of 1000 indicates that the AVI sequence took the amount
  46. ** of time to play that it should have; a result of 2000, for instance,
  47. ** would indicate that a 5-second AVI sequence took 10 seconds to play,
  48. ** implying that the audio and video were badly broken up.
  49. */
  50. #define MCI_AVI_STATUS_LAST_PLAY_SPEED        0x8002L
  51. /*
  52. ** Returns the number of times that the audio definitely broke up.
  53. ** (We count one for every time we're about to write some audio data
  54. ** to the driver, and we notice that it's already played all of the
  55. ** data we have.
  56. */
  57. #define MCI_AVI_STATUS_AUDIO_BREAKS        0x8003L
  58.  
  59.  
  60. #define MCI_AVI_SETVIDEO_DRAW_PROCEDURE        0x8000L
  61.  
  62. #define MCI_AVI_SETVIDEO_PALETTE_COLOR        0x8100L
  63.  
  64.  
  65. /*
  66. ** This constant specifies that the "halftone" palette should be
  67. ** used, rather than the default palette.
  68. */
  69. #define MCI_AVI_SETVIDEO_PALETTE_HALFTONE       0x0000FFFFL
  70.  
  71. /*
  72. **    Custom error return values
  73. */
  74. #define MCIERR_AVI_OLDAVIFORMAT        (MCIERR_CUSTOM_DRIVER_BASE + 100)
  75. #define MCIERR_AVI_NOTINTERLEAVED    (MCIERR_CUSTOM_DRIVER_BASE + 101)
  76. #define MCIERR_AVI_NODISPDIB        (MCIERR_CUSTOM_DRIVER_BASE + 102)
  77. #define MCIERR_AVI_CANTPLAYFULLSCREEN    (MCIERR_CUSTOM_DRIVER_BASE + 103)
  78. #define MCIERR_AVI_TOOBIGFORVGA        (MCIERR_CUSTOM_DRIVER_BASE + 104)
  79. #define MCIERR_AVI_NOCOMPRESSOR         (MCIERR_CUSTOM_DRIVER_BASE + 105)
  80. #define MCIERR_AVI_DISPLAYERROR         (MCIERR_CUSTOM_DRIVER_BASE + 106)
  81. #define MCIERR_AVI_AUDIOERROR        (MCIERR_CUSTOM_DRIVER_BASE + 107)
  82. #define MCIERR_AVI_BADPALETTE        (MCIERR_CUSTOM_DRIVER_BASE + 108)
  83. #pragma option pop /*P_O_Pop*/
  84.