Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
2.8 KiB

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