/**
 * Windows API header module
 *
 * Translated from MinGW Windows headers
 *
 * Authors: Stewart Gordon
 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
 * Source: $(DRUNTIMESRC src/core/sys/windows/_mciavi.d)
 */
module core.sys.windows.mciavi;
version (Windows):
@system:

private import core.sys.windows.mmsystem;

// FIXME: check types and grouping of constants

enum MCI_MCIAVI_PLAY_WINDOW     = 0x01000000;
enum MCI_MCIAVI_PLAY_FULLSCREEN = 0x02000000;
enum MCI_MCIAVI_PLAY_FULLBY2    = 0x04000000;

enum {
    MCI_AVI_STATUS_FRAMES_SKIPPED     = 0x00008001,
    MCI_AVI_STATUS_LAST_PLAY_SPEED    = 0x00008002,
    MCI_AVI_STATUS_AUDIO_BREAKS       = 0x00008003,
    MCI_AVI_SETVIDEO_DRAW_PROCEDURE   = 0x00008000,
    MCI_AVI_SETVIDEO_PALETTE_COLOR    = 0x00008100,
    MCI_AVI_SETVIDEO_PALETTE_HALFTONE = 0x0000FFFF
}

enum {
    MCIERR_AVI_OLDAVIFORMAT  = MCIERR_CUSTOM_DRIVER_BASE + 100,
    MCIERR_AVI_NOTINTERLEAVED,
    MCIERR_AVI_NODISPDIB,
    MCIERR_AVI_CANTPLAYFULLSCREEN,
    MCIERR_AVI_TOOBIGFORVGA,
    MCIERR_AVI_NOCOMPRESSOR,
    MCIERR_AVI_DISPLAYERROR,
    MCIERR_AVI_AUDIOERROR,
    MCIERR_AVI_BADPALETTE // = MCIERR_CUSTOM_DRIVER_BASE + 108
}
