114 lines
4.6 KiB
C
114 lines
4.6 KiB
C
/*
|
|
* dvdevcod.h DVD event codes
|
|
*
|
|
* =========================================================================
|
|
*
|
|
* Open Watcom Project
|
|
*
|
|
* Copyright (c) 2004-2010 The Open Watcom Contributors. All Rights Reserved.
|
|
*
|
|
* This file is automatically generated. Do not edit directly.
|
|
*
|
|
* =========================================================================
|
|
*/
|
|
|
|
#ifndef __DVDEVCOD__
|
|
#define __DVDECVOD__
|
|
|
|
#ifndef _ENABLE_AUTODEPEND
|
|
#pragma read_only_file;
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* DVD event codes */
|
|
#define EC_DVDBASE 0x0100
|
|
#define EC_DVD_DOMAIN_CHANGE (EC_DVDBASE + 1)
|
|
#define EC_DVD_TITLE_CHANGE (EC_DVDBASE + 2)
|
|
#define EC_DVD_CHAPTER_START (EC_DVDBASE + 3)
|
|
#define EC_DVD_AUDIO_STREAM_CHANGE (EC_DVDBASE + 4)
|
|
#define EC_DVD_SUBPICTURE_STREAM_CHANGE (EC_DVDBASE + 5)
|
|
#define EC_DVD_ANGLE_CHANGE (EC_DVDBASE + 6)
|
|
#define EC_DVD_BUTTON_CHANGE (EC_DVDBASE + 7)
|
|
#define EC_DVD_VALID_UOPS_CHANGE (EC_DVDBASE + 8)
|
|
#define EC_DVD_STILL_ON (EC_DVDBASE + 9)
|
|
#define EC_DVD_STILL_OFF (EC_DVDBASE + 10)
|
|
#define EC_DVD_CURRENT_TIME (EC_DVDBASE + 11)
|
|
#define EC_DVD_ERROR (EC_DVDBASE + 12)
|
|
#define EC_DVD_WARNING (EC_DVDBASE + 13)
|
|
#define EC_DVD_CHAPTER_AUTOSTOP (EC_DVDBASE + 14)
|
|
#define EC_DVD_NO_FP_PGC (EC_DVDBASE + 15)
|
|
#define EC_DVD_PLAYBACK_RATE_CHANGE (EC_DVDBASE + 16)
|
|
#define EC_DVD_PARENTAL_LEVEL_CHANGE (EC_DVDBASE + 17)
|
|
#define EC_DVD_PLAYBACK_STOPPED (EC_DVDBASE + 18)
|
|
#define EC_DVD_ANGLES_AVAILABLE (EC_DVDBASE + 19)
|
|
#define EC_DVD_PLAYPERIOD_AUTOSTOP (EC_DVDBASE + 20)
|
|
#define EC_DVD_BUTTON_AUTO_ACTIVATED (EC_DVDBASE + 21)
|
|
#define EC_DVD_CMD_START (EC_DVDBASE + 22)
|
|
#define EC_DVD_CMD_END (EC_DVDBASE + 23)
|
|
#define EC_DVD_DISC_EJECTED (EC_DVDBASE + 24)
|
|
#define EC_DVD_DISC_INSERTED (EC_DVDBASE + 25)
|
|
#define EC_DVD_CURRENT_HMSF_TIME (EC_DVDBASE + 26)
|
|
#define EC_DVD_KARAOKE_MODE (EC_DVDBASE + 27)
|
|
#define EC_DVD_PROGRAM_CELL_CHANGE (EC_DVDBASE + 28)
|
|
#define EC_DVD_TITLE_SET_CHANGE (EC_DVDBASE + 29)
|
|
#define EC_DVD_PROGRAM_CHAIN_CHANGE (EC_DVDBASE + 30)
|
|
#define EC_DVD_VOBU_Offset (EC_DVDBASE + 31)
|
|
#define EC_DVD_VOBU_Timestamp (EC_DVDBASE + 32)
|
|
#define EC_DVD_GPRM_Change (EC_DVDBASE + 33)
|
|
#define EC_DVD_SPRM_Change (EC_DVDBASE + 34)
|
|
#define EC_DVD_BeginNavigationCommands (EC_DVDBASE + 35)
|
|
#define EC_DVD_NavigationCommand (EC_DVDBASE + 36)
|
|
|
|
/* DVD error codes */
|
|
typedef enum _tagDVD_ERROR {
|
|
DVD_ERROR_Unexpected = 1,
|
|
DVD_ERROR_CopyProtectFail = 2,
|
|
DVD_ERROR_InvalidDVD1_0Disc = 3,
|
|
DVD_ERROR_InvalidDiscRegion = 4,
|
|
DVD_ERROR_LowParentalLevel = 5,
|
|
DVD_ERROR_MacrovisionFail = 6,
|
|
DVD_ERROR_IncompatibleSystemAndDecoderRegion = 7,
|
|
DVD_ERROR_IncompatibleDiscAndDecoderRegions = 8,
|
|
DVD_ERROR_CopyProtectOutputFail = 9,
|
|
DVD_ERROR_CopyProtectOutputNotSupported = 10
|
|
} DVD_ERROR;
|
|
|
|
/* DVD warning codes */
|
|
typedef enum _tagDVD_WARNING {
|
|
DVD_WARNING_InvalidDVD1_0Disc = 1,
|
|
DVD_WARNING_FormatNotSupported = 2,
|
|
DVD_WARNING_IllegalNavCommand = 3,
|
|
DVD_WARNING_Open = 4,
|
|
DVD_WARNING_Seek = 5,
|
|
DVD_WARNING_Read = 6
|
|
} DVD_WARNING;
|
|
|
|
/* DVD playback stopped codes */
|
|
typedef enum _tagDVD_PB_STOPPED {
|
|
DVD_PB_STOPPED_Other = 0,
|
|
DVD_PB_STOPPED_NoBranch = 1,
|
|
DVD_PB_STOPPED_NoFirstPlayDomain = 2,
|
|
DVD_PB_STOPPED_StopCommand = 3,
|
|
DVD_PB_STOPPED_Reset = 4,
|
|
DVD_PB_STOPPED_DiscEjected = 5,
|
|
DVD_PB_STOPPED_IllegalNavCommand = 6,
|
|
DVD_PB_STOPPED_PlayPeriodAutoStop = 7,
|
|
DVD_PB_STOPPED_PlayChapterAutoStop = 8,
|
|
DVD_PB_STOPPED_ParentalFailure = 9,
|
|
DVD_PB_STOPPED_RegionFailure = 10,
|
|
DVD_PB_STOPPED_MacrovisionFailure = 11,
|
|
DVD_PB_STOPPED_DiscReadError = 12,
|
|
DVD_PB_STOPPED_CopyProtectFailure = 13,
|
|
DVD_PB_STOPPED_CopyProtectOutputFailure = 14,
|
|
DVD_PB_STOPPED_CopyProtectOutputNotSupported = 15
|
|
} DVD_PB_STOPPED;
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
#endif /* __DVDEVCOD__ */
|