xref: /reactos/sdk/include/psdk/vfwmsgs.h (revision c2c66aff)
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 #define VFW_S_NO_MORE_ITEMS                          ((HRESULT)0x00040103)
20 #define VFW_S_DUPLICATE_NAME                         ((HRESULT)0x0004022D)
21 #define VFW_S_STATE_INTERMEDIATE                     ((HRESULT)0x00040237)
22 #define VFW_S_PARTIAL_RENDER                         ((HRESULT)0x00040242)
23 #define VFW_S_SOME_DATA_IGNORED                      ((HRESULT)0x00040245)
24 #define VFW_S_CONNECTIONS_DEFERRED                   ((HRESULT)0x00040246)
25 #define VFW_S_RESOURCE_NOT_NEEDED                    ((HRESULT)0x00040250)
26 #define VFW_S_MEDIA_TYPE_IGNORED                     ((HRESULT)0x00040254)
27 #define VFW_S_VIDEO_NOT_RENDERED                     ((HRESULT)0x00040257)
28 #define VFW_S_AUDIO_NOT_RENDERED                     ((HRESULT)0x00040258)
29 #define VFW_S_RPZA                                   ((HRESULT)0x0004025A)
30 #define VFW_S_ESTIMATED                              ((HRESULT)0x00040260)
31 #define VFW_S_RESERVED                               ((HRESULT)0x00040263)
32 #define VFW_S_STREAM_OFF                             ((HRESULT)0x00040267)
33 #define VFW_S_CANT_CUE                               ((HRESULT)0x00040268)
34 #define VFW_S_NO_STOP_TIME                           ((HRESULT)0x00040270)
35 #define VFW_S_NOPREVIEWPIN                           ((HRESULT)0x0004027E)
36 #define VFW_S_DVD_NON_ONE_SEQUENTIAL                 ((HRESULT)0x00040280)
37 #define VFW_S_DVD_CHANNEL_CONTENTS_NOT_AVAILABLE     ((HRESULT)0x0004028C)
38 #define VFW_S_DVD_NOT_ACCURATE                       ((HRESULT)0x0004028D)
39 #define VFW_E_INVALIDMEDIATYPE                       ((HRESULT)0x80040200)
40 #define VFW_E_INVALIDSUBTYPE                         ((HRESULT)0x80040201)
41 #define VFW_E_NEED_OWNER                             ((HRESULT)0x80040202)
42 #define VFW_E_ENUM_OUT_OF_SYNC                       ((HRESULT)0x80040203)
43 #define VFW_E_ALREADY_CONNECTED                      ((HRESULT)0x80040204)
44 #define VFW_E_FILTER_ACTIVE                          ((HRESULT)0x80040205)
45 #define VFW_E_NO_TYPES                               ((HRESULT)0x80040206)
46 #define VFW_E_NO_ACCEPTABLE_TYPES                    ((HRESULT)0x80040207)
47 #define VFW_E_INVALID_DIRECTION                      ((HRESULT)0x80040208)
48 #define VFW_E_NOT_CONNECTED                          ((HRESULT)0x80040209)
49 #define VFW_E_NO_ALLOCATOR                           ((HRESULT)0x8004020A)
50 #define VFW_E_RUNTIME_ERROR                          ((HRESULT)0x8004020B)
51 #define VFW_E_BUFFER_NOTSET                          ((HRESULT)0x8004020C)
52 #define VFW_E_BUFFER_OVERFLOW                        ((HRESULT)0x8004020D)
53 #define VFW_E_BADALIGN                               ((HRESULT)0x8004020E)
54 #define VFW_E_ALREADY_COMMITTED                      ((HRESULT)0x8004020F)
55 #define VFW_E_BUFFERS_OUTSTANDING                    ((HRESULT)0x80040210)
56 #define VFW_E_NOT_COMMITTED                          ((HRESULT)0x80040211)
57 #define VFW_E_SIZENOTSET                             ((HRESULT)0x80040212)
58 #define VFW_E_NO_CLOCK                               ((HRESULT)0x80040213)
59 #define VFW_E_NO_SINK                                ((HRESULT)0x80040214)
60 #define VFW_E_NO_INTERFACE                           ((HRESULT)0x80040215)
61 #define VFW_E_NOT_FOUND                              ((HRESULT)0x80040216)
62 #define VFW_E_CANNOT_CONNECT                         ((HRESULT)0x80040217)
63 #define VFW_E_CANNOT_RENDER                          ((HRESULT)0x80040218)
64 #define VFW_E_CHANGING_FORMAT                        ((HRESULT)0x80040219)
65 #define VFW_E_NO_COLOR_KEY_SET                       ((HRESULT)0x8004021A)
66 #define VFW_E_NOT_OVERLAY_CONNECTION                 ((HRESULT)0x8004021B)
67 #define VFW_E_NOT_SAMPLE_CONNECTION                  ((HRESULT)0x8004021C)
68 #define VFW_E_PALETTE_SET                            ((HRESULT)0x8004021D)
69 #define VFW_E_COLOR_KEY_SET                          ((HRESULT)0x8004021E)
70 #define VFW_E_NO_COLOR_KEY_FOUND                     ((HRESULT)0x8004021F)
71 #define VFW_E_NO_PALETTE_AVAILABLE                   ((HRESULT)0x80040220)
72 #define VFW_E_NO_DISPLAY_PALETTE                     ((HRESULT)0x80040221)
73 #define VFW_E_TOO_MANY_COLORS                        ((HRESULT)0x80040222)
74 #define VFW_E_STATE_CHANGED                          ((HRESULT)0x80040223)
75 #define VFW_E_NOT_STOPPED                            ((HRESULT)0x80040224)
76 #define VFW_E_NOT_PAUSED                             ((HRESULT)0x80040225)
77 #define VFW_E_NOT_RUNNING                            ((HRESULT)0x80040226)
78 #define VFW_E_WRONG_STATE                            ((HRESULT)0x80040227)
79 #define VFW_E_START_TIME_AFTER_END                   ((HRESULT)0x80040228)
80 #define VFW_E_INVALID_RECT                           ((HRESULT)0x80040229)
81 #define VFW_E_TYPE_NOT_ACCEPTED                      ((HRESULT)0x8004022A)
82 #define VFW_E_SAMPLE_REJECTED                        ((HRESULT)0x8004022B)
83 #define VFW_E_SAMPLE_REJECTED_EOS                    ((HRESULT)0x8004022C)
84 #define VFW_E_DUPLICATE_NAME                         ((HRESULT)0x8004022D)
85 #define VFW_E_TIMEOUT                                ((HRESULT)0x8004022E)
86 #define VFW_E_INVALID_FILE_FORMAT                    ((HRESULT)0x8004022F)
87 #define VFW_E_ENUM_OUT_OF_RANGE                      ((HRESULT)0x80040230)
88 #define VFW_E_CIRCULAR_GRAPH                         ((HRESULT)0x80040231)
89 #define VFW_E_NOT_ALLOWED_TO_SAVE                    ((HRESULT)0x80040232)
90 #define VFW_E_TIME_ALREADY_PASSED                    ((HRESULT)0x80040233)
91 #define VFW_E_ALREADY_CANCELLED                      ((HRESULT)0x80040234)
92 #define VFW_E_CORRUPT_GRAPH_FILE                     ((HRESULT)0x80040235)
93 #define VFW_E_ADVISE_ALREADY_SET                     ((HRESULT)0x80040236)
94 #define VFW_E_NO_MODEX_AVAILABLE                     ((HRESULT)0x80040238)
95 #define VFW_E_NO_ADVISE_SET                          ((HRESULT)0x80040239)
96 #define VFW_E_NO_FULLSCREEN                          ((HRESULT)0x8004023A)
97 #define VFW_E_IN_FULLSCREEN_MODE                     ((HRESULT)0x8004023B)
98 #define VFW_E_UNKNOWN_FILE_TYPE                      ((HRESULT)0x80040240)
99 #define VFW_E_CANNOT_LOAD_SOURCE_FILTER              ((HRESULT)0x80040241)
100 #define VFW_E_FILE_TOO_SHORT                         ((HRESULT)0x80040243)
101 #define VFW_E_INVALID_FILE_VERSION                   ((HRESULT)0x80040244)
102 #define VFW_E_INVALID_CLSID                          ((HRESULT)0x80040247)
103 #define VFW_E_INVALID_MEDIA_TYPE                     ((HRESULT)0x80040248)
104 #define VFW_E_SAMPLE_TIME_NOT_SET                    ((HRESULT)0x80040249)
105 #define VFW_E_MEDIA_TIME_NOT_SET                     ((HRESULT)0x80040251)
106 #define VFW_E_NO_TIME_FORMAT_SET                     ((HRESULT)0x80040252)
107 #define VFW_E_MONO_AUDIO_HW                          ((HRESULT)0x80040253)
108 #define VFW_E_NO_DECOMPRESSOR                        ((HRESULT)0x80040255)
109 #define VFW_E_NO_AUDIO_HARDWARE                      ((HRESULT)0x80040256)
110 #define VFW_E_RPZA                                   ((HRESULT)0x80040259)
111 #define VFW_E_PROCESSOR_NOT_SUITABLE                 ((HRESULT)0x8004025B)
112 #define VFW_E_UNSUPPORTED_AUDIO                      ((HRESULT)0x8004025C)
113 #define VFW_E_UNSUPPORTED_VIDEO                      ((HRESULT)0x8004025D)
114 #define VFW_E_MPEG_NOT_CONSTRAINED                   ((HRESULT)0x8004025E)
115 #define VFW_E_NOT_IN_GRAPH                           ((HRESULT)0x8004025F)
116 #define VFW_E_NO_TIME_FORMAT                         ((HRESULT)0x80040261)
117 #define VFW_E_READ_ONLY                              ((HRESULT)0x80040262)
118 #define VFW_E_BUFFER_UNDERFLOW                       ((HRESULT)0x80040264)
119 #define VFW_E_UNSUPPORTED_STREAM                     ((HRESULT)0x80040265)
120 #define VFW_E_NO_TRANSPORT                           ((HRESULT)0x80040266)
121 #define VFW_E_BAD_VIDEOCD                            ((HRESULT)0x80040269)
122 #define VFW_E_OUT_OF_VIDEO_MEMORY                    ((HRESULT)0x80040271)
123 #define VFW_E_VP_NEGOTIATION_FAILED                  ((HRESULT)0x80040272)
124 #define VFW_E_DDRAW_CAPS_NOT_SUITABLE                ((HRESULT)0x80040273)
125 #define VFW_E_NO_VP_HARDWARE                         ((HRESULT)0x80040274)
126 #define VFW_E_NO_CAPTURE_HARDWARE                    ((HRESULT)0x80040275)
127 #define VFW_E_DVD_OPERATION_INHIBITED                ((HRESULT)0x80040276)
128 #define VFW_E_DVD_INVALIDDOMAIN                      ((HRESULT)0x80040277)
129 #define VFW_E_DVD_NO_BUTTON                          ((HRESULT)0x80040278)
130 #define VFW_E_DVD_GRAPHNOTREADY                      ((HRESULT)0x80040279)
131 #define VFW_E_DVD_RENDERFAIL                         ((HRESULT)0x8004027A)
132 #define VFW_E_DVD_DECNOTENOUGH                       ((HRESULT)0x8004027B)
133 #define VFW_E_DDRAW_VERSION_NOT_SUITABLE             ((HRESULT)0x8004027C)
134 #define VFW_E_COPYPROT_FAILED                        ((HRESULT)0x8004027D)
135 #define VFW_E_TIME_EXPIRED                           ((HRESULT)0x8004027F)
136 #define VFW_E_DVD_WRONG_SPEED                        ((HRESULT)0x80040281)
137 #define VFW_E_DVD_MENU_DOES_NOT_EXIST                ((HRESULT)0x80040282)
138 #define VFW_E_DVD_CMD_CANCELLED                      ((HRESULT)0x80040283)
139 #define VFW_E_DVD_STATE_WRONG_VERSION                ((HRESULT)0x80040284)
140 #define VFW_E_DVD_STATE_CORRUPT                      ((HRESULT)0x80040285)
141 #define VFW_E_DVD_STATE_WRONG_DISC                   ((HRESULT)0x80040286)
142 #define VFW_E_DVD_INCOMPATIBLE_REGION                ((HRESULT)0x80040287)
143 #define VFW_E_DVD_NO_ATTRIBUTES                      ((HRESULT)0x80040288)
144 #define VFW_E_DVD_NO_GOUP_PGC                        ((HRESULT)0x80040289)
145 #define VFW_E_DVD_LOW_PARENTAL_LEVEL                 ((HRESULT)0x8004028A)
146 #define VFW_E_DVD_NOT_IN_KARAOKE_MODE                ((HRESULT)0x8004028B)
147 #define VFW_E_FRAME_STEP_UNSUPPORTED                 ((HRESULT)0x8004028E)
148 #define VFW_E_DVD_STREAM_DISABLED                    ((HRESULT)0x8004028F)
149 #define VFW_E_DVD_TITLE_UNKNOWN                      ((HRESULT)0x80040290)
150 #define VFW_E_DVD_INVALID_DISC                       ((HRESULT)0x80040291)
151 #define VFW_E_DVD_NO_RESUME_INFORMATION              ((HRESULT)0x80040292)
152 #define VFW_E_PIN_ALREADY_BLOCKED_ON_THIS_THREAD     ((HRESULT)0x80040293)
153 #define VFW_E_PIN_ALREADY_BLOCKED                    ((HRESULT)0x80040294)
154 #define VFW_E_CERTIFICATION_FAILURE                  ((HRESULT)0x80040295)
155 #define VFW_E_VMR_NOT_IN_MIXER_MODE                  ((HRESULT)0x80040296)
156 #define VFW_E_VMR_NO_AP_SUPPLIED                     ((HRESULT)0x80040297)
157 #define VFW_E_VMR_NO_DEINTERLACE_HW                  ((HRESULT)0x80040298)
158 #define VFW_E_VMR_NO_PROCAMP_HW                      ((HRESULT)0x80040299)
159 #define VFW_E_DVD_VMR9_INCOMPATIBLEDEC               ((HRESULT)0x8004029A)
160 #define VFW_E_NO_COPP_HW                             ((HRESULT)0x8004029B)
161 #define VFW_E_DVD_NONBLOCKING                        ((HRESULT)0x8004029C)
162 #define VFW_E_DVD_TOO_MANY_RENDERERS_IN_FILTER_GRAPH ((HRESULT)0x8004029D)
163 #define VFW_E_DVD_NON_EVR_RENDERER_IN_FILTER_GRAPH   ((HRESULT)0x8004029E)
164 #define VFW_E_DVD_RESOLUTION_ERROR                   ((HRESULT)0x8004029F)
165 #define VFW_E_CODECAPI_LINEAR_RANGE                  ((HRESULT)0x80040310)
166 #define VFW_E_CODECAPI_ENUMERATED                    ((HRESULT)0x80040311)
167 #define VFW_E_CODECAPI_NO_DEFAULT                    ((HRESULT)0x80040313)
168 #define VFW_E_CODECAPI_NO_CURRENT_VALUE              ((HRESULT)0x80040314)
169 #define VFW_E_DVD_CHAPTER_DOES_NOT_EXIST             ((HRESULT)0x80040315)
170 #define VFW_E_BAD_KEY                                ((HRESULT)0x800403F2)
171 
172 #ifndef E_PROP_ID_UNSUPPORTED
173 #define E_PROP_ID_UNSUPPORTED                        ((HRESULT)0x80070490)
174 #endif
175 #ifndef E_PROP_SET_UNSUPPORTED
176 #define E_PROP_SET_UNSUPPORTED                       ((HRESULT)0x80070492)
177 #endif
178