move crt, ddk and GL includes
[reactos.git] / reactos / include / vfwmsgs.h
1 /*
2 * Copyright (C) 2002 Alexandre Julliard
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18
19
20 #ifndef __VFWMSGS__
21 #define __VFWMSGS__
22
23 #define VFW_E_INVALIDMEDIATYPE ((HRESULT)0x80040200)
24 #define VFW_E_INVALIDSUBTYPE ((HRESULT)0x80040201)
25 #define VFW_E_NEED_OWNER ((HRESULT)0x80040202)
26 #define VFW_E_TOO_MANY_COLORS ((HRESULT)0x80040222)
27 #define VFW_E_STATE_CHANGED ((HRESULT)0x80040223)
28 #define VFW_E_NOT_STOPPED ((HRESULT)0x80040224)
29 #define VFW_E_NOT_PAUSED ((HRESULT)0x80040225)
30 #define VFW_E_NOT_RUNNING ((HRESULT)0x80040226)
31 #define VFW_E_WRONG_STATE ((HRESULT)0x80040227)
32 #define VFW_E_START_TIME_AFTER_END ((HRESULT)0x80040228)
33 #define VFW_E_INVALID_RECT ((HRESULT)0x80040229)
34 #define VFW_E_TYPE_NOT_ACCEPTED ((HRESULT)0x8004022A)
35 #define VFW_E_SAMPLE_REJECTED ((HRESULT)0x8004022B)
36 #define VFW_E_SAMPLE_REJECTED_EOS ((HRESULT)0x8004022C)
37 #define VFW_E_DUPLICATE_NAME ((HRESULT)0x8004022D)
38 #define VFW_S_DUPLICATE_NAME ((HRESULT)0x0004022D)
39 #define VFW_E_TIMEOUT ((HRESULT)0x8004022E)
40 #define VFW_E_INVALID_FILE_FORMAT ((HRESULT)0x8004022F)
41 #define VFW_E_ENUM_OUT_OF_RANGE ((HRESULT)0x80040230)
42 #define VFW_E_CIRCULAR_GRAPH ((HRESULT)0x80040231)
43 #define VFW_E_NOT_ALLOWED_TO_SAVE ((HRESULT)0x80040232)
44 #define VFW_E_TIME_ALREADY_PASSED ((HRESULT)0x80040233)
45 #define VFW_E_ALREADY_CANCELLED ((HRESULT)0x80040234)
46 #define VFW_E_ENUM_OUT_OF_SYNC ((HRESULT)0x80040203)
47 #define VFW_E_ALREADY_CONNECTED ((HRESULT)0x80040204)
48 #define VFW_E_FILTER_ACTIVE ((HRESULT)0x80040205)
49 #define VFW_E_NO_TYPES ((HRESULT)0x80040206)
50 #define VFW_E_CANNOT_RENDER ((HRESULT)0x80040218)
51 #define VFW_E_CHANGING_FORMAT ((HRESULT)0x80040219)
52 #define VFW_E_NO_COLOR_KEY_SET ((HRESULT)0x8004021A)
53 #define VFW_E_NOT_OVERLAY_CONNECTION ((HRESULT)0x8004021B)
54 #define VFW_E_NOT_SAMPLE_CONNECTION ((HRESULT)0x8004021C)
55 #define VFW_E_PALETTE_SET ((HRESULT)0x8004021D)
56 #define VFW_E_COLOR_KEY_SET ((HRESULT)0x8004021E)
57 #define VFW_E_NO_COLOR_KEY_FOUND ((HRESULT)0x8004021F)
58 #define VFW_E_NO_PALETTE_AVAILABLE ((HRESULT)0x80040220)
59 #define VFW_E_NO_DISPLAY_PALETTE ((HRESULT)0x80040221)
60 #define VFW_E_CORRUPT_GRAPH_FILE ((HRESULT)0x80040235)
61 #define VFW_E_ADVISE_ALREADY_SET ((HRESULT)0x80040236)
62 #define VFW_S_STATE_INTERMEDIATE ((HRESULT)0x00040237)
63 #define VFW_E_NO_MODEX_AVAILABLE ((HRESULT)0x80040238)
64 #define VFW_E_NO_ADVISE_SET ((HRESULT)0x80040239)
65 #define VFW_E_NO_FULLSCREEN ((HRESULT)0x8004023A)
66 #define VFW_E_IN_FULLSCREEN_MODE ((HRESULT)0x8004023B)
67 #define VFW_E_UNKNOWN_FILE_TYPE ((HRESULT)0x80040240)
68 #define VFW_E_CANNOT_LOAD_SOURCE_FILTER ((HRESULT)0x80040241)
69 #define VFW_S_PARTIAL_RENDER ((HRESULT)0x00040242)
70 #define VFW_E_FILE_TOO_SHORT ((HRESULT)0x80040243)
71 #define VFW_E_INVALID_FILE_VERSION ((HRESULT)0x80040244)
72 #define VFW_S_SOME_DATA_IGNORED ((HRESULT)0x00040245)
73 #define VFW_S_CONNECTIONS_DEFERRED ((HRESULT)0x00040246)
74 #define VFW_E_INVALID_CLSID ((HRESULT)0x80040247)
75 #define VFW_E_INVALID_MEDIA_TYPE ((HRESULT)0x80040248)
76 #define VFW_E_BAD_KEY ((HRESULT)0x800403F2)
77 #define VFW_S_NO_MORE_ITEMS ((HRESULT)0x00040103)
78 #define VFW_E_SAMPLE_TIME_NOT_SET ((HRESULT)0x80040249)
79 #define VFW_S_RESOURCE_NOT_NEEDED ((HRESULT)0x00040250)
80 #define VFW_E_MEDIA_TIME_NOT_SET ((HRESULT)0x80040251)
81 #define VFW_E_NO_TIME_FORMAT_SET ((HRESULT)0x80040252)
82 #define VFW_E_MONO_AUDIO_HW ((HRESULT)0x80040253)
83 #define VFW_S_MEDIA_TYPE_IGNORED ((HRESULT)0x00040254)
84 #define VFW_E_NO_DECOMPRESSOR ((HRESULT)0x80040255)
85 #define VFW_E_NO_AUDIO_HARDWARE ((HRESULT)0x80040256)
86 #define VFW_S_VIDEO_NOT_RENDERED ((HRESULT)0x00040257)
87 #define VFW_E_NO_ACCEPTABLE_TYPES ((HRESULT)0x80040207)
88 #define VFW_E_INVALID_DIRECTION ((HRESULT)0x80040208)
89 #define VFW_E_NOT_CONNECTED ((HRESULT)0x80040209)
90 #define VFW_E_NO_ALLOCATOR ((HRESULT)0x8004020A)
91 #define VFW_E_DVD_LOW_PARENTAL_LEVEL ((HRESULT)0x8004028A)
92 #define VFW_E_DVD_NOT_IN_KARAOKE_MODE ((HRESULT)0x8004028B)
93 #define VFW_S_DVD_CHANNEL_CONTENTS_NOT_AVAILABLE ((HRESULT)0x0004028C)
94 #define VFW_S_DVD_NOT_ACCURATE ((HRESULT)0x0004028D)
95 #define VFW_E_FRAME_STEP_UNSUPPORTED ((HRESULT)0x8004028E)
96 #define VFW_E_DVD_STREAM_DISABLED ((HRESULT)0x8004028F)
97 #define VFW_E_DVD_TITLE_UNKNOWN ((HRESULT)0x80040290)
98 #define VFW_E_DVD_INVALID_DISC ((HRESULT)0x80040291)
99 #define VFW_E_DVD_NO_RESUME_INFORMATION ((HRESULT)0x80040292)
100 #define VFW_E_PIN_ALREADY_BLOCKED_ON_THIS_THREAD ((HRESULT)0x80040293)
101 #define VFW_E_PIN_ALREADY_BLOCKED ((HRESULT)0x80040294)
102 #define VFW_E_RUNTIME_ERROR ((HRESULT)0x8004020B)
103 #define VFW_E_BUFFER_NOTSET ((HRESULT)0x8004020C)
104 #define VFW_E_PROCESSOR_NOT_SUITABLE ((HRESULT)0x8004025B)
105 #define VFW_E_UNSUPPORTED_AUDIO ((HRESULT)0x8004025C)
106 #define VFW_E_UNSUPPORTED_VIDEO ((HRESULT)0x8004025D)
107 #define VFW_E_MPEG_NOT_CONSTRAINED ((HRESULT)0x8004025E)
108 #define VFW_E_NOT_IN_GRAPH ((HRESULT)0x8004025F)
109 #define VFW_S_ESTIMATED ((HRESULT)0x00040260)
110 #define VFW_E_NO_TIME_FORMAT ((HRESULT)0x80040261)
111 #define VFW_E_READ_ONLY ((HRESULT)0x80040262)
112 #define VFW_S_RESERVED ((HRESULT)0x00040263)
113 #define VFW_E_BUFFER_UNDERFLOW ((HRESULT)0x80040264)
114 #define VFW_E_UNSUPPORTED_STREAM ((HRESULT)0x80040265)
115 #define VFW_E_NO_TRANSPORT ((HRESULT)0x80040266)
116 #define VFW_S_STREAM_OFF ((HRESULT)0x00040267)
117 #define VFW_S_CANT_CUE ((HRESULT)0x00040268)
118 #define VFW_E_BAD_VIDEOCD ((HRESULT)0x80040269)
119 #define VFW_S_NO_STOP_TIME ((HRESULT)0x00040270)
120 #define VFW_E_OUT_OF_VIDEO_MEMORY ((HRESULT)0x80040271)
121 #define VFW_E_VP_NEGOTIATION_FAILED ((HRESULT)0x80040272)
122
123 #define VFW_E_DDRAW_CAPS_NOT_SUITABLE ((HRESULT)0x80040273)
124 #define VFW_E_NO_VP_HARDWARE ((HRESULT)0x80040274)
125 #define VFW_E_NO_CAPTURE_HARDWARE ((HRESULT)0x80040275)
126 #define VFW_E_DVD_OPERATION_INHIBITED ((HRESULT)0x80040276)
127 #define VFW_E_DVD_INVALIDDOMAIN ((HRESULT)0x80040277)
128 #define VFW_E_BUFFER_OVERFLOW ((HRESULT)0x8004020D)
129 #define VFW_E_BADALIGN ((HRESULT)0x8004020E)
130 #define VFW_E_ALREADY_COMMITTED ((HRESULT)0x8004020F)
131 #define VFW_E_BUFFERS_OUTSTANDING ((HRESULT)0x80040210)
132 #define VFW_E_NOT_COMMITTED ((HRESULT)0x80040211)
133 #define VFW_E_SIZENOTSET ((HRESULT)0x80040212)
134 #define VFW_E_NO_CLOCK ((HRESULT)0x80040213)
135 #define VFW_E_NO_SINK ((HRESULT)0x80040214)
136 #define VFW_E_NO_INTERFACE ((HRESULT)0x80040215)
137 #define VFW_E_NOT_FOUND ((HRESULT)0x80040216)
138 #define VFW_E_CANNOT_CONNECT ((HRESULT)0x80040217)
139 #define VFW_S_AUDIO_NOT_RENDERED ((HRESULT)0x00040258)
140 #define VFW_E_RPZA ((HRESULT)0x80040259)
141 #define VFW_S_RPZA ((HRESULT)0x0004025A)
142 #define VFW_E_DVD_NO_BUTTON ((HRESULT)0x80040278)
143 #define VFW_E_DVD_GRAPHNOTREADY ((HRESULT)0x80040279)
144 #define VFW_E_DVD_RENDERFAIL ((HRESULT)0x8004027A)
145 #define VFW_E_DVD_DECNOTENOUGH ((HRESULT)0x8004027B)
146 #define VFW_E_DDRAW_VERSION_NOT_SUITABLE ((HRESULT)0x8004027C)
147 #define VFW_E_COPYPROT_FAILED ((HRESULT)0x8004027D)
148 #define VFW_S_NOPREVIEWPIN ((HRESULT)0x0004027E)
149 #define VFW_E_TIME_EXPIRED ((HRESULT)0x8004027F)
150 #define VFW_S_DVD_NON_ONE_SEQUENTIAL ((HRESULT)0x00040280)
151 #define VFW_E_DVD_WRONG_SPEED ((HRESULT)0x80040281)
152 #define VFW_E_DVD_MENU_DOES_NOT_EXIST ((HRESULT)0x80040282)
153 #define VFW_E_DVD_CMD_CANCELLED ((HRESULT)0x80040283)
154 #define VFW_E_DVD_STATE_WRONG_VERSION ((HRESULT)0x80040284)
155 #define VFW_E_DVD_STATE_CORRUPT ((HRESULT)0x80040285)
156 #define VFW_E_DVD_STATE_WRONG_DISC ((HRESULT)0x80040286)
157 #define VFW_E_DVD_INCOMPATIBLE_REGION ((HRESULT)0x80040287)
158 #define VFW_E_DVD_NO_ATTRIBUTES ((HRESULT)0x80040288)
159 #define VFW_E_DVD_NO_GOUP_PGC ((HRESULT)0x80040289)
160 #define VFW_E_CERTIFICATION_FAILURE ((HRESULT)0x80040295)
161
162 #if !defined(E_PROP_SET_UNSUPPORTED)
163 #define E_PROP_SET_UNSUPPORTED ((HRESULT)0x80070492)
164 #endif
165 #if !defined(E_PROP_ID_UNSUPPORTED)
166 #define E_PROP_ID_UNSUPPORTED ((HRESULT)0x80070490)
167
168 #endif
169 #endif
170