5a3ab814378a798545a0f8be19f13823dc83f625
[reactos.git] / reactos / w32api / 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 #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_E_INVALIDMEDIATYPE ((HRESULT)0x80040200)
37 #define VFW_E_INVALIDSUBTYPE ((HRESULT)0x80040201)
38 #define VFW_E_NEED_OWNER ((HRESULT)0x80040202)
39 #define VFW_E_ENUM_OUT_OF_SYNC ((HRESULT)0x80040203)
40 #define VFW_E_ALREADY_CONNECTED ((HRESULT)0x80040204)
41 #define VFW_E_FILTER_ACTIVE ((HRESULT)0x80040205)
42 #define VFW_E_NO_TYPES ((HRESULT)0x80040206)
43 #define VFW_E_NO_ACCEPTABLE_TYPES ((HRESULT)0x80040207)
44 #define VFW_E_INVALID_DIRECTION ((HRESULT)0x80040208)
45 #define VFW_E_NOT_CONNECTED ((HRESULT)0x80040209)
46 #define VFW_E_NO_ALLOCATOR ((HRESULT)0x8004020A)
47 #define VFW_E_RUNTIME_ERROR ((HRESULT)0x8004020B)
48 #define VFW_E_BUFFER_NOTSET ((HRESULT)0x8004020C)
49 #define VFW_E_BUFFER_OVERFLOW ((HRESULT)0x8004020D)
50 #define VFW_E_BADALIGN ((HRESULT)0x8004020E)
51 #define VFW_E_ALREADY_COMMITTED ((HRESULT)0x8004020F)
52 #define VFW_E_BUFFERS_OUTSTANDING ((HRESULT)0x80040210)
53 #define VFW_E_NOT_COMMITTED ((HRESULT)0x80040211)
54 #define VFW_E_SIZENOTSET ((HRESULT)0x80040212)
55 #define VFW_E_NO_CLOCK ((HRESULT)0x80040213)
56 #define VFW_E_NO_SINK ((HRESULT)0x80040214)
57 #define VFW_E_NO_INTERFACE ((HRESULT)0x80040215)
58 #define VFW_E_NOT_FOUND ((HRESULT)0x80040216)
59 #define VFW_E_CANNOT_CONNECT ((HRESULT)0x80040217)
60 #define VFW_E_CANNOT_RENDER ((HRESULT)0x80040218)
61 #define VFW_E_CHANGING_FORMAT ((HRESULT)0x80040219)
62 #define VFW_E_NO_COLOR_KEY_SET ((HRESULT)0x8004021A)
63 #define VFW_E_NOT_OVERLAY_CONNECTION ((HRESULT)0x8004021B)
64 #define VFW_E_NOT_SAMPLE_CONNECTION ((HRESULT)0x8004021C)
65 #define VFW_E_PALETTE_SET ((HRESULT)0x8004021D)
66 #define VFW_E_COLOR_KEY_SET ((HRESULT)0x8004021E)
67 #define VFW_E_NO_COLOR_KEY_FOUND ((HRESULT)0x8004021F)
68 #define VFW_E_NO_PALETTE_AVAILABLE ((HRESULT)0x80040220)
69 #define VFW_E_NO_DISPLAY_PALETTE ((HRESULT)0x80040221)
70 #define VFW_E_TOO_MANY_COLORS ((HRESULT)0x80040222)
71 #define VFW_E_STATE_CHANGED ((HRESULT)0x80040223)
72 #define VFW_E_NOT_STOPPED ((HRESULT)0x80040224)
73 #define VFW_E_NOT_PAUSED ((HRESULT)0x80040225)
74 #define VFW_E_NOT_RUNNING ((HRESULT)0x80040226)
75 #define VFW_E_WRONG_STATE ((HRESULT)0x80040227)
76 #define VFW_E_START_TIME_AFTER_END ((HRESULT)0x80040228)
77 #define VFW_E_INVALID_RECT ((HRESULT)0x80040229)
78 #define VFW_E_TYPE_NOT_ACCEPTED ((HRESULT)0x8004022A)
79 #define VFW_E_SAMPLE_REJECTED ((HRESULT)0x8004022B)
80 #define VFW_E_SAMPLE_REJECTED_EOS ((HRESULT)0x8004022C)
81 #define VFW_E_DUPLICATE_NAME ((HRESULT)0x8004022D)
82 #define VFW_E_TIMEOUT ((HRESULT)0x8004022E)
83 #define VFW_E_INVALID_FILE_FORMAT ((HRESULT)0x8004022F)
84 #define VFW_E_ENUM_OUT_OF_RANGE ((HRESULT)0x80040230)
85 #define VFW_E_CIRCULAR_GRAPH ((HRESULT)0x80040231)
86 #define VFW_E_NOT_ALLOWED_TO_SAVE ((HRESULT)0x80040232)
87 #define VFW_E_TIME_ALREADY_PASSED ((HRESULT)0x80040233)
88 #define VFW_E_ALREADY_CANCELLED ((HRESULT)0x80040234)
89 #define VFW_E_CORRUPT_GRAPH_FILE ((HRESULT)0x80040235)
90 #define VFW_E_ADVISE_ALREADY_SET ((HRESULT)0x80040236)
91 #define VFW_E_NO_MODEX_AVAILABLE ((HRESULT)0x80040238)
92 #define VFW_E_NO_ADVISE_SET ((HRESULT)0x80040239)
93 #define VFW_E_NO_FULLSCREEN ((HRESULT)0x8004023A)
94 #define VFW_E_IN_FULLSCREEN_MODE ((HRESULT)0x8004023B)
95 #define VFW_E_UNKNOWN_FILE_TYPE ((HRESULT)0x80040240)
96 #define VFW_E_CANNOT_LOAD_SOURCE_FILTER ((HRESULT)0x80040241)
97 #define VFW_E_FILE_TOO_SHORT ((HRESULT)0x80040243)
98 #define VFW_E_INVALID_FILE_VERSION ((HRESULT)0x80040244)
99 #define VFW_E_INVALID_CLSID ((HRESULT)0x80040247)
100 #define VFW_E_INVALID_MEDIA_TYPE ((HRESULT)0x80040248)
101 #define VFW_E_SAMPLE_TIME_NOT_SET ((HRESULT)0x80040249)
102 #define VFW_E_MEDIA_TIME_NOT_SET ((HRESULT)0x80040251)
103 #define VFW_E_NO_TIME_FORMAT_SET ((HRESULT)0x80040252)
104 #define VFW_E_MONO_AUDIO_HW ((HRESULT)0x80040253)
105 #define VFW_E_NO_DECOMPRESSOR ((HRESULT)0x80040255)
106 #define VFW_E_NO_AUDIO_HARDWARE ((HRESULT)0x80040256)
107 #define VFW_E_RPZA ((HRESULT)0x80040259)
108 #define VFW_E_PROCESSOR_NOT_SUITABLE ((HRESULT)0x8004025B)
109 #define VFW_E_UNSUPPORTED_AUDIO ((HRESULT)0x8004025C)
110 #define VFW_E_UNSUPPORTED_VIDEO ((HRESULT)0x8004025D)
111 #define VFW_E_MPEG_NOT_CONSTRAINED ((HRESULT)0x8004025E)
112 #define VFW_E_NOT_IN_GRAPH ((HRESULT)0x8004025F)
113 #define VFW_E_NO_TIME_FORMAT ((HRESULT)0x80040261)
114 #define VFW_E_READ_ONLY ((HRESULT)0x80040262)
115 #define VFW_E_BUFFER_UNDERFLOW ((HRESULT)0x80040264)
116 #define VFW_E_UNSUPPORTED_STREAM ((HRESULT)0x80040265)
117 #define VFW_E_NO_TRANSPORT ((HRESULT)0x80040266)
118 #define VFW_E_BAD_VIDEOCD ((HRESULT)0x80040269)
119 #define VFW_E_OUT_OF_VIDEO_MEMORY ((HRESULT)0x80040271)
120 #define VFW_E_VP_NEGOTIATION_FAILED ((HRESULT)0x80040272)
121 #define VFW_E_DDRAW_CAPS_NOT_SUITABLE ((HRESULT)0x80040273)
122 #define VFW_E_NO_VP_HARDWARE ((HRESULT)0x80040274)
123 #define VFW_E_NO_CAPTURE_HARDWARE ((HRESULT)0x80040275)
124 #define VFW_E_DVD_OPERATION_INHIBITED ((HRESULT)0x80040276)
125 #define VFW_E_DVD_INVALIDDOMAIN ((HRESULT)0x80040277)
126 #define VFW_E_DVD_NO_BUTTON ((HRESULT)0x80040278)
127 #define VFW_E_DVD_GRAPHNOTREADY ((HRESULT)0x80040279)
128 #define VFW_E_DVD_RENDERFAIL ((HRESULT)0x8004027A)
129 #define VFW_E_DVD_DECNOTENOUGH ((HRESULT)0x8004027B)
130 #define VFW_E_DDRAW_VERSION_NOT_SUITABLE ((HRESULT)0x8004027C)
131 #define VFW_E_COPYPROT_FAILED ((HRESULT)0x8004027D)
132 #define VFW_E_TIME_EXPIRED ((HRESULT)0x8004027F)
133 #define VFW_E_BAD_KEY ((HRESULT)0x800403F2)
134
135 #ifndef E_PROP_ID_UNSUPPORTED
136 #define E_PROP_ID_UNSUPPORTED ((HRESULT)0x80070490)
137 #endif
138 #ifndef E_PROP_SET_UNSUPPORTED
139 #define E_PROP_SET_UNSUPPORTED ((HRESULT)0x80070492)
140 #endif