1 2 #ifndef __DVDEVCOD__ 3 #define __DVDEVCOD__ 4 5 #define EC_DVDBASE 0x0100 6 #define EC_DVD_DOMAIN_CHANGE (EC_DVDBASE + 0x01) 7 #define EC_DVD_TITLE_CHANGE (EC_DVDBASE + 0x02) 8 #define EC_DVD_CHAPTER_START (EC_DVDBASE + 0x03) 9 #define EC_DVD_AUDIO_STREAM_CHANGE (EC_DVDBASE + 0x04) 10 #define EC_DVD_SUBPICTURE_STREAM_CHANGE (EC_DVDBASE + 0x05) 11 #define EC_DVD_ANGLE_CHANGE (EC_DVDBASE + 0x06) 12 #define EC_DVD_BUTTON_CHANGE (EC_DVDBASE + 0x07) 13 #define EC_DVD_VALID_UOPS_CHANGE (EC_DVDBASE + 0x08) 14 #define EC_DVD_STILL_ON (EC_DVDBASE + 0x09) 15 #define EC_DVD_STILL_OFF (EC_DVDBASE + 0x0A) 16 #define EC_DVD_CURRENT_TIME (EC_DVDBASE + 0x0B) 17 #define EC_DVD_ERROR (EC_DVDBASE + 0x0C) 18 #define EC_DVD_WARNING (EC_DVDBASE + 0x0D) 19 #define EC_DVD_CHAPTER_AUTOSTOP (EC_DVDBASE + 0x0E) 20 #define EC_DVD_NO_FP_PGC (EC_DVDBASE + 0x0F) 21 #define EC_DVD_PLAYBACK_RATE_CHANGE (EC_DVDBASE + 0x10) 22 #define EC_DVD_PARENTAL_LEVEL_CHANGE (EC_DVDBASE + 0x11) 23 #define EC_DVD_PLAYBACK_STOPPED (EC_DVDBASE + 0x12) 24 #define EC_DVD_ANGLES_AVAILABLE (EC_DVDBASE + 0x13) 25 #define EC_DVD_PLAYPERIOD_AUTOSTOP (EC_DVDBASE + 0x14) 26 #define EC_DVD_BUTTON_AUTO_ACTIVATED (EC_DVDBASE + 0x15) 27 #define EC_DVD_CMD_START (EC_DVDBASE + 0x16) 28 #define EC_DVD_CMD_END (EC_DVDBASE + 0x17) 29 #define EC_DVD_DISC_EJECTED (EC_DVDBASE + 0x18) 30 #define EC_DVD_DISC_INSERTED (EC_DVDBASE + 0x19) 31 #define EC_DVD_CURRENT_HMSF_TIME (EC_DVDBASE + 0x1A) 32 #define EC_DVD_KARAOKE_MODE (EC_DVDBASE + 0x1B) 33 34 35 #ifndef EXCLUDE_DVDEVCODE_ENUMS 36 typedef enum _tagDVD_WARNING 37 { 38 DVD_WARNING_InvalidDVD1_0Disc =1, 39 DVD_WARNING_FormatNotSupported =2, 40 DVD_WARNING_IllegalNavCommand =3, 41 DVD_WARNING_Open =4, 42 DVD_WARNING_Seek =5, 43 DVD_WARNING_Read =6 44 } DVD_WARNING; 45 46 typedef enum _tagDVD_ERROR 47 { 48 DVD_ERROR_Unexpected =1, 49 DVD_ERROR_CopyProtectFail =2, 50 DVD_ERROR_InvalidDVD1_0Disc =3, 51 DVD_ERROR_InvalidDiscRegion =4, 52 DVD_ERROR_LowParentalLevel =5, 53 DVD_ERROR_MacrovisionFail =6, 54 DVD_ERROR_IncompatibleSystemAndDecoderRegions =7, 55 DVD_ERROR_IncompatibleDiscAndDecoderRegions =8 56 57 } DVD_ERROR; 58 59 #endif 60 #endif 61