include: Fix definition of DRIVER_EXTENSION.
[wine.git] / include / d3d10sdklayers.idl
blobbe00876230b72f338d9a7bddf379b898c9345b96
1 /*
2 * Copyright 2016 Alistair Leslie-Hughes
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.
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.
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
19 import "oaidl.idl";
20 import "ocidl.idl";
21 import "dxgi.idl";
23 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
24 cpp_quote("#undef GetMessage")
25 cpp_quote("#endif")
27 typedef enum D3D10_MESSAGE_CATEGORY
29 D3D10_MESSAGE_CATEGORY_APPLICATION_DEFINED,
30 D3D10_MESSAGE_CATEGORY_MISCELLANEOUS,
31 D3D10_MESSAGE_CATEGORY_INITIALIZATION,
32 D3D10_MESSAGE_CATEGORY_CLEANUP,
33 D3D10_MESSAGE_CATEGORY_COMPILATION,
34 D3D10_MESSAGE_CATEGORY_STATE_CREATION,
35 D3D10_MESSAGE_CATEGORY_STATE_SETTING,
36 D3D10_MESSAGE_CATEGORY_STATE_GETTING,
37 D3D10_MESSAGE_CATEGORY_RESOURCE_MANIPULATION,
38 D3D10_MESSAGE_CATEGORY_EXECUTION,
39 D3D10_MESSAGE_CATEGORY_SHADER,
40 } D3D10_MESSAGE_CATEGORY;
42 typedef enum D3D10_MESSAGE_SEVERITY
44 D3D10_MESSAGE_SEVERITY_CORRUPTION,
45 D3D10_MESSAGE_SEVERITY_ERROR,
46 D3D10_MESSAGE_SEVERITY_WARNING,
47 D3D10_MESSAGE_SEVERITY_INFO,
48 D3D10_MESSAGE_SEVERITY_MESSAGE,
49 } D3D10_MESSAGE_SEVERITY;
51 typedef enum D3D10_MESSAGE_ID
53 D3D10_MESSAGE_ID_UNKNOWN = 0,
54 D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_HAZARD,
55 D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_HAZARD,
56 D3D10_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_HAZARD,
57 D3D10_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_HAZARD,
58 D3D10_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_HAZARD,
59 D3D10_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_HAZARD,
60 D3D10_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_HAZARD,
61 D3D10_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_HAZARD,
62 D3D10_MESSAGE_ID_DEVICE_OMSETRENDERTARGETS_HAZARD,
63 D3D10_MESSAGE_ID_DEVICE_SOSETTARGETS_HAZARD,
64 D3D10_MESSAGE_ID_STRING_FROM_APPLICATION,
65 D3D10_MESSAGE_ID_CORRUPTED_THIS,
66 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER1,
67 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER2,
68 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER3,
69 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER4,
70 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER5,
71 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER6,
72 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER7,
73 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER8,
74 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER9,
75 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER10,
76 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER11,
77 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER12,
78 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER13,
79 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER14,
80 D3D10_MESSAGE_ID_CORRUPTED_PARAMETER15,
81 D3D10_MESSAGE_ID_CORRUPTED_MULTITHREADING,
82 D3D10_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY,
83 D3D10_MESSAGE_ID_IASETINPUTLAYOUT_UNBINDDELETINGOBJECT,
84 D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT,
85 D3D10_MESSAGE_ID_IASETINDEXBUFFER_UNBINDDELETINGOBJECT,
86 D3D10_MESSAGE_ID_VSSETSHADER_UNBINDDELETINGOBJECT,
87 D3D10_MESSAGE_ID_VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT,
88 D3D10_MESSAGE_ID_VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT,
89 D3D10_MESSAGE_ID_VSSETSAMPLERS_UNBINDDELETINGOBJECT,
90 D3D10_MESSAGE_ID_GSSETSHADER_UNBINDDELETINGOBJECT,
91 D3D10_MESSAGE_ID_GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT,
92 D3D10_MESSAGE_ID_GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT,
93 D3D10_MESSAGE_ID_GSSETSAMPLERS_UNBINDDELETINGOBJECT,
94 D3D10_MESSAGE_ID_SOSETTARGETS_UNBINDDELETINGOBJECT,
95 D3D10_MESSAGE_ID_PSSETSHADER_UNBINDDELETINGOBJECT,
96 D3D10_MESSAGE_ID_PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT,
97 D3D10_MESSAGE_ID_PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT,
98 D3D10_MESSAGE_ID_PSSETSAMPLERS_UNBINDDELETINGOBJECT,
99 D3D10_MESSAGE_ID_RSSETSTATE_UNBINDDELETINGOBJECT,
100 D3D10_MESSAGE_ID_OMSETBLENDSTATE_UNBINDDELETINGOBJECT,
101 D3D10_MESSAGE_ID_OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT,
102 D3D10_MESSAGE_ID_OMSETRENDERTARGETS_UNBINDDELETINGOBJECT,
103 D3D10_MESSAGE_ID_SETPREDICATION_UNBINDDELETINGOBJECT,
104 D3D10_MESSAGE_ID_GETPRIVATEDATA_MOREDATA,
105 D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA,
106 D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDIUNKNOWN,
107 D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDFLAGS,
108 D3D10_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS,
109 D3D10_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY,
110 D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDFORMAT,
111 D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDSAMPLES,
112 D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDUSAGE,
113 D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDBINDFLAGS,
114 D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS,
115 D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDMISCFLAGS,
116 D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDCPUACCESSFLAGS,
117 D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDBINDFLAGS,
118 D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDINITIALDATA,
119 D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDDIMENSIONS,
120 D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDMIPLEVELS,
121 D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDMISCFLAGS,
122 D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDARG_RETURN,
123 D3D10_MESSAGE_ID_CREATEBUFFER_OUTOFMEMORY_RETURN,
124 D3D10_MESSAGE_ID_CREATEBUFFER_NULLDESC,
125 D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS,
126 D3D10_MESSAGE_ID_CREATEBUFFER_LARGEALLOCATION,
127 D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDFORMAT,
128 D3D10_MESSAGE_ID_CREATETEXTURE1D_UNSUPPORTEDFORMAT,
129 D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDSAMPLES,
130 D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDUSAGE,
131 D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS,
132 D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS,
133 D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS,
134 D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDCPUACCESSFLAGS,
135 D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDBINDFLAGS,
136 D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDINITIALDATA,
137 D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDDIMENSIONS,
138 D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDMIPLEVELS,
139 D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDMISCFLAGS,
140 D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDARG_RETURN,
141 D3D10_MESSAGE_ID_CREATETEXTURE1D_OUTOFMEMORY_RETURN,
142 D3D10_MESSAGE_ID_CREATETEXTURE1D_NULLDESC,
143 D3D10_MESSAGE_ID_CREATETEXTURE1D_LARGEALLOCATION,
144 D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDFORMAT,
145 D3D10_MESSAGE_ID_CREATETEXTURE2D_UNSUPPORTEDFORMAT,
146 D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDSAMPLES,
147 D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDUSAGE,
148 D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS,
149 D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS,
150 D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS,
151 D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDCPUACCESSFLAGS,
152 D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDBINDFLAGS,
153 D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDINITIALDATA,
154 D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS,
155 D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDMIPLEVELS,
156 D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDMISCFLAGS,
157 D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDARG_RETURN,
158 D3D10_MESSAGE_ID_CREATETEXTURE2D_OUTOFMEMORY_RETURN,
159 D3D10_MESSAGE_ID_CREATETEXTURE2D_NULLDESC,
160 D3D10_MESSAGE_ID_CREATETEXTURE2D_LARGEALLOCATION,
161 D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDFORMAT,
162 D3D10_MESSAGE_ID_CREATETEXTURE3D_UNSUPPORTEDFORMAT,
163 D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDSAMPLES,
164 D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDUSAGE,
165 D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS,
166 D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS,
167 D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS,
168 D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDCPUACCESSFLAGS,
169 D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDBINDFLAGS,
170 D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDINITIALDATA,
171 D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDDIMENSIONS,
172 D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDMIPLEVELS,
173 D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDMISCFLAGS,
174 D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDARG_RETURN,
175 D3D10_MESSAGE_ID_CREATETEXTURE3D_OUTOFMEMORY_RETURN,
176 D3D10_MESSAGE_ID_CREATETEXTURE3D_NULLDESC,
177 D3D10_MESSAGE_ID_CREATETEXTURE3D_LARGEALLOCATION,
178 D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT,
179 D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC,
180 D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT,
181 D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS,
182 D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE,
183 D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS,
184 D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN,
185 D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN,
186 D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT,
187 D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT,
188 D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC,
189 D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT,
190 D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS,
191 D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE,
192 D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_TOOMANYOBJECTS,
193 D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDARG_RETURN,
194 D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN,
195 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT,
196 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC,
197 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT,
198 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS,
199 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE,
200 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS,
201 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN,
202 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN,
203 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY,
204 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS,
205 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT,
206 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT,
207 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT,
208 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS,
209 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH,
210 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE,
211 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE,
212 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT,
213 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC,
214 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE,
215 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC,
216 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT,
217 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_NULLDESC,
218 D3D10_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY,
219 D3D10_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE,
220 D3D10_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE,
221 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY,
222 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE,
223 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE,
224 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY,
225 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE,
226 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE,
227 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES,
228 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED,
229 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL,
230 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL,
231 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED,
232 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT,
233 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT,
234 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT,
235 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT,
236 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION,
237 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT,
238 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE,
239 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC,
240 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH,
241 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS,
242 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX,
243 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE,
244 D3D10_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY,
245 D3D10_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE,
246 D3D10_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE,
247 D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE,
248 D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE,
249 D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP,
250 D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS,
251 D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_TOOMANYOBJECTS,
252 D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_NULLDESC,
253 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK,
254 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC,
255 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP,
256 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP,
257 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP,
258 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC,
259 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP,
260 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP,
261 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP,
262 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC,
263 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS,
264 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_NULLDESC,
265 D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND,
266 D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND,
267 D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP,
268 D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA,
269 D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA,
270 D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA,
271 D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK,
272 D3D10_MESSAGE_ID_CREATEBLENDSTATE_TOOMANYOBJECTS,
273 D3D10_MESSAGE_ID_CREATEBLENDSTATE_NULLDESC,
274 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDFILTER,
275 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSU,
276 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSV,
277 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSW,
278 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMIPLODBIAS,
279 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXANISOTROPY,
280 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC,
281 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMINLOD,
282 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXLOD,
283 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_TOOMANYOBJECTS,
284 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NULLDESC,
285 D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDQUERY,
286 D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDMISCFLAGS,
287 D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG,
288 D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_NULLDESC,
289 D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED,
290 D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED,
291 D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_INVALIDBUFFER,
292 D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE,
293 D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY,
294 D3D10_MESSAGE_ID_IASETINDEXBUFFER_INVALIDBUFFER,
295 D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_FORMAT_INVALID,
296 D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE,
297 D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED,
298 D3D10_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY,
299 D3D10_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFER,
300 D3D10_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY,
301 D3D10_MESSAGE_ID_DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY,
302 D3D10_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY,
303 D3D10_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFER,
304 D3D10_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY,
305 D3D10_MESSAGE_ID_DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY,
306 D3D10_MESSAGE_ID_SOSETTARGETS_INVALIDBUFFER,
307 D3D10_MESSAGE_ID_DEVICE_SOSETTARGETS_OFFSET_UNALIGNED,
308 D3D10_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY,
309 D3D10_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFER,
310 D3D10_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY,
311 D3D10_MESSAGE_ID_DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY,
312 D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT,
313 D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR,
314 D3D10_MESSAGE_ID_CLEARRENDERTARGETVIEW_DENORMFLUSH,
315 D3D10_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DENORMFLUSH,
316 D3D10_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID,
317 D3D10_MESSAGE_ID_DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY,
318 D3D10_MESSAGE_ID_DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY,
319 D3D10_MESSAGE_ID_DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY,
320 D3D10_MESSAGE_ID_DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY,
321 D3D10_MESSAGE_ID_DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY,
322 D3D10_MESSAGE_ID_DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY,
323 D3D10_MESSAGE_ID_DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY,
324 D3D10_MESSAGE_ID_DEVICE_SOGETTARGETS_BUFFERS_EMPTY,
325 D3D10_MESSAGE_ID_DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY,
326 D3D10_MESSAGE_ID_DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY,
327 D3D10_MESSAGE_ID_DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY,
328 D3D10_MESSAGE_ID_DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY,
329 D3D10_MESSAGE_ID_DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY,
330 D3D10_MESSAGE_ID_DEVICE_GENERATEMIPS_RESOURCE_INVALID,
331 D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE,
332 D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE,
333 D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCEBOX,
334 D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCE,
335 D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE,
336 D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESTATE,
337 D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCE,
338 D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDDESTINATIONSTATE,
339 D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCESTATE,
340 D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE,
341 D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONBOX,
342 D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE,
343 D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID,
344 D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID,
345 D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID,
346 D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID,
347 D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID,
348 D3D10_MESSAGE_ID_BUFFER_MAP_INVALIDMAPTYPE,
349 D3D10_MESSAGE_ID_BUFFER_MAP_INVALIDFLAGS,
350 D3D10_MESSAGE_ID_BUFFER_MAP_ALREADYMAPPED,
351 D3D10_MESSAGE_ID_BUFFER_MAP_DEVICEREMOVED_RETURN,
352 D3D10_MESSAGE_ID_BUFFER_UNMAP_NOTMAPPED,
353 D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDMAPTYPE,
354 D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDSUBRESOURCE,
355 D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDFLAGS,
356 D3D10_MESSAGE_ID_TEXTURE1D_MAP_ALREADYMAPPED,
357 D3D10_MESSAGE_ID_TEXTURE1D_MAP_DEVICEREMOVED_RETURN,
358 D3D10_MESSAGE_ID_TEXTURE1D_UNMAP_INVALIDSUBRESOURCE,
359 D3D10_MESSAGE_ID_TEXTURE1D_UNMAP_NOTMAPPED,
360 D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDMAPTYPE,
361 D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDSUBRESOURCE,
362 D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDFLAGS,
363 D3D10_MESSAGE_ID_TEXTURE2D_MAP_ALREADYMAPPED,
364 D3D10_MESSAGE_ID_TEXTURE2D_MAP_DEVICEREMOVED_RETURN,
365 D3D10_MESSAGE_ID_TEXTURE2D_UNMAP_INVALIDSUBRESOURCE,
366 D3D10_MESSAGE_ID_TEXTURE2D_UNMAP_NOTMAPPED,
367 D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDMAPTYPE,
368 D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDSUBRESOURCE,
369 D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDFLAGS,
370 D3D10_MESSAGE_ID_TEXTURE3D_MAP_ALREADYMAPPED,
371 D3D10_MESSAGE_ID_TEXTURE3D_MAP_DEVICEREMOVED_RETURN,
372 D3D10_MESSAGE_ID_TEXTURE3D_UNMAP_INVALIDSUBRESOURCE,
373 D3D10_MESSAGE_ID_TEXTURE3D_UNMAP_NOTMAPPED,
374 D3D10_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_DEPRECATED,
375 D3D10_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED,
376 D3D10_MESSAGE_ID_SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS,
377 D3D10_MESSAGE_ID_SETEXCEPTIONMODE_INVALIDARG_RETURN,
378 D3D10_MESSAGE_ID_SETEXCEPTIONMODE_DEVICEREMOVED_RETURN,
379 D3D10_MESSAGE_ID_REF_SIMULATING_INFINITELY_FAST_HARDWARE,
380 D3D10_MESSAGE_ID_REF_THREADING_MODE,
381 D3D10_MESSAGE_ID_REF_UMDRIVER_EXCEPTION,
382 D3D10_MESSAGE_ID_REF_KMDRIVER_EXCEPTION,
383 D3D10_MESSAGE_ID_REF_HARDWARE_EXCEPTION,
384 D3D10_MESSAGE_ID_REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE,
385 D3D10_MESSAGE_ID_REF_PROBLEM_PARSING_SHADER,
386 D3D10_MESSAGE_ID_REF_OUT_OF_MEMORY,
387 D3D10_MESSAGE_ID_REF_INFO,
388 D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEXPOS_OVERFLOW,
389 D3D10_MESSAGE_ID_DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW,
390 D3D10_MESSAGE_ID_DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW,
391 D3D10_MESSAGE_ID_DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW,
392 D3D10_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW,
393 D3D10_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW,
394 D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET,
395 D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND,
396 D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERINDEX,
397 D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_COMPONENTTYPE,
398 D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERMASK,
399 D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SYSTEMVALUE,
400 D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS,
401 D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_NOT_SET,
402 D3D10_MESSAGE_ID_DEVICE_DRAW_INPUTLAYOUT_NOT_SET,
403 D3D10_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET,
404 D3D10_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL,
405 D3D10_MESSAGE_ID_DEVICE_DRAW_SAMPLER_NOT_SET,
406 D3D10_MESSAGE_ID_DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET,
407 D3D10_MESSAGE_ID_DEVICE_DRAW_VIEW_DIMENSION_MISMATCH,
408 D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL,
409 D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL,
410 D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_NOT_SET,
411 D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID,
412 D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL,
413 D3D10_MESSAGE_ID_DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH,
414 D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH,
415 D3D10_MESSAGE_ID_DEVICE_DRAW_POSITION_NOT_PRESENT,
416 D3D10_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_NOT_SET,
417 D3D10_MESSAGE_ID_DEVICE_DRAW_BOUND_RESOURCE_MAPPED,
418 D3D10_MESSAGE_ID_DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY,
419 D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED,
420 D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED,
421 D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_OFFSET_UNALIGNED,
422 D3D10_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED,
423 D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED,
424 D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED,
425 D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED,
426 D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED,
427 D3D10_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE,
428 D3D10_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER,
429 D3D10_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING,
430 D3D10_MESSAGE_ID_DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0,
431 D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT,
432 D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT,
433 D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT,
434 D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN,
435 D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN,
436 D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN,
437 D3D10_MESSAGE_ID_DEVICE_DRAW_VIEWPORT_NOT_SET,
438 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC,
439 D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC,
440 D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_DENORMFLUSH,
441 D3D10_MESSAGE_ID_OMSETRENDERTARGETS_INVALIDVIEW,
442 D3D10_MESSAGE_ID_DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS,
443 D3D10_MESSAGE_ID_DEVICE_DRAW_SAMPLER_MISMATCH,
444 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH,
445 D3D10_MESSAGE_ID_BLENDSTATE_GETDESC_LEGACY,
446 D3D10_MESSAGE_ID_SHADERRESOURCEVIEW_GETDESC_LEGACY,
447 D3D10_MESSAGE_ID_CREATEQUERY_OUTOFMEMORY_RETURN,
448 D3D10_MESSAGE_ID_CREATEPREDICATE_OUTOFMEMORY_RETURN,
449 D3D10_MESSAGE_ID_CREATECOUNTER_OUTOFRANGE_COUNTER,
450 D3D10_MESSAGE_ID_CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED,
451 D3D10_MESSAGE_ID_CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER,
452 D3D10_MESSAGE_ID_CREATECOUNTER_OUTOFMEMORY_RETURN,
453 D3D10_MESSAGE_ID_CREATECOUNTER_NONEXCLUSIVE_RETURN,
454 D3D10_MESSAGE_ID_CREATECOUNTER_NULLDESC,
455 D3D10_MESSAGE_ID_CHECKCOUNTER_OUTOFRANGE_COUNTER,
456 D3D10_MESSAGE_ID_CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER,
457 D3D10_MESSAGE_ID_SETPREDICATION_INVALID_PREDICATE_STATE,
458 D3D10_MESSAGE_ID_QUERY_BEGIN_UNSUPPORTED,
459 D3D10_MESSAGE_ID_PREDICATE_BEGIN_DURING_PREDICATION,
460 D3D10_MESSAGE_ID_QUERY_BEGIN_DUPLICATE,
461 D3D10_MESSAGE_ID_QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS,
462 D3D10_MESSAGE_ID_PREDICATE_END_DURING_PREDICATION,
463 D3D10_MESSAGE_ID_QUERY_END_ABANDONING_PREVIOUS_RESULTS,
464 D3D10_MESSAGE_ID_QUERY_END_WITHOUT_BEGIN,
465 D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE,
466 D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS,
467 D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL,
468 D3D10_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH,
469 D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED,
470 D3D10_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN,
471 D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE,
472 D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE,
473 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT,
474 D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH,
475 D3D10_MESSAGE_ID_LIVE_OBJECT_SUMMARY,
476 D3D10_MESSAGE_ID_LIVE_BUFFER,
477 D3D10_MESSAGE_ID_LIVE_TEXTURE1D,
478 D3D10_MESSAGE_ID_LIVE_TEXTURE2D,
479 D3D10_MESSAGE_ID_LIVE_TEXTURE3D,
480 D3D10_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW,
481 D3D10_MESSAGE_ID_LIVE_RENDERTARGETVIEW,
482 D3D10_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW,
483 D3D10_MESSAGE_ID_LIVE_VERTEXSHADER,
484 D3D10_MESSAGE_ID_LIVE_GEOMETRYSHADER,
485 D3D10_MESSAGE_ID_LIVE_PIXELSHADER,
486 D3D10_MESSAGE_ID_LIVE_INPUTLAYOUT,
487 D3D10_MESSAGE_ID_LIVE_SAMPLER,
488 D3D10_MESSAGE_ID_LIVE_BLENDSTATE,
489 D3D10_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE,
490 D3D10_MESSAGE_ID_LIVE_RASTERIZERSTATE,
491 D3D10_MESSAGE_ID_LIVE_QUERY,
492 D3D10_MESSAGE_ID_LIVE_PREDICATE,
493 D3D10_MESSAGE_ID_LIVE_COUNTER,
494 D3D10_MESSAGE_ID_LIVE_DEVICE,
495 D3D10_MESSAGE_ID_LIVE_SWAPCHAIN,
496 D3D10_MESSAGE_ID_D3D10_MESSAGES_END,
498 D3D10_MESSAGE_ID_D3D10L9_MESSAGES_START = 0x00100000,
499 D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED,
500 D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED,
501 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT,
502 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY,
503 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE,
504 D3D10_MESSAGE_ID_VSSETSAMPLERS_NOT_SUPPORTED,
505 D3D10_MESSAGE_ID_VSSETSAMPLERS_TOO_MANY_SAMPLERS,
506 D3D10_MESSAGE_ID_PSSETSAMPLERS_TOO_MANY_SAMPLERS,
507 D3D10_MESSAGE_ID_CREATERESOURCE_NO_ARRAYS,
508 D3D10_MESSAGE_ID_CREATERESOURCE_NO_VB_AND_IB_BIND,
509 D3D10_MESSAGE_ID_CREATERESOURCE_NO_TEXTURE_1D,
510 D3D10_MESSAGE_ID_CREATERESOURCE_DIMENSION_OUT_OF_RANGE,
511 D3D10_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE,
512 D3D10_MESSAGE_ID_OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS,
513 D3D10_MESSAGE_ID_OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS,
514 D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_BAD_BUFFER_INDEX,
515 D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS,
516 D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED,
517 D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS,
518 D3D10_MESSAGE_ID_COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY,
519 D3D10_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_3D_READBACK,
520 D3D10_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_ONLY_READBACK,
521 D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT,
522 D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE,
523 D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE,
524 D3D10_MESSAGE_ID_DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE,
525 D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD,
526 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL,
527 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX,
528 D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO,
529 D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES,
530 D3D10_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET,
531 D3D10_MESSAGE_ID_CREATERESOURCE_NO_DWORD_INDEX_BUFFER,
532 D3D10_MESSAGE_ID_CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE,
533 D3D10_MESSAGE_ID_CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE,
534 D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE,
535 D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS,
536 D3D10_MESSAGE_ID_CREATERESOURCE_NO_STREAM_OUT,
537 D3D10_MESSAGE_ID_CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS,
538 D3D10_MESSAGE_ID_CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES,
539 D3D10_MESSAGE_ID_CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED,
540 D3D10_MESSAGE_ID_VSSHADERRESOURCES_NOT_SUPPORTED,
541 D3D10_MESSAGE_ID_GEOMETRY_SHADER_NOT_SUPPORTED,
542 D3D10_MESSAGE_ID_STREAM_OUT_NOT_SUPPORTED,
543 D3D10_MESSAGE_ID_TEXT_FILTER_NOT_SUPPORTED,
544 D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND,
545 D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_MRT_BLEND,
546 D3D10_MESSAGE_ID_CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED,
547 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NO_MIRRORONCE,
548 D3D10_MESSAGE_ID_DRAWINSTANCED_NOT_SUPPORTED,
549 D3D10_MESSAGE_ID_DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3,
550 D3D10_MESSAGE_ID_DRAWINDEXED_POINTLIST_UNSUPPORTED,
551 D3D10_MESSAGE_ID_SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO,
552 D3D10_MESSAGE_ID_CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION,
553 D3D10_MESSAGE_ID_CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED,
554 D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR,
555 D3D10_MESSAGE_ID_SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA,
556 D3D10_MESSAGE_ID_CREATERESOURCE_NON_POW_2_MIPMAP,
557 D3D10_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED,
558 D3D10_MESSAGE_ID_OMSETRENDERTARGETS_NO_SRGB_MRT,
559 D3D10_MESSAGE_ID_COPYRESOURCE_NO_3D_MISMATCHED_UPDATES,
560 D3D10_MESSAGE_ID_D3D10L9_MESSAGES_END,
561 } D3D10_MESSAGE_ID;
563 typedef struct D3D10_MESSAGE
565 D3D10_MESSAGE_CATEGORY Category;
566 D3D10_MESSAGE_SEVERITY Severity;
567 D3D10_MESSAGE_ID ID;
568 const char *pDescription;
569 SIZE_T DescriptionByteLength;
570 } D3D10_MESSAGE;
572 typedef struct D3D10_INFO_QUEUE_FILTER_DESC
574 UINT NumCategories;
575 D3D10_MESSAGE_CATEGORY *pCategoryList;
576 UINT NumSeverities;
577 D3D10_MESSAGE_SEVERITY *pSeverityList;
578 UINT NumIDs;
579 D3D10_MESSAGE_ID *pIDList;
580 } D3D10_INFO_QUEUE_FILTER_DESC;
582 typedef struct D3D10_INFO_QUEUE_FILTER
584 D3D10_INFO_QUEUE_FILTER_DESC AllowList;
585 D3D10_INFO_QUEUE_FILTER_DESC DenyList;
586 } D3D10_INFO_QUEUE_FILTER;
589 local,
590 object,
591 uuid(1b940b17-2642-4d1f-ab1f-b99bad0c395f),
592 pointer_default(unique)
594 interface ID3D10InfoQueue : IUnknown
596 HRESULT SetMessageCountLimit(
597 [in] UINT64 limit
599 void ClearStoredMessages();
600 HRESULT GetMessage(
601 [in] UINT64 message_idx,
602 [out] D3D10_MESSAGE *message,
603 [in, out] SIZE_T *message_size
605 UINT64 GetNumMessagesAllowedByStorageFilter();
606 UINT64 GetNumMessagesDeniedByStorageFilter();
607 UINT64 GetNumStoredMessages();
608 UINT64 GetNumStoredMessagesAllowedByRetrievalFilter();
609 UINT64 GetNumMessagesDiscardedByMessageCountLimit();
610 UINT64 GetMessageCountLimit();
611 HRESULT AddStorageFilterEntries(
612 [in] D3D10_INFO_QUEUE_FILTER *filter
614 HRESULT GetStorageFilter(
615 [out] D3D10_INFO_QUEUE_FILTER *filter,
616 [in, out] SIZE_T *filter_size
618 void ClearStorageFilter();
619 HRESULT PushEmptyStorageFilter();
620 HRESULT PushCopyOfStorageFilter();
621 HRESULT PushStorageFilter(
622 [in] D3D10_INFO_QUEUE_FILTER *filter
624 void PopStorageFilter();
625 UINT GetStorageFilterStackSize();
626 HRESULT AddRetrievalFilterEntries(
627 [in] D3D10_INFO_QUEUE_FILTER *filter
629 HRESULT GetRetrievalFilter(
630 [out] D3D10_INFO_QUEUE_FILTER *filter,
631 [in, out] SIZE_T *filterbytelength
633 void ClearRetrievalFilter();
634 HRESULT PushEmptyRetrievalFilter();
635 HRESULT PushCopyOfRetrievalFilter();
636 HRESULT PushRetrievalFilter(
637 [in] D3D10_INFO_QUEUE_FILTER *filter
639 void PopRetrievalFilter();
640 UINT GetRetrievalFilterStackSize();
641 HRESULT AddMessage(
642 [in] D3D10_MESSAGE_CATEGORY category,
643 [in] D3D10_MESSAGE_SEVERITY severity,
644 [in] D3D10_MESSAGE_ID id,
645 [in] const char *description
647 HRESULT AddApplicationMessage(
648 [in] D3D10_MESSAGE_SEVERITY severity,
649 [in] const char *description
651 HRESULT SetBreakOnCategory(
652 [in] D3D10_MESSAGE_CATEGORY category,
653 [in] BOOL enable
655 HRESULT SetBreakOnSeverity(
656 [in] D3D10_MESSAGE_SEVERITY severity,
657 [in] BOOL enable
659 HRESULT SetBreakOnID(
660 [in] D3D10_MESSAGE_ID id,
661 [in] BOOL enable
663 BOOL GetBreakOnCategory(
664 [in] D3D10_MESSAGE_CATEGORY category
666 BOOL GetBreakOnSeverity(
667 [in] D3D10_MESSAGE_SEVERITY severity
669 BOOL GetBreakOnID(
670 [in] D3D10_MESSAGE_ID id
672 void SetMuteDebugOutput(
673 [in] BOOL mute
675 BOOL GetMuteDebugOutput();