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