3 * Copyright 2012, 2013 MinGW.org project
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
12 * The above copyright notice and this permission notice (including the next
13 * paragraph) shall be included in all copies or substantial portions of the
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
26 #pragma GCC system_header
33 #define EC_DVD_ANGLE_CHANGE 0x0106
34 #define EC_DVD_ANGLES_AVAILABLE 0x0113
35 #define EC_DVD_AUDIO_STREAM_CHANGE 0x0104
36 #define EC_DVD_BUTTON_AUTO_ACTIVATED 0x0115
37 #define EC_DVD_BUTTON_CHANGE 0x0107
38 #define EC_DVD_CHAPTER_AUTOSTOP 0x010E
39 #define EC_DVD_CHAPTER_START 0x0103
40 #define EC_DVD_CMD_START 0x0116
41 #define EC_DVD_CMD_END 0x0117
42 #define EC_DVD_CURRENT_HMSF_TIME 0x011A
43 #define EC_DVD_CURRENT_TIME 0x010B
44 #define EC_DVD_DISC_EJECTED 0x0118
45 #define EC_DVD_DISC_INSERTED 0x0119
46 #define EC_DVD_DOMAIN_CHANGE 0x0101
47 #define EC_DVD_ERROR 0x010C
48 #define EC_DVD_KARAOKE_MODE 0x011B
49 #define EC_DVD_NO_FP_PGC 0x010F
50 #define EC_DVD_PARENTAL_LEVEL_CHANGE 0x0111
51 #define EC_DVD_PLAYBACK_RATE_CHANGE 0x0110
52 #define EC_DVD_PLAYBACK_STOPPED 0x0112
53 #define EC_DVD_PLAYPERIOD_AUTOSTOP 0x0114
54 #define EC_DVD_STILL_OFF 0x010A
55 #define EC_DVD_STILL_ON 0x0109
56 #define EC_DVD_SUBPICTURE_STREAM_CHANGE 0x0105
57 #define EC_DVD_TITLE_CHANGE 0x0102
58 #define EC_DVD_VALID_UOPS_CHANGE 0x0108
59 #define EC_DVD_WARNING 0x010D
60 typedef enum _tagDVD_ERROR {
61 DVD_ERROR_Unexpected = 1,
62 DVD_ERROR_CopyProtectFail = 2,
63 DVD_ERROR_InvalidDVD1_0Disc = 3,
64 DVD_ERROR_InvalidDiscRegion = 4,
65 DVD_ERROR_LowParentalLevel = 5,
66 DVD_ERROR_MacrovisionFail = 6,
67 DVD_ERROR_IncompatibleSystemAndDecoderRegions = 7,
68 DVD_ERROR_IncompatibleDiscAndDecoderRegions = 8
70 typedef enum _tagDVD_PB_STOPPED {
71 DVD_PB_STOPPED_Other = 0,
72 DVD_PB_STOPPED_NoBranch = 1,
73 DVD_PB_STOPPED_NoFirstPlayDomain = 2,
74 DVD_PB_STOPPED_StopCommand = 3,
75 DVD_PB_STOPPED_Reset = 4,
76 DVD_PB_STOPPED_DiscEjected = 5,
77 DVD_PB_STOPPED_IllegalNavCommand = 6,
78 DVD_PB_STOPPED_PlayPeriodAutoStop = 7,
79 DVD_PB_STOPPED_PlayChapterAutoStop = 8,
80 DVD_PB_STOPPED_ParentalFailure = 9,
81 DVD_PB_STOPPED_RegionFailure = 10,
82 DVD_PB_STOPPED_MacrovisionFailure = 11,
83 DVD_PB_STOPPED_DiscReadError = 12,
84 DVD_PB_STOPPED_CopyProtectFailure = 13
86 typedef enum _tagDVD_WARNING {
87 DVD_WARNING_InvalidDVD1_0Disc = 1,
88 DVD_WARNING_FormatNotSupported = 2,
89 DVD_WARNING_IllegalNavCommand = 3,