1 /**
2  * This file has no copyright assigned and is placed in the Public Domain.
3  * This file is part of the mingw-w64 runtime package.
4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5  */
6 #ifndef _DVDEVCOD_H
7 #define _DVDEVCOD_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 #define EC_DVD_ANGLE_CHANGE 0x0106
14 #define EC_DVD_ANGLES_AVAILABLE 0x0113
15 #define EC_DVD_AUDIO_STREAM_CHANGE 0x0104
16 #define EC_DVD_BUTTON_AUTO_ACTIVATED 0x0115
17 #define EC_DVD_BUTTON_CHANGE 0x0107
18 #define EC_DVD_CHAPTER_AUTOSTOP 0x010E
19 #define EC_DVD_CHAPTER_START 0x0103
20 #define EC_DVD_CMD_START 0x0116
21 #define EC_DVD_CMD_END 0x0117
22 #define EC_DVD_CURRENT_HMSF_TIME 0x011A
23 #define EC_DVD_CURRENT_TIME 0x010B
24 #define EC_DVD_DISC_EJECTED 0x0118
25 #define EC_DVD_DISC_INSERTED 0x0119
26 #define EC_DVD_DOMAIN_CHANGE 0x0101
27 #define EC_DVD_ERROR 0x010C
28 #define EC_DVD_KARAOKE_MODE 0x011B
29 #define EC_DVD_NO_FP_PGC 0x010F
30 #define EC_DVD_PARENTAL_LEVEL_CHANGE 0x0111
31 #define EC_DVD_PLAYBACK_RATE_CHANGE 0x0110
32 #define EC_DVD_PLAYBACK_STOPPED 0x0112
33 #define EC_DVD_PLAYPERIOD_AUTOSTOP 0x0114
34 #define EC_DVD_STILL_OFF 0x010A
35 #define EC_DVD_STILL_ON 0x0109
36 #define EC_DVD_SUBPICTURE_STREAM_CHANGE 0x0105
37 #define EC_DVD_TITLE_CHANGE 0x0102
38 #define EC_DVD_VALID_UOPS_CHANGE 0x0108
39 #define EC_DVD_WARNING 0x010D
40 typedef enum _tagDVD_ERROR {
41 	DVD_ERROR_Unexpected = 1,
42 	DVD_ERROR_CopyProtectFail = 2,
43 	DVD_ERROR_InvalidDVD1_0Disc = 3,
44 	DVD_ERROR_InvalidDiscRegion = 4,
45 	DVD_ERROR_LowParentalLevel = 5,
46 	DVD_ERROR_MacrovisionFail = 6,
47 	DVD_ERROR_IncompatibleSystemAndDecoderRegions = 7,
48 	DVD_ERROR_IncompatibleDiscAndDecoderRegions = 8
49 } DVD_ERROR;
50 typedef enum _tagDVD_PB_STOPPED {
51 	DVD_PB_STOPPED_Other = 0,
52 	DVD_PB_STOPPED_NoBranch = 1,
53 	DVD_PB_STOPPED_NoFirstPlayDomain = 2,
54 	DVD_PB_STOPPED_StopCommand = 3,
55 	DVD_PB_STOPPED_Reset = 4,
56 	DVD_PB_STOPPED_DiscEjected = 5,
57 	DVD_PB_STOPPED_IllegalNavCommand = 6,
58 	DVD_PB_STOPPED_PlayPeriodAutoStop = 7,
59 	DVD_PB_STOPPED_PlayChapterAutoStop = 8,
60 	DVD_PB_STOPPED_ParentalFailure = 9,
61 	DVD_PB_STOPPED_RegionFailure = 10,
62 	DVD_PB_STOPPED_MacrovisionFailure = 11,
63 	DVD_PB_STOPPED_DiscReadError = 12,
64 	DVD_PB_STOPPED_CopyProtectFailure = 13
65 } DVD_PB_STOPPED;
66 typedef enum _tagDVD_WARNING {
67 	DVD_WARNING_InvalidDVD1_0Disc = 1,
68 	DVD_WARNING_FormatNotSupported = 2,
69 	DVD_WARNING_IllegalNavCommand = 3,
70 	DVD_WARNING_Open = 4,
71 	DVD_WARNING_Seek = 5,
72 	DVD_WARNING_Read = 6
73 } DVD_WARNING;
74 
75 #ifdef __cplusplus
76 }
77 #endif
78 #endif
79