source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/d3d10.h@ 1181

Last change on this file since 1181 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 216.9 KB
Line 
1/*** Autogenerated by WIDL 6.4 from include/d3d10.idl - Do not edit ***/
2
3#ifdef _WIN32
4#ifndef __REQUIRED_RPCNDR_H_VERSION__
5#define __REQUIRED_RPCNDR_H_VERSION__ 475
6#endif
7#include <rpc.h>
8#include <rpcndr.h>
9#endif
10
11#ifndef COM_NO_WINDOWS_H
12#include <windows.h>
13#include <ole2.h>
14#endif
15
16#ifndef __d3d10_h__
17#define __d3d10_h__
18
19/* Forward declarations */
20
21#ifndef __ID3D10DeviceChild_FWD_DEFINED__
22#define __ID3D10DeviceChild_FWD_DEFINED__
23typedef interface ID3D10DeviceChild ID3D10DeviceChild;
24#ifdef __cplusplus
25interface ID3D10DeviceChild;
26#endif /* __cplusplus */
27#endif
28
29#ifndef __ID3D10Resource_FWD_DEFINED__
30#define __ID3D10Resource_FWD_DEFINED__
31typedef interface ID3D10Resource ID3D10Resource;
32#ifdef __cplusplus
33interface ID3D10Resource;
34#endif /* __cplusplus */
35#endif
36
37#ifndef __ID3D10Buffer_FWD_DEFINED__
38#define __ID3D10Buffer_FWD_DEFINED__
39typedef interface ID3D10Buffer ID3D10Buffer;
40#ifdef __cplusplus
41interface ID3D10Buffer;
42#endif /* __cplusplus */
43#endif
44
45#ifndef __ID3D10Texture1D_FWD_DEFINED__
46#define __ID3D10Texture1D_FWD_DEFINED__
47typedef interface ID3D10Texture1D ID3D10Texture1D;
48#ifdef __cplusplus
49interface ID3D10Texture1D;
50#endif /* __cplusplus */
51#endif
52
53#ifndef __ID3D10Texture2D_FWD_DEFINED__
54#define __ID3D10Texture2D_FWD_DEFINED__
55typedef interface ID3D10Texture2D ID3D10Texture2D;
56#ifdef __cplusplus
57interface ID3D10Texture2D;
58#endif /* __cplusplus */
59#endif
60
61#ifndef __ID3D10Texture3D_FWD_DEFINED__
62#define __ID3D10Texture3D_FWD_DEFINED__
63typedef interface ID3D10Texture3D ID3D10Texture3D;
64#ifdef __cplusplus
65interface ID3D10Texture3D;
66#endif /* __cplusplus */
67#endif
68
69#ifndef __ID3D10View_FWD_DEFINED__
70#define __ID3D10View_FWD_DEFINED__
71typedef interface ID3D10View ID3D10View;
72#ifdef __cplusplus
73interface ID3D10View;
74#endif /* __cplusplus */
75#endif
76
77#ifndef __ID3D10DepthStencilView_FWD_DEFINED__
78#define __ID3D10DepthStencilView_FWD_DEFINED__
79typedef interface ID3D10DepthStencilView ID3D10DepthStencilView;
80#ifdef __cplusplus
81interface ID3D10DepthStencilView;
82#endif /* __cplusplus */
83#endif
84
85#ifndef __ID3D10RenderTargetView_FWD_DEFINED__
86#define __ID3D10RenderTargetView_FWD_DEFINED__
87typedef interface ID3D10RenderTargetView ID3D10RenderTargetView;
88#ifdef __cplusplus
89interface ID3D10RenderTargetView;
90#endif /* __cplusplus */
91#endif
92
93#ifndef __ID3D10ShaderResourceView_FWD_DEFINED__
94#define __ID3D10ShaderResourceView_FWD_DEFINED__
95typedef interface ID3D10ShaderResourceView ID3D10ShaderResourceView;
96#ifdef __cplusplus
97interface ID3D10ShaderResourceView;
98#endif /* __cplusplus */
99#endif
100
101#ifndef __ID3D10BlendState_FWD_DEFINED__
102#define __ID3D10BlendState_FWD_DEFINED__
103typedef interface ID3D10BlendState ID3D10BlendState;
104#ifdef __cplusplus
105interface ID3D10BlendState;
106#endif /* __cplusplus */
107#endif
108
109#ifndef __ID3D10DepthStencilState_FWD_DEFINED__
110#define __ID3D10DepthStencilState_FWD_DEFINED__
111typedef interface ID3D10DepthStencilState ID3D10DepthStencilState;
112#ifdef __cplusplus
113interface ID3D10DepthStencilState;
114#endif /* __cplusplus */
115#endif
116
117#ifndef __ID3D10GeometryShader_FWD_DEFINED__
118#define __ID3D10GeometryShader_FWD_DEFINED__
119typedef interface ID3D10GeometryShader ID3D10GeometryShader;
120#ifdef __cplusplus
121interface ID3D10GeometryShader;
122#endif /* __cplusplus */
123#endif
124
125#ifndef __ID3D10InputLayout_FWD_DEFINED__
126#define __ID3D10InputLayout_FWD_DEFINED__
127typedef interface ID3D10InputLayout ID3D10InputLayout;
128#ifdef __cplusplus
129interface ID3D10InputLayout;
130#endif /* __cplusplus */
131#endif
132
133#ifndef __ID3D10PixelShader_FWD_DEFINED__
134#define __ID3D10PixelShader_FWD_DEFINED__
135typedef interface ID3D10PixelShader ID3D10PixelShader;
136#ifdef __cplusplus
137interface ID3D10PixelShader;
138#endif /* __cplusplus */
139#endif
140
141#ifndef __ID3D10RasterizerState_FWD_DEFINED__
142#define __ID3D10RasterizerState_FWD_DEFINED__
143typedef interface ID3D10RasterizerState ID3D10RasterizerState;
144#ifdef __cplusplus
145interface ID3D10RasterizerState;
146#endif /* __cplusplus */
147#endif
148
149#ifndef __ID3D10SamplerState_FWD_DEFINED__
150#define __ID3D10SamplerState_FWD_DEFINED__
151typedef interface ID3D10SamplerState ID3D10SamplerState;
152#ifdef __cplusplus
153interface ID3D10SamplerState;
154#endif /* __cplusplus */
155#endif
156
157#ifndef __ID3D10VertexShader_FWD_DEFINED__
158#define __ID3D10VertexShader_FWD_DEFINED__
159typedef interface ID3D10VertexShader ID3D10VertexShader;
160#ifdef __cplusplus
161interface ID3D10VertexShader;
162#endif /* __cplusplus */
163#endif
164
165#ifndef __ID3D10Asynchronous_FWD_DEFINED__
166#define __ID3D10Asynchronous_FWD_DEFINED__
167typedef interface ID3D10Asynchronous ID3D10Asynchronous;
168#ifdef __cplusplus
169interface ID3D10Asynchronous;
170#endif /* __cplusplus */
171#endif
172
173#ifndef __ID3D10Counter_FWD_DEFINED__
174#define __ID3D10Counter_FWD_DEFINED__
175typedef interface ID3D10Counter ID3D10Counter;
176#ifdef __cplusplus
177interface ID3D10Counter;
178#endif /* __cplusplus */
179#endif
180
181#ifndef __ID3D10Query_FWD_DEFINED__
182#define __ID3D10Query_FWD_DEFINED__
183typedef interface ID3D10Query ID3D10Query;
184#ifdef __cplusplus
185interface ID3D10Query;
186#endif /* __cplusplus */
187#endif
188
189#ifndef __ID3D10Predicate_FWD_DEFINED__
190#define __ID3D10Predicate_FWD_DEFINED__
191typedef interface ID3D10Predicate ID3D10Predicate;
192#ifdef __cplusplus
193interface ID3D10Predicate;
194#endif /* __cplusplus */
195#endif
196
197#ifndef __ID3D10Device_FWD_DEFINED__
198#define __ID3D10Device_FWD_DEFINED__
199typedef interface ID3D10Device ID3D10Device;
200#ifdef __cplusplus
201interface ID3D10Device;
202#endif /* __cplusplus */
203#endif
204
205#ifndef __ID3D10Multithread_FWD_DEFINED__
206#define __ID3D10Multithread_FWD_DEFINED__
207typedef interface ID3D10Multithread ID3D10Multithread;
208#ifdef __cplusplus
209interface ID3D10Multithread;
210#endif /* __cplusplus */
211#endif
212
213/* Headers for imported files */
214
215#include <oaidl.h>
216#include <ocidl.h>
217#include <dxgi.h>
218#include <d3dcommon.h>
219
220#ifdef __cplusplus
221extern "C" {
222#endif
223
224#ifndef _D3D10_CONSTANTS
225#define _D3D10_CONSTANTS
226#define D3D10_DEFAULT_BLEND_FACTOR_ALPHA (1.00000000000000)
227
228#define D3D10_DEFAULT_BLEND_FACTOR_BLUE (1.00000000000000)
229
230#define D3D10_DEFAULT_BLEND_FACTOR_GREEN (1.00000000000000)
231
232#define D3D10_DEFAULT_BLEND_FACTOR_RED (1.00000000000000)
233
234#define D3D10_DEFAULT_BORDER_COLOR_COMPONENT (0.00000000000000)
235
236#define D3D10_DEFAULT_SLOPE_SCALED_DEPTH_BIAS (0.00000000000000)
237
238#define D3D10_DEFAULT_DEPTH_BIAS_CLAMP (0.00000000000000)
239
240#define D3D10_DEFAULT_MAX_ANISOTROPY (16.0000000000000)
241
242#define D3D10_DEFAULT_MIP_LOD_BIAS (0.00000000000000)
243
244#define D3D10_DEFAULT_VIEWPORT_MAX_DEPTH (0.00000000000000)
245
246#define D3D10_DEFAULT_VIEWPORT_MIN_DEPTH (0.00000000000000)
247
248#define D3D10_FLOAT16_FUSED_TOLERANCE_IN_ULP (0.600000000000000)
249
250#define D3D10_FLOAT32_MAX (3.40282346600000e+38)
251
252#define D3D10_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP (0.600000000000000)
253
254#define D3D10_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR (2.40000000000000)
255
256#define D3D10_FLOAT_TO_SRGB_EXPONENT_NUMERATOR (1.00000000000000)
257
258#define D3D10_FLOAT_TO_SRGB_OFFSET (0.0550000000000000)
259
260#define D3D10_FLOAT_TO_SRGB_SCALE_1 (12.9200000000000)
261
262#define D3D10_FLOAT_TO_SRGB_SCALE_2 (1.05500000000000)
263
264#define D3D10_FLOAT_TO_SRGB_THRESHOLD (0.00313080000000000)
265
266#define D3D10_FTOI_INSTRUCTION_MAX_INPUT (2147483647.99900)
267
268#define D3D10_FTOI_INSTRUCTION_MIN_INPUT (-2147483648.99900)
269
270#define D3D10_FTOU_INSTRUCTION_MAX_INPUT (4294967295.99900)
271
272#define D3D10_FTOU_INSTRUCTION_MIN_INPUT (0.00000000000000)
273
274#define D3D10_LINEAR_GAMMA (1.00000000000000)
275
276#define D3D10_MAX_BORDER_COLOR_COMPONENT (1.00000000000000)
277
278#define D3D10_MAX_DEPTH (1.00000000000000)
279
280#define D3D10_MAX_POSITION_VALUE (3.40282346600000e+34)
281
282#define D3D10_MIN_BORDER_COLOR_COMPONENT (0.00000000000000)
283
284#define D3D10_MIN_DEPTH (0.00000000000000)
285
286#define D3D10_MIP_LOD_BIAS_MAX (15.9900000000000)
287
288#define D3D10_MIP_LOD_BIAS_MIN (-16.0000000000000)
289
290#define D3D10_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT (0.500000000000000)
291
292#define D3D10_MULTISAMPLE_ANTIALIAS_LINE_WIDTH (1.40000000000000)
293
294#define D3D10_SRGB_GAMMA (2.20000000000000)
295
296#define D3D10_SRGB_TO_FLOAT_DENOMINATOR_1 (12.9200000000000)
297
298#define D3D10_SRGB_TO_FLOAT_DENOMINATOR_2 (1.05500000000000)
299
300#define D3D10_SRGB_TO_FLOAT_EXPONENT (2.40000000000000)
301
302#define D3D10_SRGB_TO_FLOAT_OFFSET (0.0550000000000000)
303
304#define D3D10_SRGB_TO_FLOAT_THRESHOLD (0.0404500000000000)
305
306#define D3D10_SRGB_TO_FLOAT_TOLERANCE_IN_ULP (0.500000000000000)
307
308#define D3D10_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT (0.00000000000000)
309
310#define D3D_SPEC_VERSION (1.05000500000000)
311
312#define D3D10_16BIT_INDEX_STRIP_CUT_VALUE (0xffff)
313
314#define D3D10_32BIT_INDEX_STRIP_CUT_VALUE (0xffffffff)
315
316#define D3D10_8BIT_INDEX_STRIP_CUT_VALUE (0xff)
317
318#define D3D10_ARRAY_AXIS_ADDRESS_RANGE_BIT_COUNT (9)
319
320#define D3D10_CLIP_OR_CULL_DISTANCE_COUNT (8)
321
322#define D3D10_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT (2)
323
324#define D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT (14)
325
326#define D3D10_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS (4)
327
328#define D3D10_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT (32)
329
330#define D3D10_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT (15)
331
332#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS (4)
333
334#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT (15)
335
336#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST (1)
337
338#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS (1)
339
340#define D3D10_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT (64)
341
342#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS (4)
343
344#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT (1)
345
346#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST (1)
347
348#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS (1)
349
350#define D3D10_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT (32)
351
352#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS (1)
353
354#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT (128)
355
356#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST (1)
357
358#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS (1)
359
360#define D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT (128)
361
362#define D3D10_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS (1)
363
364#define D3D10_COMMONSHADER_SAMPLER_REGISTER_COUNT (16)
365
366#define D3D10_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST (1)
367
368#define D3D10_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS (1)
369
370#define D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT (16)
371
372#define D3D10_COMMONSHADER_SUBROUTINE_NESTING_LIMIT (32)
373
374#define D3D10_COMMONSHADER_TEMP_REGISTER_COMPONENTS (4)
375
376#define D3D10_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT (32)
377
378#define D3D10_COMMONSHADER_TEMP_REGISTER_COUNT (4096)
379
380#define D3D10_COMMONSHADER_TEMP_REGISTER_READS_PER_INST (3)
381
382#define D3D10_COMMONSHADER_TEMP_REGISTER_READ_PORTS (3)
383
384#define D3D10_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX (10)
385
386#define D3D10_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN (-10)
387
388#define D3D10_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE (-8)
389
390#define D3D10_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE (7)
391
392#define D3D10_DEFAULT_DEPTH_BIAS (0)
393
394#define D3D10_DEFAULT_RENDER_TARGET_ARRAY_INDEX (0)
395
396#define D3D10_DEFAULT_SAMPLE_MASK (0xffffffff)
397
398#define D3D10_DEFAULT_SCISSOR_ENDX (0)
399
400#define D3D10_DEFAULT_SCISSOR_ENDY (0)
401
402#define D3D10_DEFAULT_SCISSOR_STARTX (0)
403
404#define D3D10_DEFAULT_SCISSOR_STARTY (0)
405
406#define D3D10_DEFAULT_STENCIL_READ_MASK (0xff)
407
408#define D3D10_DEFAULT_STENCIL_REFERENCE (0)
409
410#define D3D10_DEFAULT_STENCIL_WRITE_MASK (0xff)
411
412#define D3D10_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX (0)
413
414#define D3D10_DEFAULT_VIEWPORT_HEIGHT (0)
415
416#define D3D10_DEFAULT_VIEWPORT_TOPLEFTX (0)
417
418#define D3D10_DEFAULT_VIEWPORT_TOPLEFTY (0)
419
420#define D3D10_DEFAULT_VIEWPORT_WIDTH (0)
421
422#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COMPONENTS (1)
423
424#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COMPONENT_BIT_COUNT (32)
425
426#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COUNT (1)
427
428#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_READS_PER_INST (2)
429
430#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_READ_PORTS (1)
431
432#define D3D10_GS_INPUT_REGISTER_COMPONENTS (4)
433
434#define D3D10_GS_INPUT_REGISTER_COMPONENT_BIT_COUNT (32)
435
436#define D3D10_GS_INPUT_REGISTER_COUNT (16)
437
438#define D3D10_GS_INPUT_REGISTER_READS_PER_INST (2)
439
440#define D3D10_GS_INPUT_REGISTER_READ_PORTS (1)
441
442#define D3D10_GS_INPUT_REGISTER_VERTICES (6)
443
444#define D3D10_GS_OUTPUT_ELEMENTS (32)
445
446#define D3D10_GS_OUTPUT_REGISTER_COMPONENTS (4)
447
448#define D3D10_GS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT (32)
449
450#define D3D10_GS_OUTPUT_REGISTER_COUNT (32)
451
452#define D3D10_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES (0)
453
454#define D3D10_IA_DEFAULT_PRIMITIVE_TOPOLOGY (0)
455
456#define D3D10_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES (0)
457
458#define D3D10_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT (1)
459
460#define D3D10_IA_INSTANCE_ID_BIT_COUNT (32)
461
462#define D3D10_IA_INTEGER_ARITHMETIC_BIT_COUNT (32)
463
464#define D3D10_IA_PRIMITIVE_ID_BIT_COUNT (32)
465
466#define D3D10_IA_VERTEX_ID_BIT_COUNT (32)
467
468#define D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT (16)
469
470#define D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS (64)
471
472#define D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT (16)
473
474#define D3D10_INTEGER_DIVIDE_BY_ZERO_QUOTIENT (0xffffffff)
475
476#define D3D10_INTEGER_DIVIDE_BY_ZERO_REMAINDER (0xffffffff)
477
478#define D3D10_MAX_MAXANISOTROPY (16)
479
480#define D3D10_MAX_MULTISAMPLE_SAMPLE_COUNT (32)
481
482#define D3D10_MAX_TEXTURE_DIMENSION_2_TO_EXP (17)
483
484#define D3D10_MIN_MAXANISOTROPY (0)
485
486#define D3D10_MIP_LOD_FRACTIONAL_BIT_COUNT (6)
487
488#define D3D10_MIP_LOD_RANGE_BIT_COUNT (8)
489
490#define D3D10_NONSAMPLE_FETCH_OUT_OF_RANGE_ACCESS_RESULT (0)
491
492#define D3D10_PIXEL_ADDRESS_RANGE_BIT_COUNT (13)
493
494#define D3D10_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT (15)
495
496#define D3D10_PS_FRONTFACING_DEFAULT_VALUE (0xffffffff)
497
498#define D3D10_PS_FRONTFACING_FALSE_VALUE (0)
499
500#define D3D10_PS_FRONTFACING_TRUE_VALUE (0xffffffff)
501
502#define D3D10_PS_INPUT_REGISTER_COMPONENTS (4)
503
504#define D3D10_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT (32)
505
506#define D3D10_PS_INPUT_REGISTER_COUNT (32)
507
508#define D3D10_PS_INPUT_REGISTER_READS_PER_INST (2)
509
510#define D3D10_PS_INPUT_REGISTER_READ_PORTS (1)
511
512#define D3D10_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS (1)
513
514#define D3D10_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT (32)
515
516#define D3D10_PS_OUTPUT_DEPTH_REGISTER_COUNT (1)
517
518#define D3D10_PS_OUTPUT_REGISTER_COMPONENTS (4)
519
520#define D3D10_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT (32)
521
522#define D3D10_PS_OUTPUT_REGISTER_COUNT (8)
523
524#define D3D10_REQ_BLEND_OBJECT_COUNT_PER_CONTEXT (4096)
525
526#define D3D10_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP (27)
527
528#define D3D10_REQ_CONSTANT_BUFFER_ELEMENT_COUNT (4096)
529
530#define D3D10_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_CONTEXT (4096)
531
532#define D3D10_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP (32)
533
534#define D3D10_REQ_DRAW_VERTEX_COUNT_2_TO_EXP (32)
535
536#define D3D10_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION (8192)
537
538#define D3D10_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT (1024)
539
540#define D3D10_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT (4096)
541
542#define D3D10_REQ_MAXANISOTROPY (16)
543
544#define D3D10_REQ_MIP_LEVELS (14)
545
546#define D3D10_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES (2048)
547
548#define D3D10_REQ_RASTERIZER_OBJECT_COUNT_PER_CONTEXT (4096)
549
550#define D3D10_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH (8192)
551
552#define D3D10_REQ_RESOURCE_SIZE_IN_MEGABYTES (128)
553
554#define D3D10_REQ_RESOURCE_VIEW_COUNT_PER_CONTEXT_2_TO_EXP (20)
555
556#define D3D10_REQ_SAMPLER_OBJECT_COUNT_PER_CONTEXT (4096)
557
558#define D3D10_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION (512)
559
560#define D3D10_REQ_TEXTURE1D_U_DIMENSION (8192)
561
562#define D3D10_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION (512)
563
564#define D3D10_REQ_TEXTURE2D_U_OR_V_DIMENSION (8192)
565
566#define D3D10_REQ_TEXTURE3D_U_V_OR_W_DIMENSION (2048)
567
568#define D3D10_REQ_TEXTURECUBE_DIMENSION (8192)
569
570#define D3D10_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL (0)
571
572#define D3D10_SHADER_MAJOR_VERSION (4)
573
574#define D3D10_SHADER_MINOR_VERSION (0)
575
576#define D3D10_SHIFT_INSTRUCTION_PAD_VALUE (0)
577
578#define D3D10_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT (5)
579
580#define D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT (8)
581
582#define D3D10_SO_BUFFER_MAX_STRIDE_IN_BYTES (2048)
583
584#define D3D10_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES (256)
585
586#define D3D10_SO_BUFFER_SLOT_COUNT (4)
587
588#define D3D10_SO_DDI_REGISTER_INDEX_DENOTING_GAP (0xffffffff)
589
590#define D3D10_SO_MULTIPLE_BUFFER_ELEMENTS_PER_BUFFER (1)
591
592#define D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT (64)
593
594#define D3D10_STANDARD_COMPONENT_BIT_COUNT (32)
595
596#define D3D10_STANDARD_COMPONENT_BIT_COUNT_DOUBLED (64)
597
598#define D3D10_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE (4)
599
600#define D3D10_STANDARD_PIXEL_COMPONENT_COUNT (128)
601
602#define D3D10_STANDARD_PIXEL_ELEMENT_COUNT (32)
603
604#define D3D10_STANDARD_VECTOR_SIZE (4)
605
606#define D3D10_STANDARD_VERTEX_ELEMENT_COUNT (16)
607
608#define D3D10_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT (64)
609
610#define D3D10_SUBPIXEL_FRACTIONAL_BIT_COUNT (8)
611
612#define D3D10_SUBTEXEL_FRACTIONAL_BIT_COUNT (6)
613
614#define D3D10_TEXEL_ADDRESS_RANGE_BIT_COUNT (18)
615
616#define D3D10_UNBOUND_MEMORY_ACCESS_RESULT (0)
617
618#define D3D10_VIEWPORT_AND_SCISSORRECT_MAX_INDEX (15)
619
620#define D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE (16)
621
622#define D3D10_VIEWPORT_BOUNDS_MAX (16383)
623
624#define D3D10_VIEWPORT_BOUNDS_MIN (-16384)
625
626#define D3D10_VS_INPUT_REGISTER_COMPONENTS (4)
627
628#define D3D10_VS_INPUT_REGISTER_COMPONENT_BIT_COUNT (32)
629
630#define D3D10_VS_INPUT_REGISTER_COUNT (16)
631
632#define D3D10_VS_INPUT_REGISTER_READS_PER_INST (2)
633
634#define D3D10_VS_INPUT_REGISTER_READ_PORTS (1)
635
636#define D3D10_VS_OUTPUT_REGISTER_COMPONENTS (4)
637
638#define D3D10_VS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT (32)
639
640#define D3D10_VS_OUTPUT_REGISTER_COUNT (16)
641
642#define D3D10_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT (10)
643
644#define D3D10_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP (25)
645
646#define D3D10_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP (25)
647
648#define D3D_MAJOR_VERSION (10)
649
650#define D3D_MINOR_VERSION (0)
651
652#define D3D_SPEC_DATE_DAY (8)
653
654#define D3D_SPEC_DATE_MONTH (8)
655
656#define D3D_SPEC_DATE_YEAR (2006)
657
658#endif
659#define D3D10_APPEND_ALIGNED_ELEMENT (0xffffffff)
660
661#define _FACD3D10 (0x879)
662
663#define _FACD3D10DEBUG (_FACD3D10 + 1)
664
665#define D3D10_FILTER_TYPE_MASK (0x3)
666
667#define D3D10_SDK_VERSION (29)
668
669#define MAKE_D3D10_HRESULT(code) MAKE_HRESULT( 1, _FACD3D10, code)
670#define MAKE_D3D10_STATUS(code) MAKE_HRESULT( 0, _FACD3D10, code)
671#define D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS MAKE_D3D10_HRESULT(1)
672#define D3D10_ERROR_FILE_NOT_FOUND MAKE_D3D10_HRESULT(2)
673typedef enum D3D10_BLEND {
674 D3D10_BLEND_ZERO = 1,
675 D3D10_BLEND_ONE = 2,
676 D3D10_BLEND_SRC_COLOR = 3,
677 D3D10_BLEND_INV_SRC_COLOR = 4,
678 D3D10_BLEND_SRC_ALPHA = 5,
679 D3D10_BLEND_INV_SRC_ALPHA = 6,
680 D3D10_BLEND_DEST_ALPHA = 7,
681 D3D10_BLEND_INV_DEST_ALPHA = 8,
682 D3D10_BLEND_DEST_COLOR = 9,
683 D3D10_BLEND_INV_DEST_COLOR = 10,
684 D3D10_BLEND_SRC_ALPHA_SAT = 11,
685 D3D10_BLEND_BLEND_FACTOR = 14,
686 D3D10_BLEND_INV_BLEND_FACTOR = 15,
687 D3D10_BLEND_SRC1_COLOR = 16,
688 D3D10_BLEND_INV_SRC1_COLOR = 17,
689 D3D10_BLEND_SRC1_ALPHA = 18,
690 D3D10_BLEND_INV_SRC1_ALPHA = 19
691} D3D10_BLEND;
692typedef enum D3D10_BLEND_OP {
693 D3D10_BLEND_OP_ADD = 1,
694 D3D10_BLEND_OP_SUBTRACT = 2,
695 D3D10_BLEND_OP_REV_SUBTRACT = 3,
696 D3D10_BLEND_OP_MIN = 4,
697 D3D10_BLEND_OP_MAX = 5
698} D3D10_BLEND_OP;
699typedef struct D3D10_BLEND_DESC {
700 WINBOOL AlphaToCoverageEnable;
701 WINBOOL BlendEnable[8];
702 D3D10_BLEND SrcBlend;
703 D3D10_BLEND DestBlend;
704 D3D10_BLEND_OP BlendOp;
705 D3D10_BLEND SrcBlendAlpha;
706 D3D10_BLEND DestBlendAlpha;
707 D3D10_BLEND_OP BlendOpAlpha;
708 UINT8 RenderTargetWriteMask[8];
709} D3D10_BLEND_DESC;
710typedef enum D3D10_DEPTH_WRITE_MASK {
711 D3D10_DEPTH_WRITE_MASK_ZERO = 0,
712 D3D10_DEPTH_WRITE_MASK_ALL = 1
713} D3D10_DEPTH_WRITE_MASK;
714typedef enum D3D10_COMPARISON_FUNC {
715 D3D10_COMPARISON_NEVER = 1,
716 D3D10_COMPARISON_LESS = 2,
717 D3D10_COMPARISON_EQUAL = 3,
718 D3D10_COMPARISON_LESS_EQUAL = 4,
719 D3D10_COMPARISON_GREATER = 5,
720 D3D10_COMPARISON_NOT_EQUAL = 6,
721 D3D10_COMPARISON_GREATER_EQUAL = 7,
722 D3D10_COMPARISON_ALWAYS = 8
723} D3D10_COMPARISON_FUNC;
724typedef enum D3D10_STENCIL_OP {
725 D3D10_STENCIL_OP_KEEP = 1,
726 D3D10_STENCIL_OP_ZERO = 2,
727 D3D10_STENCIL_OP_REPLACE = 3,
728 D3D10_STENCIL_OP_INCR_SAT = 4,
729 D3D10_STENCIL_OP_DECR_SAT = 5,
730 D3D10_STENCIL_OP_INVERT = 6,
731 D3D10_STENCIL_OP_INCR = 7,
732 D3D10_STENCIL_OP_DECR = 8
733} D3D10_STENCIL_OP;
734typedef struct D3D10_DEPTH_STENCILOP_DESC {
735 D3D10_STENCIL_OP StencilFailOp;
736 D3D10_STENCIL_OP StencilDepthFailOp;
737 D3D10_STENCIL_OP StencilPassOp;
738 D3D10_COMPARISON_FUNC StencilFunc;
739} D3D10_DEPTH_STENCILOP_DESC;
740typedef struct D3D10_DEPTH_STENCIL_DESC {
741 WINBOOL DepthEnable;
742 D3D10_DEPTH_WRITE_MASK DepthWriteMask;
743 D3D10_COMPARISON_FUNC DepthFunc;
744 WINBOOL StencilEnable;
745 UINT8 StencilReadMask;
746 UINT8 StencilWriteMask;
747 D3D10_DEPTH_STENCILOP_DESC FrontFace;
748 D3D10_DEPTH_STENCILOP_DESC BackFace;
749} D3D10_DEPTH_STENCIL_DESC;
750typedef enum D3D10_FILL_MODE {
751 D3D10_FILL_WIREFRAME = 2,
752 D3D10_FILL_SOLID = 3
753} D3D10_FILL_MODE;
754typedef enum D3D10_CULL_MODE {
755 D3D10_CULL_NONE = 1,
756 D3D10_CULL_FRONT = 2,
757 D3D10_CULL_BACK = 3
758} D3D10_CULL_MODE;
759typedef struct D3D10_RASTERIZER_DESC {
760 D3D10_FILL_MODE FillMode;
761 D3D10_CULL_MODE CullMode;
762 WINBOOL FrontCounterClockwise;
763 INT DepthBias;
764 FLOAT DepthBiasClamp;
765 FLOAT SlopeScaledDepthBias;
766 WINBOOL DepthClipEnable;
767 WINBOOL ScissorEnable;
768 WINBOOL MultisampleEnable;
769 WINBOOL AntialiasedLineEnable;
770} D3D10_RASTERIZER_DESC;
771typedef enum D3D10_FILTER {
772 D3D10_FILTER_MIN_MAG_MIP_POINT = 0,
773 D3D10_FILTER_MIN_MAG_POINT_MIP_LINEAR = 0x1,
774 D3D10_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x4,
775 D3D10_FILTER_MIN_POINT_MAG_MIP_LINEAR = 0x5,
776 D3D10_FILTER_MIN_LINEAR_MAG_MIP_POINT = 0x10,
777 D3D10_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x11,
778 D3D10_FILTER_MIN_MAG_LINEAR_MIP_POINT = 0x14,
779 D3D10_FILTER_MIN_MAG_MIP_LINEAR = 0x15,
780 D3D10_FILTER_ANISOTROPIC = 0x55,
781 D3D10_FILTER_COMPARISON_MIN_MAG_MIP_POINT = 0x80,
782 D3D10_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR = 0x81,
783 D3D10_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT = 0x84,
784 D3D10_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR = 0x85,
785 D3D10_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT = 0x90,
786 D3D10_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR = 0x91,
787 D3D10_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT = 0x94,
788 D3D10_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR = 0x95,
789 D3D10_FILTER_COMPARISON_ANISOTROPIC = 0xd5,
790 D3D10_FILTER_TEXT_1BIT = 0x80000000
791} D3D10_FILTER;
792typedef enum D3D10_TEXTURE_ADDRESS_MODE {
793 D3D10_TEXTURE_ADDRESS_WRAP = 1,
794 D3D10_TEXTURE_ADDRESS_MIRROR = 2,
795 D3D10_TEXTURE_ADDRESS_CLAMP = 3,
796 D3D10_TEXTURE_ADDRESS_BORDER = 4,
797 D3D10_TEXTURE_ADDRESS_MIRROR_ONCE = 5
798} D3D10_TEXTURE_ADDRESS_MODE;
799typedef struct D3D10_SAMPLER_DESC {
800 D3D10_FILTER Filter;
801 D3D10_TEXTURE_ADDRESS_MODE AddressU;
802 D3D10_TEXTURE_ADDRESS_MODE AddressV;
803 D3D10_TEXTURE_ADDRESS_MODE AddressW;
804 FLOAT MipLODBias;
805 UINT MaxAnisotropy;
806 D3D10_COMPARISON_FUNC ComparisonFunc;
807 FLOAT BorderColor[4];
808 FLOAT MinLOD;
809 FLOAT MaxLOD;
810} D3D10_SAMPLER_DESC;
811typedef enum D3D10_COUNTER {
812 D3D10_COUNTER_GPU_IDLE = 0,
813 D3D10_COUNTER_VERTEX_PROCESSING = 1,
814 D3D10_COUNTER_GEOMETRY_PROCESSING = 2,
815 D3D10_COUNTER_PIXEL_PROCESSING = 3,
816 D3D10_COUNTER_OTHER_GPU_PROCESSING = 4,
817 D3D10_COUNTER_HOST_ADAPTER_BANDWIDTH_UTILIZATION = 5,
818 D3D10_COUNTER_LOCAL_VIDMEM_BANDWIDTH_UTILIZATION = 6,
819 D3D10_COUNTER_VERTEX_THROUGHPUT_UTILIZATION = 7,
820 D3D10_COUNTER_TRIANGLE_SETUP_THROUGHPUT_UTILIZATION = 8,
821 D3D10_COUNTER_FILLRATE_THROUGHPUT_UTILIZATION = 9,
822 D3D10_COUNTER_VS_MEMORY_LIMITED = 10,
823 D3D10_COUNTER_VS_COMPUTATION_LIMITED = 11,
824 D3D10_COUNTER_GS_MEMORY_LIMITED = 12,
825 D3D10_COUNTER_GS_COMPUTATION_LIMITED = 13,
826 D3D10_COUNTER_PS_MEMORY_LIMITED = 14,
827 D3D10_COUNTER_PS_COMPUTATION_LIMITED = 15,
828 D3D10_COUNTER_POST_TRANSFORM_CACHE_HIT_RATE = 16,
829 D3D10_COUNTER_TEXTURE_CACHE_HIT_RATE = 17,
830 D3D10_COUNTER_DEVICE_DEPENDENT_0 = 0x40000000
831} D3D10_COUNTER;
832typedef struct D3D10_COUNTER_DESC {
833 D3D10_COUNTER Counter;
834 UINT MiscFlags;
835} D3D10_COUNTER_DESC;
836typedef enum D3D10_COUNTER_TYPE {
837 D3D10_COUNTER_TYPE_FLOAT32 = 0,
838 D3D10_COUNTER_TYPE_UINT16 = 1,
839 D3D10_COUNTER_TYPE_UINT32 = 2,
840 D3D10_COUNTER_TYPE_UINT64 = 3
841} D3D10_COUNTER_TYPE;
842typedef struct D3D10_COUNTER_INFO {
843 D3D10_COUNTER LastDeviceDependentCounter;
844 UINT NumSimultaneousCounters;
845 UINT8 NumDetectableParallelUnits;
846} D3D10_COUNTER_INFO;
847typedef enum D3D10_RESOURCE_DIMENSION {
848 D3D10_RESOURCE_DIMENSION_UNKNOWN = 0,
849 D3D10_RESOURCE_DIMENSION_BUFFER = 1,
850 D3D10_RESOURCE_DIMENSION_TEXTURE1D = 2,
851 D3D10_RESOURCE_DIMENSION_TEXTURE2D = 3,
852 D3D10_RESOURCE_DIMENSION_TEXTURE3D = 4
853} D3D10_RESOURCE_DIMENSION;
854typedef enum D3D10_USAGE {
855 D3D10_USAGE_DEFAULT = 0,
856 D3D10_USAGE_IMMUTABLE = 1,
857 D3D10_USAGE_DYNAMIC = 2,
858 D3D10_USAGE_STAGING = 3
859} D3D10_USAGE;
860typedef enum D3D10_BIND_FLAG {
861 D3D10_BIND_VERTEX_BUFFER = 0x1,
862 D3D10_BIND_INDEX_BUFFER = 0x2,
863 D3D10_BIND_CONSTANT_BUFFER = 0x4,
864 D3D10_BIND_SHADER_RESOURCE = 0x8,
865 D3D10_BIND_STREAM_OUTPUT = 0x10,
866 D3D10_BIND_RENDER_TARGET = 0x20,
867 D3D10_BIND_DEPTH_STENCIL = 0x40
868} D3D10_BIND_FLAG;
869typedef struct D3D10_BUFFER_DESC {
870 UINT ByteWidth;
871 D3D10_USAGE Usage;
872 UINT BindFlags;
873 UINT CPUAccessFlags;
874 UINT MiscFlags;
875} D3D10_BUFFER_DESC;
876#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus)
877struct CD3D10_BUFFER_DESC : public D3D10_BUFFER_DESC {
878 CD3D10_BUFFER_DESC() {}
879 explicit CD3D10_BUFFER_DESC(const D3D10_BUFFER_DESC &o) : D3D10_BUFFER_DESC(o) {}
880 explicit CD3D10_BUFFER_DESC(UINT byteWidth, UINT bindFlags, D3D10_USAGE usage = D3D10_USAGE_DEFAULT, UINT cpuaccessFlags = 0, UINT miscFlags = 0 ) {
881 ByteWidth = byteWidth;
882 Usage = usage;
883 BindFlags = bindFlags;
884 CPUAccessFlags = cpuaccessFlags;
885 MiscFlags = miscFlags;
886 }
887 ~CD3D10_BUFFER_DESC() {}
888 operator const D3D10_BUFFER_DESC&() const {
889 return *this;
890 }
891};
892#endif
893typedef enum D3D10_MAP {
894 D3D10_MAP_READ = 1,
895 D3D10_MAP_WRITE = 2,
896 D3D10_MAP_READ_WRITE = 3,
897 D3D10_MAP_WRITE_DISCARD = 4,
898 D3D10_MAP_WRITE_NO_OVERWRITE = 5
899} D3D10_MAP;
900typedef struct D3D10_TEXTURE1D_DESC {
901 UINT Width;
902 UINT MipLevels;
903 UINT ArraySize;
904 DXGI_FORMAT Format;
905 D3D10_USAGE Usage;
906 UINT BindFlags;
907 UINT CPUAccessFlags;
908 UINT MiscFlags;
909} D3D10_TEXTURE1D_DESC;
910#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus)
911struct CD3D10_TEXTURE1D_DESC : public D3D10_TEXTURE1D_DESC {
912 CD3D10_TEXTURE1D_DESC() {}
913 explicit CD3D10_TEXTURE1D_DESC(const D3D10_TEXTURE1D_DESC &o) : D3D10_TEXTURE1D_DESC(o) {}
914 explicit CD3D10_TEXTURE1D_DESC(DXGI_FORMAT format, UINT width, UINT arraySize = 1, UINT mipLevels = 0,
915 UINT bindFlags = D3D10_BIND_SHADER_RESOURCE, D3D10_USAGE usage = D3D10_USAGE_DEFAULT, UINT cpuaccessFlags = 0,
916 UINT miscFlags = 0) {
917 Width = width;
918 MipLevels = mipLevels;
919 ArraySize = arraySize;
920 Format = format;
921 Usage = usage;
922 BindFlags = bindFlags;
923 CPUAccessFlags = cpuaccessFlags;
924 MiscFlags = miscFlags;
925 }
926 ~CD3D10_TEXTURE1D_DESC() {}
927 operator const D3D10_TEXTURE1D_DESC&() const {
928 return *this;
929 }
930};
931#endif
932typedef struct D3D10_TEXTURE2D_DESC {
933 UINT Width;
934 UINT Height;
935 UINT MipLevels;
936 UINT ArraySize;
937 DXGI_FORMAT Format;
938 DXGI_SAMPLE_DESC SampleDesc;
939 D3D10_USAGE Usage;
940 UINT BindFlags;
941 UINT CPUAccessFlags;
942 UINT MiscFlags;
943} D3D10_TEXTURE2D_DESC;
944#if !defined(D3D10_NO_HELPERS) && defined(__cplusplus)
945struct CD3D10_TEXTURE2D_DESC : public D3D10_TEXTURE2D_DESC {
946 CD3D10_TEXTURE2D_DESC() {}
947 explicit CD3D10_TEXTURE2D_DESC(const D3D10_TEXTURE2D_DESC &o) : D3D10_TEXTURE2D_DESC(o) {}
948 explicit CD3D10_TEXTURE2D_DESC(DXGI_FORMAT format, UINT width, UINT height,
949 UINT arraySize = 1,
950 UINT mipLevels = 0,
951 UINT bindFlags = D3D10_BIND_SHADER_RESOURCE,
952 D3D10_USAGE usage = D3D10_USAGE_DEFAULT,
953 UINT cpuaccessFlags = 0,
954 UINT sampleCount = 1,
955 UINT sampleQuality = 0,
956 UINT miscFlags = 0) {
957 Width = width;
958 Height = height;
959 MipLevels = mipLevels;
960 ArraySize = arraySize;
961 Format = format;
962 SampleDesc.Count = sampleCount;
963 SampleDesc.Quality = sampleQuality;
964 Usage = usage;
965 BindFlags = bindFlags;
966 CPUAccessFlags = cpuaccessFlags;
967 MiscFlags = miscFlags;
968 }
969 ~CD3D10_TEXTURE2D_DESC() {}
970 operator const D3D10_TEXTURE2D_DESC&() const {
971 return *this;
972 }
973};
974#endif
975typedef struct D3D10_TEXTURE3D_DESC {
976 UINT Width;
977 UINT Height;
978 UINT Depth;
979 UINT MipLevels;
980 DXGI_FORMAT Format;
981 D3D10_USAGE Usage;
982 UINT BindFlags;
983 UINT CPUAccessFlags;
984 UINT MiscFlags;
985} D3D10_TEXTURE3D_DESC;
986typedef enum D3D10_DSV_DIMENSION {
987 D3D10_DSV_DIMENSION_UNKNOWN = 0,
988 D3D10_DSV_DIMENSION_TEXTURE1D = 1,
989 D3D10_DSV_DIMENSION_TEXTURE1DARRAY = 2,
990 D3D10_DSV_DIMENSION_TEXTURE2D = 3,
991 D3D10_DSV_DIMENSION_TEXTURE2DARRAY = 4,
992 D3D10_DSV_DIMENSION_TEXTURE2DMS = 5,
993 D3D10_DSV_DIMENSION_TEXTURE2DMSARRAY = 6
994} D3D10_DSV_DIMENSION;
995typedef struct D3D10_TEX1D_DSV {
996 UINT MipSlice;
997} D3D10_TEX1D_DSV;
998typedef struct D3D10_TEX1D_ARRAY_DSV {
999 UINT MipSlice;
1000 UINT FirstArraySlice;
1001 UINT ArraySize;
1002} D3D10_TEX1D_ARRAY_DSV;
1003typedef struct D3D10_TEX2D_DSV {
1004 UINT MipSlice;
1005} D3D10_TEX2D_DSV;
1006typedef struct D3D10_TEX2D_ARRAY_DSV {
1007 UINT MipSlice;
1008 UINT FirstArraySlice;
1009 UINT ArraySize;
1010} D3D10_TEX2D_ARRAY_DSV;
1011typedef struct D3D10_TEX2DMS_DSV {
1012 UINT UnusedField_NothingToDefine;
1013} D3D10_TEX2DMS_DSV;
1014typedef struct D3D10_TEX2DMS_ARRAY_DSV {
1015 UINT FirstArraySlice;
1016 UINT ArraySize;
1017} D3D10_TEX2DMS_ARRAY_DSV;
1018typedef struct D3D10_DEPTH_STENCIL_VIEW_DESC {
1019 DXGI_FORMAT Format;
1020 D3D10_DSV_DIMENSION ViewDimension;
1021 __C89_NAMELESS union {
1022 D3D10_TEX1D_DSV Texture1D;
1023 D3D10_TEX1D_ARRAY_DSV Texture1DArray;
1024 D3D10_TEX2D_DSV Texture2D;
1025 D3D10_TEX2D_ARRAY_DSV Texture2DArray;
1026 D3D10_TEX2DMS_DSV Texture2DMS;
1027 D3D10_TEX2DMS_ARRAY_DSV Texture2DMSArray;
1028 } __C89_NAMELESSUNIONNAME;
1029} D3D10_DEPTH_STENCIL_VIEW_DESC;
1030typedef enum D3D10_RTV_DIMENSION {
1031 D3D10_RTV_DIMENSION_UNKNOWN = 0,
1032 D3D10_RTV_DIMENSION_BUFFER = 1,
1033 D3D10_RTV_DIMENSION_TEXTURE1D = 2,
1034 D3D10_RTV_DIMENSION_TEXTURE1DARRAY = 3,
1035 D3D10_RTV_DIMENSION_TEXTURE2D = 4,
1036 D3D10_RTV_DIMENSION_TEXTURE2DARRAY = 5,
1037 D3D10_RTV_DIMENSION_TEXTURE2DMS = 6,
1038 D3D10_RTV_DIMENSION_TEXTURE2DMSARRAY = 7,
1039 D3D10_RTV_DIMENSION_TEXTURE3D = 8
1040} D3D10_RTV_DIMENSION;
1041typedef struct D3D10_BUFFER_RTV {
1042 __C89_NAMELESS union {
1043 UINT FirstElement;
1044 UINT ElementOffset;
1045 } __C89_NAMELESSUNIONNAME1;
1046 __C89_NAMELESS union {
1047 UINT NumElements;
1048 UINT ElementWidth;
1049 } __C89_NAMELESSUNIONNAME2;
1050} D3D10_BUFFER_RTV;
1051typedef struct D3D10_TEX1D_RTV {
1052 UINT MipSlice;
1053} D3D10_TEX1D_RTV;
1054typedef struct D3D10_TEX1D_ARRAY_RTV {
1055 UINT MipSlice;
1056 UINT FirstArraySlice;
1057 UINT ArraySize;
1058} D3D10_TEX1D_ARRAY_RTV;
1059typedef struct D3D10_TEX2D_RTV {
1060 UINT MipSlice;
1061} D3D10_TEX2D_RTV;
1062typedef struct D3D10_TEX2D_ARRAY_RTV {
1063 UINT MipSlice;
1064 UINT FirstArraySlice;
1065 UINT ArraySize;
1066} D3D10_TEX2D_ARRAY_RTV;
1067typedef struct D3D10_TEX2DMS_RTV {
1068 UINT UnusedField_NothingToDefine;
1069} D3D10_TEX2DMS_RTV;
1070typedef struct D3D10_TEX2DMS_ARRAY_RTV {
1071 UINT FirstArraySlice;
1072 UINT ArraySize;
1073} D3D10_TEX2DMS_ARRAY_RTV;
1074typedef struct D3D10_TEX3D_RTV {
1075 UINT MipSlice;
1076 UINT FirstWSlice;
1077 UINT WSize;
1078} D3D10_TEX3D_RTV;
1079typedef struct D3D10_RENDER_TARGET_VIEW_DESC {
1080 DXGI_FORMAT Format;
1081 D3D10_RTV_DIMENSION ViewDimension;
1082 __C89_NAMELESS union {
1083 D3D10_BUFFER_RTV Buffer;
1084 D3D10_TEX1D_RTV Texture1D;
1085 D3D10_TEX1D_ARRAY_RTV Texture1DArray;
1086 D3D10_TEX2D_RTV Texture2D;
1087 D3D10_TEX2D_ARRAY_RTV Texture2DArray;
1088 D3D10_TEX2DMS_RTV Texture2DMS;
1089 D3D10_TEX2DMS_ARRAY_RTV Texture2DMSArray;
1090 D3D10_TEX3D_RTV Texture3D;
1091 } __C89_NAMELESSUNIONNAME;
1092} D3D10_RENDER_TARGET_VIEW_DESC;
1093typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION;
1094typedef struct D3D10_BUFFER_SRV {
1095 __C89_NAMELESS union {
1096 UINT FirstElement;
1097 UINT ElementOffset;
1098 } __C89_NAMELESSUNIONNAME1;
1099 __C89_NAMELESS union {
1100 UINT NumElements;
1101 UINT ElementWidth;
1102 } __C89_NAMELESSUNIONNAME2;
1103} D3D10_BUFFER_SRV;
1104typedef struct D3D10_TEX1D_SRV {
1105 UINT MostDetailedMip;
1106 UINT MipLevels;
1107} D3D10_TEX1D_SRV;
1108typedef struct D3D10_TEX1D_ARRAY_SRV {
1109 UINT MostDetailedMip;
1110 UINT MipLevels;
1111 UINT FirstArraySlice;
1112 UINT ArraySize;
1113} D3D10_TEX1D_ARRAY_SRV;
1114typedef struct D3D10_TEX2D_SRV {
1115 UINT MostDetailedMip;
1116 UINT MipLevels;
1117} D3D10_TEX2D_SRV;
1118typedef struct D3D10_TEX2D_ARRAY_SRV {
1119 UINT MostDetailedMip;
1120 UINT MipLevels;
1121 UINT FirstArraySlice;
1122 UINT ArraySize;
1123} D3D10_TEX2D_ARRAY_SRV;
1124typedef struct D3D10_TEX2DMS_SRV {
1125 UINT UnusedField_NothingToDefine;
1126} D3D10_TEX2DMS_SRV;
1127typedef struct D3D10_TEX2DMS_ARRAY_SRV {
1128 UINT FirstArraySlice;
1129 UINT ArraySize;
1130} D3D10_TEX2DMS_ARRAY_SRV;
1131typedef struct D3D10_TEX3D_SRV {
1132 UINT MostDetailedMip;
1133 UINT MipLevels;
1134} D3D10_TEX3D_SRV;
1135typedef struct D3D10_TEXCUBE_SRV {
1136 UINT MostDetailedMip;
1137 UINT MipLevels;
1138} D3D10_TEXCUBE_SRV;
1139typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC {
1140 DXGI_FORMAT Format;
1141 D3D10_SRV_DIMENSION ViewDimension;
1142 __C89_NAMELESS union {
1143 D3D10_BUFFER_SRV Buffer;
1144 D3D10_TEX1D_SRV Texture1D;
1145 D3D10_TEX1D_ARRAY_SRV Texture1DArray;
1146 D3D10_TEX2D_SRV Texture2D;
1147 D3D10_TEX2D_ARRAY_SRV Texture2DArray;
1148 D3D10_TEX2DMS_SRV Texture2DMS;
1149 D3D10_TEX2DMS_ARRAY_SRV Texture2DMSArray;
1150 D3D10_TEX3D_SRV Texture3D;
1151 D3D10_TEXCUBE_SRV TextureCube;
1152 } __C89_NAMELESSUNIONNAME;
1153} D3D10_SHADER_RESOURCE_VIEW_DESC;
1154typedef struct D3D10_BOX {
1155 UINT left;
1156 UINT top;
1157 UINT front;
1158 UINT right;
1159 UINT bottom;
1160 UINT back;
1161} D3D10_BOX;
1162typedef struct D3D10_SUBRESOURCE_DATA {
1163 const void *pSysMem;
1164 UINT SysMemPitch;
1165 UINT SysMemSlicePitch;
1166} D3D10_SUBRESOURCE_DATA;
1167typedef struct D3D10_SO_DECLARATION_ENTRY {
1168 const char *SemanticName;
1169 UINT SemanticIndex;
1170 BYTE StartComponent;
1171 BYTE ComponentCount;
1172 BYTE OutputSlot;
1173} D3D10_SO_DECLARATION_ENTRY;
1174typedef enum D3D10_INPUT_CLASSIFICATION {
1175 D3D10_INPUT_PER_VERTEX_DATA = 0,
1176 D3D10_INPUT_PER_INSTANCE_DATA = 1
1177} D3D10_INPUT_CLASSIFICATION;
1178typedef struct D3D10_INPUT_ELEMENT_DESC {
1179 const char *SemanticName;
1180 UINT SemanticIndex;
1181 DXGI_FORMAT Format;
1182 UINT InputSlot;
1183 UINT AlignedByteOffset;
1184 D3D10_INPUT_CLASSIFICATION InputSlotClass;
1185 UINT InstanceDataStepRate;
1186} D3D10_INPUT_ELEMENT_DESC;
1187typedef enum D3D10_QUERY {
1188 D3D10_QUERY_EVENT = 0,
1189 D3D10_QUERY_OCCLUSION = 1,
1190 D3D10_QUERY_TIMESTAMP = 2,
1191 D3D10_QUERY_TIMESTAMP_DISJOINT = 3,
1192 D3D10_QUERY_PIPELINE_STATISTICS = 4,
1193 D3D10_QUERY_OCCLUSION_PREDICATE = 5,
1194 D3D10_QUERY_SO_STATISTICS = 6,
1195 D3D10_QUERY_SO_OVERFLOW_PREDICATE = 7
1196} D3D10_QUERY;
1197typedef struct D3D10_QUERY_DESC {
1198 D3D10_QUERY Query;
1199 UINT MiscFlags;
1200} D3D10_QUERY_DESC;
1201typedef D3D_PRIMITIVE_TOPOLOGY D3D10_PRIMITIVE_TOPOLOGY;
1202typedef D3D_PRIMITIVE D3D10_PRIMITIVE;
1203typedef RECT D3D10_RECT;
1204typedef struct D3D10_VIEWPORT {
1205 INT TopLeftX;
1206 INT TopLeftY;
1207 UINT Width;
1208 UINT Height;
1209 FLOAT MinDepth;
1210 FLOAT MaxDepth;
1211} D3D10_VIEWPORT;
1212typedef struct D3D10_MAPPED_TEXTURE2D {
1213 void *pData;
1214 UINT RowPitch;
1215} D3D10_MAPPED_TEXTURE2D;
1216typedef struct D3D10_MAPPED_TEXTURE3D {
1217 void *pData;
1218 UINT RowPitch;
1219 UINT DepthPitch;
1220} D3D10_MAPPED_TEXTURE3D;
1221typedef enum D3D10_CPU_ACCESS_FLAG {
1222 D3D10_CPU_ACCESS_WRITE = 0x10000,
1223 D3D10_CPU_ACCESS_READ = 0x20000
1224} D3D10_CPU_ACCESS_FLAG;
1225typedef enum D3D10_RESOURCE_MISC_FLAG {
1226 D3D10_RESOURCE_MISC_GENERATE_MIPS = 0x1,
1227 D3D10_RESOURCE_MISC_SHARED = 0x2,
1228 D3D10_RESOURCE_MISC_TEXTURECUBE = 0x4,
1229 D3D10_RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x10,
1230 D3D10_RESOURCE_MISC_GDI_COMPATIBLE = 0x20
1231} D3D10_RESOURCE_MISC_FLAG;
1232typedef enum D3D10_MAP_FLAG {
1233 D3D10_MAP_FLAG_DO_NOT_WAIT = 0x100000
1234} D3D10_MAP_FLAG;
1235typedef enum D3D10_RAISE_FLAG {
1236 D3D10_RAISE_FLAG_DRIVER_INTERNAL_ERROR = 0x1
1237} D3D10_RAISE_FLAG;
1238typedef enum D3D10_CLEAR_FLAG {
1239 D3D10_CLEAR_DEPTH = 0x1,
1240 D3D10_CLEAR_STENCIL = 0x2
1241} D3D10_CLEAR_FLAG;
1242typedef enum D3D10_COLOR_WRITE_ENABLE {
1243 D3D10_COLOR_WRITE_ENABLE_RED = 0x1,
1244 D3D10_COLOR_WRITE_ENABLE_GREEN = 0x2,
1245 D3D10_COLOR_WRITE_ENABLE_BLUE = 0x4,
1246 D3D10_COLOR_WRITE_ENABLE_ALPHA = 0x8,
1247 D3D10_COLOR_WRITE_ENABLE_ALL = ((D3D10_COLOR_WRITE_ENABLE_RED | D3D10_COLOR_WRITE_ENABLE_GREEN) | D3D10_COLOR_WRITE_ENABLE_BLUE) | D3D10_COLOR_WRITE_ENABLE_ALPHA
1248} D3D10_COLOR_WRITE_ENABLE;
1249typedef enum D3D10_FORMAT_SUPPORT {
1250 D3D10_FORMAT_SUPPORT_BUFFER = 0x1,
1251 D3D10_FORMAT_SUPPORT_IA_VERTEX_BUFFER = 0x2,
1252 D3D10_FORMAT_SUPPORT_IA_INDEX_BUFFER = 0x4,
1253 D3D10_FORMAT_SUPPORT_SO_BUFFER = 0x8,
1254 D3D10_FORMAT_SUPPORT_TEXTURE1D = 0x10,
1255 D3D10_FORMAT_SUPPORT_TEXTURE2D = 0x20,
1256 D3D10_FORMAT_SUPPORT_TEXTURE3D = 0x40,
1257 D3D10_FORMAT_SUPPORT_TEXTURECUBE = 0x80,
1258 D3D10_FORMAT_SUPPORT_SHADER_LOAD = 0x100,
1259 D3D10_FORMAT_SUPPORT_SHADER_SAMPLE = 0x200,
1260 D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON = 0x400,
1261 D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT = 0x800,
1262 D3D10_FORMAT_SUPPORT_MIP = 0x1000,
1263 D3D10_FORMAT_SUPPORT_MIP_AUTOGEN = 0x2000,
1264 D3D10_FORMAT_SUPPORT_RENDER_TARGET = 0x4000,
1265 D3D10_FORMAT_SUPPORT_BLENDABLE = 0x8000,
1266 D3D10_FORMAT_SUPPORT_DEPTH_STENCIL = 0x10000,
1267 D3D10_FORMAT_SUPPORT_CPU_LOCKABLE = 0x20000,
1268 D3D10_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE = 0x40000,
1269 D3D10_FORMAT_SUPPORT_DISPLAY = 0x80000,
1270 D3D10_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT = 0x100000,
1271 D3D10_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET = 0x200000,
1272 D3D10_FORMAT_SUPPORT_MULTISAMPLE_LOAD = 0x400000,
1273 D3D10_FORMAT_SUPPORT_SHADER_GATHER = 0x800000,
1274 D3D10_FORMAT_SUPPORT_BACK_BUFFER_CAST = 0x1000000
1275} D3D10_FORMAT_SUPPORT;
1276typedef enum D3D10_TEXTURECUBE_FACE {
1277 D3D10_TEXTURECUBE_FACE_POSITIVE_X = 0,
1278 D3D10_TEXTURECUBE_FACE_NEGATIVE_X = 1,
1279 D3D10_TEXTURECUBE_FACE_POSITIVE_Y = 2,
1280 D3D10_TEXTURECUBE_FACE_NEGATIVE_Y = 3,
1281 D3D10_TEXTURECUBE_FACE_POSITIVE_Z = 4,
1282 D3D10_TEXTURECUBE_FACE_NEGATIVE_Z = 5
1283} D3D10_TEXTURECUBE_FACE;
1284typedef enum D3D10_ASYNC_GETDATA_FLAG {
1285 D3D10_ASYNC_GETDATA_DONOTFLUSH = 0x1
1286} D3D10_ASYNC_GETDATA_FLAG;
1287typedef enum D3D10_FILTER_TYPE {
1288 D3D10_FILTER_TYPE_POINT = 0,
1289 D3D10_FILTER_TYPE_LINEAR = 1
1290} D3D10_FILTER_TYPE;
1291typedef enum D3D10_QUERY_MISC_FLAG {
1292 D3D10_QUERY_MISC_PREDICATEHINT = 0x1
1293} D3D10_QUERY_MISC_FLAG;
1294typedef struct D3D10_QUERY_DATA_TIMESTAMP_DISJOINT {
1295 UINT64 Frequency;
1296 WINBOOL Disjoint;
1297} D3D10_QUERY_DATA_TIMESTAMP_DISJOINT;
1298typedef struct D3D10_QUERY_DATA_PIPELINE_STATISTICS {
1299 UINT64 IAVertices;
1300 UINT64 IAPrimitives;
1301 UINT64 VSInvocations;
1302 UINT64 GSInvocations;
1303 UINT64 GSPrimitives;
1304 UINT64 CInvocations;
1305 UINT64 CPrimitives;
1306 UINT64 PSInvocations;
1307} D3D10_QUERY_DATA_PIPELINE_STATISTICS;
1308typedef struct D3D10_QUERY_DATA_SO_STATISTICS {
1309 UINT64 NumPrimitivesWritten;
1310 UINT64 PrimitivesStorageNeeded;
1311} D3D10_QUERY_DATA_SO_STATISTICS;
1312typedef enum D3D10_CREATE_DEVICE_FLAG {
1313 D3D10_CREATE_DEVICE_SINGLETHREADED = 0x1,
1314 D3D10_CREATE_DEVICE_DEBUG = 0x2,
1315 D3D10_CREATE_DEVICE_SWITCH_TO_REF = 0x4,
1316 D3D10_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x8,
1317 D3D10_CREATE_DEVICE_ALLOW_NULL_FROM_MAP = 0x10,
1318 D3D10_CREATE_DEVICE_BGRA_SUPPORT = 0x20,
1319 D3D10_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY = 0x80,
1320 D3D10_CREATE_DEVICE_STRICT_VALIDATION = 0x200,
1321 D3D10_CREATE_DEVICE_DEBUGGABLE = 0x400
1322} D3D10_CREATE_DEVICE_FLAG;
1323#ifndef __ID3D10Device_FWD_DEFINED__
1324#define __ID3D10Device_FWD_DEFINED__
1325typedef interface ID3D10Device ID3D10Device;
1326#ifdef __cplusplus
1327interface ID3D10Device;
1328#endif /* __cplusplus */
1329#endif
1330
1331/*****************************************************************************
1332 * ID3D10DeviceChild interface
1333 */
1334#ifndef __ID3D10DeviceChild_INTERFACE_DEFINED__
1335#define __ID3D10DeviceChild_INTERFACE_DEFINED__
1336
1337DEFINE_GUID(IID_ID3D10DeviceChild, 0x9b7e4c00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
1338#if defined(__cplusplus) && !defined(CINTERFACE)
1339MIDL_INTERFACE("9b7e4c00-342c-4106-a19f-4f2704f689f0")
1340ID3D10DeviceChild : public IUnknown
1341{
1342 virtual void STDMETHODCALLTYPE GetDevice(
1343 ID3D10Device **ppDevice) = 0;
1344
1345 virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
1346 REFGUID guid,
1347 UINT *pDataSize,
1348 void *pData) = 0;
1349
1350 virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
1351 REFGUID guid,
1352 UINT DataSize,
1353 const void *pData) = 0;
1354
1355 virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
1356 REFGUID guid,
1357 const IUnknown *pData) = 0;
1358
1359};
1360#ifdef __CRT_UUID_DECL
1361__CRT_UUID_DECL(ID3D10DeviceChild, 0x9b7e4c00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
1362#endif
1363#else
1364typedef struct ID3D10DeviceChildVtbl {
1365 BEGIN_INTERFACE
1366
1367 /*** IUnknown methods ***/
1368 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1369 ID3D10DeviceChild *This,
1370 REFIID riid,
1371 void **ppvObject);
1372
1373 ULONG (STDMETHODCALLTYPE *AddRef)(
1374 ID3D10DeviceChild *This);
1375
1376 ULONG (STDMETHODCALLTYPE *Release)(
1377 ID3D10DeviceChild *This);
1378
1379 /*** ID3D10DeviceChild methods ***/
1380 void (STDMETHODCALLTYPE *GetDevice)(
1381 ID3D10DeviceChild *This,
1382 ID3D10Device **ppDevice);
1383
1384 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
1385 ID3D10DeviceChild *This,
1386 REFGUID guid,
1387 UINT *pDataSize,
1388 void *pData);
1389
1390 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
1391 ID3D10DeviceChild *This,
1392 REFGUID guid,
1393 UINT DataSize,
1394 const void *pData);
1395
1396 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
1397 ID3D10DeviceChild *This,
1398 REFGUID guid,
1399 const IUnknown *pData);
1400
1401 END_INTERFACE
1402} ID3D10DeviceChildVtbl;
1403
1404interface ID3D10DeviceChild {
1405 CONST_VTBL ID3D10DeviceChildVtbl* lpVtbl;
1406};
1407
1408#ifdef COBJMACROS
1409#ifndef WIDL_C_INLINE_WRAPPERS
1410/*** IUnknown methods ***/
1411#define ID3D10DeviceChild_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1412#define ID3D10DeviceChild_AddRef(This) (This)->lpVtbl->AddRef(This)
1413#define ID3D10DeviceChild_Release(This) (This)->lpVtbl->Release(This)
1414/*** ID3D10DeviceChild methods ***/
1415#define ID3D10DeviceChild_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
1416#define ID3D10DeviceChild_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
1417#define ID3D10DeviceChild_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
1418#define ID3D10DeviceChild_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
1419#else
1420/*** IUnknown methods ***/
1421static FORCEINLINE HRESULT ID3D10DeviceChild_QueryInterface(ID3D10DeviceChild* This,REFIID riid,void **ppvObject) {
1422 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1423}
1424static FORCEINLINE ULONG ID3D10DeviceChild_AddRef(ID3D10DeviceChild* This) {
1425 return This->lpVtbl->AddRef(This);
1426}
1427static FORCEINLINE ULONG ID3D10DeviceChild_Release(ID3D10DeviceChild* This) {
1428 return This->lpVtbl->Release(This);
1429}
1430/*** ID3D10DeviceChild methods ***/
1431static FORCEINLINE void ID3D10DeviceChild_GetDevice(ID3D10DeviceChild* This,ID3D10Device **ppDevice) {
1432 This->lpVtbl->GetDevice(This,ppDevice);
1433}
1434static FORCEINLINE HRESULT ID3D10DeviceChild_GetPrivateData(ID3D10DeviceChild* This,REFGUID guid,UINT *pDataSize,void *pData) {
1435 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
1436}
1437static FORCEINLINE HRESULT ID3D10DeviceChild_SetPrivateData(ID3D10DeviceChild* This,REFGUID guid,UINT DataSize,const void *pData) {
1438 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
1439}
1440static FORCEINLINE HRESULT ID3D10DeviceChild_SetPrivateDataInterface(ID3D10DeviceChild* This,REFGUID guid,const IUnknown *pData) {
1441 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
1442}
1443#endif
1444#endif
1445
1446#endif
1447
1448
1449#endif /* __ID3D10DeviceChild_INTERFACE_DEFINED__ */
1450
1451/*****************************************************************************
1452 * ID3D10Resource interface
1453 */
1454#ifndef __ID3D10Resource_INTERFACE_DEFINED__
1455#define __ID3D10Resource_INTERFACE_DEFINED__
1456
1457DEFINE_GUID(IID_ID3D10Resource, 0x9b7e4c01, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
1458#if defined(__cplusplus) && !defined(CINTERFACE)
1459MIDL_INTERFACE("9b7e4c01-342c-4106-a19f-4f2704f689f0")
1460ID3D10Resource : public ID3D10DeviceChild
1461{
1462 virtual void STDMETHODCALLTYPE GetType(
1463 D3D10_RESOURCE_DIMENSION *rType) = 0;
1464
1465 virtual void STDMETHODCALLTYPE SetEvictionPriority(
1466 UINT EvictionPriority) = 0;
1467
1468 virtual UINT STDMETHODCALLTYPE GetEvictionPriority(
1469 ) = 0;
1470
1471};
1472#ifdef __CRT_UUID_DECL
1473__CRT_UUID_DECL(ID3D10Resource, 0x9b7e4c01, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
1474#endif
1475#else
1476typedef struct ID3D10ResourceVtbl {
1477 BEGIN_INTERFACE
1478
1479 /*** IUnknown methods ***/
1480 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1481 ID3D10Resource *This,
1482 REFIID riid,
1483 void **ppvObject);
1484
1485 ULONG (STDMETHODCALLTYPE *AddRef)(
1486 ID3D10Resource *This);
1487
1488 ULONG (STDMETHODCALLTYPE *Release)(
1489 ID3D10Resource *This);
1490
1491 /*** ID3D10DeviceChild methods ***/
1492 void (STDMETHODCALLTYPE *GetDevice)(
1493 ID3D10Resource *This,
1494 ID3D10Device **ppDevice);
1495
1496 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
1497 ID3D10Resource *This,
1498 REFGUID guid,
1499 UINT *pDataSize,
1500 void *pData);
1501
1502 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
1503 ID3D10Resource *This,
1504 REFGUID guid,
1505 UINT DataSize,
1506 const void *pData);
1507
1508 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
1509 ID3D10Resource *This,
1510 REFGUID guid,
1511 const IUnknown *pData);
1512
1513 /*** ID3D10Resource methods ***/
1514 void (STDMETHODCALLTYPE *GetType)(
1515 ID3D10Resource *This,
1516 D3D10_RESOURCE_DIMENSION *rType);
1517
1518 void (STDMETHODCALLTYPE *SetEvictionPriority)(
1519 ID3D10Resource *This,
1520 UINT EvictionPriority);
1521
1522 UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
1523 ID3D10Resource *This);
1524
1525 END_INTERFACE
1526} ID3D10ResourceVtbl;
1527
1528interface ID3D10Resource {
1529 CONST_VTBL ID3D10ResourceVtbl* lpVtbl;
1530};
1531
1532#ifdef COBJMACROS
1533#ifndef WIDL_C_INLINE_WRAPPERS
1534/*** IUnknown methods ***/
1535#define ID3D10Resource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1536#define ID3D10Resource_AddRef(This) (This)->lpVtbl->AddRef(This)
1537#define ID3D10Resource_Release(This) (This)->lpVtbl->Release(This)
1538/*** ID3D10DeviceChild methods ***/
1539#define ID3D10Resource_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
1540#define ID3D10Resource_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
1541#define ID3D10Resource_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
1542#define ID3D10Resource_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
1543/*** ID3D10Resource methods ***/
1544#define ID3D10Resource_GetType(This,rType) (This)->lpVtbl->GetType(This,rType)
1545#define ID3D10Resource_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority)
1546#define ID3D10Resource_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This)
1547#else
1548/*** IUnknown methods ***/
1549static FORCEINLINE HRESULT ID3D10Resource_QueryInterface(ID3D10Resource* This,REFIID riid,void **ppvObject) {
1550 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1551}
1552static FORCEINLINE ULONG ID3D10Resource_AddRef(ID3D10Resource* This) {
1553 return This->lpVtbl->AddRef(This);
1554}
1555static FORCEINLINE ULONG ID3D10Resource_Release(ID3D10Resource* This) {
1556 return This->lpVtbl->Release(This);
1557}
1558/*** ID3D10DeviceChild methods ***/
1559static FORCEINLINE void ID3D10Resource_GetDevice(ID3D10Resource* This,ID3D10Device **ppDevice) {
1560 This->lpVtbl->GetDevice(This,ppDevice);
1561}
1562static FORCEINLINE HRESULT ID3D10Resource_GetPrivateData(ID3D10Resource* This,REFGUID guid,UINT *pDataSize,void *pData) {
1563 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
1564}
1565static FORCEINLINE HRESULT ID3D10Resource_SetPrivateData(ID3D10Resource* This,REFGUID guid,UINT DataSize,const void *pData) {
1566 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
1567}
1568static FORCEINLINE HRESULT ID3D10Resource_SetPrivateDataInterface(ID3D10Resource* This,REFGUID guid,const IUnknown *pData) {
1569 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
1570}
1571/*** ID3D10Resource methods ***/
1572static FORCEINLINE void ID3D10Resource_GetType(ID3D10Resource* This,D3D10_RESOURCE_DIMENSION *rType) {
1573 This->lpVtbl->GetType(This,rType);
1574}
1575static FORCEINLINE void ID3D10Resource_SetEvictionPriority(ID3D10Resource* This,UINT EvictionPriority) {
1576 This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
1577}
1578static FORCEINLINE UINT ID3D10Resource_GetEvictionPriority(ID3D10Resource* This) {
1579 return This->lpVtbl->GetEvictionPriority(This);
1580}
1581#endif
1582#endif
1583
1584#endif
1585
1586
1587#endif /* __ID3D10Resource_INTERFACE_DEFINED__ */
1588
1589/*****************************************************************************
1590 * ID3D10Buffer interface
1591 */
1592#ifndef __ID3D10Buffer_INTERFACE_DEFINED__
1593#define __ID3D10Buffer_INTERFACE_DEFINED__
1594
1595DEFINE_GUID(IID_ID3D10Buffer, 0x9b7e4c02, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
1596#if defined(__cplusplus) && !defined(CINTERFACE)
1597MIDL_INTERFACE("9b7e4c02-342c-4106-a19f-4f2704f689f0")
1598ID3D10Buffer : public ID3D10Resource
1599{
1600 virtual HRESULT STDMETHODCALLTYPE Map(
1601 D3D10_MAP MapType,
1602 UINT MapFlags,
1603 void **ppData) = 0;
1604
1605 virtual void STDMETHODCALLTYPE Unmap(
1606 ) = 0;
1607
1608 virtual void STDMETHODCALLTYPE GetDesc(
1609 D3D10_BUFFER_DESC *pDesc) = 0;
1610
1611};
1612#ifdef __CRT_UUID_DECL
1613__CRT_UUID_DECL(ID3D10Buffer, 0x9b7e4c02, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
1614#endif
1615#else
1616typedef struct ID3D10BufferVtbl {
1617 BEGIN_INTERFACE
1618
1619 /*** IUnknown methods ***/
1620 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1621 ID3D10Buffer *This,
1622 REFIID riid,
1623 void **ppvObject);
1624
1625 ULONG (STDMETHODCALLTYPE *AddRef)(
1626 ID3D10Buffer *This);
1627
1628 ULONG (STDMETHODCALLTYPE *Release)(
1629 ID3D10Buffer *This);
1630
1631 /*** ID3D10DeviceChild methods ***/
1632 void (STDMETHODCALLTYPE *GetDevice)(
1633 ID3D10Buffer *This,
1634 ID3D10Device **ppDevice);
1635
1636 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
1637 ID3D10Buffer *This,
1638 REFGUID guid,
1639 UINT *pDataSize,
1640 void *pData);
1641
1642 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
1643 ID3D10Buffer *This,
1644 REFGUID guid,
1645 UINT DataSize,
1646 const void *pData);
1647
1648 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
1649 ID3D10Buffer *This,
1650 REFGUID guid,
1651 const IUnknown *pData);
1652
1653 /*** ID3D10Resource methods ***/
1654 void (STDMETHODCALLTYPE *GetType)(
1655 ID3D10Buffer *This,
1656 D3D10_RESOURCE_DIMENSION *rType);
1657
1658 void (STDMETHODCALLTYPE *SetEvictionPriority)(
1659 ID3D10Buffer *This,
1660 UINT EvictionPriority);
1661
1662 UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
1663 ID3D10Buffer *This);
1664
1665 /*** ID3D10Buffer methods ***/
1666 HRESULT (STDMETHODCALLTYPE *Map)(
1667 ID3D10Buffer *This,
1668 D3D10_MAP MapType,
1669 UINT MapFlags,
1670 void **ppData);
1671
1672 void (STDMETHODCALLTYPE *Unmap)(
1673 ID3D10Buffer *This);
1674
1675 void (STDMETHODCALLTYPE *GetDesc)(
1676 ID3D10Buffer *This,
1677 D3D10_BUFFER_DESC *pDesc);
1678
1679 END_INTERFACE
1680} ID3D10BufferVtbl;
1681
1682interface ID3D10Buffer {
1683 CONST_VTBL ID3D10BufferVtbl* lpVtbl;
1684};
1685
1686#ifdef COBJMACROS
1687#ifndef WIDL_C_INLINE_WRAPPERS
1688/*** IUnknown methods ***/
1689#define ID3D10Buffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1690#define ID3D10Buffer_AddRef(This) (This)->lpVtbl->AddRef(This)
1691#define ID3D10Buffer_Release(This) (This)->lpVtbl->Release(This)
1692/*** ID3D10DeviceChild methods ***/
1693#define ID3D10Buffer_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
1694#define ID3D10Buffer_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
1695#define ID3D10Buffer_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
1696#define ID3D10Buffer_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
1697/*** ID3D10Resource methods ***/
1698#define ID3D10Buffer_GetType(This,rType) (This)->lpVtbl->GetType(This,rType)
1699#define ID3D10Buffer_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority)
1700#define ID3D10Buffer_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This)
1701/*** ID3D10Buffer methods ***/
1702#define ID3D10Buffer_Map(This,MapType,MapFlags,ppData) (This)->lpVtbl->Map(This,MapType,MapFlags,ppData)
1703#define ID3D10Buffer_Unmap(This) (This)->lpVtbl->Unmap(This)
1704#define ID3D10Buffer_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
1705#else
1706/*** IUnknown methods ***/
1707static FORCEINLINE HRESULT ID3D10Buffer_QueryInterface(ID3D10Buffer* This,REFIID riid,void **ppvObject) {
1708 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1709}
1710static FORCEINLINE ULONG ID3D10Buffer_AddRef(ID3D10Buffer* This) {
1711 return This->lpVtbl->AddRef(This);
1712}
1713static FORCEINLINE ULONG ID3D10Buffer_Release(ID3D10Buffer* This) {
1714 return This->lpVtbl->Release(This);
1715}
1716/*** ID3D10DeviceChild methods ***/
1717static FORCEINLINE void ID3D10Buffer_GetDevice(ID3D10Buffer* This,ID3D10Device **ppDevice) {
1718 This->lpVtbl->GetDevice(This,ppDevice);
1719}
1720static FORCEINLINE HRESULT ID3D10Buffer_GetPrivateData(ID3D10Buffer* This,REFGUID guid,UINT *pDataSize,void *pData) {
1721 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
1722}
1723static FORCEINLINE HRESULT ID3D10Buffer_SetPrivateData(ID3D10Buffer* This,REFGUID guid,UINT DataSize,const void *pData) {
1724 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
1725}
1726static FORCEINLINE HRESULT ID3D10Buffer_SetPrivateDataInterface(ID3D10Buffer* This,REFGUID guid,const IUnknown *pData) {
1727 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
1728}
1729/*** ID3D10Resource methods ***/
1730static FORCEINLINE void ID3D10Buffer_GetType(ID3D10Buffer* This,D3D10_RESOURCE_DIMENSION *rType) {
1731 This->lpVtbl->GetType(This,rType);
1732}
1733static FORCEINLINE void ID3D10Buffer_SetEvictionPriority(ID3D10Buffer* This,UINT EvictionPriority) {
1734 This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
1735}
1736static FORCEINLINE UINT ID3D10Buffer_GetEvictionPriority(ID3D10Buffer* This) {
1737 return This->lpVtbl->GetEvictionPriority(This);
1738}
1739/*** ID3D10Buffer methods ***/
1740static FORCEINLINE HRESULT ID3D10Buffer_Map(ID3D10Buffer* This,D3D10_MAP MapType,UINT MapFlags,void **ppData) {
1741 return This->lpVtbl->Map(This,MapType,MapFlags,ppData);
1742}
1743static FORCEINLINE void ID3D10Buffer_Unmap(ID3D10Buffer* This) {
1744 This->lpVtbl->Unmap(This);
1745}
1746static FORCEINLINE void ID3D10Buffer_GetDesc(ID3D10Buffer* This,D3D10_BUFFER_DESC *pDesc) {
1747 This->lpVtbl->GetDesc(This,pDesc);
1748}
1749#endif
1750#endif
1751
1752#endif
1753
1754
1755#endif /* __ID3D10Buffer_INTERFACE_DEFINED__ */
1756
1757/*****************************************************************************
1758 * ID3D10Texture1D interface
1759 */
1760#ifndef __ID3D10Texture1D_INTERFACE_DEFINED__
1761#define __ID3D10Texture1D_INTERFACE_DEFINED__
1762
1763DEFINE_GUID(IID_ID3D10Texture1D, 0x9b7e4c03, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
1764#if defined(__cplusplus) && !defined(CINTERFACE)
1765MIDL_INTERFACE("9b7e4c03-342c-4106-a19f-4f2704f689f0")
1766ID3D10Texture1D : public ID3D10Resource
1767{
1768 virtual HRESULT STDMETHODCALLTYPE Map(
1769 UINT Subresource,
1770 D3D10_MAP MapType,
1771 UINT MapFlags,
1772 void **ppData) = 0;
1773
1774 virtual void STDMETHODCALLTYPE Unmap(
1775 UINT Subresource) = 0;
1776
1777 virtual void STDMETHODCALLTYPE GetDesc(
1778 D3D10_TEXTURE1D_DESC *pDesc) = 0;
1779
1780};
1781#ifdef __CRT_UUID_DECL
1782__CRT_UUID_DECL(ID3D10Texture1D, 0x9b7e4c03, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
1783#endif
1784#else
1785typedef struct ID3D10Texture1DVtbl {
1786 BEGIN_INTERFACE
1787
1788 /*** IUnknown methods ***/
1789 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1790 ID3D10Texture1D *This,
1791 REFIID riid,
1792 void **ppvObject);
1793
1794 ULONG (STDMETHODCALLTYPE *AddRef)(
1795 ID3D10Texture1D *This);
1796
1797 ULONG (STDMETHODCALLTYPE *Release)(
1798 ID3D10Texture1D *This);
1799
1800 /*** ID3D10DeviceChild methods ***/
1801 void (STDMETHODCALLTYPE *GetDevice)(
1802 ID3D10Texture1D *This,
1803 ID3D10Device **ppDevice);
1804
1805 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
1806 ID3D10Texture1D *This,
1807 REFGUID guid,
1808 UINT *pDataSize,
1809 void *pData);
1810
1811 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
1812 ID3D10Texture1D *This,
1813 REFGUID guid,
1814 UINT DataSize,
1815 const void *pData);
1816
1817 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
1818 ID3D10Texture1D *This,
1819 REFGUID guid,
1820 const IUnknown *pData);
1821
1822 /*** ID3D10Resource methods ***/
1823 void (STDMETHODCALLTYPE *GetType)(
1824 ID3D10Texture1D *This,
1825 D3D10_RESOURCE_DIMENSION *rType);
1826
1827 void (STDMETHODCALLTYPE *SetEvictionPriority)(
1828 ID3D10Texture1D *This,
1829 UINT EvictionPriority);
1830
1831 UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
1832 ID3D10Texture1D *This);
1833
1834 /*** ID3D10Texture1D methods ***/
1835 HRESULT (STDMETHODCALLTYPE *Map)(
1836 ID3D10Texture1D *This,
1837 UINT Subresource,
1838 D3D10_MAP MapType,
1839 UINT MapFlags,
1840 void **ppData);
1841
1842 void (STDMETHODCALLTYPE *Unmap)(
1843 ID3D10Texture1D *This,
1844 UINT Subresource);
1845
1846 void (STDMETHODCALLTYPE *GetDesc)(
1847 ID3D10Texture1D *This,
1848 D3D10_TEXTURE1D_DESC *pDesc);
1849
1850 END_INTERFACE
1851} ID3D10Texture1DVtbl;
1852
1853interface ID3D10Texture1D {
1854 CONST_VTBL ID3D10Texture1DVtbl* lpVtbl;
1855};
1856
1857#ifdef COBJMACROS
1858#ifndef WIDL_C_INLINE_WRAPPERS
1859/*** IUnknown methods ***/
1860#define ID3D10Texture1D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
1861#define ID3D10Texture1D_AddRef(This) (This)->lpVtbl->AddRef(This)
1862#define ID3D10Texture1D_Release(This) (This)->lpVtbl->Release(This)
1863/*** ID3D10DeviceChild methods ***/
1864#define ID3D10Texture1D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
1865#define ID3D10Texture1D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
1866#define ID3D10Texture1D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
1867#define ID3D10Texture1D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
1868/*** ID3D10Resource methods ***/
1869#define ID3D10Texture1D_GetType(This,rType) (This)->lpVtbl->GetType(This,rType)
1870#define ID3D10Texture1D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority)
1871#define ID3D10Texture1D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This)
1872/*** ID3D10Texture1D methods ***/
1873#define ID3D10Texture1D_Map(This,Subresource,MapType,MapFlags,ppData) (This)->lpVtbl->Map(This,Subresource,MapType,MapFlags,ppData)
1874#define ID3D10Texture1D_Unmap(This,Subresource) (This)->lpVtbl->Unmap(This,Subresource)
1875#define ID3D10Texture1D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
1876#else
1877/*** IUnknown methods ***/
1878static FORCEINLINE HRESULT ID3D10Texture1D_QueryInterface(ID3D10Texture1D* This,REFIID riid,void **ppvObject) {
1879 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
1880}
1881static FORCEINLINE ULONG ID3D10Texture1D_AddRef(ID3D10Texture1D* This) {
1882 return This->lpVtbl->AddRef(This);
1883}
1884static FORCEINLINE ULONG ID3D10Texture1D_Release(ID3D10Texture1D* This) {
1885 return This->lpVtbl->Release(This);
1886}
1887/*** ID3D10DeviceChild methods ***/
1888static FORCEINLINE void ID3D10Texture1D_GetDevice(ID3D10Texture1D* This,ID3D10Device **ppDevice) {
1889 This->lpVtbl->GetDevice(This,ppDevice);
1890}
1891static FORCEINLINE HRESULT ID3D10Texture1D_GetPrivateData(ID3D10Texture1D* This,REFGUID guid,UINT *pDataSize,void *pData) {
1892 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
1893}
1894static FORCEINLINE HRESULT ID3D10Texture1D_SetPrivateData(ID3D10Texture1D* This,REFGUID guid,UINT DataSize,const void *pData) {
1895 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
1896}
1897static FORCEINLINE HRESULT ID3D10Texture1D_SetPrivateDataInterface(ID3D10Texture1D* This,REFGUID guid,const IUnknown *pData) {
1898 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
1899}
1900/*** ID3D10Resource methods ***/
1901static FORCEINLINE void ID3D10Texture1D_GetType(ID3D10Texture1D* This,D3D10_RESOURCE_DIMENSION *rType) {
1902 This->lpVtbl->GetType(This,rType);
1903}
1904static FORCEINLINE void ID3D10Texture1D_SetEvictionPriority(ID3D10Texture1D* This,UINT EvictionPriority) {
1905 This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
1906}
1907static FORCEINLINE UINT ID3D10Texture1D_GetEvictionPriority(ID3D10Texture1D* This) {
1908 return This->lpVtbl->GetEvictionPriority(This);
1909}
1910/*** ID3D10Texture1D methods ***/
1911static FORCEINLINE HRESULT ID3D10Texture1D_Map(ID3D10Texture1D* This,UINT Subresource,D3D10_MAP MapType,UINT MapFlags,void **ppData) {
1912 return This->lpVtbl->Map(This,Subresource,MapType,MapFlags,ppData);
1913}
1914static FORCEINLINE void ID3D10Texture1D_Unmap(ID3D10Texture1D* This,UINT Subresource) {
1915 This->lpVtbl->Unmap(This,Subresource);
1916}
1917static FORCEINLINE void ID3D10Texture1D_GetDesc(ID3D10Texture1D* This,D3D10_TEXTURE1D_DESC *pDesc) {
1918 This->lpVtbl->GetDesc(This,pDesc);
1919}
1920#endif
1921#endif
1922
1923#endif
1924
1925
1926#endif /* __ID3D10Texture1D_INTERFACE_DEFINED__ */
1927
1928/*****************************************************************************
1929 * ID3D10Texture2D interface
1930 */
1931#ifndef __ID3D10Texture2D_INTERFACE_DEFINED__
1932#define __ID3D10Texture2D_INTERFACE_DEFINED__
1933
1934DEFINE_GUID(IID_ID3D10Texture2D, 0x9b7e4c04, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
1935#if defined(__cplusplus) && !defined(CINTERFACE)
1936MIDL_INTERFACE("9b7e4c04-342c-4106-a19f-4f2704f689f0")
1937ID3D10Texture2D : public ID3D10Resource
1938{
1939 virtual HRESULT STDMETHODCALLTYPE Map(
1940 UINT Subresource,
1941 D3D10_MAP MapType,
1942 UINT MapFlags,
1943 D3D10_MAPPED_TEXTURE2D *pMappedTex2D) = 0;
1944
1945 virtual void STDMETHODCALLTYPE Unmap(
1946 UINT Subresource) = 0;
1947
1948 virtual void STDMETHODCALLTYPE GetDesc(
1949 D3D10_TEXTURE2D_DESC *pDesc) = 0;
1950
1951};
1952#ifdef __CRT_UUID_DECL
1953__CRT_UUID_DECL(ID3D10Texture2D, 0x9b7e4c04, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
1954#endif
1955#else
1956typedef struct ID3D10Texture2DVtbl {
1957 BEGIN_INTERFACE
1958
1959 /*** IUnknown methods ***/
1960 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
1961 ID3D10Texture2D *This,
1962 REFIID riid,
1963 void **ppvObject);
1964
1965 ULONG (STDMETHODCALLTYPE *AddRef)(
1966 ID3D10Texture2D *This);
1967
1968 ULONG (STDMETHODCALLTYPE *Release)(
1969 ID3D10Texture2D *This);
1970
1971 /*** ID3D10DeviceChild methods ***/
1972 void (STDMETHODCALLTYPE *GetDevice)(
1973 ID3D10Texture2D *This,
1974 ID3D10Device **ppDevice);
1975
1976 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
1977 ID3D10Texture2D *This,
1978 REFGUID guid,
1979 UINT *pDataSize,
1980 void *pData);
1981
1982 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
1983 ID3D10Texture2D *This,
1984 REFGUID guid,
1985 UINT DataSize,
1986 const void *pData);
1987
1988 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
1989 ID3D10Texture2D *This,
1990 REFGUID guid,
1991 const IUnknown *pData);
1992
1993 /*** ID3D10Resource methods ***/
1994 void (STDMETHODCALLTYPE *GetType)(
1995 ID3D10Texture2D *This,
1996 D3D10_RESOURCE_DIMENSION *rType);
1997
1998 void (STDMETHODCALLTYPE *SetEvictionPriority)(
1999 ID3D10Texture2D *This,
2000 UINT EvictionPriority);
2001
2002 UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
2003 ID3D10Texture2D *This);
2004
2005 /*** ID3D10Texture2D methods ***/
2006 HRESULT (STDMETHODCALLTYPE *Map)(
2007 ID3D10Texture2D *This,
2008 UINT Subresource,
2009 D3D10_MAP MapType,
2010 UINT MapFlags,
2011 D3D10_MAPPED_TEXTURE2D *pMappedTex2D);
2012
2013 void (STDMETHODCALLTYPE *Unmap)(
2014 ID3D10Texture2D *This,
2015 UINT Subresource);
2016
2017 void (STDMETHODCALLTYPE *GetDesc)(
2018 ID3D10Texture2D *This,
2019 D3D10_TEXTURE2D_DESC *pDesc);
2020
2021 END_INTERFACE
2022} ID3D10Texture2DVtbl;
2023
2024interface ID3D10Texture2D {
2025 CONST_VTBL ID3D10Texture2DVtbl* lpVtbl;
2026};
2027
2028#ifdef COBJMACROS
2029#ifndef WIDL_C_INLINE_WRAPPERS
2030/*** IUnknown methods ***/
2031#define ID3D10Texture2D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2032#define ID3D10Texture2D_AddRef(This) (This)->lpVtbl->AddRef(This)
2033#define ID3D10Texture2D_Release(This) (This)->lpVtbl->Release(This)
2034/*** ID3D10DeviceChild methods ***/
2035#define ID3D10Texture2D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
2036#define ID3D10Texture2D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
2037#define ID3D10Texture2D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
2038#define ID3D10Texture2D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
2039/*** ID3D10Resource methods ***/
2040#define ID3D10Texture2D_GetType(This,rType) (This)->lpVtbl->GetType(This,rType)
2041#define ID3D10Texture2D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority)
2042#define ID3D10Texture2D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This)
2043/*** ID3D10Texture2D methods ***/
2044#define ID3D10Texture2D_Map(This,Subresource,MapType,MapFlags,pMappedTex2D) (This)->lpVtbl->Map(This,Subresource,MapType,MapFlags,pMappedTex2D)
2045#define ID3D10Texture2D_Unmap(This,Subresource) (This)->lpVtbl->Unmap(This,Subresource)
2046#define ID3D10Texture2D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
2047#else
2048/*** IUnknown methods ***/
2049static FORCEINLINE HRESULT ID3D10Texture2D_QueryInterface(ID3D10Texture2D* This,REFIID riid,void **ppvObject) {
2050 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2051}
2052static FORCEINLINE ULONG ID3D10Texture2D_AddRef(ID3D10Texture2D* This) {
2053 return This->lpVtbl->AddRef(This);
2054}
2055static FORCEINLINE ULONG ID3D10Texture2D_Release(ID3D10Texture2D* This) {
2056 return This->lpVtbl->Release(This);
2057}
2058/*** ID3D10DeviceChild methods ***/
2059static FORCEINLINE void ID3D10Texture2D_GetDevice(ID3D10Texture2D* This,ID3D10Device **ppDevice) {
2060 This->lpVtbl->GetDevice(This,ppDevice);
2061}
2062static FORCEINLINE HRESULT ID3D10Texture2D_GetPrivateData(ID3D10Texture2D* This,REFGUID guid,UINT *pDataSize,void *pData) {
2063 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
2064}
2065static FORCEINLINE HRESULT ID3D10Texture2D_SetPrivateData(ID3D10Texture2D* This,REFGUID guid,UINT DataSize,const void *pData) {
2066 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
2067}
2068static FORCEINLINE HRESULT ID3D10Texture2D_SetPrivateDataInterface(ID3D10Texture2D* This,REFGUID guid,const IUnknown *pData) {
2069 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
2070}
2071/*** ID3D10Resource methods ***/
2072static FORCEINLINE void ID3D10Texture2D_GetType(ID3D10Texture2D* This,D3D10_RESOURCE_DIMENSION *rType) {
2073 This->lpVtbl->GetType(This,rType);
2074}
2075static FORCEINLINE void ID3D10Texture2D_SetEvictionPriority(ID3D10Texture2D* This,UINT EvictionPriority) {
2076 This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
2077}
2078static FORCEINLINE UINT ID3D10Texture2D_GetEvictionPriority(ID3D10Texture2D* This) {
2079 return This->lpVtbl->GetEvictionPriority(This);
2080}
2081/*** ID3D10Texture2D methods ***/
2082static FORCEINLINE HRESULT ID3D10Texture2D_Map(ID3D10Texture2D* This,UINT Subresource,D3D10_MAP MapType,UINT MapFlags,D3D10_MAPPED_TEXTURE2D *pMappedTex2D) {
2083 return This->lpVtbl->Map(This,Subresource,MapType,MapFlags,pMappedTex2D);
2084}
2085static FORCEINLINE void ID3D10Texture2D_Unmap(ID3D10Texture2D* This,UINT Subresource) {
2086 This->lpVtbl->Unmap(This,Subresource);
2087}
2088static FORCEINLINE void ID3D10Texture2D_GetDesc(ID3D10Texture2D* This,D3D10_TEXTURE2D_DESC *pDesc) {
2089 This->lpVtbl->GetDesc(This,pDesc);
2090}
2091#endif
2092#endif
2093
2094#endif
2095
2096
2097#endif /* __ID3D10Texture2D_INTERFACE_DEFINED__ */
2098
2099/*****************************************************************************
2100 * ID3D10Texture3D interface
2101 */
2102#ifndef __ID3D10Texture3D_INTERFACE_DEFINED__
2103#define __ID3D10Texture3D_INTERFACE_DEFINED__
2104
2105DEFINE_GUID(IID_ID3D10Texture3D, 0x9b7e4c05, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
2106#if defined(__cplusplus) && !defined(CINTERFACE)
2107MIDL_INTERFACE("9b7e4c05-342c-4106-a19f-4f2704f689f0")
2108ID3D10Texture3D : public ID3D10Resource
2109{
2110 virtual HRESULT STDMETHODCALLTYPE Map(
2111 UINT Subresource,
2112 D3D10_MAP MapType,
2113 UINT MapFlags,
2114 D3D10_MAPPED_TEXTURE3D *pMappedTex3D) = 0;
2115
2116 virtual void STDMETHODCALLTYPE Unmap(
2117 UINT Subresource) = 0;
2118
2119 virtual void STDMETHODCALLTYPE GetDesc(
2120 D3D10_TEXTURE3D_DESC *pDesc) = 0;
2121
2122};
2123#ifdef __CRT_UUID_DECL
2124__CRT_UUID_DECL(ID3D10Texture3D, 0x9b7e4c05, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
2125#endif
2126#else
2127typedef struct ID3D10Texture3DVtbl {
2128 BEGIN_INTERFACE
2129
2130 /*** IUnknown methods ***/
2131 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2132 ID3D10Texture3D *This,
2133 REFIID riid,
2134 void **ppvObject);
2135
2136 ULONG (STDMETHODCALLTYPE *AddRef)(
2137 ID3D10Texture3D *This);
2138
2139 ULONG (STDMETHODCALLTYPE *Release)(
2140 ID3D10Texture3D *This);
2141
2142 /*** ID3D10DeviceChild methods ***/
2143 void (STDMETHODCALLTYPE *GetDevice)(
2144 ID3D10Texture3D *This,
2145 ID3D10Device **ppDevice);
2146
2147 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
2148 ID3D10Texture3D *This,
2149 REFGUID guid,
2150 UINT *pDataSize,
2151 void *pData);
2152
2153 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
2154 ID3D10Texture3D *This,
2155 REFGUID guid,
2156 UINT DataSize,
2157 const void *pData);
2158
2159 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
2160 ID3D10Texture3D *This,
2161 REFGUID guid,
2162 const IUnknown *pData);
2163
2164 /*** ID3D10Resource methods ***/
2165 void (STDMETHODCALLTYPE *GetType)(
2166 ID3D10Texture3D *This,
2167 D3D10_RESOURCE_DIMENSION *rType);
2168
2169 void (STDMETHODCALLTYPE *SetEvictionPriority)(
2170 ID3D10Texture3D *This,
2171 UINT EvictionPriority);
2172
2173 UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
2174 ID3D10Texture3D *This);
2175
2176 /*** ID3D10Texture3D methods ***/
2177 HRESULT (STDMETHODCALLTYPE *Map)(
2178 ID3D10Texture3D *This,
2179 UINT Subresource,
2180 D3D10_MAP MapType,
2181 UINT MapFlags,
2182 D3D10_MAPPED_TEXTURE3D *pMappedTex3D);
2183
2184 void (STDMETHODCALLTYPE *Unmap)(
2185 ID3D10Texture3D *This,
2186 UINT Subresource);
2187
2188 void (STDMETHODCALLTYPE *GetDesc)(
2189 ID3D10Texture3D *This,
2190 D3D10_TEXTURE3D_DESC *pDesc);
2191
2192 END_INTERFACE
2193} ID3D10Texture3DVtbl;
2194
2195interface ID3D10Texture3D {
2196 CONST_VTBL ID3D10Texture3DVtbl* lpVtbl;
2197};
2198
2199#ifdef COBJMACROS
2200#ifndef WIDL_C_INLINE_WRAPPERS
2201/*** IUnknown methods ***/
2202#define ID3D10Texture3D_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2203#define ID3D10Texture3D_AddRef(This) (This)->lpVtbl->AddRef(This)
2204#define ID3D10Texture3D_Release(This) (This)->lpVtbl->Release(This)
2205/*** ID3D10DeviceChild methods ***/
2206#define ID3D10Texture3D_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
2207#define ID3D10Texture3D_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
2208#define ID3D10Texture3D_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
2209#define ID3D10Texture3D_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
2210/*** ID3D10Resource methods ***/
2211#define ID3D10Texture3D_GetType(This,rType) (This)->lpVtbl->GetType(This,rType)
2212#define ID3D10Texture3D_SetEvictionPriority(This,EvictionPriority) (This)->lpVtbl->SetEvictionPriority(This,EvictionPriority)
2213#define ID3D10Texture3D_GetEvictionPriority(This) (This)->lpVtbl->GetEvictionPriority(This)
2214/*** ID3D10Texture3D methods ***/
2215#define ID3D10Texture3D_Map(This,Subresource,MapType,MapFlags,pMappedTex3D) (This)->lpVtbl->Map(This,Subresource,MapType,MapFlags,pMappedTex3D)
2216#define ID3D10Texture3D_Unmap(This,Subresource) (This)->lpVtbl->Unmap(This,Subresource)
2217#define ID3D10Texture3D_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
2218#else
2219/*** IUnknown methods ***/
2220static FORCEINLINE HRESULT ID3D10Texture3D_QueryInterface(ID3D10Texture3D* This,REFIID riid,void **ppvObject) {
2221 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2222}
2223static FORCEINLINE ULONG ID3D10Texture3D_AddRef(ID3D10Texture3D* This) {
2224 return This->lpVtbl->AddRef(This);
2225}
2226static FORCEINLINE ULONG ID3D10Texture3D_Release(ID3D10Texture3D* This) {
2227 return This->lpVtbl->Release(This);
2228}
2229/*** ID3D10DeviceChild methods ***/
2230static FORCEINLINE void ID3D10Texture3D_GetDevice(ID3D10Texture3D* This,ID3D10Device **ppDevice) {
2231 This->lpVtbl->GetDevice(This,ppDevice);
2232}
2233static FORCEINLINE HRESULT ID3D10Texture3D_GetPrivateData(ID3D10Texture3D* This,REFGUID guid,UINT *pDataSize,void *pData) {
2234 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
2235}
2236static FORCEINLINE HRESULT ID3D10Texture3D_SetPrivateData(ID3D10Texture3D* This,REFGUID guid,UINT DataSize,const void *pData) {
2237 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
2238}
2239static FORCEINLINE HRESULT ID3D10Texture3D_SetPrivateDataInterface(ID3D10Texture3D* This,REFGUID guid,const IUnknown *pData) {
2240 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
2241}
2242/*** ID3D10Resource methods ***/
2243static FORCEINLINE void ID3D10Texture3D_GetType(ID3D10Texture3D* This,D3D10_RESOURCE_DIMENSION *rType) {
2244 This->lpVtbl->GetType(This,rType);
2245}
2246static FORCEINLINE void ID3D10Texture3D_SetEvictionPriority(ID3D10Texture3D* This,UINT EvictionPriority) {
2247 This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
2248}
2249static FORCEINLINE UINT ID3D10Texture3D_GetEvictionPriority(ID3D10Texture3D* This) {
2250 return This->lpVtbl->GetEvictionPriority(This);
2251}
2252/*** ID3D10Texture3D methods ***/
2253static FORCEINLINE HRESULT ID3D10Texture3D_Map(ID3D10Texture3D* This,UINT Subresource,D3D10_MAP MapType,UINT MapFlags,D3D10_MAPPED_TEXTURE3D *pMappedTex3D) {
2254 return This->lpVtbl->Map(This,Subresource,MapType,MapFlags,pMappedTex3D);
2255}
2256static FORCEINLINE void ID3D10Texture3D_Unmap(ID3D10Texture3D* This,UINT Subresource) {
2257 This->lpVtbl->Unmap(This,Subresource);
2258}
2259static FORCEINLINE void ID3D10Texture3D_GetDesc(ID3D10Texture3D* This,D3D10_TEXTURE3D_DESC *pDesc) {
2260 This->lpVtbl->GetDesc(This,pDesc);
2261}
2262#endif
2263#endif
2264
2265#endif
2266
2267
2268#endif /* __ID3D10Texture3D_INTERFACE_DEFINED__ */
2269
2270/*****************************************************************************
2271 * ID3D10View interface
2272 */
2273#ifndef __ID3D10View_INTERFACE_DEFINED__
2274#define __ID3D10View_INTERFACE_DEFINED__
2275
2276DEFINE_GUID(IID_ID3D10View, 0xc902b03f, 0x60a7, 0x49ba, 0x99,0x36, 0x2a,0x3a,0xb3,0x7a,0x7e,0x33);
2277#if defined(__cplusplus) && !defined(CINTERFACE)
2278MIDL_INTERFACE("c902b03f-60a7-49ba-9936-2a3ab37a7e33")
2279ID3D10View : public ID3D10DeviceChild
2280{
2281 virtual void STDMETHODCALLTYPE GetResource(
2282 ID3D10Resource **ppResource) = 0;
2283
2284};
2285#ifdef __CRT_UUID_DECL
2286__CRT_UUID_DECL(ID3D10View, 0xc902b03f, 0x60a7, 0x49ba, 0x99,0x36, 0x2a,0x3a,0xb3,0x7a,0x7e,0x33)
2287#endif
2288#else
2289typedef struct ID3D10ViewVtbl {
2290 BEGIN_INTERFACE
2291
2292 /*** IUnknown methods ***/
2293 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2294 ID3D10View *This,
2295 REFIID riid,
2296 void **ppvObject);
2297
2298 ULONG (STDMETHODCALLTYPE *AddRef)(
2299 ID3D10View *This);
2300
2301 ULONG (STDMETHODCALLTYPE *Release)(
2302 ID3D10View *This);
2303
2304 /*** ID3D10DeviceChild methods ***/
2305 void (STDMETHODCALLTYPE *GetDevice)(
2306 ID3D10View *This,
2307 ID3D10Device **ppDevice);
2308
2309 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
2310 ID3D10View *This,
2311 REFGUID guid,
2312 UINT *pDataSize,
2313 void *pData);
2314
2315 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
2316 ID3D10View *This,
2317 REFGUID guid,
2318 UINT DataSize,
2319 const void *pData);
2320
2321 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
2322 ID3D10View *This,
2323 REFGUID guid,
2324 const IUnknown *pData);
2325
2326 /*** ID3D10View methods ***/
2327 void (STDMETHODCALLTYPE *GetResource)(
2328 ID3D10View *This,
2329 ID3D10Resource **ppResource);
2330
2331 END_INTERFACE
2332} ID3D10ViewVtbl;
2333
2334interface ID3D10View {
2335 CONST_VTBL ID3D10ViewVtbl* lpVtbl;
2336};
2337
2338#ifdef COBJMACROS
2339#ifndef WIDL_C_INLINE_WRAPPERS
2340/*** IUnknown methods ***/
2341#define ID3D10View_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2342#define ID3D10View_AddRef(This) (This)->lpVtbl->AddRef(This)
2343#define ID3D10View_Release(This) (This)->lpVtbl->Release(This)
2344/*** ID3D10DeviceChild methods ***/
2345#define ID3D10View_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
2346#define ID3D10View_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
2347#define ID3D10View_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
2348#define ID3D10View_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
2349/*** ID3D10View methods ***/
2350#define ID3D10View_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
2351#else
2352/*** IUnknown methods ***/
2353static FORCEINLINE HRESULT ID3D10View_QueryInterface(ID3D10View* This,REFIID riid,void **ppvObject) {
2354 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2355}
2356static FORCEINLINE ULONG ID3D10View_AddRef(ID3D10View* This) {
2357 return This->lpVtbl->AddRef(This);
2358}
2359static FORCEINLINE ULONG ID3D10View_Release(ID3D10View* This) {
2360 return This->lpVtbl->Release(This);
2361}
2362/*** ID3D10DeviceChild methods ***/
2363static FORCEINLINE void ID3D10View_GetDevice(ID3D10View* This,ID3D10Device **ppDevice) {
2364 This->lpVtbl->GetDevice(This,ppDevice);
2365}
2366static FORCEINLINE HRESULT ID3D10View_GetPrivateData(ID3D10View* This,REFGUID guid,UINT *pDataSize,void *pData) {
2367 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
2368}
2369static FORCEINLINE HRESULT ID3D10View_SetPrivateData(ID3D10View* This,REFGUID guid,UINT DataSize,const void *pData) {
2370 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
2371}
2372static FORCEINLINE HRESULT ID3D10View_SetPrivateDataInterface(ID3D10View* This,REFGUID guid,const IUnknown *pData) {
2373 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
2374}
2375/*** ID3D10View methods ***/
2376static FORCEINLINE void ID3D10View_GetResource(ID3D10View* This,ID3D10Resource **ppResource) {
2377 This->lpVtbl->GetResource(This,ppResource);
2378}
2379#endif
2380#endif
2381
2382#endif
2383
2384
2385#endif /* __ID3D10View_INTERFACE_DEFINED__ */
2386
2387/*****************************************************************************
2388 * ID3D10DepthStencilView interface
2389 */
2390#ifndef __ID3D10DepthStencilView_INTERFACE_DEFINED__
2391#define __ID3D10DepthStencilView_INTERFACE_DEFINED__
2392
2393DEFINE_GUID(IID_ID3D10DepthStencilView, 0x9b7e4c09, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
2394#if defined(__cplusplus) && !defined(CINTERFACE)
2395MIDL_INTERFACE("9b7e4c09-342c-4106-a19f-4f2704f689f0")
2396ID3D10DepthStencilView : public ID3D10View
2397{
2398 virtual void STDMETHODCALLTYPE GetDesc(
2399 D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0;
2400
2401};
2402#ifdef __CRT_UUID_DECL
2403__CRT_UUID_DECL(ID3D10DepthStencilView, 0x9b7e4c09, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
2404#endif
2405#else
2406typedef struct ID3D10DepthStencilViewVtbl {
2407 BEGIN_INTERFACE
2408
2409 /*** IUnknown methods ***/
2410 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2411 ID3D10DepthStencilView *This,
2412 REFIID riid,
2413 void **ppvObject);
2414
2415 ULONG (STDMETHODCALLTYPE *AddRef)(
2416 ID3D10DepthStencilView *This);
2417
2418 ULONG (STDMETHODCALLTYPE *Release)(
2419 ID3D10DepthStencilView *This);
2420
2421 /*** ID3D10DeviceChild methods ***/
2422 void (STDMETHODCALLTYPE *GetDevice)(
2423 ID3D10DepthStencilView *This,
2424 ID3D10Device **ppDevice);
2425
2426 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
2427 ID3D10DepthStencilView *This,
2428 REFGUID guid,
2429 UINT *pDataSize,
2430 void *pData);
2431
2432 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
2433 ID3D10DepthStencilView *This,
2434 REFGUID guid,
2435 UINT DataSize,
2436 const void *pData);
2437
2438 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
2439 ID3D10DepthStencilView *This,
2440 REFGUID guid,
2441 const IUnknown *pData);
2442
2443 /*** ID3D10View methods ***/
2444 void (STDMETHODCALLTYPE *GetResource)(
2445 ID3D10DepthStencilView *This,
2446 ID3D10Resource **ppResource);
2447
2448 /*** ID3D10DepthStencilView methods ***/
2449 void (STDMETHODCALLTYPE *GetDesc)(
2450 ID3D10DepthStencilView *This,
2451 D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc);
2452
2453 END_INTERFACE
2454} ID3D10DepthStencilViewVtbl;
2455
2456interface ID3D10DepthStencilView {
2457 CONST_VTBL ID3D10DepthStencilViewVtbl* lpVtbl;
2458};
2459
2460#ifdef COBJMACROS
2461#ifndef WIDL_C_INLINE_WRAPPERS
2462/*** IUnknown methods ***/
2463#define ID3D10DepthStencilView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2464#define ID3D10DepthStencilView_AddRef(This) (This)->lpVtbl->AddRef(This)
2465#define ID3D10DepthStencilView_Release(This) (This)->lpVtbl->Release(This)
2466/*** ID3D10DeviceChild methods ***/
2467#define ID3D10DepthStencilView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
2468#define ID3D10DepthStencilView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
2469#define ID3D10DepthStencilView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
2470#define ID3D10DepthStencilView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
2471/*** ID3D10View methods ***/
2472#define ID3D10DepthStencilView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
2473/*** ID3D10DepthStencilView methods ***/
2474#define ID3D10DepthStencilView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
2475#else
2476/*** IUnknown methods ***/
2477static FORCEINLINE HRESULT ID3D10DepthStencilView_QueryInterface(ID3D10DepthStencilView* This,REFIID riid,void **ppvObject) {
2478 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2479}
2480static FORCEINLINE ULONG ID3D10DepthStencilView_AddRef(ID3D10DepthStencilView* This) {
2481 return This->lpVtbl->AddRef(This);
2482}
2483static FORCEINLINE ULONG ID3D10DepthStencilView_Release(ID3D10DepthStencilView* This) {
2484 return This->lpVtbl->Release(This);
2485}
2486/*** ID3D10DeviceChild methods ***/
2487static FORCEINLINE void ID3D10DepthStencilView_GetDevice(ID3D10DepthStencilView* This,ID3D10Device **ppDevice) {
2488 This->lpVtbl->GetDevice(This,ppDevice);
2489}
2490static FORCEINLINE HRESULT ID3D10DepthStencilView_GetPrivateData(ID3D10DepthStencilView* This,REFGUID guid,UINT *pDataSize,void *pData) {
2491 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
2492}
2493static FORCEINLINE HRESULT ID3D10DepthStencilView_SetPrivateData(ID3D10DepthStencilView* This,REFGUID guid,UINT DataSize,const void *pData) {
2494 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
2495}
2496static FORCEINLINE HRESULT ID3D10DepthStencilView_SetPrivateDataInterface(ID3D10DepthStencilView* This,REFGUID guid,const IUnknown *pData) {
2497 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
2498}
2499/*** ID3D10View methods ***/
2500static FORCEINLINE void ID3D10DepthStencilView_GetResource(ID3D10DepthStencilView* This,ID3D10Resource **ppResource) {
2501 This->lpVtbl->GetResource(This,ppResource);
2502}
2503/*** ID3D10DepthStencilView methods ***/
2504static FORCEINLINE void ID3D10DepthStencilView_GetDesc(ID3D10DepthStencilView* This,D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc) {
2505 This->lpVtbl->GetDesc(This,pDesc);
2506}
2507#endif
2508#endif
2509
2510#endif
2511
2512
2513#endif /* __ID3D10DepthStencilView_INTERFACE_DEFINED__ */
2514
2515/*****************************************************************************
2516 * ID3D10RenderTargetView interface
2517 */
2518#ifndef __ID3D10RenderTargetView_INTERFACE_DEFINED__
2519#define __ID3D10RenderTargetView_INTERFACE_DEFINED__
2520
2521DEFINE_GUID(IID_ID3D10RenderTargetView, 0x9b7e4c08, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
2522#if defined(__cplusplus) && !defined(CINTERFACE)
2523MIDL_INTERFACE("9b7e4c08-342c-4106-a19f-4f2704f689f0")
2524ID3D10RenderTargetView : public ID3D10View
2525{
2526 virtual void STDMETHODCALLTYPE GetDesc(
2527 D3D10_RENDER_TARGET_VIEW_DESC *pDesc) = 0;
2528
2529};
2530#ifdef __CRT_UUID_DECL
2531__CRT_UUID_DECL(ID3D10RenderTargetView, 0x9b7e4c08, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
2532#endif
2533#else
2534typedef struct ID3D10RenderTargetViewVtbl {
2535 BEGIN_INTERFACE
2536
2537 /*** IUnknown methods ***/
2538 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2539 ID3D10RenderTargetView *This,
2540 REFIID riid,
2541 void **ppvObject);
2542
2543 ULONG (STDMETHODCALLTYPE *AddRef)(
2544 ID3D10RenderTargetView *This);
2545
2546 ULONG (STDMETHODCALLTYPE *Release)(
2547 ID3D10RenderTargetView *This);
2548
2549 /*** ID3D10DeviceChild methods ***/
2550 void (STDMETHODCALLTYPE *GetDevice)(
2551 ID3D10RenderTargetView *This,
2552 ID3D10Device **ppDevice);
2553
2554 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
2555 ID3D10RenderTargetView *This,
2556 REFGUID guid,
2557 UINT *pDataSize,
2558 void *pData);
2559
2560 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
2561 ID3D10RenderTargetView *This,
2562 REFGUID guid,
2563 UINT DataSize,
2564 const void *pData);
2565
2566 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
2567 ID3D10RenderTargetView *This,
2568 REFGUID guid,
2569 const IUnknown *pData);
2570
2571 /*** ID3D10View methods ***/
2572 void (STDMETHODCALLTYPE *GetResource)(
2573 ID3D10RenderTargetView *This,
2574 ID3D10Resource **ppResource);
2575
2576 /*** ID3D10RenderTargetView methods ***/
2577 void (STDMETHODCALLTYPE *GetDesc)(
2578 ID3D10RenderTargetView *This,
2579 D3D10_RENDER_TARGET_VIEW_DESC *pDesc);
2580
2581 END_INTERFACE
2582} ID3D10RenderTargetViewVtbl;
2583
2584interface ID3D10RenderTargetView {
2585 CONST_VTBL ID3D10RenderTargetViewVtbl* lpVtbl;
2586};
2587
2588#ifdef COBJMACROS
2589#ifndef WIDL_C_INLINE_WRAPPERS
2590/*** IUnknown methods ***/
2591#define ID3D10RenderTargetView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2592#define ID3D10RenderTargetView_AddRef(This) (This)->lpVtbl->AddRef(This)
2593#define ID3D10RenderTargetView_Release(This) (This)->lpVtbl->Release(This)
2594/*** ID3D10DeviceChild methods ***/
2595#define ID3D10RenderTargetView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
2596#define ID3D10RenderTargetView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
2597#define ID3D10RenderTargetView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
2598#define ID3D10RenderTargetView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
2599/*** ID3D10View methods ***/
2600#define ID3D10RenderTargetView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
2601/*** ID3D10RenderTargetView methods ***/
2602#define ID3D10RenderTargetView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
2603#else
2604/*** IUnknown methods ***/
2605static FORCEINLINE HRESULT ID3D10RenderTargetView_QueryInterface(ID3D10RenderTargetView* This,REFIID riid,void **ppvObject) {
2606 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2607}
2608static FORCEINLINE ULONG ID3D10RenderTargetView_AddRef(ID3D10RenderTargetView* This) {
2609 return This->lpVtbl->AddRef(This);
2610}
2611static FORCEINLINE ULONG ID3D10RenderTargetView_Release(ID3D10RenderTargetView* This) {
2612 return This->lpVtbl->Release(This);
2613}
2614/*** ID3D10DeviceChild methods ***/
2615static FORCEINLINE void ID3D10RenderTargetView_GetDevice(ID3D10RenderTargetView* This,ID3D10Device **ppDevice) {
2616 This->lpVtbl->GetDevice(This,ppDevice);
2617}
2618static FORCEINLINE HRESULT ID3D10RenderTargetView_GetPrivateData(ID3D10RenderTargetView* This,REFGUID guid,UINT *pDataSize,void *pData) {
2619 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
2620}
2621static FORCEINLINE HRESULT ID3D10RenderTargetView_SetPrivateData(ID3D10RenderTargetView* This,REFGUID guid,UINT DataSize,const void *pData) {
2622 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
2623}
2624static FORCEINLINE HRESULT ID3D10RenderTargetView_SetPrivateDataInterface(ID3D10RenderTargetView* This,REFGUID guid,const IUnknown *pData) {
2625 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
2626}
2627/*** ID3D10View methods ***/
2628static FORCEINLINE void ID3D10RenderTargetView_GetResource(ID3D10RenderTargetView* This,ID3D10Resource **ppResource) {
2629 This->lpVtbl->GetResource(This,ppResource);
2630}
2631/*** ID3D10RenderTargetView methods ***/
2632static FORCEINLINE void ID3D10RenderTargetView_GetDesc(ID3D10RenderTargetView* This,D3D10_RENDER_TARGET_VIEW_DESC *pDesc) {
2633 This->lpVtbl->GetDesc(This,pDesc);
2634}
2635#endif
2636#endif
2637
2638#endif
2639
2640
2641#endif /* __ID3D10RenderTargetView_INTERFACE_DEFINED__ */
2642
2643/*****************************************************************************
2644 * ID3D10ShaderResourceView interface
2645 */
2646#ifndef __ID3D10ShaderResourceView_INTERFACE_DEFINED__
2647#define __ID3D10ShaderResourceView_INTERFACE_DEFINED__
2648
2649DEFINE_GUID(IID_ID3D10ShaderResourceView, 0x9b7e4c07, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
2650#if defined(__cplusplus) && !defined(CINTERFACE)
2651MIDL_INTERFACE("9b7e4c07-342c-4106-a19f-4f2704f689f0")
2652ID3D10ShaderResourceView : public ID3D10View
2653{
2654 virtual void STDMETHODCALLTYPE GetDesc(
2655 D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0;
2656
2657};
2658#ifdef __CRT_UUID_DECL
2659__CRT_UUID_DECL(ID3D10ShaderResourceView, 0x9b7e4c07, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
2660#endif
2661#else
2662typedef struct ID3D10ShaderResourceViewVtbl {
2663 BEGIN_INTERFACE
2664
2665 /*** IUnknown methods ***/
2666 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2667 ID3D10ShaderResourceView *This,
2668 REFIID riid,
2669 void **ppvObject);
2670
2671 ULONG (STDMETHODCALLTYPE *AddRef)(
2672 ID3D10ShaderResourceView *This);
2673
2674 ULONG (STDMETHODCALLTYPE *Release)(
2675 ID3D10ShaderResourceView *This);
2676
2677 /*** ID3D10DeviceChild methods ***/
2678 void (STDMETHODCALLTYPE *GetDevice)(
2679 ID3D10ShaderResourceView *This,
2680 ID3D10Device **ppDevice);
2681
2682 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
2683 ID3D10ShaderResourceView *This,
2684 REFGUID guid,
2685 UINT *pDataSize,
2686 void *pData);
2687
2688 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
2689 ID3D10ShaderResourceView *This,
2690 REFGUID guid,
2691 UINT DataSize,
2692 const void *pData);
2693
2694 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
2695 ID3D10ShaderResourceView *This,
2696 REFGUID guid,
2697 const IUnknown *pData);
2698
2699 /*** ID3D10View methods ***/
2700 void (STDMETHODCALLTYPE *GetResource)(
2701 ID3D10ShaderResourceView *This,
2702 ID3D10Resource **ppResource);
2703
2704 /*** ID3D10ShaderResourceView methods ***/
2705 void (STDMETHODCALLTYPE *GetDesc)(
2706 ID3D10ShaderResourceView *This,
2707 D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc);
2708
2709 END_INTERFACE
2710} ID3D10ShaderResourceViewVtbl;
2711
2712interface ID3D10ShaderResourceView {
2713 CONST_VTBL ID3D10ShaderResourceViewVtbl* lpVtbl;
2714};
2715
2716#ifdef COBJMACROS
2717#ifndef WIDL_C_INLINE_WRAPPERS
2718/*** IUnknown methods ***/
2719#define ID3D10ShaderResourceView_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2720#define ID3D10ShaderResourceView_AddRef(This) (This)->lpVtbl->AddRef(This)
2721#define ID3D10ShaderResourceView_Release(This) (This)->lpVtbl->Release(This)
2722/*** ID3D10DeviceChild methods ***/
2723#define ID3D10ShaderResourceView_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
2724#define ID3D10ShaderResourceView_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
2725#define ID3D10ShaderResourceView_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
2726#define ID3D10ShaderResourceView_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
2727/*** ID3D10View methods ***/
2728#define ID3D10ShaderResourceView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
2729/*** ID3D10ShaderResourceView methods ***/
2730#define ID3D10ShaderResourceView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
2731#else
2732/*** IUnknown methods ***/
2733static FORCEINLINE HRESULT ID3D10ShaderResourceView_QueryInterface(ID3D10ShaderResourceView* This,REFIID riid,void **ppvObject) {
2734 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2735}
2736static FORCEINLINE ULONG ID3D10ShaderResourceView_AddRef(ID3D10ShaderResourceView* This) {
2737 return This->lpVtbl->AddRef(This);
2738}
2739static FORCEINLINE ULONG ID3D10ShaderResourceView_Release(ID3D10ShaderResourceView* This) {
2740 return This->lpVtbl->Release(This);
2741}
2742/*** ID3D10DeviceChild methods ***/
2743static FORCEINLINE void ID3D10ShaderResourceView_GetDevice(ID3D10ShaderResourceView* This,ID3D10Device **ppDevice) {
2744 This->lpVtbl->GetDevice(This,ppDevice);
2745}
2746static FORCEINLINE HRESULT ID3D10ShaderResourceView_GetPrivateData(ID3D10ShaderResourceView* This,REFGUID guid,UINT *pDataSize,void *pData) {
2747 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
2748}
2749static FORCEINLINE HRESULT ID3D10ShaderResourceView_SetPrivateData(ID3D10ShaderResourceView* This,REFGUID guid,UINT DataSize,const void *pData) {
2750 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
2751}
2752static FORCEINLINE HRESULT ID3D10ShaderResourceView_SetPrivateDataInterface(ID3D10ShaderResourceView* This,REFGUID guid,const IUnknown *pData) {
2753 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
2754}
2755/*** ID3D10View methods ***/
2756static FORCEINLINE void ID3D10ShaderResourceView_GetResource(ID3D10ShaderResourceView* This,ID3D10Resource **ppResource) {
2757 This->lpVtbl->GetResource(This,ppResource);
2758}
2759/*** ID3D10ShaderResourceView methods ***/
2760static FORCEINLINE void ID3D10ShaderResourceView_GetDesc(ID3D10ShaderResourceView* This,D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc) {
2761 This->lpVtbl->GetDesc(This,pDesc);
2762}
2763#endif
2764#endif
2765
2766#endif
2767
2768
2769#endif /* __ID3D10ShaderResourceView_INTERFACE_DEFINED__ */
2770
2771/*****************************************************************************
2772 * ID3D10BlendState interface
2773 */
2774#ifndef __ID3D10BlendState_INTERFACE_DEFINED__
2775#define __ID3D10BlendState_INTERFACE_DEFINED__
2776
2777DEFINE_GUID(IID_ID3D10BlendState, 0xedad8d19, 0x8a35, 0x4d6d, 0x85,0x66, 0x2e,0xa2,0x76,0xcd,0xe1,0x61);
2778#if defined(__cplusplus) && !defined(CINTERFACE)
2779MIDL_INTERFACE("edad8d19-8a35-4d6d-8566-2ea276cde161")
2780ID3D10BlendState : public ID3D10DeviceChild
2781{
2782 virtual void STDMETHODCALLTYPE GetDesc(
2783 D3D10_BLEND_DESC *pDesc) = 0;
2784
2785};
2786#ifdef __CRT_UUID_DECL
2787__CRT_UUID_DECL(ID3D10BlendState, 0xedad8d19, 0x8a35, 0x4d6d, 0x85,0x66, 0x2e,0xa2,0x76,0xcd,0xe1,0x61)
2788#endif
2789#else
2790typedef struct ID3D10BlendStateVtbl {
2791 BEGIN_INTERFACE
2792
2793 /*** IUnknown methods ***/
2794 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2795 ID3D10BlendState *This,
2796 REFIID riid,
2797 void **ppvObject);
2798
2799 ULONG (STDMETHODCALLTYPE *AddRef)(
2800 ID3D10BlendState *This);
2801
2802 ULONG (STDMETHODCALLTYPE *Release)(
2803 ID3D10BlendState *This);
2804
2805 /*** ID3D10DeviceChild methods ***/
2806 void (STDMETHODCALLTYPE *GetDevice)(
2807 ID3D10BlendState *This,
2808 ID3D10Device **ppDevice);
2809
2810 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
2811 ID3D10BlendState *This,
2812 REFGUID guid,
2813 UINT *pDataSize,
2814 void *pData);
2815
2816 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
2817 ID3D10BlendState *This,
2818 REFGUID guid,
2819 UINT DataSize,
2820 const void *pData);
2821
2822 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
2823 ID3D10BlendState *This,
2824 REFGUID guid,
2825 const IUnknown *pData);
2826
2827 /*** ID3D10BlendState methods ***/
2828 void (STDMETHODCALLTYPE *GetDesc)(
2829 ID3D10BlendState *This,
2830 D3D10_BLEND_DESC *pDesc);
2831
2832 END_INTERFACE
2833} ID3D10BlendStateVtbl;
2834
2835interface ID3D10BlendState {
2836 CONST_VTBL ID3D10BlendStateVtbl* lpVtbl;
2837};
2838
2839#ifdef COBJMACROS
2840#ifndef WIDL_C_INLINE_WRAPPERS
2841/*** IUnknown methods ***/
2842#define ID3D10BlendState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2843#define ID3D10BlendState_AddRef(This) (This)->lpVtbl->AddRef(This)
2844#define ID3D10BlendState_Release(This) (This)->lpVtbl->Release(This)
2845/*** ID3D10DeviceChild methods ***/
2846#define ID3D10BlendState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
2847#define ID3D10BlendState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
2848#define ID3D10BlendState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
2849#define ID3D10BlendState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
2850/*** ID3D10BlendState methods ***/
2851#define ID3D10BlendState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
2852#else
2853/*** IUnknown methods ***/
2854static FORCEINLINE HRESULT ID3D10BlendState_QueryInterface(ID3D10BlendState* This,REFIID riid,void **ppvObject) {
2855 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2856}
2857static FORCEINLINE ULONG ID3D10BlendState_AddRef(ID3D10BlendState* This) {
2858 return This->lpVtbl->AddRef(This);
2859}
2860static FORCEINLINE ULONG ID3D10BlendState_Release(ID3D10BlendState* This) {
2861 return This->lpVtbl->Release(This);
2862}
2863/*** ID3D10DeviceChild methods ***/
2864static FORCEINLINE void ID3D10BlendState_GetDevice(ID3D10BlendState* This,ID3D10Device **ppDevice) {
2865 This->lpVtbl->GetDevice(This,ppDevice);
2866}
2867static FORCEINLINE HRESULT ID3D10BlendState_GetPrivateData(ID3D10BlendState* This,REFGUID guid,UINT *pDataSize,void *pData) {
2868 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
2869}
2870static FORCEINLINE HRESULT ID3D10BlendState_SetPrivateData(ID3D10BlendState* This,REFGUID guid,UINT DataSize,const void *pData) {
2871 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
2872}
2873static FORCEINLINE HRESULT ID3D10BlendState_SetPrivateDataInterface(ID3D10BlendState* This,REFGUID guid,const IUnknown *pData) {
2874 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
2875}
2876/*** ID3D10BlendState methods ***/
2877static FORCEINLINE void ID3D10BlendState_GetDesc(ID3D10BlendState* This,D3D10_BLEND_DESC *pDesc) {
2878 This->lpVtbl->GetDesc(This,pDesc);
2879}
2880#endif
2881#endif
2882
2883#endif
2884
2885
2886#endif /* __ID3D10BlendState_INTERFACE_DEFINED__ */
2887
2888/*****************************************************************************
2889 * ID3D10DepthStencilState interface
2890 */
2891#ifndef __ID3D10DepthStencilState_INTERFACE_DEFINED__
2892#define __ID3D10DepthStencilState_INTERFACE_DEFINED__
2893
2894DEFINE_GUID(IID_ID3D10DepthStencilState, 0x2b4b1cc8, 0xa4ad, 0x41f8, 0x83,0x22, 0xca,0x86,0xfc,0x3e,0xc6,0x75);
2895#if defined(__cplusplus) && !defined(CINTERFACE)
2896MIDL_INTERFACE("2b4b1cc8-a4ad-41f8-8322-ca86fc3ec675")
2897ID3D10DepthStencilState : public ID3D10DeviceChild
2898{
2899 virtual void STDMETHODCALLTYPE GetDesc(
2900 D3D10_DEPTH_STENCIL_DESC *pDesc) = 0;
2901
2902};
2903#ifdef __CRT_UUID_DECL
2904__CRT_UUID_DECL(ID3D10DepthStencilState, 0x2b4b1cc8, 0xa4ad, 0x41f8, 0x83,0x22, 0xca,0x86,0xfc,0x3e,0xc6,0x75)
2905#endif
2906#else
2907typedef struct ID3D10DepthStencilStateVtbl {
2908 BEGIN_INTERFACE
2909
2910 /*** IUnknown methods ***/
2911 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
2912 ID3D10DepthStencilState *This,
2913 REFIID riid,
2914 void **ppvObject);
2915
2916 ULONG (STDMETHODCALLTYPE *AddRef)(
2917 ID3D10DepthStencilState *This);
2918
2919 ULONG (STDMETHODCALLTYPE *Release)(
2920 ID3D10DepthStencilState *This);
2921
2922 /*** ID3D10DeviceChild methods ***/
2923 void (STDMETHODCALLTYPE *GetDevice)(
2924 ID3D10DepthStencilState *This,
2925 ID3D10Device **ppDevice);
2926
2927 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
2928 ID3D10DepthStencilState *This,
2929 REFGUID guid,
2930 UINT *pDataSize,
2931 void *pData);
2932
2933 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
2934 ID3D10DepthStencilState *This,
2935 REFGUID guid,
2936 UINT DataSize,
2937 const void *pData);
2938
2939 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
2940 ID3D10DepthStencilState *This,
2941 REFGUID guid,
2942 const IUnknown *pData);
2943
2944 /*** ID3D10DepthStencilState methods ***/
2945 void (STDMETHODCALLTYPE *GetDesc)(
2946 ID3D10DepthStencilState *This,
2947 D3D10_DEPTH_STENCIL_DESC *pDesc);
2948
2949 END_INTERFACE
2950} ID3D10DepthStencilStateVtbl;
2951
2952interface ID3D10DepthStencilState {
2953 CONST_VTBL ID3D10DepthStencilStateVtbl* lpVtbl;
2954};
2955
2956#ifdef COBJMACROS
2957#ifndef WIDL_C_INLINE_WRAPPERS
2958/*** IUnknown methods ***/
2959#define ID3D10DepthStencilState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
2960#define ID3D10DepthStencilState_AddRef(This) (This)->lpVtbl->AddRef(This)
2961#define ID3D10DepthStencilState_Release(This) (This)->lpVtbl->Release(This)
2962/*** ID3D10DeviceChild methods ***/
2963#define ID3D10DepthStencilState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
2964#define ID3D10DepthStencilState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
2965#define ID3D10DepthStencilState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
2966#define ID3D10DepthStencilState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
2967/*** ID3D10DepthStencilState methods ***/
2968#define ID3D10DepthStencilState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
2969#else
2970/*** IUnknown methods ***/
2971static FORCEINLINE HRESULT ID3D10DepthStencilState_QueryInterface(ID3D10DepthStencilState* This,REFIID riid,void **ppvObject) {
2972 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
2973}
2974static FORCEINLINE ULONG ID3D10DepthStencilState_AddRef(ID3D10DepthStencilState* This) {
2975 return This->lpVtbl->AddRef(This);
2976}
2977static FORCEINLINE ULONG ID3D10DepthStencilState_Release(ID3D10DepthStencilState* This) {
2978 return This->lpVtbl->Release(This);
2979}
2980/*** ID3D10DeviceChild methods ***/
2981static FORCEINLINE void ID3D10DepthStencilState_GetDevice(ID3D10DepthStencilState* This,ID3D10Device **ppDevice) {
2982 This->lpVtbl->GetDevice(This,ppDevice);
2983}
2984static FORCEINLINE HRESULT ID3D10DepthStencilState_GetPrivateData(ID3D10DepthStencilState* This,REFGUID guid,UINT *pDataSize,void *pData) {
2985 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
2986}
2987static FORCEINLINE HRESULT ID3D10DepthStencilState_SetPrivateData(ID3D10DepthStencilState* This,REFGUID guid,UINT DataSize,const void *pData) {
2988 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
2989}
2990static FORCEINLINE HRESULT ID3D10DepthStencilState_SetPrivateDataInterface(ID3D10DepthStencilState* This,REFGUID guid,const IUnknown *pData) {
2991 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
2992}
2993/*** ID3D10DepthStencilState methods ***/
2994static FORCEINLINE void ID3D10DepthStencilState_GetDesc(ID3D10DepthStencilState* This,D3D10_DEPTH_STENCIL_DESC *pDesc) {
2995 This->lpVtbl->GetDesc(This,pDesc);
2996}
2997#endif
2998#endif
2999
3000#endif
3001
3002
3003#endif /* __ID3D10DepthStencilState_INTERFACE_DEFINED__ */
3004
3005/*****************************************************************************
3006 * ID3D10GeometryShader interface
3007 */
3008#ifndef __ID3D10GeometryShader_INTERFACE_DEFINED__
3009#define __ID3D10GeometryShader_INTERFACE_DEFINED__
3010
3011DEFINE_GUID(IID_ID3D10GeometryShader, 0x6316be88, 0x54cd, 0x4040, 0xab,0x44, 0x20,0x46,0x1b,0xc8,0x1f,0x68);
3012#if defined(__cplusplus) && !defined(CINTERFACE)
3013MIDL_INTERFACE("6316be88-54cd-4040-ab44-20461bc81f68")
3014ID3D10GeometryShader : public ID3D10DeviceChild
3015{
3016};
3017#ifdef __CRT_UUID_DECL
3018__CRT_UUID_DECL(ID3D10GeometryShader, 0x6316be88, 0x54cd, 0x4040, 0xab,0x44, 0x20,0x46,0x1b,0xc8,0x1f,0x68)
3019#endif
3020#else
3021typedef struct ID3D10GeometryShaderVtbl {
3022 BEGIN_INTERFACE
3023
3024 /*** IUnknown methods ***/
3025 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3026 ID3D10GeometryShader *This,
3027 REFIID riid,
3028 void **ppvObject);
3029
3030 ULONG (STDMETHODCALLTYPE *AddRef)(
3031 ID3D10GeometryShader *This);
3032
3033 ULONG (STDMETHODCALLTYPE *Release)(
3034 ID3D10GeometryShader *This);
3035
3036 /*** ID3D10DeviceChild methods ***/
3037 void (STDMETHODCALLTYPE *GetDevice)(
3038 ID3D10GeometryShader *This,
3039 ID3D10Device **ppDevice);
3040
3041 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
3042 ID3D10GeometryShader *This,
3043 REFGUID guid,
3044 UINT *pDataSize,
3045 void *pData);
3046
3047 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
3048 ID3D10GeometryShader *This,
3049 REFGUID guid,
3050 UINT DataSize,
3051 const void *pData);
3052
3053 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
3054 ID3D10GeometryShader *This,
3055 REFGUID guid,
3056 const IUnknown *pData);
3057
3058 END_INTERFACE
3059} ID3D10GeometryShaderVtbl;
3060
3061interface ID3D10GeometryShader {
3062 CONST_VTBL ID3D10GeometryShaderVtbl* lpVtbl;
3063};
3064
3065#ifdef COBJMACROS
3066#ifndef WIDL_C_INLINE_WRAPPERS
3067/*** IUnknown methods ***/
3068#define ID3D10GeometryShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3069#define ID3D10GeometryShader_AddRef(This) (This)->lpVtbl->AddRef(This)
3070#define ID3D10GeometryShader_Release(This) (This)->lpVtbl->Release(This)
3071/*** ID3D10DeviceChild methods ***/
3072#define ID3D10GeometryShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
3073#define ID3D10GeometryShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
3074#define ID3D10GeometryShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
3075#define ID3D10GeometryShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
3076#else
3077/*** IUnknown methods ***/
3078static FORCEINLINE HRESULT ID3D10GeometryShader_QueryInterface(ID3D10GeometryShader* This,REFIID riid,void **ppvObject) {
3079 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3080}
3081static FORCEINLINE ULONG ID3D10GeometryShader_AddRef(ID3D10GeometryShader* This) {
3082 return This->lpVtbl->AddRef(This);
3083}
3084static FORCEINLINE ULONG ID3D10GeometryShader_Release(ID3D10GeometryShader* This) {
3085 return This->lpVtbl->Release(This);
3086}
3087/*** ID3D10DeviceChild methods ***/
3088static FORCEINLINE void ID3D10GeometryShader_GetDevice(ID3D10GeometryShader* This,ID3D10Device **ppDevice) {
3089 This->lpVtbl->GetDevice(This,ppDevice);
3090}
3091static FORCEINLINE HRESULT ID3D10GeometryShader_GetPrivateData(ID3D10GeometryShader* This,REFGUID guid,UINT *pDataSize,void *pData) {
3092 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
3093}
3094static FORCEINLINE HRESULT ID3D10GeometryShader_SetPrivateData(ID3D10GeometryShader* This,REFGUID guid,UINT DataSize,const void *pData) {
3095 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
3096}
3097static FORCEINLINE HRESULT ID3D10GeometryShader_SetPrivateDataInterface(ID3D10GeometryShader* This,REFGUID guid,const IUnknown *pData) {
3098 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
3099}
3100#endif
3101#endif
3102
3103#endif
3104
3105
3106#endif /* __ID3D10GeometryShader_INTERFACE_DEFINED__ */
3107
3108/*****************************************************************************
3109 * ID3D10InputLayout interface
3110 */
3111#ifndef __ID3D10InputLayout_INTERFACE_DEFINED__
3112#define __ID3D10InputLayout_INTERFACE_DEFINED__
3113
3114DEFINE_GUID(IID_ID3D10InputLayout, 0x9b7e4c0b, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
3115#if defined(__cplusplus) && !defined(CINTERFACE)
3116MIDL_INTERFACE("9b7e4c0b-342c-4106-a19f-4f2704f689f0")
3117ID3D10InputLayout : public ID3D10DeviceChild
3118{
3119};
3120#ifdef __CRT_UUID_DECL
3121__CRT_UUID_DECL(ID3D10InputLayout, 0x9b7e4c0b, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
3122#endif
3123#else
3124typedef struct ID3D10InputLayoutVtbl {
3125 BEGIN_INTERFACE
3126
3127 /*** IUnknown methods ***/
3128 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3129 ID3D10InputLayout *This,
3130 REFIID riid,
3131 void **ppvObject);
3132
3133 ULONG (STDMETHODCALLTYPE *AddRef)(
3134 ID3D10InputLayout *This);
3135
3136 ULONG (STDMETHODCALLTYPE *Release)(
3137 ID3D10InputLayout *This);
3138
3139 /*** ID3D10DeviceChild methods ***/
3140 void (STDMETHODCALLTYPE *GetDevice)(
3141 ID3D10InputLayout *This,
3142 ID3D10Device **ppDevice);
3143
3144 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
3145 ID3D10InputLayout *This,
3146 REFGUID guid,
3147 UINT *pDataSize,
3148 void *pData);
3149
3150 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
3151 ID3D10InputLayout *This,
3152 REFGUID guid,
3153 UINT DataSize,
3154 const void *pData);
3155
3156 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
3157 ID3D10InputLayout *This,
3158 REFGUID guid,
3159 const IUnknown *pData);
3160
3161 END_INTERFACE
3162} ID3D10InputLayoutVtbl;
3163
3164interface ID3D10InputLayout {
3165 CONST_VTBL ID3D10InputLayoutVtbl* lpVtbl;
3166};
3167
3168#ifdef COBJMACROS
3169#ifndef WIDL_C_INLINE_WRAPPERS
3170/*** IUnknown methods ***/
3171#define ID3D10InputLayout_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3172#define ID3D10InputLayout_AddRef(This) (This)->lpVtbl->AddRef(This)
3173#define ID3D10InputLayout_Release(This) (This)->lpVtbl->Release(This)
3174/*** ID3D10DeviceChild methods ***/
3175#define ID3D10InputLayout_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
3176#define ID3D10InputLayout_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
3177#define ID3D10InputLayout_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
3178#define ID3D10InputLayout_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
3179#else
3180/*** IUnknown methods ***/
3181static FORCEINLINE HRESULT ID3D10InputLayout_QueryInterface(ID3D10InputLayout* This,REFIID riid,void **ppvObject) {
3182 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3183}
3184static FORCEINLINE ULONG ID3D10InputLayout_AddRef(ID3D10InputLayout* This) {
3185 return This->lpVtbl->AddRef(This);
3186}
3187static FORCEINLINE ULONG ID3D10InputLayout_Release(ID3D10InputLayout* This) {
3188 return This->lpVtbl->Release(This);
3189}
3190/*** ID3D10DeviceChild methods ***/
3191static FORCEINLINE void ID3D10InputLayout_GetDevice(ID3D10InputLayout* This,ID3D10Device **ppDevice) {
3192 This->lpVtbl->GetDevice(This,ppDevice);
3193}
3194static FORCEINLINE HRESULT ID3D10InputLayout_GetPrivateData(ID3D10InputLayout* This,REFGUID guid,UINT *pDataSize,void *pData) {
3195 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
3196}
3197static FORCEINLINE HRESULT ID3D10InputLayout_SetPrivateData(ID3D10InputLayout* This,REFGUID guid,UINT DataSize,const void *pData) {
3198 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
3199}
3200static FORCEINLINE HRESULT ID3D10InputLayout_SetPrivateDataInterface(ID3D10InputLayout* This,REFGUID guid,const IUnknown *pData) {
3201 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
3202}
3203#endif
3204#endif
3205
3206#endif
3207
3208
3209#endif /* __ID3D10InputLayout_INTERFACE_DEFINED__ */
3210
3211/*****************************************************************************
3212 * ID3D10PixelShader interface
3213 */
3214#ifndef __ID3D10PixelShader_INTERFACE_DEFINED__
3215#define __ID3D10PixelShader_INTERFACE_DEFINED__
3216
3217DEFINE_GUID(IID_ID3D10PixelShader, 0x4968b601, 0x9d00, 0x4cde, 0x83,0x46, 0x8e,0x7f,0x67,0x58,0x19,0xb6);
3218#if defined(__cplusplus) && !defined(CINTERFACE)
3219MIDL_INTERFACE("4968b601-9d00-4cde-8346-8e7f675819b6")
3220ID3D10PixelShader : public ID3D10DeviceChild
3221{
3222};
3223#ifdef __CRT_UUID_DECL
3224__CRT_UUID_DECL(ID3D10PixelShader, 0x4968b601, 0x9d00, 0x4cde, 0x83,0x46, 0x8e,0x7f,0x67,0x58,0x19,0xb6)
3225#endif
3226#else
3227typedef struct ID3D10PixelShaderVtbl {
3228 BEGIN_INTERFACE
3229
3230 /*** IUnknown methods ***/
3231 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3232 ID3D10PixelShader *This,
3233 REFIID riid,
3234 void **ppvObject);
3235
3236 ULONG (STDMETHODCALLTYPE *AddRef)(
3237 ID3D10PixelShader *This);
3238
3239 ULONG (STDMETHODCALLTYPE *Release)(
3240 ID3D10PixelShader *This);
3241
3242 /*** ID3D10DeviceChild methods ***/
3243 void (STDMETHODCALLTYPE *GetDevice)(
3244 ID3D10PixelShader *This,
3245 ID3D10Device **ppDevice);
3246
3247 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
3248 ID3D10PixelShader *This,
3249 REFGUID guid,
3250 UINT *pDataSize,
3251 void *pData);
3252
3253 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
3254 ID3D10PixelShader *This,
3255 REFGUID guid,
3256 UINT DataSize,
3257 const void *pData);
3258
3259 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
3260 ID3D10PixelShader *This,
3261 REFGUID guid,
3262 const IUnknown *pData);
3263
3264 END_INTERFACE
3265} ID3D10PixelShaderVtbl;
3266
3267interface ID3D10PixelShader {
3268 CONST_VTBL ID3D10PixelShaderVtbl* lpVtbl;
3269};
3270
3271#ifdef COBJMACROS
3272#ifndef WIDL_C_INLINE_WRAPPERS
3273/*** IUnknown methods ***/
3274#define ID3D10PixelShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3275#define ID3D10PixelShader_AddRef(This) (This)->lpVtbl->AddRef(This)
3276#define ID3D10PixelShader_Release(This) (This)->lpVtbl->Release(This)
3277/*** ID3D10DeviceChild methods ***/
3278#define ID3D10PixelShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
3279#define ID3D10PixelShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
3280#define ID3D10PixelShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
3281#define ID3D10PixelShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
3282#else
3283/*** IUnknown methods ***/
3284static FORCEINLINE HRESULT ID3D10PixelShader_QueryInterface(ID3D10PixelShader* This,REFIID riid,void **ppvObject) {
3285 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3286}
3287static FORCEINLINE ULONG ID3D10PixelShader_AddRef(ID3D10PixelShader* This) {
3288 return This->lpVtbl->AddRef(This);
3289}
3290static FORCEINLINE ULONG ID3D10PixelShader_Release(ID3D10PixelShader* This) {
3291 return This->lpVtbl->Release(This);
3292}
3293/*** ID3D10DeviceChild methods ***/
3294static FORCEINLINE void ID3D10PixelShader_GetDevice(ID3D10PixelShader* This,ID3D10Device **ppDevice) {
3295 This->lpVtbl->GetDevice(This,ppDevice);
3296}
3297static FORCEINLINE HRESULT ID3D10PixelShader_GetPrivateData(ID3D10PixelShader* This,REFGUID guid,UINT *pDataSize,void *pData) {
3298 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
3299}
3300static FORCEINLINE HRESULT ID3D10PixelShader_SetPrivateData(ID3D10PixelShader* This,REFGUID guid,UINT DataSize,const void *pData) {
3301 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
3302}
3303static FORCEINLINE HRESULT ID3D10PixelShader_SetPrivateDataInterface(ID3D10PixelShader* This,REFGUID guid,const IUnknown *pData) {
3304 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
3305}
3306#endif
3307#endif
3308
3309#endif
3310
3311
3312#endif /* __ID3D10PixelShader_INTERFACE_DEFINED__ */
3313
3314/*****************************************************************************
3315 * ID3D10RasterizerState interface
3316 */
3317#ifndef __ID3D10RasterizerState_INTERFACE_DEFINED__
3318#define __ID3D10RasterizerState_INTERFACE_DEFINED__
3319
3320DEFINE_GUID(IID_ID3D10RasterizerState, 0xa2a07292, 0x89af, 0x4345, 0xbe,0x2e, 0xc5,0x3d,0x9f,0xbb,0x6e,0x9f);
3321#if defined(__cplusplus) && !defined(CINTERFACE)
3322MIDL_INTERFACE("a2a07292-89af-4345-be2e-c53d9fbb6e9f")
3323ID3D10RasterizerState : public ID3D10DeviceChild
3324{
3325 virtual void STDMETHODCALLTYPE GetDesc(
3326 D3D10_RASTERIZER_DESC *pDesc) = 0;
3327
3328};
3329#ifdef __CRT_UUID_DECL
3330__CRT_UUID_DECL(ID3D10RasterizerState, 0xa2a07292, 0x89af, 0x4345, 0xbe,0x2e, 0xc5,0x3d,0x9f,0xbb,0x6e,0x9f)
3331#endif
3332#else
3333typedef struct ID3D10RasterizerStateVtbl {
3334 BEGIN_INTERFACE
3335
3336 /*** IUnknown methods ***/
3337 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3338 ID3D10RasterizerState *This,
3339 REFIID riid,
3340 void **ppvObject);
3341
3342 ULONG (STDMETHODCALLTYPE *AddRef)(
3343 ID3D10RasterizerState *This);
3344
3345 ULONG (STDMETHODCALLTYPE *Release)(
3346 ID3D10RasterizerState *This);
3347
3348 /*** ID3D10DeviceChild methods ***/
3349 void (STDMETHODCALLTYPE *GetDevice)(
3350 ID3D10RasterizerState *This,
3351 ID3D10Device **ppDevice);
3352
3353 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
3354 ID3D10RasterizerState *This,
3355 REFGUID guid,
3356 UINT *pDataSize,
3357 void *pData);
3358
3359 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
3360 ID3D10RasterizerState *This,
3361 REFGUID guid,
3362 UINT DataSize,
3363 const void *pData);
3364
3365 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
3366 ID3D10RasterizerState *This,
3367 REFGUID guid,
3368 const IUnknown *pData);
3369
3370 /*** ID3D10RasterizerState methods ***/
3371 void (STDMETHODCALLTYPE *GetDesc)(
3372 ID3D10RasterizerState *This,
3373 D3D10_RASTERIZER_DESC *pDesc);
3374
3375 END_INTERFACE
3376} ID3D10RasterizerStateVtbl;
3377
3378interface ID3D10RasterizerState {
3379 CONST_VTBL ID3D10RasterizerStateVtbl* lpVtbl;
3380};
3381
3382#ifdef COBJMACROS
3383#ifndef WIDL_C_INLINE_WRAPPERS
3384/*** IUnknown methods ***/
3385#define ID3D10RasterizerState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3386#define ID3D10RasterizerState_AddRef(This) (This)->lpVtbl->AddRef(This)
3387#define ID3D10RasterizerState_Release(This) (This)->lpVtbl->Release(This)
3388/*** ID3D10DeviceChild methods ***/
3389#define ID3D10RasterizerState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
3390#define ID3D10RasterizerState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
3391#define ID3D10RasterizerState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
3392#define ID3D10RasterizerState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
3393/*** ID3D10RasterizerState methods ***/
3394#define ID3D10RasterizerState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
3395#else
3396/*** IUnknown methods ***/
3397static FORCEINLINE HRESULT ID3D10RasterizerState_QueryInterface(ID3D10RasterizerState* This,REFIID riid,void **ppvObject) {
3398 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3399}
3400static FORCEINLINE ULONG ID3D10RasterizerState_AddRef(ID3D10RasterizerState* This) {
3401 return This->lpVtbl->AddRef(This);
3402}
3403static FORCEINLINE ULONG ID3D10RasterizerState_Release(ID3D10RasterizerState* This) {
3404 return This->lpVtbl->Release(This);
3405}
3406/*** ID3D10DeviceChild methods ***/
3407static FORCEINLINE void ID3D10RasterizerState_GetDevice(ID3D10RasterizerState* This,ID3D10Device **ppDevice) {
3408 This->lpVtbl->GetDevice(This,ppDevice);
3409}
3410static FORCEINLINE HRESULT ID3D10RasterizerState_GetPrivateData(ID3D10RasterizerState* This,REFGUID guid,UINT *pDataSize,void *pData) {
3411 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
3412}
3413static FORCEINLINE HRESULT ID3D10RasterizerState_SetPrivateData(ID3D10RasterizerState* This,REFGUID guid,UINT DataSize,const void *pData) {
3414 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
3415}
3416static FORCEINLINE HRESULT ID3D10RasterizerState_SetPrivateDataInterface(ID3D10RasterizerState* This,REFGUID guid,const IUnknown *pData) {
3417 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
3418}
3419/*** ID3D10RasterizerState methods ***/
3420static FORCEINLINE void ID3D10RasterizerState_GetDesc(ID3D10RasterizerState* This,D3D10_RASTERIZER_DESC *pDesc) {
3421 This->lpVtbl->GetDesc(This,pDesc);
3422}
3423#endif
3424#endif
3425
3426#endif
3427
3428
3429#endif /* __ID3D10RasterizerState_INTERFACE_DEFINED__ */
3430
3431/*****************************************************************************
3432 * ID3D10SamplerState interface
3433 */
3434#ifndef __ID3D10SamplerState_INTERFACE_DEFINED__
3435#define __ID3D10SamplerState_INTERFACE_DEFINED__
3436
3437DEFINE_GUID(IID_ID3D10SamplerState, 0x9b7e4c0c, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
3438#if defined(__cplusplus) && !defined(CINTERFACE)
3439MIDL_INTERFACE("9b7e4c0c-342c-4106-a19f-4f2704f689f0")
3440ID3D10SamplerState : public ID3D10DeviceChild
3441{
3442 virtual void STDMETHODCALLTYPE GetDesc(
3443 D3D10_SAMPLER_DESC *pDesc) = 0;
3444
3445};
3446#ifdef __CRT_UUID_DECL
3447__CRT_UUID_DECL(ID3D10SamplerState, 0x9b7e4c0c, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
3448#endif
3449#else
3450typedef struct ID3D10SamplerStateVtbl {
3451 BEGIN_INTERFACE
3452
3453 /*** IUnknown methods ***/
3454 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3455 ID3D10SamplerState *This,
3456 REFIID riid,
3457 void **ppvObject);
3458
3459 ULONG (STDMETHODCALLTYPE *AddRef)(
3460 ID3D10SamplerState *This);
3461
3462 ULONG (STDMETHODCALLTYPE *Release)(
3463 ID3D10SamplerState *This);
3464
3465 /*** ID3D10DeviceChild methods ***/
3466 void (STDMETHODCALLTYPE *GetDevice)(
3467 ID3D10SamplerState *This,
3468 ID3D10Device **ppDevice);
3469
3470 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
3471 ID3D10SamplerState *This,
3472 REFGUID guid,
3473 UINT *pDataSize,
3474 void *pData);
3475
3476 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
3477 ID3D10SamplerState *This,
3478 REFGUID guid,
3479 UINT DataSize,
3480 const void *pData);
3481
3482 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
3483 ID3D10SamplerState *This,
3484 REFGUID guid,
3485 const IUnknown *pData);
3486
3487 /*** ID3D10SamplerState methods ***/
3488 void (STDMETHODCALLTYPE *GetDesc)(
3489 ID3D10SamplerState *This,
3490 D3D10_SAMPLER_DESC *pDesc);
3491
3492 END_INTERFACE
3493} ID3D10SamplerStateVtbl;
3494
3495interface ID3D10SamplerState {
3496 CONST_VTBL ID3D10SamplerStateVtbl* lpVtbl;
3497};
3498
3499#ifdef COBJMACROS
3500#ifndef WIDL_C_INLINE_WRAPPERS
3501/*** IUnknown methods ***/
3502#define ID3D10SamplerState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3503#define ID3D10SamplerState_AddRef(This) (This)->lpVtbl->AddRef(This)
3504#define ID3D10SamplerState_Release(This) (This)->lpVtbl->Release(This)
3505/*** ID3D10DeviceChild methods ***/
3506#define ID3D10SamplerState_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
3507#define ID3D10SamplerState_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
3508#define ID3D10SamplerState_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
3509#define ID3D10SamplerState_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
3510/*** ID3D10SamplerState methods ***/
3511#define ID3D10SamplerState_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
3512#else
3513/*** IUnknown methods ***/
3514static FORCEINLINE HRESULT ID3D10SamplerState_QueryInterface(ID3D10SamplerState* This,REFIID riid,void **ppvObject) {
3515 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3516}
3517static FORCEINLINE ULONG ID3D10SamplerState_AddRef(ID3D10SamplerState* This) {
3518 return This->lpVtbl->AddRef(This);
3519}
3520static FORCEINLINE ULONG ID3D10SamplerState_Release(ID3D10SamplerState* This) {
3521 return This->lpVtbl->Release(This);
3522}
3523/*** ID3D10DeviceChild methods ***/
3524static FORCEINLINE void ID3D10SamplerState_GetDevice(ID3D10SamplerState* This,ID3D10Device **ppDevice) {
3525 This->lpVtbl->GetDevice(This,ppDevice);
3526}
3527static FORCEINLINE HRESULT ID3D10SamplerState_GetPrivateData(ID3D10SamplerState* This,REFGUID guid,UINT *pDataSize,void *pData) {
3528 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
3529}
3530static FORCEINLINE HRESULT ID3D10SamplerState_SetPrivateData(ID3D10SamplerState* This,REFGUID guid,UINT DataSize,const void *pData) {
3531 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
3532}
3533static FORCEINLINE HRESULT ID3D10SamplerState_SetPrivateDataInterface(ID3D10SamplerState* This,REFGUID guid,const IUnknown *pData) {
3534 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
3535}
3536/*** ID3D10SamplerState methods ***/
3537static FORCEINLINE void ID3D10SamplerState_GetDesc(ID3D10SamplerState* This,D3D10_SAMPLER_DESC *pDesc) {
3538 This->lpVtbl->GetDesc(This,pDesc);
3539}
3540#endif
3541#endif
3542
3543#endif
3544
3545
3546#endif /* __ID3D10SamplerState_INTERFACE_DEFINED__ */
3547
3548/*****************************************************************************
3549 * ID3D10VertexShader interface
3550 */
3551#ifndef __ID3D10VertexShader_INTERFACE_DEFINED__
3552#define __ID3D10VertexShader_INTERFACE_DEFINED__
3553
3554DEFINE_GUID(IID_ID3D10VertexShader, 0x9b7e4c0a, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
3555#if defined(__cplusplus) && !defined(CINTERFACE)
3556MIDL_INTERFACE("9b7e4c0a-342c-4106-a19f-4f2704f689f0")
3557ID3D10VertexShader : public ID3D10DeviceChild
3558{
3559};
3560#ifdef __CRT_UUID_DECL
3561__CRT_UUID_DECL(ID3D10VertexShader, 0x9b7e4c0a, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
3562#endif
3563#else
3564typedef struct ID3D10VertexShaderVtbl {
3565 BEGIN_INTERFACE
3566
3567 /*** IUnknown methods ***/
3568 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3569 ID3D10VertexShader *This,
3570 REFIID riid,
3571 void **ppvObject);
3572
3573 ULONG (STDMETHODCALLTYPE *AddRef)(
3574 ID3D10VertexShader *This);
3575
3576 ULONG (STDMETHODCALLTYPE *Release)(
3577 ID3D10VertexShader *This);
3578
3579 /*** ID3D10DeviceChild methods ***/
3580 void (STDMETHODCALLTYPE *GetDevice)(
3581 ID3D10VertexShader *This,
3582 ID3D10Device **ppDevice);
3583
3584 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
3585 ID3D10VertexShader *This,
3586 REFGUID guid,
3587 UINT *pDataSize,
3588 void *pData);
3589
3590 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
3591 ID3D10VertexShader *This,
3592 REFGUID guid,
3593 UINT DataSize,
3594 const void *pData);
3595
3596 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
3597 ID3D10VertexShader *This,
3598 REFGUID guid,
3599 const IUnknown *pData);
3600
3601 END_INTERFACE
3602} ID3D10VertexShaderVtbl;
3603
3604interface ID3D10VertexShader {
3605 CONST_VTBL ID3D10VertexShaderVtbl* lpVtbl;
3606};
3607
3608#ifdef COBJMACROS
3609#ifndef WIDL_C_INLINE_WRAPPERS
3610/*** IUnknown methods ***/
3611#define ID3D10VertexShader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3612#define ID3D10VertexShader_AddRef(This) (This)->lpVtbl->AddRef(This)
3613#define ID3D10VertexShader_Release(This) (This)->lpVtbl->Release(This)
3614/*** ID3D10DeviceChild methods ***/
3615#define ID3D10VertexShader_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
3616#define ID3D10VertexShader_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
3617#define ID3D10VertexShader_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
3618#define ID3D10VertexShader_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
3619#else
3620/*** IUnknown methods ***/
3621static FORCEINLINE HRESULT ID3D10VertexShader_QueryInterface(ID3D10VertexShader* This,REFIID riid,void **ppvObject) {
3622 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3623}
3624static FORCEINLINE ULONG ID3D10VertexShader_AddRef(ID3D10VertexShader* This) {
3625 return This->lpVtbl->AddRef(This);
3626}
3627static FORCEINLINE ULONG ID3D10VertexShader_Release(ID3D10VertexShader* This) {
3628 return This->lpVtbl->Release(This);
3629}
3630/*** ID3D10DeviceChild methods ***/
3631static FORCEINLINE void ID3D10VertexShader_GetDevice(ID3D10VertexShader* This,ID3D10Device **ppDevice) {
3632 This->lpVtbl->GetDevice(This,ppDevice);
3633}
3634static FORCEINLINE HRESULT ID3D10VertexShader_GetPrivateData(ID3D10VertexShader* This,REFGUID guid,UINT *pDataSize,void *pData) {
3635 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
3636}
3637static FORCEINLINE HRESULT ID3D10VertexShader_SetPrivateData(ID3D10VertexShader* This,REFGUID guid,UINT DataSize,const void *pData) {
3638 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
3639}
3640static FORCEINLINE HRESULT ID3D10VertexShader_SetPrivateDataInterface(ID3D10VertexShader* This,REFGUID guid,const IUnknown *pData) {
3641 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
3642}
3643#endif
3644#endif
3645
3646#endif
3647
3648
3649#endif /* __ID3D10VertexShader_INTERFACE_DEFINED__ */
3650
3651/*****************************************************************************
3652 * ID3D10Asynchronous interface
3653 */
3654#ifndef __ID3D10Asynchronous_INTERFACE_DEFINED__
3655#define __ID3D10Asynchronous_INTERFACE_DEFINED__
3656
3657DEFINE_GUID(IID_ID3D10Asynchronous, 0x9b7e4c0d, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
3658#if defined(__cplusplus) && !defined(CINTERFACE)
3659MIDL_INTERFACE("9b7e4c0d-342c-4106-a19f-4f2704f689f0")
3660ID3D10Asynchronous : public ID3D10DeviceChild
3661{
3662 virtual void STDMETHODCALLTYPE Begin(
3663 ) = 0;
3664
3665 virtual void STDMETHODCALLTYPE End(
3666 ) = 0;
3667
3668 virtual HRESULT STDMETHODCALLTYPE GetData(
3669 void *pData,
3670 UINT DataSize,
3671 UINT GetDataFlags) = 0;
3672
3673 virtual UINT STDMETHODCALLTYPE GetDataSize(
3674 ) = 0;
3675
3676};
3677#ifdef __CRT_UUID_DECL
3678__CRT_UUID_DECL(ID3D10Asynchronous, 0x9b7e4c0d, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
3679#endif
3680#else
3681typedef struct ID3D10AsynchronousVtbl {
3682 BEGIN_INTERFACE
3683
3684 /*** IUnknown methods ***/
3685 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3686 ID3D10Asynchronous *This,
3687 REFIID riid,
3688 void **ppvObject);
3689
3690 ULONG (STDMETHODCALLTYPE *AddRef)(
3691 ID3D10Asynchronous *This);
3692
3693 ULONG (STDMETHODCALLTYPE *Release)(
3694 ID3D10Asynchronous *This);
3695
3696 /*** ID3D10DeviceChild methods ***/
3697 void (STDMETHODCALLTYPE *GetDevice)(
3698 ID3D10Asynchronous *This,
3699 ID3D10Device **ppDevice);
3700
3701 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
3702 ID3D10Asynchronous *This,
3703 REFGUID guid,
3704 UINT *pDataSize,
3705 void *pData);
3706
3707 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
3708 ID3D10Asynchronous *This,
3709 REFGUID guid,
3710 UINT DataSize,
3711 const void *pData);
3712
3713 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
3714 ID3D10Asynchronous *This,
3715 REFGUID guid,
3716 const IUnknown *pData);
3717
3718 /*** ID3D10Asynchronous methods ***/
3719 void (STDMETHODCALLTYPE *Begin)(
3720 ID3D10Asynchronous *This);
3721
3722 void (STDMETHODCALLTYPE *End)(
3723 ID3D10Asynchronous *This);
3724
3725 HRESULT (STDMETHODCALLTYPE *GetData)(
3726 ID3D10Asynchronous *This,
3727 void *pData,
3728 UINT DataSize,
3729 UINT GetDataFlags);
3730
3731 UINT (STDMETHODCALLTYPE *GetDataSize)(
3732 ID3D10Asynchronous *This);
3733
3734 END_INTERFACE
3735} ID3D10AsynchronousVtbl;
3736
3737interface ID3D10Asynchronous {
3738 CONST_VTBL ID3D10AsynchronousVtbl* lpVtbl;
3739};
3740
3741#ifdef COBJMACROS
3742#ifndef WIDL_C_INLINE_WRAPPERS
3743/*** IUnknown methods ***/
3744#define ID3D10Asynchronous_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3745#define ID3D10Asynchronous_AddRef(This) (This)->lpVtbl->AddRef(This)
3746#define ID3D10Asynchronous_Release(This) (This)->lpVtbl->Release(This)
3747/*** ID3D10DeviceChild methods ***/
3748#define ID3D10Asynchronous_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
3749#define ID3D10Asynchronous_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
3750#define ID3D10Asynchronous_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
3751#define ID3D10Asynchronous_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
3752/*** ID3D10Asynchronous methods ***/
3753#define ID3D10Asynchronous_Begin(This) (This)->lpVtbl->Begin(This)
3754#define ID3D10Asynchronous_End(This) (This)->lpVtbl->End(This)
3755#define ID3D10Asynchronous_GetData(This,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pData,DataSize,GetDataFlags)
3756#define ID3D10Asynchronous_GetDataSize(This) (This)->lpVtbl->GetDataSize(This)
3757#else
3758/*** IUnknown methods ***/
3759static FORCEINLINE HRESULT ID3D10Asynchronous_QueryInterface(ID3D10Asynchronous* This,REFIID riid,void **ppvObject) {
3760 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3761}
3762static FORCEINLINE ULONG ID3D10Asynchronous_AddRef(ID3D10Asynchronous* This) {
3763 return This->lpVtbl->AddRef(This);
3764}
3765static FORCEINLINE ULONG ID3D10Asynchronous_Release(ID3D10Asynchronous* This) {
3766 return This->lpVtbl->Release(This);
3767}
3768/*** ID3D10DeviceChild methods ***/
3769static FORCEINLINE void ID3D10Asynchronous_GetDevice(ID3D10Asynchronous* This,ID3D10Device **ppDevice) {
3770 This->lpVtbl->GetDevice(This,ppDevice);
3771}
3772static FORCEINLINE HRESULT ID3D10Asynchronous_GetPrivateData(ID3D10Asynchronous* This,REFGUID guid,UINT *pDataSize,void *pData) {
3773 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
3774}
3775static FORCEINLINE HRESULT ID3D10Asynchronous_SetPrivateData(ID3D10Asynchronous* This,REFGUID guid,UINT DataSize,const void *pData) {
3776 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
3777}
3778static FORCEINLINE HRESULT ID3D10Asynchronous_SetPrivateDataInterface(ID3D10Asynchronous* This,REFGUID guid,const IUnknown *pData) {
3779 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
3780}
3781/*** ID3D10Asynchronous methods ***/
3782static FORCEINLINE void ID3D10Asynchronous_Begin(ID3D10Asynchronous* This) {
3783 This->lpVtbl->Begin(This);
3784}
3785static FORCEINLINE void ID3D10Asynchronous_End(ID3D10Asynchronous* This) {
3786 This->lpVtbl->End(This);
3787}
3788static FORCEINLINE HRESULT ID3D10Asynchronous_GetData(ID3D10Asynchronous* This,void *pData,UINT DataSize,UINT GetDataFlags) {
3789 return This->lpVtbl->GetData(This,pData,DataSize,GetDataFlags);
3790}
3791static FORCEINLINE UINT ID3D10Asynchronous_GetDataSize(ID3D10Asynchronous* This) {
3792 return This->lpVtbl->GetDataSize(This);
3793}
3794#endif
3795#endif
3796
3797#endif
3798
3799
3800#endif /* __ID3D10Asynchronous_INTERFACE_DEFINED__ */
3801
3802/*****************************************************************************
3803 * ID3D10Counter interface
3804 */
3805#ifndef __ID3D10Counter_INTERFACE_DEFINED__
3806#define __ID3D10Counter_INTERFACE_DEFINED__
3807
3808DEFINE_GUID(IID_ID3D10Counter, 0x9b7e4c11, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
3809#if defined(__cplusplus) && !defined(CINTERFACE)
3810MIDL_INTERFACE("9b7e4c11-342c-4106-a19f-4f2704f689f0")
3811ID3D10Counter : public ID3D10Asynchronous
3812{
3813 virtual void STDMETHODCALLTYPE GetDesc(
3814 D3D10_COUNTER_DESC *pDesc) = 0;
3815
3816};
3817#ifdef __CRT_UUID_DECL
3818__CRT_UUID_DECL(ID3D10Counter, 0x9b7e4c11, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
3819#endif
3820#else
3821typedef struct ID3D10CounterVtbl {
3822 BEGIN_INTERFACE
3823
3824 /*** IUnknown methods ***/
3825 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3826 ID3D10Counter *This,
3827 REFIID riid,
3828 void **ppvObject);
3829
3830 ULONG (STDMETHODCALLTYPE *AddRef)(
3831 ID3D10Counter *This);
3832
3833 ULONG (STDMETHODCALLTYPE *Release)(
3834 ID3D10Counter *This);
3835
3836 /*** ID3D10DeviceChild methods ***/
3837 void (STDMETHODCALLTYPE *GetDevice)(
3838 ID3D10Counter *This,
3839 ID3D10Device **ppDevice);
3840
3841 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
3842 ID3D10Counter *This,
3843 REFGUID guid,
3844 UINT *pDataSize,
3845 void *pData);
3846
3847 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
3848 ID3D10Counter *This,
3849 REFGUID guid,
3850 UINT DataSize,
3851 const void *pData);
3852
3853 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
3854 ID3D10Counter *This,
3855 REFGUID guid,
3856 const IUnknown *pData);
3857
3858 /*** ID3D10Asynchronous methods ***/
3859 void (STDMETHODCALLTYPE *Begin)(
3860 ID3D10Counter *This);
3861
3862 void (STDMETHODCALLTYPE *End)(
3863 ID3D10Counter *This);
3864
3865 HRESULT (STDMETHODCALLTYPE *GetData)(
3866 ID3D10Counter *This,
3867 void *pData,
3868 UINT DataSize,
3869 UINT GetDataFlags);
3870
3871 UINT (STDMETHODCALLTYPE *GetDataSize)(
3872 ID3D10Counter *This);
3873
3874 /*** ID3D10Counter methods ***/
3875 void (STDMETHODCALLTYPE *GetDesc)(
3876 ID3D10Counter *This,
3877 D3D10_COUNTER_DESC *pDesc);
3878
3879 END_INTERFACE
3880} ID3D10CounterVtbl;
3881
3882interface ID3D10Counter {
3883 CONST_VTBL ID3D10CounterVtbl* lpVtbl;
3884};
3885
3886#ifdef COBJMACROS
3887#ifndef WIDL_C_INLINE_WRAPPERS
3888/*** IUnknown methods ***/
3889#define ID3D10Counter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
3890#define ID3D10Counter_AddRef(This) (This)->lpVtbl->AddRef(This)
3891#define ID3D10Counter_Release(This) (This)->lpVtbl->Release(This)
3892/*** ID3D10DeviceChild methods ***/
3893#define ID3D10Counter_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
3894#define ID3D10Counter_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
3895#define ID3D10Counter_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
3896#define ID3D10Counter_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
3897/*** ID3D10Asynchronous methods ***/
3898#define ID3D10Counter_Begin(This) (This)->lpVtbl->Begin(This)
3899#define ID3D10Counter_End(This) (This)->lpVtbl->End(This)
3900#define ID3D10Counter_GetData(This,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pData,DataSize,GetDataFlags)
3901#define ID3D10Counter_GetDataSize(This) (This)->lpVtbl->GetDataSize(This)
3902/*** ID3D10Counter methods ***/
3903#define ID3D10Counter_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
3904#else
3905/*** IUnknown methods ***/
3906static FORCEINLINE HRESULT ID3D10Counter_QueryInterface(ID3D10Counter* This,REFIID riid,void **ppvObject) {
3907 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
3908}
3909static FORCEINLINE ULONG ID3D10Counter_AddRef(ID3D10Counter* This) {
3910 return This->lpVtbl->AddRef(This);
3911}
3912static FORCEINLINE ULONG ID3D10Counter_Release(ID3D10Counter* This) {
3913 return This->lpVtbl->Release(This);
3914}
3915/*** ID3D10DeviceChild methods ***/
3916static FORCEINLINE void ID3D10Counter_GetDevice(ID3D10Counter* This,ID3D10Device **ppDevice) {
3917 This->lpVtbl->GetDevice(This,ppDevice);
3918}
3919static FORCEINLINE HRESULT ID3D10Counter_GetPrivateData(ID3D10Counter* This,REFGUID guid,UINT *pDataSize,void *pData) {
3920 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
3921}
3922static FORCEINLINE HRESULT ID3D10Counter_SetPrivateData(ID3D10Counter* This,REFGUID guid,UINT DataSize,const void *pData) {
3923 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
3924}
3925static FORCEINLINE HRESULT ID3D10Counter_SetPrivateDataInterface(ID3D10Counter* This,REFGUID guid,const IUnknown *pData) {
3926 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
3927}
3928/*** ID3D10Asynchronous methods ***/
3929static FORCEINLINE void ID3D10Counter_Begin(ID3D10Counter* This) {
3930 This->lpVtbl->Begin(This);
3931}
3932static FORCEINLINE void ID3D10Counter_End(ID3D10Counter* This) {
3933 This->lpVtbl->End(This);
3934}
3935static FORCEINLINE HRESULT ID3D10Counter_GetData(ID3D10Counter* This,void *pData,UINT DataSize,UINT GetDataFlags) {
3936 return This->lpVtbl->GetData(This,pData,DataSize,GetDataFlags);
3937}
3938static FORCEINLINE UINT ID3D10Counter_GetDataSize(ID3D10Counter* This) {
3939 return This->lpVtbl->GetDataSize(This);
3940}
3941/*** ID3D10Counter methods ***/
3942static FORCEINLINE void ID3D10Counter_GetDesc(ID3D10Counter* This,D3D10_COUNTER_DESC *pDesc) {
3943 This->lpVtbl->GetDesc(This,pDesc);
3944}
3945#endif
3946#endif
3947
3948#endif
3949
3950
3951#endif /* __ID3D10Counter_INTERFACE_DEFINED__ */
3952
3953/*****************************************************************************
3954 * ID3D10Query interface
3955 */
3956#ifndef __ID3D10Query_INTERFACE_DEFINED__
3957#define __ID3D10Query_INTERFACE_DEFINED__
3958
3959DEFINE_GUID(IID_ID3D10Query, 0x9b7e4c0e, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
3960#if defined(__cplusplus) && !defined(CINTERFACE)
3961MIDL_INTERFACE("9b7e4c0e-342c-4106-a19f-4f2704f689f0")
3962ID3D10Query : public ID3D10Asynchronous
3963{
3964 virtual void STDMETHODCALLTYPE GetDesc(
3965 D3D10_QUERY_DESC *pDesc) = 0;
3966
3967};
3968#ifdef __CRT_UUID_DECL
3969__CRT_UUID_DECL(ID3D10Query, 0x9b7e4c0e, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
3970#endif
3971#else
3972typedef struct ID3D10QueryVtbl {
3973 BEGIN_INTERFACE
3974
3975 /*** IUnknown methods ***/
3976 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
3977 ID3D10Query *This,
3978 REFIID riid,
3979 void **ppvObject);
3980
3981 ULONG (STDMETHODCALLTYPE *AddRef)(
3982 ID3D10Query *This);
3983
3984 ULONG (STDMETHODCALLTYPE *Release)(
3985 ID3D10Query *This);
3986
3987 /*** ID3D10DeviceChild methods ***/
3988 void (STDMETHODCALLTYPE *GetDevice)(
3989 ID3D10Query *This,
3990 ID3D10Device **ppDevice);
3991
3992 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
3993 ID3D10Query *This,
3994 REFGUID guid,
3995 UINT *pDataSize,
3996 void *pData);
3997
3998 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
3999 ID3D10Query *This,
4000 REFGUID guid,
4001 UINT DataSize,
4002 const void *pData);
4003
4004 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
4005 ID3D10Query *This,
4006 REFGUID guid,
4007 const IUnknown *pData);
4008
4009 /*** ID3D10Asynchronous methods ***/
4010 void (STDMETHODCALLTYPE *Begin)(
4011 ID3D10Query *This);
4012
4013 void (STDMETHODCALLTYPE *End)(
4014 ID3D10Query *This);
4015
4016 HRESULT (STDMETHODCALLTYPE *GetData)(
4017 ID3D10Query *This,
4018 void *pData,
4019 UINT DataSize,
4020 UINT GetDataFlags);
4021
4022 UINT (STDMETHODCALLTYPE *GetDataSize)(
4023 ID3D10Query *This);
4024
4025 /*** ID3D10Query methods ***/
4026 void (STDMETHODCALLTYPE *GetDesc)(
4027 ID3D10Query *This,
4028 D3D10_QUERY_DESC *pDesc);
4029
4030 END_INTERFACE
4031} ID3D10QueryVtbl;
4032
4033interface ID3D10Query {
4034 CONST_VTBL ID3D10QueryVtbl* lpVtbl;
4035};
4036
4037#ifdef COBJMACROS
4038#ifndef WIDL_C_INLINE_WRAPPERS
4039/*** IUnknown methods ***/
4040#define ID3D10Query_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4041#define ID3D10Query_AddRef(This) (This)->lpVtbl->AddRef(This)
4042#define ID3D10Query_Release(This) (This)->lpVtbl->Release(This)
4043/*** ID3D10DeviceChild methods ***/
4044#define ID3D10Query_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
4045#define ID3D10Query_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
4046#define ID3D10Query_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
4047#define ID3D10Query_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
4048/*** ID3D10Asynchronous methods ***/
4049#define ID3D10Query_Begin(This) (This)->lpVtbl->Begin(This)
4050#define ID3D10Query_End(This) (This)->lpVtbl->End(This)
4051#define ID3D10Query_GetData(This,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pData,DataSize,GetDataFlags)
4052#define ID3D10Query_GetDataSize(This) (This)->lpVtbl->GetDataSize(This)
4053/*** ID3D10Query methods ***/
4054#define ID3D10Query_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
4055#else
4056/*** IUnknown methods ***/
4057static FORCEINLINE HRESULT ID3D10Query_QueryInterface(ID3D10Query* This,REFIID riid,void **ppvObject) {
4058 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
4059}
4060static FORCEINLINE ULONG ID3D10Query_AddRef(ID3D10Query* This) {
4061 return This->lpVtbl->AddRef(This);
4062}
4063static FORCEINLINE ULONG ID3D10Query_Release(ID3D10Query* This) {
4064 return This->lpVtbl->Release(This);
4065}
4066/*** ID3D10DeviceChild methods ***/
4067static FORCEINLINE void ID3D10Query_GetDevice(ID3D10Query* This,ID3D10Device **ppDevice) {
4068 This->lpVtbl->GetDevice(This,ppDevice);
4069}
4070static FORCEINLINE HRESULT ID3D10Query_GetPrivateData(ID3D10Query* This,REFGUID guid,UINT *pDataSize,void *pData) {
4071 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
4072}
4073static FORCEINLINE HRESULT ID3D10Query_SetPrivateData(ID3D10Query* This,REFGUID guid,UINT DataSize,const void *pData) {
4074 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
4075}
4076static FORCEINLINE HRESULT ID3D10Query_SetPrivateDataInterface(ID3D10Query* This,REFGUID guid,const IUnknown *pData) {
4077 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
4078}
4079/*** ID3D10Asynchronous methods ***/
4080static FORCEINLINE void ID3D10Query_Begin(ID3D10Query* This) {
4081 This->lpVtbl->Begin(This);
4082}
4083static FORCEINLINE void ID3D10Query_End(ID3D10Query* This) {
4084 This->lpVtbl->End(This);
4085}
4086static FORCEINLINE HRESULT ID3D10Query_GetData(ID3D10Query* This,void *pData,UINT DataSize,UINT GetDataFlags) {
4087 return This->lpVtbl->GetData(This,pData,DataSize,GetDataFlags);
4088}
4089static FORCEINLINE UINT ID3D10Query_GetDataSize(ID3D10Query* This) {
4090 return This->lpVtbl->GetDataSize(This);
4091}
4092/*** ID3D10Query methods ***/
4093static FORCEINLINE void ID3D10Query_GetDesc(ID3D10Query* This,D3D10_QUERY_DESC *pDesc) {
4094 This->lpVtbl->GetDesc(This,pDesc);
4095}
4096#endif
4097#endif
4098
4099#endif
4100
4101
4102#endif /* __ID3D10Query_INTERFACE_DEFINED__ */
4103
4104/*****************************************************************************
4105 * ID3D10Predicate interface
4106 */
4107#ifndef __ID3D10Predicate_INTERFACE_DEFINED__
4108#define __ID3D10Predicate_INTERFACE_DEFINED__
4109
4110DEFINE_GUID(IID_ID3D10Predicate, 0x9b7e4c10, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
4111#if defined(__cplusplus) && !defined(CINTERFACE)
4112MIDL_INTERFACE("9b7e4c10-342c-4106-a19f-4f2704f689f0")
4113ID3D10Predicate : public ID3D10Query
4114{
4115};
4116#ifdef __CRT_UUID_DECL
4117__CRT_UUID_DECL(ID3D10Predicate, 0x9b7e4c10, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
4118#endif
4119#else
4120typedef struct ID3D10PredicateVtbl {
4121 BEGIN_INTERFACE
4122
4123 /*** IUnknown methods ***/
4124 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4125 ID3D10Predicate *This,
4126 REFIID riid,
4127 void **ppvObject);
4128
4129 ULONG (STDMETHODCALLTYPE *AddRef)(
4130 ID3D10Predicate *This);
4131
4132 ULONG (STDMETHODCALLTYPE *Release)(
4133 ID3D10Predicate *This);
4134
4135 /*** ID3D10DeviceChild methods ***/
4136 void (STDMETHODCALLTYPE *GetDevice)(
4137 ID3D10Predicate *This,
4138 ID3D10Device **ppDevice);
4139
4140 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
4141 ID3D10Predicate *This,
4142 REFGUID guid,
4143 UINT *pDataSize,
4144 void *pData);
4145
4146 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
4147 ID3D10Predicate *This,
4148 REFGUID guid,
4149 UINT DataSize,
4150 const void *pData);
4151
4152 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
4153 ID3D10Predicate *This,
4154 REFGUID guid,
4155 const IUnknown *pData);
4156
4157 /*** ID3D10Asynchronous methods ***/
4158 void (STDMETHODCALLTYPE *Begin)(
4159 ID3D10Predicate *This);
4160
4161 void (STDMETHODCALLTYPE *End)(
4162 ID3D10Predicate *This);
4163
4164 HRESULT (STDMETHODCALLTYPE *GetData)(
4165 ID3D10Predicate *This,
4166 void *pData,
4167 UINT DataSize,
4168 UINT GetDataFlags);
4169
4170 UINT (STDMETHODCALLTYPE *GetDataSize)(
4171 ID3D10Predicate *This);
4172
4173 /*** ID3D10Query methods ***/
4174 void (STDMETHODCALLTYPE *GetDesc)(
4175 ID3D10Predicate *This,
4176 D3D10_QUERY_DESC *pDesc);
4177
4178 END_INTERFACE
4179} ID3D10PredicateVtbl;
4180
4181interface ID3D10Predicate {
4182 CONST_VTBL ID3D10PredicateVtbl* lpVtbl;
4183};
4184
4185#ifdef COBJMACROS
4186#ifndef WIDL_C_INLINE_WRAPPERS
4187/*** IUnknown methods ***/
4188#define ID3D10Predicate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
4189#define ID3D10Predicate_AddRef(This) (This)->lpVtbl->AddRef(This)
4190#define ID3D10Predicate_Release(This) (This)->lpVtbl->Release(This)
4191/*** ID3D10DeviceChild methods ***/
4192#define ID3D10Predicate_GetDevice(This,ppDevice) (This)->lpVtbl->GetDevice(This,ppDevice)
4193#define ID3D10Predicate_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
4194#define ID3D10Predicate_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
4195#define ID3D10Predicate_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
4196/*** ID3D10Asynchronous methods ***/
4197#define ID3D10Predicate_Begin(This) (This)->lpVtbl->Begin(This)
4198#define ID3D10Predicate_End(This) (This)->lpVtbl->End(This)
4199#define ID3D10Predicate_GetData(This,pData,DataSize,GetDataFlags) (This)->lpVtbl->GetData(This,pData,DataSize,GetDataFlags)
4200#define ID3D10Predicate_GetDataSize(This) (This)->lpVtbl->GetDataSize(This)
4201/*** ID3D10Query methods ***/
4202#define ID3D10Predicate_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
4203#else
4204/*** IUnknown methods ***/
4205static FORCEINLINE HRESULT ID3D10Predicate_QueryInterface(ID3D10Predicate* This,REFIID riid,void **ppvObject) {
4206 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
4207}
4208static FORCEINLINE ULONG ID3D10Predicate_AddRef(ID3D10Predicate* This) {
4209 return This->lpVtbl->AddRef(This);
4210}
4211static FORCEINLINE ULONG ID3D10Predicate_Release(ID3D10Predicate* This) {
4212 return This->lpVtbl->Release(This);
4213}
4214/*** ID3D10DeviceChild methods ***/
4215static FORCEINLINE void ID3D10Predicate_GetDevice(ID3D10Predicate* This,ID3D10Device **ppDevice) {
4216 This->lpVtbl->GetDevice(This,ppDevice);
4217}
4218static FORCEINLINE HRESULT ID3D10Predicate_GetPrivateData(ID3D10Predicate* This,REFGUID guid,UINT *pDataSize,void *pData) {
4219 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
4220}
4221static FORCEINLINE HRESULT ID3D10Predicate_SetPrivateData(ID3D10Predicate* This,REFGUID guid,UINT DataSize,const void *pData) {
4222 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
4223}
4224static FORCEINLINE HRESULT ID3D10Predicate_SetPrivateDataInterface(ID3D10Predicate* This,REFGUID guid,const IUnknown *pData) {
4225 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
4226}
4227/*** ID3D10Asynchronous methods ***/
4228static FORCEINLINE void ID3D10Predicate_Begin(ID3D10Predicate* This) {
4229 This->lpVtbl->Begin(This);
4230}
4231static FORCEINLINE void ID3D10Predicate_End(ID3D10Predicate* This) {
4232 This->lpVtbl->End(This);
4233}
4234static FORCEINLINE HRESULT ID3D10Predicate_GetData(ID3D10Predicate* This,void *pData,UINT DataSize,UINT GetDataFlags) {
4235 return This->lpVtbl->GetData(This,pData,DataSize,GetDataFlags);
4236}
4237static FORCEINLINE UINT ID3D10Predicate_GetDataSize(ID3D10Predicate* This) {
4238 return This->lpVtbl->GetDataSize(This);
4239}
4240/*** ID3D10Query methods ***/
4241static FORCEINLINE void ID3D10Predicate_GetDesc(ID3D10Predicate* This,D3D10_QUERY_DESC *pDesc) {
4242 This->lpVtbl->GetDesc(This,pDesc);
4243}
4244#endif
4245#endif
4246
4247#endif
4248
4249
4250#endif /* __ID3D10Predicate_INTERFACE_DEFINED__ */
4251
4252/*****************************************************************************
4253 * ID3D10Device interface
4254 */
4255#ifndef __ID3D10Device_INTERFACE_DEFINED__
4256#define __ID3D10Device_INTERFACE_DEFINED__
4257
4258DEFINE_GUID(IID_ID3D10Device, 0x9b7e4c0f, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
4259#if defined(__cplusplus) && !defined(CINTERFACE)
4260MIDL_INTERFACE("9b7e4c0f-342c-4106-a19f-4f2704f689f0")
4261ID3D10Device : public IUnknown
4262{
4263 virtual void STDMETHODCALLTYPE VSSetConstantBuffers(
4264 UINT StartSlot,
4265 UINT NumBuffers,
4266 ID3D10Buffer *const *ppConstantBuffers) = 0;
4267
4268 virtual void STDMETHODCALLTYPE PSSetShaderResources(
4269 UINT StartSlot,
4270 UINT NumViews,
4271 ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0;
4272
4273 virtual void STDMETHODCALLTYPE PSSetShader(
4274 ID3D10PixelShader *pPixelShader) = 0;
4275
4276 virtual void STDMETHODCALLTYPE PSSetSamplers(
4277 UINT StartSlot,
4278 UINT NumSamplers,
4279 ID3D10SamplerState *const *ppSamplers) = 0;
4280
4281 virtual void STDMETHODCALLTYPE VSSetShader(
4282 ID3D10VertexShader *pVertexShader) = 0;
4283
4284 virtual void STDMETHODCALLTYPE DrawIndexed(
4285 UINT IndexCount,
4286 UINT StartIndexLocation,
4287 INT BaseVertexLocation) = 0;
4288
4289 virtual void STDMETHODCALLTYPE Draw(
4290 UINT VertexCount,
4291 UINT StartVertexLocation) = 0;
4292
4293 virtual void STDMETHODCALLTYPE PSSetConstantBuffers(
4294 UINT StartSlot,
4295 UINT NumBuffers,
4296 ID3D10Buffer *const *ppConstantBuffers) = 0;
4297
4298 virtual void STDMETHODCALLTYPE IASetInputLayout(
4299 ID3D10InputLayout *pInputLayout) = 0;
4300
4301 virtual void STDMETHODCALLTYPE IASetVertexBuffers(
4302 UINT StartSlot,
4303 UINT NumBuffers,
4304 ID3D10Buffer *const *ppVertexBuffers,
4305 const UINT *pStrides,
4306 const UINT *pOffsets) = 0;
4307
4308 virtual void STDMETHODCALLTYPE IASetIndexBuffer(
4309 ID3D10Buffer *pIndexBuffer,
4310 DXGI_FORMAT Format,
4311 UINT Offset) = 0;
4312
4313 virtual void STDMETHODCALLTYPE DrawIndexedInstanced(
4314 UINT IndexCountPerInstance,
4315 UINT InstanceCount,
4316 UINT StartIndexLocation,
4317 INT BaseVertexLocation,
4318 UINT StartInstanceLocation) = 0;
4319
4320 virtual void STDMETHODCALLTYPE DrawInstanced(
4321 UINT VertexCountPerInstance,
4322 UINT InstanceCount,
4323 UINT StartVertexLocation,
4324 UINT StartInstanceLocation) = 0;
4325
4326 virtual void STDMETHODCALLTYPE GSSetConstantBuffers(
4327 UINT StartSlot,
4328 UINT NumBuffers,
4329 ID3D10Buffer *const *ppConstantBuffers) = 0;
4330
4331 virtual void STDMETHODCALLTYPE GSSetShader(
4332 ID3D10GeometryShader *pShader) = 0;
4333
4334 virtual void STDMETHODCALLTYPE IASetPrimitiveTopology(
4335 D3D10_PRIMITIVE_TOPOLOGY Topology) = 0;
4336
4337 virtual void STDMETHODCALLTYPE VSSetShaderResources(
4338 UINT StartSlot,
4339 UINT NumViews,
4340 ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0;
4341
4342 virtual void STDMETHODCALLTYPE VSSetSamplers(
4343 UINT StartSlot,
4344 UINT NumSamplers,
4345 ID3D10SamplerState *const *ppSamplers) = 0;
4346
4347 virtual void STDMETHODCALLTYPE SetPredication(
4348 ID3D10Predicate *pPredicate,
4349 WINBOOL PredicateValue) = 0;
4350
4351 virtual void STDMETHODCALLTYPE GSSetShaderResources(
4352 UINT StartSlot,
4353 UINT NumViews,
4354 ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0;
4355
4356 virtual void STDMETHODCALLTYPE GSSetSamplers(
4357 UINT StartSlot,
4358 UINT NumSamplers,
4359 ID3D10SamplerState *const *ppSamplers) = 0;
4360
4361 virtual void STDMETHODCALLTYPE OMSetRenderTargets(
4362 UINT NumViews,
4363 ID3D10RenderTargetView *const *ppRenderTargetViews,
4364 ID3D10DepthStencilView *pDepthStencilView) = 0;
4365
4366 virtual void STDMETHODCALLTYPE OMSetBlendState(
4367 ID3D10BlendState *pBlendState,
4368 const FLOAT BlendFactor[4],
4369 UINT SampleMask) = 0;
4370
4371 virtual void STDMETHODCALLTYPE OMSetDepthStencilState(
4372 ID3D10DepthStencilState *pDepthStencilState,
4373 UINT StencilRef) = 0;
4374
4375 virtual void STDMETHODCALLTYPE SOSetTargets(
4376 UINT NumBuffers,
4377 ID3D10Buffer *const *ppSOTargets,
4378 const UINT *pOffsets) = 0;
4379
4380 virtual void STDMETHODCALLTYPE DrawAuto(
4381 ) = 0;
4382
4383 virtual void STDMETHODCALLTYPE RSSetState(
4384 ID3D10RasterizerState *pRasterizerState) = 0;
4385
4386 virtual void STDMETHODCALLTYPE RSSetViewports(
4387 UINT NumViewports,
4388 const D3D10_VIEWPORT *pViewports) = 0;
4389
4390 virtual void STDMETHODCALLTYPE RSSetScissorRects(
4391 UINT NumRects,
4392 const D3D10_RECT *pRects) = 0;
4393
4394 virtual void STDMETHODCALLTYPE CopySubresourceRegion(
4395 ID3D10Resource *pDstResource,
4396 UINT DstSubresource,
4397 UINT DstX,
4398 UINT DstY,
4399 UINT DstZ,
4400 ID3D10Resource *pSrcResource,
4401 UINT SrcSubresource,
4402 const D3D10_BOX *pSrcBox) = 0;
4403
4404 virtual void STDMETHODCALLTYPE CopyResource(
4405 ID3D10Resource *pDstResource,
4406 ID3D10Resource *pSrcResource) = 0;
4407
4408 virtual void STDMETHODCALLTYPE UpdateSubresource(
4409 ID3D10Resource *pDstResource,
4410 UINT DstSubresource,
4411 const D3D10_BOX *pDstBox,
4412 const void *pSrcData,
4413 UINT SrcRowPitch,
4414 UINT SrcDepthPitch) = 0;
4415
4416 virtual void STDMETHODCALLTYPE ClearRenderTargetView(
4417 ID3D10RenderTargetView *pRenderTargetView,
4418 const FLOAT ColorRGBA[4]) = 0;
4419
4420 virtual void STDMETHODCALLTYPE ClearDepthStencilView(
4421 ID3D10DepthStencilView *pDepthStencilView,
4422 UINT ClearFlags,
4423 FLOAT Depth,
4424 UINT8 Stencil) = 0;
4425
4426 virtual void STDMETHODCALLTYPE GenerateMips(
4427 ID3D10ShaderResourceView *pShaderResourceView) = 0;
4428
4429 virtual void STDMETHODCALLTYPE ResolveSubresource(
4430 ID3D10Resource *pDstResource,
4431 UINT DstSubresource,
4432 ID3D10Resource *pSrcResource,
4433 UINT SrcSubresource,
4434 DXGI_FORMAT Format) = 0;
4435
4436 virtual void STDMETHODCALLTYPE VSGetConstantBuffers(
4437 UINT StartSlot,
4438 UINT NumBuffers,
4439 ID3D10Buffer **ppConstantBuffers) = 0;
4440
4441 virtual void STDMETHODCALLTYPE PSGetShaderResources(
4442 UINT StartSlot,
4443 UINT NumViews,
4444 ID3D10ShaderResourceView **ppShaderResourceViews) = 0;
4445
4446 virtual void STDMETHODCALLTYPE PSGetShader(
4447 ID3D10PixelShader **ppPixelShader) = 0;
4448
4449 virtual void STDMETHODCALLTYPE PSGetSamplers(
4450 UINT StartSlot,
4451 UINT NumSamplers,
4452 ID3D10SamplerState **ppSamplers) = 0;
4453
4454 virtual void STDMETHODCALLTYPE VSGetShader(
4455 ID3D10VertexShader **ppVertexShader) = 0;
4456
4457 virtual void STDMETHODCALLTYPE PSGetConstantBuffers(
4458 UINT StartSlot,
4459 UINT NumBuffers,
4460 ID3D10Buffer **ppConstantBuffers) = 0;
4461
4462 virtual void STDMETHODCALLTYPE IAGetInputLayout(
4463 ID3D10InputLayout **ppInputLayout) = 0;
4464
4465 virtual void STDMETHODCALLTYPE IAGetVertexBuffers(
4466 UINT StartSlot,
4467 UINT NumBuffers,
4468 ID3D10Buffer **ppVertexBuffers,
4469 UINT *pStrides,
4470 UINT *pOffsets) = 0;
4471
4472 virtual void STDMETHODCALLTYPE IAGetIndexBuffer(
4473 ID3D10Buffer **pIndexBuffer,
4474 DXGI_FORMAT *Format,
4475 UINT *Offset) = 0;
4476
4477 virtual void STDMETHODCALLTYPE GSGetConstantBuffers(
4478 UINT StartSlot,
4479 UINT NumBuffers,
4480 ID3D10Buffer **ppConstantBuffers) = 0;
4481
4482 virtual void STDMETHODCALLTYPE GSGetShader(
4483 ID3D10GeometryShader **ppGeometryShader) = 0;
4484
4485 virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology(
4486 D3D10_PRIMITIVE_TOPOLOGY *pTopology) = 0;
4487
4488 virtual void STDMETHODCALLTYPE VSGetShaderResources(
4489 UINT StartSlot,
4490 UINT NumViews,
4491 ID3D10ShaderResourceView **ppShaderResourceViews) = 0;
4492
4493 virtual void STDMETHODCALLTYPE VSGetSamplers(
4494 UINT StartSlot,
4495 UINT NumSamplers,
4496 ID3D10SamplerState **ppSamplers) = 0;
4497
4498 virtual void STDMETHODCALLTYPE GetPredication(
4499 ID3D10Predicate **ppPredicate,
4500 WINBOOL *pPredicateValue) = 0;
4501
4502 virtual void STDMETHODCALLTYPE GSGetShaderResources(
4503 UINT StartSlot,
4504 UINT NumViews,
4505 ID3D10ShaderResourceView **ppShaderResourceViews) = 0;
4506
4507 virtual void STDMETHODCALLTYPE GSGetSamplers(
4508 UINT StartSlot,
4509 UINT NumSamplers,
4510 ID3D10SamplerState **ppSamplers) = 0;
4511
4512 virtual void STDMETHODCALLTYPE OMGetRenderTargets(
4513 UINT NumViews,
4514 ID3D10RenderTargetView **ppRenderTargetViews,
4515 ID3D10DepthStencilView **ppDepthStencilView) = 0;
4516
4517 virtual void STDMETHODCALLTYPE OMGetBlendState(
4518 ID3D10BlendState **ppBlendState,
4519 FLOAT BlendFactor[4],
4520 UINT *pSampleMask) = 0;
4521
4522 virtual void STDMETHODCALLTYPE OMGetDepthStencilState(
4523 ID3D10DepthStencilState **ppDepthStencilState,
4524 UINT *pStencilRef) = 0;
4525
4526 virtual void STDMETHODCALLTYPE SOGetTargets(
4527 UINT NumBuffers,
4528 ID3D10Buffer **ppSOTargets,
4529 UINT *pOffsets) = 0;
4530
4531 virtual void STDMETHODCALLTYPE RSGetState(
4532 ID3D10RasterizerState **ppRasterizerState) = 0;
4533
4534 virtual void STDMETHODCALLTYPE RSGetViewports(
4535 UINT *NumViewports,
4536 D3D10_VIEWPORT *pViewports) = 0;
4537
4538 virtual void STDMETHODCALLTYPE RSGetScissorRects(
4539 UINT *NumRects,
4540 D3D10_RECT *pRects) = 0;
4541
4542 virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason(
4543 ) = 0;
4544
4545 virtual HRESULT STDMETHODCALLTYPE SetExceptionMode(
4546 UINT RaiseFlags) = 0;
4547
4548 virtual UINT STDMETHODCALLTYPE GetExceptionMode(
4549 ) = 0;
4550
4551 virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
4552 REFGUID guid,
4553 UINT *pDataSize,
4554 void *pData) = 0;
4555
4556 virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
4557 REFGUID guid,
4558 UINT DataSize,
4559 const void *pData) = 0;
4560
4561 virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
4562 REFGUID guid,
4563 const IUnknown *pData) = 0;
4564
4565 virtual void STDMETHODCALLTYPE ClearState(
4566 ) = 0;
4567
4568 virtual void STDMETHODCALLTYPE Flush(
4569 ) = 0;
4570
4571 virtual HRESULT STDMETHODCALLTYPE CreateBuffer(
4572 const D3D10_BUFFER_DESC *pDesc,
4573 const D3D10_SUBRESOURCE_DATA *pInitialData,
4574 ID3D10Buffer **ppBuffer) = 0;
4575
4576 virtual HRESULT STDMETHODCALLTYPE CreateTexture1D(
4577 const D3D10_TEXTURE1D_DESC *pDesc,
4578 const D3D10_SUBRESOURCE_DATA *pInitialData,
4579 ID3D10Texture1D **ppTexture1D) = 0;
4580
4581 virtual HRESULT STDMETHODCALLTYPE CreateTexture2D(
4582 const D3D10_TEXTURE2D_DESC *pDesc,
4583 const D3D10_SUBRESOURCE_DATA *pInitialData,
4584 ID3D10Texture2D **ppTexture2D) = 0;
4585
4586 virtual HRESULT STDMETHODCALLTYPE CreateTexture3D(
4587 const D3D10_TEXTURE3D_DESC *pDesc,
4588 const D3D10_SUBRESOURCE_DATA *pInitialData,
4589 ID3D10Texture3D **ppTexture3D) = 0;
4590
4591 virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView(
4592 ID3D10Resource *pResource,
4593 const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,
4594 ID3D10ShaderResourceView **ppSRView) = 0;
4595
4596 virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView(
4597 ID3D10Resource *pResource,
4598 const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,
4599 ID3D10RenderTargetView **ppRTView) = 0;
4600
4601 virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView(
4602 ID3D10Resource *pResource,
4603 const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,
4604 ID3D10DepthStencilView **ppDepthStencilView) = 0;
4605
4606 virtual HRESULT STDMETHODCALLTYPE CreateInputLayout(
4607 const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs,
4608 UINT NumElements,
4609 const void *pShaderBytecodeWithInputSignature,
4610 SIZE_T BytecodeLength,
4611 ID3D10InputLayout **ppInputLayout) = 0;
4612
4613 virtual HRESULT STDMETHODCALLTYPE CreateVertexShader(
4614 const void *pShaderBytecode,
4615 SIZE_T BytecodeLength,
4616 ID3D10VertexShader **ppVertexShader) = 0;
4617
4618 virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader(
4619 const void *pShaderBytecode,
4620 SIZE_T BytecodeLength,
4621 ID3D10GeometryShader **ppGeometryShader) = 0;
4622
4623 virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput(
4624 const void *pShaderBytecode,
4625 SIZE_T BytecodeLength,
4626 const D3D10_SO_DECLARATION_ENTRY *pSODeclaration,
4627 UINT NumEntries,
4628 UINT OutputStreamStride,
4629 ID3D10GeometryShader **ppGeometryShader) = 0;
4630
4631 virtual HRESULT STDMETHODCALLTYPE CreatePixelShader(
4632 const void *pShaderBytecode,
4633 SIZE_T BytecodeLength,
4634 ID3D10PixelShader **ppPixelShader) = 0;
4635
4636 virtual HRESULT STDMETHODCALLTYPE CreateBlendState(
4637 const D3D10_BLEND_DESC *pBlendStateDesc,
4638 ID3D10BlendState **ppBlendState) = 0;
4639
4640 virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState(
4641 const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,
4642 ID3D10DepthStencilState **ppDepthStencilState) = 0;
4643
4644 virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState(
4645 const D3D10_RASTERIZER_DESC *pRasterizerDesc,
4646 ID3D10RasterizerState **ppRasterizerState) = 0;
4647
4648 virtual HRESULT STDMETHODCALLTYPE CreateSamplerState(
4649 const D3D10_SAMPLER_DESC *pSamplerDesc,
4650 ID3D10SamplerState **ppSamplerState) = 0;
4651
4652 virtual HRESULT STDMETHODCALLTYPE CreateQuery(
4653 const D3D10_QUERY_DESC *pQueryDesc,
4654 ID3D10Query **ppQuery) = 0;
4655
4656 virtual HRESULT STDMETHODCALLTYPE CreatePredicate(
4657 const D3D10_QUERY_DESC *pPredicateDesc,
4658 ID3D10Predicate **ppPredicate) = 0;
4659
4660 virtual HRESULT STDMETHODCALLTYPE CreateCounter(
4661 const D3D10_COUNTER_DESC *pCounterDesc,
4662 ID3D10Counter **ppCounter) = 0;
4663
4664 virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport(
4665 DXGI_FORMAT Format,
4666 UINT *pFormatSupport) = 0;
4667
4668 virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels(
4669 DXGI_FORMAT Format,
4670 UINT SampleCount,
4671 UINT *pNumQualityLevels) = 0;
4672
4673 virtual void STDMETHODCALLTYPE CheckCounterInfo(
4674 D3D10_COUNTER_INFO *pCounterInfo) = 0;
4675
4676 virtual HRESULT STDMETHODCALLTYPE CheckCounter(
4677 const D3D10_COUNTER_DESC *pDesc,
4678 D3D10_COUNTER_TYPE *pType,
4679 UINT *pActiveCounters,
4680 char *name,
4681 UINT *pNameLength,
4682 char *units,
4683 UINT *pUnitsLength,
4684 char *description,
4685 UINT *pDescriptionLength) = 0;
4686
4687 virtual UINT STDMETHODCALLTYPE GetCreationFlags(
4688 ) = 0;
4689
4690 virtual HRESULT STDMETHODCALLTYPE OpenSharedResource(
4691 HANDLE hResource,
4692 REFIID ReturnedInterface,
4693 void **ppResource) = 0;
4694
4695 virtual void STDMETHODCALLTYPE SetTextFilterSize(
4696 UINT Width,
4697 UINT Height) = 0;
4698
4699 virtual void STDMETHODCALLTYPE GetTextFilterSize(
4700 UINT *pWidth,
4701 UINT *pHeight) = 0;
4702
4703};
4704#ifdef __CRT_UUID_DECL
4705__CRT_UUID_DECL(ID3D10Device, 0x9b7e4c0f, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
4706#endif
4707#else
4708typedef struct ID3D10DeviceVtbl {
4709 BEGIN_INTERFACE
4710
4711 /*** IUnknown methods ***/
4712 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
4713 ID3D10Device *This,
4714 REFIID riid,
4715 void **ppvObject);
4716
4717 ULONG (STDMETHODCALLTYPE *AddRef)(
4718 ID3D10Device *This);
4719
4720 ULONG (STDMETHODCALLTYPE *Release)(
4721 ID3D10Device *This);
4722
4723 /*** ID3D10Device methods ***/
4724 void (STDMETHODCALLTYPE *VSSetConstantBuffers)(
4725 ID3D10Device *This,
4726 UINT StartSlot,
4727 UINT NumBuffers,
4728 ID3D10Buffer *const *ppConstantBuffers);
4729
4730 void (STDMETHODCALLTYPE *PSSetShaderResources)(
4731 ID3D10Device *This,
4732 UINT StartSlot,
4733 UINT NumViews,
4734 ID3D10ShaderResourceView *const *ppShaderResourceViews);
4735
4736 void (STDMETHODCALLTYPE *PSSetShader)(
4737 ID3D10Device *This,
4738 ID3D10PixelShader *pPixelShader);
4739
4740 void (STDMETHODCALLTYPE *PSSetSamplers)(
4741 ID3D10Device *This,
4742 UINT StartSlot,
4743 UINT NumSamplers,
4744 ID3D10SamplerState *const *ppSamplers);
4745
4746 void (STDMETHODCALLTYPE *VSSetShader)(
4747 ID3D10Device *This,
4748 ID3D10VertexShader *pVertexShader);
4749
4750 void (STDMETHODCALLTYPE *DrawIndexed)(
4751 ID3D10Device *This,
4752 UINT IndexCount,
4753 UINT StartIndexLocation,
4754 INT BaseVertexLocation);
4755
4756 void (STDMETHODCALLTYPE *Draw)(
4757 ID3D10Device *This,
4758 UINT VertexCount,
4759 UINT StartVertexLocation);
4760
4761 void (STDMETHODCALLTYPE *PSSetConstantBuffers)(
4762 ID3D10Device *This,
4763 UINT StartSlot,
4764 UINT NumBuffers,
4765 ID3D10Buffer *const *ppConstantBuffers);
4766
4767 void (STDMETHODCALLTYPE *IASetInputLayout)(
4768 ID3D10Device *This,
4769 ID3D10InputLayout *pInputLayout);
4770
4771 void (STDMETHODCALLTYPE *IASetVertexBuffers)(
4772 ID3D10Device *This,
4773 UINT StartSlot,
4774 UINT NumBuffers,
4775 ID3D10Buffer *const *ppVertexBuffers,
4776 const UINT *pStrides,
4777 const UINT *pOffsets);
4778
4779 void (STDMETHODCALLTYPE *IASetIndexBuffer)(
4780 ID3D10Device *This,
4781 ID3D10Buffer *pIndexBuffer,
4782 DXGI_FORMAT Format,
4783 UINT Offset);
4784
4785 void (STDMETHODCALLTYPE *DrawIndexedInstanced)(
4786 ID3D10Device *This,
4787 UINT IndexCountPerInstance,
4788 UINT InstanceCount,
4789 UINT StartIndexLocation,
4790 INT BaseVertexLocation,
4791 UINT StartInstanceLocation);
4792
4793 void (STDMETHODCALLTYPE *DrawInstanced)(
4794 ID3D10Device *This,
4795 UINT VertexCountPerInstance,
4796 UINT InstanceCount,
4797 UINT StartVertexLocation,
4798 UINT StartInstanceLocation);
4799
4800 void (STDMETHODCALLTYPE *GSSetConstantBuffers)(
4801 ID3D10Device *This,
4802 UINT StartSlot,
4803 UINT NumBuffers,
4804 ID3D10Buffer *const *ppConstantBuffers);
4805
4806 void (STDMETHODCALLTYPE *GSSetShader)(
4807 ID3D10Device *This,
4808 ID3D10GeometryShader *pShader);
4809
4810 void (STDMETHODCALLTYPE *IASetPrimitiveTopology)(
4811 ID3D10Device *This,
4812 D3D10_PRIMITIVE_TOPOLOGY Topology);
4813
4814 void (STDMETHODCALLTYPE *VSSetShaderResources)(
4815 ID3D10Device *This,
4816 UINT StartSlot,
4817 UINT NumViews,
4818 ID3D10ShaderResourceView *const *ppShaderResourceViews);
4819
4820 void (STDMETHODCALLTYPE *VSSetSamplers)(
4821 ID3D10Device *This,
4822 UINT StartSlot,
4823 UINT NumSamplers,
4824 ID3D10SamplerState *const *ppSamplers);
4825
4826 void (STDMETHODCALLTYPE *SetPredication)(
4827 ID3D10Device *This,
4828 ID3D10Predicate *pPredicate,
4829 WINBOOL PredicateValue);
4830
4831 void (STDMETHODCALLTYPE *GSSetShaderResources)(
4832 ID3D10Device *This,
4833 UINT StartSlot,
4834 UINT NumViews,
4835 ID3D10ShaderResourceView *const *ppShaderResourceViews);
4836
4837 void (STDMETHODCALLTYPE *GSSetSamplers)(
4838 ID3D10Device *This,
4839 UINT StartSlot,
4840 UINT NumSamplers,
4841 ID3D10SamplerState *const *ppSamplers);
4842
4843 void (STDMETHODCALLTYPE *OMSetRenderTargets)(
4844 ID3D10Device *This,
4845 UINT NumViews,
4846 ID3D10RenderTargetView *const *ppRenderTargetViews,
4847 ID3D10DepthStencilView *pDepthStencilView);
4848
4849 void (STDMETHODCALLTYPE *OMSetBlendState)(
4850 ID3D10Device *This,
4851 ID3D10BlendState *pBlendState,
4852 const FLOAT BlendFactor[4],
4853 UINT SampleMask);
4854
4855 void (STDMETHODCALLTYPE *OMSetDepthStencilState)(
4856 ID3D10Device *This,
4857 ID3D10DepthStencilState *pDepthStencilState,
4858 UINT StencilRef);
4859
4860 void (STDMETHODCALLTYPE *SOSetTargets)(
4861 ID3D10Device *This,
4862 UINT NumBuffers,
4863 ID3D10Buffer *const *ppSOTargets,
4864 const UINT *pOffsets);
4865
4866 void (STDMETHODCALLTYPE *DrawAuto)(
4867 ID3D10Device *This);
4868
4869 void (STDMETHODCALLTYPE *RSSetState)(
4870 ID3D10Device *This,
4871 ID3D10RasterizerState *pRasterizerState);
4872
4873 void (STDMETHODCALLTYPE *RSSetViewports)(
4874 ID3D10Device *This,
4875 UINT NumViewports,
4876 const D3D10_VIEWPORT *pViewports);
4877
4878 void (STDMETHODCALLTYPE *RSSetScissorRects)(
4879 ID3D10Device *This,
4880 UINT NumRects,
4881 const D3D10_RECT *pRects);
4882
4883 void (STDMETHODCALLTYPE *CopySubresourceRegion)(
4884 ID3D10Device *This,
4885 ID3D10Resource *pDstResource,
4886 UINT DstSubresource,
4887 UINT DstX,
4888 UINT DstY,
4889 UINT DstZ,
4890 ID3D10Resource *pSrcResource,
4891 UINT SrcSubresource,
4892 const D3D10_BOX *pSrcBox);
4893
4894 void (STDMETHODCALLTYPE *CopyResource)(
4895 ID3D10Device *This,
4896 ID3D10Resource *pDstResource,
4897 ID3D10Resource *pSrcResource);
4898
4899 void (STDMETHODCALLTYPE *UpdateSubresource)(
4900 ID3D10Device *This,
4901 ID3D10Resource *pDstResource,
4902 UINT DstSubresource,
4903 const D3D10_BOX *pDstBox,
4904 const void *pSrcData,
4905 UINT SrcRowPitch,
4906 UINT SrcDepthPitch);
4907
4908 void (STDMETHODCALLTYPE *ClearRenderTargetView)(
4909 ID3D10Device *This,
4910 ID3D10RenderTargetView *pRenderTargetView,
4911 const FLOAT ColorRGBA[4]);
4912
4913 void (STDMETHODCALLTYPE *ClearDepthStencilView)(
4914 ID3D10Device *This,
4915 ID3D10DepthStencilView *pDepthStencilView,
4916 UINT ClearFlags,
4917 FLOAT Depth,
4918 UINT8 Stencil);
4919
4920 void (STDMETHODCALLTYPE *GenerateMips)(
4921 ID3D10Device *This,
4922 ID3D10ShaderResourceView *pShaderResourceView);
4923
4924 void (STDMETHODCALLTYPE *ResolveSubresource)(
4925 ID3D10Device *This,
4926 ID3D10Resource *pDstResource,
4927 UINT DstSubresource,
4928 ID3D10Resource *pSrcResource,
4929 UINT SrcSubresource,
4930 DXGI_FORMAT Format);
4931
4932 void (STDMETHODCALLTYPE *VSGetConstantBuffers)(
4933 ID3D10Device *This,
4934 UINT StartSlot,
4935 UINT NumBuffers,
4936 ID3D10Buffer **ppConstantBuffers);
4937
4938 void (STDMETHODCALLTYPE *PSGetShaderResources)(
4939 ID3D10Device *This,
4940 UINT StartSlot,
4941 UINT NumViews,
4942 ID3D10ShaderResourceView **ppShaderResourceViews);
4943
4944 void (STDMETHODCALLTYPE *PSGetShader)(
4945 ID3D10Device *This,
4946 ID3D10PixelShader **ppPixelShader);
4947
4948 void (STDMETHODCALLTYPE *PSGetSamplers)(
4949 ID3D10Device *This,
4950 UINT StartSlot,
4951 UINT NumSamplers,
4952 ID3D10SamplerState **ppSamplers);
4953
4954 void (STDMETHODCALLTYPE *VSGetShader)(
4955 ID3D10Device *This,
4956 ID3D10VertexShader **ppVertexShader);
4957
4958 void (STDMETHODCALLTYPE *PSGetConstantBuffers)(
4959 ID3D10Device *This,
4960 UINT StartSlot,
4961 UINT NumBuffers,
4962 ID3D10Buffer **ppConstantBuffers);
4963
4964 void (STDMETHODCALLTYPE *IAGetInputLayout)(
4965 ID3D10Device *This,
4966 ID3D10InputLayout **ppInputLayout);
4967
4968 void (STDMETHODCALLTYPE *IAGetVertexBuffers)(
4969 ID3D10Device *This,
4970 UINT StartSlot,
4971 UINT NumBuffers,
4972 ID3D10Buffer **ppVertexBuffers,
4973 UINT *pStrides,
4974 UINT *pOffsets);
4975
4976 void (STDMETHODCALLTYPE *IAGetIndexBuffer)(
4977 ID3D10Device *This,
4978 ID3D10Buffer **pIndexBuffer,
4979 DXGI_FORMAT *Format,
4980 UINT *Offset);
4981
4982 void (STDMETHODCALLTYPE *GSGetConstantBuffers)(
4983 ID3D10Device *This,
4984 UINT StartSlot,
4985 UINT NumBuffers,
4986 ID3D10Buffer **ppConstantBuffers);
4987
4988 void (STDMETHODCALLTYPE *GSGetShader)(
4989 ID3D10Device *This,
4990 ID3D10GeometryShader **ppGeometryShader);
4991
4992 void (STDMETHODCALLTYPE *IAGetPrimitiveTopology)(
4993 ID3D10Device *This,
4994 D3D10_PRIMITIVE_TOPOLOGY *pTopology);
4995
4996 void (STDMETHODCALLTYPE *VSGetShaderResources)(
4997 ID3D10Device *This,
4998 UINT StartSlot,
4999 UINT NumViews,
5000 ID3D10ShaderResourceView **ppShaderResourceViews);
5001
5002 void (STDMETHODCALLTYPE *VSGetSamplers)(
5003 ID3D10Device *This,
5004 UINT StartSlot,
5005 UINT NumSamplers,
5006 ID3D10SamplerState **ppSamplers);
5007
5008 void (STDMETHODCALLTYPE *GetPredication)(
5009 ID3D10Device *This,
5010 ID3D10Predicate **ppPredicate,
5011 WINBOOL *pPredicateValue);
5012
5013 void (STDMETHODCALLTYPE *GSGetShaderResources)(
5014 ID3D10Device *This,
5015 UINT StartSlot,
5016 UINT NumViews,
5017 ID3D10ShaderResourceView **ppShaderResourceViews);
5018
5019 void (STDMETHODCALLTYPE *GSGetSamplers)(
5020 ID3D10Device *This,
5021 UINT StartSlot,
5022 UINT NumSamplers,
5023 ID3D10SamplerState **ppSamplers);
5024
5025 void (STDMETHODCALLTYPE *OMGetRenderTargets)(
5026 ID3D10Device *This,
5027 UINT NumViews,
5028 ID3D10RenderTargetView **ppRenderTargetViews,
5029 ID3D10DepthStencilView **ppDepthStencilView);
5030
5031 void (STDMETHODCALLTYPE *OMGetBlendState)(
5032 ID3D10Device *This,
5033 ID3D10BlendState **ppBlendState,
5034 FLOAT BlendFactor[4],
5035 UINT *pSampleMask);
5036
5037 void (STDMETHODCALLTYPE *OMGetDepthStencilState)(
5038 ID3D10Device *This,
5039 ID3D10DepthStencilState **ppDepthStencilState,
5040 UINT *pStencilRef);
5041
5042 void (STDMETHODCALLTYPE *SOGetTargets)(
5043 ID3D10Device *This,
5044 UINT NumBuffers,
5045 ID3D10Buffer **ppSOTargets,
5046 UINT *pOffsets);
5047
5048 void (STDMETHODCALLTYPE *RSGetState)(
5049 ID3D10Device *This,
5050 ID3D10RasterizerState **ppRasterizerState);
5051
5052 void (STDMETHODCALLTYPE *RSGetViewports)(
5053 ID3D10Device *This,
5054 UINT *NumViewports,
5055 D3D10_VIEWPORT *pViewports);
5056
5057 void (STDMETHODCALLTYPE *RSGetScissorRects)(
5058 ID3D10Device *This,
5059 UINT *NumRects,
5060 D3D10_RECT *pRects);
5061
5062 HRESULT (STDMETHODCALLTYPE *GetDeviceRemovedReason)(
5063 ID3D10Device *This);
5064
5065 HRESULT (STDMETHODCALLTYPE *SetExceptionMode)(
5066 ID3D10Device *This,
5067 UINT RaiseFlags);
5068
5069 UINT (STDMETHODCALLTYPE *GetExceptionMode)(
5070 ID3D10Device *This);
5071
5072 HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
5073 ID3D10Device *This,
5074 REFGUID guid,
5075 UINT *pDataSize,
5076 void *pData);
5077
5078 HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
5079 ID3D10Device *This,
5080 REFGUID guid,
5081 UINT DataSize,
5082 const void *pData);
5083
5084 HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
5085 ID3D10Device *This,
5086 REFGUID guid,
5087 const IUnknown *pData);
5088
5089 void (STDMETHODCALLTYPE *ClearState)(
5090 ID3D10Device *This);
5091
5092 void (STDMETHODCALLTYPE *Flush)(
5093 ID3D10Device *This);
5094
5095 HRESULT (STDMETHODCALLTYPE *CreateBuffer)(
5096 ID3D10Device *This,
5097 const D3D10_BUFFER_DESC *pDesc,
5098 const D3D10_SUBRESOURCE_DATA *pInitialData,
5099 ID3D10Buffer **ppBuffer);
5100
5101 HRESULT (STDMETHODCALLTYPE *CreateTexture1D)(
5102 ID3D10Device *This,
5103 const D3D10_TEXTURE1D_DESC *pDesc,
5104 const D3D10_SUBRESOURCE_DATA *pInitialData,
5105 ID3D10Texture1D **ppTexture1D);
5106
5107 HRESULT (STDMETHODCALLTYPE *CreateTexture2D)(
5108 ID3D10Device *This,
5109 const D3D10_TEXTURE2D_DESC *pDesc,
5110 const D3D10_SUBRESOURCE_DATA *pInitialData,
5111 ID3D10Texture2D **ppTexture2D);
5112
5113 HRESULT (STDMETHODCALLTYPE *CreateTexture3D)(
5114 ID3D10Device *This,
5115 const D3D10_TEXTURE3D_DESC *pDesc,
5116 const D3D10_SUBRESOURCE_DATA *pInitialData,
5117 ID3D10Texture3D **ppTexture3D);
5118
5119 HRESULT (STDMETHODCALLTYPE *CreateShaderResourceView)(
5120 ID3D10Device *This,
5121 ID3D10Resource *pResource,
5122 const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,
5123 ID3D10ShaderResourceView **ppSRView);
5124
5125 HRESULT (STDMETHODCALLTYPE *CreateRenderTargetView)(
5126 ID3D10Device *This,
5127 ID3D10Resource *pResource,
5128 const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,
5129 ID3D10RenderTargetView **ppRTView);
5130
5131 HRESULT (STDMETHODCALLTYPE *CreateDepthStencilView)(
5132 ID3D10Device *This,
5133 ID3D10Resource *pResource,
5134 const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,
5135 ID3D10DepthStencilView **ppDepthStencilView);
5136
5137 HRESULT (STDMETHODCALLTYPE *CreateInputLayout)(
5138 ID3D10Device *This,
5139 const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs,
5140 UINT NumElements,
5141 const void *pShaderBytecodeWithInputSignature,
5142 SIZE_T BytecodeLength,
5143 ID3D10InputLayout **ppInputLayout);
5144
5145 HRESULT (STDMETHODCALLTYPE *CreateVertexShader)(
5146 ID3D10Device *This,
5147 const void *pShaderBytecode,
5148 SIZE_T BytecodeLength,
5149 ID3D10VertexShader **ppVertexShader);
5150
5151 HRESULT (STDMETHODCALLTYPE *CreateGeometryShader)(
5152 ID3D10Device *This,
5153 const void *pShaderBytecode,
5154 SIZE_T BytecodeLength,
5155 ID3D10GeometryShader **ppGeometryShader);
5156
5157 HRESULT (STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput)(
5158 ID3D10Device *This,
5159 const void *pShaderBytecode,
5160 SIZE_T BytecodeLength,
5161 const D3D10_SO_DECLARATION_ENTRY *pSODeclaration,
5162 UINT NumEntries,
5163 UINT OutputStreamStride,
5164 ID3D10GeometryShader **ppGeometryShader);
5165
5166 HRESULT (STDMETHODCALLTYPE *CreatePixelShader)(
5167 ID3D10Device *This,
5168 const void *pShaderBytecode,
5169 SIZE_T BytecodeLength,
5170 ID3D10PixelShader **ppPixelShader);
5171
5172 HRESULT (STDMETHODCALLTYPE *CreateBlendState)(
5173 ID3D10Device *This,
5174 const D3D10_BLEND_DESC *pBlendStateDesc,
5175 ID3D10BlendState **ppBlendState);
5176
5177 HRESULT (STDMETHODCALLTYPE *CreateDepthStencilState)(
5178 ID3D10Device *This,
5179 const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,
5180 ID3D10DepthStencilState **ppDepthStencilState);
5181
5182 HRESULT (STDMETHODCALLTYPE *CreateRasterizerState)(
5183 ID3D10Device *This,
5184 const D3D10_RASTERIZER_DESC *pRasterizerDesc,
5185 ID3D10RasterizerState **ppRasterizerState);
5186
5187 HRESULT (STDMETHODCALLTYPE *CreateSamplerState)(
5188 ID3D10Device *This,
5189 const D3D10_SAMPLER_DESC *pSamplerDesc,
5190 ID3D10SamplerState **ppSamplerState);
5191
5192 HRESULT (STDMETHODCALLTYPE *CreateQuery)(
5193 ID3D10Device *This,
5194 const D3D10_QUERY_DESC *pQueryDesc,
5195 ID3D10Query **ppQuery);
5196
5197 HRESULT (STDMETHODCALLTYPE *CreatePredicate)(
5198 ID3D10Device *This,
5199 const D3D10_QUERY_DESC *pPredicateDesc,
5200 ID3D10Predicate **ppPredicate);
5201
5202 HRESULT (STDMETHODCALLTYPE *CreateCounter)(
5203 ID3D10Device *This,
5204 const D3D10_COUNTER_DESC *pCounterDesc,
5205 ID3D10Counter **ppCounter);
5206
5207 HRESULT (STDMETHODCALLTYPE *CheckFormatSupport)(
5208 ID3D10Device *This,
5209 DXGI_FORMAT Format,
5210 UINT *pFormatSupport);
5211
5212 HRESULT (STDMETHODCALLTYPE *CheckMultisampleQualityLevels)(
5213 ID3D10Device *This,
5214 DXGI_FORMAT Format,
5215 UINT SampleCount,
5216 UINT *pNumQualityLevels);
5217
5218 void (STDMETHODCALLTYPE *CheckCounterInfo)(
5219 ID3D10Device *This,
5220 D3D10_COUNTER_INFO *pCounterInfo);
5221
5222 HRESULT (STDMETHODCALLTYPE *CheckCounter)(
5223 ID3D10Device *This,
5224 const D3D10_COUNTER_DESC *pDesc,
5225 D3D10_COUNTER_TYPE *pType,
5226 UINT *pActiveCounters,
5227 char *name,
5228 UINT *pNameLength,
5229 char *units,
5230 UINT *pUnitsLength,
5231 char *description,
5232 UINT *pDescriptionLength);
5233
5234 UINT (STDMETHODCALLTYPE *GetCreationFlags)(
5235 ID3D10Device *This);
5236
5237 HRESULT (STDMETHODCALLTYPE *OpenSharedResource)(
5238 ID3D10Device *This,
5239 HANDLE hResource,
5240 REFIID ReturnedInterface,
5241 void **ppResource);
5242
5243 void (STDMETHODCALLTYPE *SetTextFilterSize)(
5244 ID3D10Device *This,
5245 UINT Width,
5246 UINT Height);
5247
5248 void (STDMETHODCALLTYPE *GetTextFilterSize)(
5249 ID3D10Device *This,
5250 UINT *pWidth,
5251 UINT *pHeight);
5252
5253 END_INTERFACE
5254} ID3D10DeviceVtbl;
5255
5256interface ID3D10Device {
5257 CONST_VTBL ID3D10DeviceVtbl* lpVtbl;
5258};
5259
5260#ifdef COBJMACROS
5261#ifndef WIDL_C_INLINE_WRAPPERS
5262/*** IUnknown methods ***/
5263#define ID3D10Device_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5264#define ID3D10Device_AddRef(This) (This)->lpVtbl->AddRef(This)
5265#define ID3D10Device_Release(This) (This)->lpVtbl->Release(This)
5266/*** ID3D10Device methods ***/
5267#define ID3D10Device_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
5268#define ID3D10Device_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
5269#define ID3D10Device_PSSetShader(This,pPixelShader) (This)->lpVtbl->PSSetShader(This,pPixelShader)
5270#define ID3D10Device_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
5271#define ID3D10Device_VSSetShader(This,pVertexShader) (This)->lpVtbl->VSSetShader(This,pVertexShader)
5272#define ID3D10Device_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) (This)->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation)
5273#define ID3D10Device_Draw(This,VertexCount,StartVertexLocation) (This)->lpVtbl->Draw(This,VertexCount,StartVertexLocation)
5274#define ID3D10Device_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
5275#define ID3D10Device_IASetInputLayout(This,pInputLayout) (This)->lpVtbl->IASetInputLayout(This,pInputLayout)
5276#define ID3D10Device_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets)
5277#define ID3D10Device_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset)
5278#define ID3D10Device_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation)
5279#define ID3D10Device_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) (This)->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation)
5280#define ID3D10Device_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
5281#define ID3D10Device_GSSetShader(This,pShader) (This)->lpVtbl->GSSetShader(This,pShader)
5282#define ID3D10Device_IASetPrimitiveTopology(This,Topology) (This)->lpVtbl->IASetPrimitiveTopology(This,Topology)
5283#define ID3D10Device_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
5284#define ID3D10Device_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
5285#define ID3D10Device_SetPredication(This,pPredicate,PredicateValue) (This)->lpVtbl->SetPredication(This,pPredicate,PredicateValue)
5286#define ID3D10Device_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
5287#define ID3D10Device_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)
5288#define ID3D10Device_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) (This)->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView)
5289#define ID3D10Device_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) (This)->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask)
5290#define ID3D10Device_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) (This)->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef)
5291#define ID3D10Device_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets)
5292#define ID3D10Device_DrawAuto(This) (This)->lpVtbl->DrawAuto(This)
5293#define ID3D10Device_RSSetState(This,pRasterizerState) (This)->lpVtbl->RSSetState(This,pRasterizerState)
5294#define ID3D10Device_RSSetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSSetViewports(This,NumViewports,pViewports)
5295#define ID3D10Device_RSSetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSSetScissorRects(This,NumRects,pRects)
5296#define ID3D10Device_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) (This)->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox)
5297#define ID3D10Device_CopyResource(This,pDstResource,pSrcResource) (This)->lpVtbl->CopyResource(This,pDstResource,pSrcResource)
5298#define ID3D10Device_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) (This)->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch)
5299#define ID3D10Device_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) (This)->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA)
5300#define ID3D10Device_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) (This)->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil)
5301#define ID3D10Device_GenerateMips(This,pShaderResourceView) (This)->lpVtbl->GenerateMips(This,pShaderResourceView)
5302#define ID3D10Device_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) (This)->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format)
5303#define ID3D10Device_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
5304#define ID3D10Device_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
5305#define ID3D10Device_PSGetShader(This,ppPixelShader) (This)->lpVtbl->PSGetShader(This,ppPixelShader)
5306#define ID3D10Device_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
5307#define ID3D10Device_VSGetShader(This,ppVertexShader) (This)->lpVtbl->VSGetShader(This,ppVertexShader)
5308#define ID3D10Device_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
5309#define ID3D10Device_IAGetInputLayout(This,ppInputLayout) (This)->lpVtbl->IAGetInputLayout(This,ppInputLayout)
5310#define ID3D10Device_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) (This)->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets)
5311#define ID3D10Device_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) (This)->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset)
5312#define ID3D10Device_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) (This)->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)
5313#define ID3D10Device_GSGetShader(This,ppGeometryShader) (This)->lpVtbl->GSGetShader(This,ppGeometryShader)
5314#define ID3D10Device_IAGetPrimitiveTopology(This,pTopology) (This)->lpVtbl->IAGetPrimitiveTopology(This,pTopology)
5315#define ID3D10Device_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
5316#define ID3D10Device_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
5317#define ID3D10Device_GetPredication(This,ppPredicate,pPredicateValue) (This)->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue)
5318#define ID3D10Device_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) (This)->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)
5319#define ID3D10Device_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) (This)->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)
5320#define ID3D10Device_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) (This)->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView)
5321#define ID3D10Device_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) (This)->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask)
5322#define ID3D10Device_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) (This)->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef)
5323#define ID3D10Device_SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets) (This)->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets)
5324#define ID3D10Device_RSGetState(This,ppRasterizerState) (This)->lpVtbl->RSGetState(This,ppRasterizerState)
5325#define ID3D10Device_RSGetViewports(This,NumViewports,pViewports) (This)->lpVtbl->RSGetViewports(This,NumViewports,pViewports)
5326#define ID3D10Device_RSGetScissorRects(This,NumRects,pRects) (This)->lpVtbl->RSGetScissorRects(This,NumRects,pRects)
5327#define ID3D10Device_GetDeviceRemovedReason(This) (This)->lpVtbl->GetDeviceRemovedReason(This)
5328#define ID3D10Device_SetExceptionMode(This,RaiseFlags) (This)->lpVtbl->SetExceptionMode(This,RaiseFlags)
5329#define ID3D10Device_GetExceptionMode(This) (This)->lpVtbl->GetExceptionMode(This)
5330#define ID3D10Device_GetPrivateData(This,guid,pDataSize,pData) (This)->lpVtbl->GetPrivateData(This,guid,pDataSize,pData)
5331#define ID3D10Device_SetPrivateData(This,guid,DataSize,pData) (This)->lpVtbl->SetPrivateData(This,guid,DataSize,pData)
5332#define ID3D10Device_SetPrivateDataInterface(This,guid,pData) (This)->lpVtbl->SetPrivateDataInterface(This,guid,pData)
5333#define ID3D10Device_ClearState(This) (This)->lpVtbl->ClearState(This)
5334#define ID3D10Device_Flush(This) (This)->lpVtbl->Flush(This)
5335#define ID3D10Device_CreateBuffer(This,pDesc,pInitialData,ppBuffer) (This)->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer)
5336#define ID3D10Device_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) (This)->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D)
5337#define ID3D10Device_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) (This)->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D)
5338#define ID3D10Device_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) (This)->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D)
5339#define ID3D10Device_CreateShaderResourceView(This,pResource,pDesc,ppSRView) (This)->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView)
5340#define ID3D10Device_CreateRenderTargetView(This,pResource,pDesc,ppRTView) (This)->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView)
5341#define ID3D10Device_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) (This)->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView)
5342#define ID3D10Device_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) (This)->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout)
5343#define ID3D10Device_CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader) (This)->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader)
5344#define ID3D10Device_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader) (This)->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader)
5345#define ID3D10Device_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader) (This)->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader)
5346#define ID3D10Device_CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader) (This)->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader)
5347#define ID3D10Device_CreateBlendState(This,pBlendStateDesc,ppBlendState) (This)->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState)
5348#define ID3D10Device_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) (This)->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState)
5349#define ID3D10Device_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) (This)->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState)
5350#define ID3D10Device_CreateSamplerState(This,pSamplerDesc,ppSamplerState) (This)->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState)
5351#define ID3D10Device_CreateQuery(This,pQueryDesc,ppQuery) (This)->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery)
5352#define ID3D10Device_CreatePredicate(This,pPredicateDesc,ppPredicate) (This)->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate)
5353#define ID3D10Device_CreateCounter(This,pCounterDesc,ppCounter) (This)->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter)
5354#define ID3D10Device_CheckFormatSupport(This,Format,pFormatSupport) (This)->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport)
5355#define ID3D10Device_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) (This)->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels)
5356#define ID3D10Device_CheckCounterInfo(This,pCounterInfo) (This)->lpVtbl->CheckCounterInfo(This,pCounterInfo)
5357#define ID3D10Device_CheckCounter(This,pDesc,pType,pActiveCounters,name,pNameLength,units,pUnitsLength,description,pDescriptionLength) (This)->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,name,pNameLength,units,pUnitsLength,description,pDescriptionLength)
5358#define ID3D10Device_GetCreationFlags(This) (This)->lpVtbl->GetCreationFlags(This)
5359#define ID3D10Device_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) (This)->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource)
5360#define ID3D10Device_SetTextFilterSize(This,Width,Height) (This)->lpVtbl->SetTextFilterSize(This,Width,Height)
5361#define ID3D10Device_GetTextFilterSize(This,pWidth,pHeight) (This)->lpVtbl->GetTextFilterSize(This,pWidth,pHeight)
5362#else
5363/*** IUnknown methods ***/
5364static FORCEINLINE HRESULT ID3D10Device_QueryInterface(ID3D10Device* This,REFIID riid,void **ppvObject) {
5365 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
5366}
5367static FORCEINLINE ULONG ID3D10Device_AddRef(ID3D10Device* This) {
5368 return This->lpVtbl->AddRef(This);
5369}
5370static FORCEINLINE ULONG ID3D10Device_Release(ID3D10Device* This) {
5371 return This->lpVtbl->Release(This);
5372}
5373/*** ID3D10Device methods ***/
5374static FORCEINLINE void ID3D10Device_VSSetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppConstantBuffers) {
5375 This->lpVtbl->VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
5376}
5377static FORCEINLINE void ID3D10Device_PSSetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView *const *ppShaderResourceViews) {
5378 This->lpVtbl->PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
5379}
5380static FORCEINLINE void ID3D10Device_PSSetShader(ID3D10Device* This,ID3D10PixelShader *pPixelShader) {
5381 This->lpVtbl->PSSetShader(This,pPixelShader);
5382}
5383static FORCEINLINE void ID3D10Device_PSSetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState *const *ppSamplers) {
5384 This->lpVtbl->PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
5385}
5386static FORCEINLINE void ID3D10Device_VSSetShader(ID3D10Device* This,ID3D10VertexShader *pVertexShader) {
5387 This->lpVtbl->VSSetShader(This,pVertexShader);
5388}
5389static FORCEINLINE void ID3D10Device_DrawIndexed(ID3D10Device* This,UINT IndexCount,UINT StartIndexLocation,INT BaseVertexLocation) {
5390 This->lpVtbl->DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation);
5391}
5392static FORCEINLINE void ID3D10Device_Draw(ID3D10Device* This,UINT VertexCount,UINT StartVertexLocation) {
5393 This->lpVtbl->Draw(This,VertexCount,StartVertexLocation);
5394}
5395static FORCEINLINE void ID3D10Device_PSSetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppConstantBuffers) {
5396 This->lpVtbl->PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
5397}
5398static FORCEINLINE void ID3D10Device_IASetInputLayout(ID3D10Device* This,ID3D10InputLayout *pInputLayout) {
5399 This->lpVtbl->IASetInputLayout(This,pInputLayout);
5400}
5401static FORCEINLINE void ID3D10Device_IASetVertexBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppVertexBuffers,const UINT *pStrides,const UINT *pOffsets) {
5402 This->lpVtbl->IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets);
5403}
5404static FORCEINLINE void ID3D10Device_IASetIndexBuffer(ID3D10Device* This,ID3D10Buffer *pIndexBuffer,DXGI_FORMAT Format,UINT Offset) {
5405 This->lpVtbl->IASetIndexBuffer(This,pIndexBuffer,Format,Offset);
5406}
5407static FORCEINLINE void ID3D10Device_DrawIndexedInstanced(ID3D10Device* This,UINT IndexCountPerInstance,UINT InstanceCount,UINT StartIndexLocation,INT BaseVertexLocation,UINT StartInstanceLocation) {
5408 This->lpVtbl->DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation);
5409}
5410static FORCEINLINE void ID3D10Device_DrawInstanced(ID3D10Device* This,UINT VertexCountPerInstance,UINT InstanceCount,UINT StartVertexLocation,UINT StartInstanceLocation) {
5411 This->lpVtbl->DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation);
5412}
5413static FORCEINLINE void ID3D10Device_GSSetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer *const *ppConstantBuffers) {
5414 This->lpVtbl->GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
5415}
5416static FORCEINLINE void ID3D10Device_GSSetShader(ID3D10Device* This,ID3D10GeometryShader *pShader) {
5417 This->lpVtbl->GSSetShader(This,pShader);
5418}
5419static FORCEINLINE void ID3D10Device_IASetPrimitiveTopology(ID3D10Device* This,D3D10_PRIMITIVE_TOPOLOGY Topology) {
5420 This->lpVtbl->IASetPrimitiveTopology(This,Topology);
5421}
5422static FORCEINLINE void ID3D10Device_VSSetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView *const *ppShaderResourceViews) {
5423 This->lpVtbl->VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
5424}
5425static FORCEINLINE void ID3D10Device_VSSetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState *const *ppSamplers) {
5426 This->lpVtbl->VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
5427}
5428static FORCEINLINE void ID3D10Device_SetPredication(ID3D10Device* This,ID3D10Predicate *pPredicate,WINBOOL PredicateValue) {
5429 This->lpVtbl->SetPredication(This,pPredicate,PredicateValue);
5430}
5431static FORCEINLINE void ID3D10Device_GSSetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView *const *ppShaderResourceViews) {
5432 This->lpVtbl->GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
5433}
5434static FORCEINLINE void ID3D10Device_GSSetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState *const *ppSamplers) {
5435 This->lpVtbl->GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers);
5436}
5437static FORCEINLINE void ID3D10Device_OMSetRenderTargets(ID3D10Device* This,UINT NumViews,ID3D10RenderTargetView *const *ppRenderTargetViews,ID3D10DepthStencilView *pDepthStencilView) {
5438 This->lpVtbl->OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView);
5439}
5440static FORCEINLINE void ID3D10Device_OMSetBlendState(ID3D10Device* This,ID3D10BlendState *pBlendState,const FLOAT BlendFactor[4],UINT SampleMask) {
5441 This->lpVtbl->OMSetBlendState(This,pBlendState,BlendFactor,SampleMask);
5442}
5443static FORCEINLINE void ID3D10Device_OMSetDepthStencilState(ID3D10Device* This,ID3D10DepthStencilState *pDepthStencilState,UINT StencilRef) {
5444 This->lpVtbl->OMSetDepthStencilState(This,pDepthStencilState,StencilRef);
5445}
5446static FORCEINLINE void ID3D10Device_SOSetTargets(ID3D10Device* This,UINT NumBuffers,ID3D10Buffer *const *ppSOTargets,const UINT *pOffsets) {
5447 This->lpVtbl->SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets);
5448}
5449static FORCEINLINE void ID3D10Device_DrawAuto(ID3D10Device* This) {
5450 This->lpVtbl->DrawAuto(This);
5451}
5452static FORCEINLINE void ID3D10Device_RSSetState(ID3D10Device* This,ID3D10RasterizerState *pRasterizerState) {
5453 This->lpVtbl->RSSetState(This,pRasterizerState);
5454}
5455static FORCEINLINE void ID3D10Device_RSSetViewports(ID3D10Device* This,UINT NumViewports,const D3D10_VIEWPORT *pViewports) {
5456 This->lpVtbl->RSSetViewports(This,NumViewports,pViewports);
5457}
5458static FORCEINLINE void ID3D10Device_RSSetScissorRects(ID3D10Device* This,UINT NumRects,const D3D10_RECT *pRects) {
5459 This->lpVtbl->RSSetScissorRects(This,NumRects,pRects);
5460}
5461static FORCEINLINE void ID3D10Device_CopySubresourceRegion(ID3D10Device* This,ID3D10Resource *pDstResource,UINT DstSubresource,UINT DstX,UINT DstY,UINT DstZ,ID3D10Resource *pSrcResource,UINT SrcSubresource,const D3D10_BOX *pSrcBox) {
5462 This->lpVtbl->CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox);
5463}
5464static FORCEINLINE void ID3D10Device_CopyResource(ID3D10Device* This,ID3D10Resource *pDstResource,ID3D10Resource *pSrcResource) {
5465 This->lpVtbl->CopyResource(This,pDstResource,pSrcResource);
5466}
5467static FORCEINLINE void ID3D10Device_UpdateSubresource(ID3D10Device* This,ID3D10Resource *pDstResource,UINT DstSubresource,const D3D10_BOX *pDstBox,const void *pSrcData,UINT SrcRowPitch,UINT SrcDepthPitch) {
5468 This->lpVtbl->UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch);
5469}
5470static FORCEINLINE void ID3D10Device_ClearRenderTargetView(ID3D10Device* This,ID3D10RenderTargetView *pRenderTargetView,const FLOAT ColorRGBA[4]) {
5471 This->lpVtbl->ClearRenderTargetView(This,pRenderTargetView,ColorRGBA);
5472}
5473static FORCEINLINE void ID3D10Device_ClearDepthStencilView(ID3D10Device* This,ID3D10DepthStencilView *pDepthStencilView,UINT ClearFlags,FLOAT Depth,UINT8 Stencil) {
5474 This->lpVtbl->ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil);
5475}
5476static FORCEINLINE void ID3D10Device_GenerateMips(ID3D10Device* This,ID3D10ShaderResourceView *pShaderResourceView) {
5477 This->lpVtbl->GenerateMips(This,pShaderResourceView);
5478}
5479static FORCEINLINE void ID3D10Device_ResolveSubresource(ID3D10Device* This,ID3D10Resource *pDstResource,UINT DstSubresource,ID3D10Resource *pSrcResource,UINT SrcSubresource,DXGI_FORMAT Format) {
5480 This->lpVtbl->ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format);
5481}
5482static FORCEINLINE void ID3D10Device_VSGetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppConstantBuffers) {
5483 This->lpVtbl->VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
5484}
5485static FORCEINLINE void ID3D10Device_PSGetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView **ppShaderResourceViews) {
5486 This->lpVtbl->PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
5487}
5488static FORCEINLINE void ID3D10Device_PSGetShader(ID3D10Device* This,ID3D10PixelShader **ppPixelShader) {
5489 This->lpVtbl->PSGetShader(This,ppPixelShader);
5490}
5491static FORCEINLINE void ID3D10Device_PSGetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState **ppSamplers) {
5492 This->lpVtbl->PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
5493}
5494static FORCEINLINE void ID3D10Device_VSGetShader(ID3D10Device* This,ID3D10VertexShader **ppVertexShader) {
5495 This->lpVtbl->VSGetShader(This,ppVertexShader);
5496}
5497static FORCEINLINE void ID3D10Device_PSGetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppConstantBuffers) {
5498 This->lpVtbl->PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
5499}
5500static FORCEINLINE void ID3D10Device_IAGetInputLayout(ID3D10Device* This,ID3D10InputLayout **ppInputLayout) {
5501 This->lpVtbl->IAGetInputLayout(This,ppInputLayout);
5502}
5503static FORCEINLINE void ID3D10Device_IAGetVertexBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppVertexBuffers,UINT *pStrides,UINT *pOffsets) {
5504 This->lpVtbl->IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets);
5505}
5506static FORCEINLINE void ID3D10Device_IAGetIndexBuffer(ID3D10Device* This,ID3D10Buffer **pIndexBuffer,DXGI_FORMAT *Format,UINT *Offset) {
5507 This->lpVtbl->IAGetIndexBuffer(This,pIndexBuffer,Format,Offset);
5508}
5509static FORCEINLINE void ID3D10Device_GSGetConstantBuffers(ID3D10Device* This,UINT StartSlot,UINT NumBuffers,ID3D10Buffer **ppConstantBuffers) {
5510 This->lpVtbl->GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers);
5511}
5512static FORCEINLINE void ID3D10Device_GSGetShader(ID3D10Device* This,ID3D10GeometryShader **ppGeometryShader) {
5513 This->lpVtbl->GSGetShader(This,ppGeometryShader);
5514}
5515static FORCEINLINE void ID3D10Device_IAGetPrimitiveTopology(ID3D10Device* This,D3D10_PRIMITIVE_TOPOLOGY *pTopology) {
5516 This->lpVtbl->IAGetPrimitiveTopology(This,pTopology);
5517}
5518static FORCEINLINE void ID3D10Device_VSGetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView **ppShaderResourceViews) {
5519 This->lpVtbl->VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
5520}
5521static FORCEINLINE void ID3D10Device_VSGetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState **ppSamplers) {
5522 This->lpVtbl->VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
5523}
5524static FORCEINLINE void ID3D10Device_GetPredication(ID3D10Device* This,ID3D10Predicate **ppPredicate,WINBOOL *pPredicateValue) {
5525 This->lpVtbl->GetPredication(This,ppPredicate,pPredicateValue);
5526}
5527static FORCEINLINE void ID3D10Device_GSGetShaderResources(ID3D10Device* This,UINT StartSlot,UINT NumViews,ID3D10ShaderResourceView **ppShaderResourceViews) {
5528 This->lpVtbl->GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews);
5529}
5530static FORCEINLINE void ID3D10Device_GSGetSamplers(ID3D10Device* This,UINT StartSlot,UINT NumSamplers,ID3D10SamplerState **ppSamplers) {
5531 This->lpVtbl->GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers);
5532}
5533static FORCEINLINE void ID3D10Device_OMGetRenderTargets(ID3D10Device* This,UINT NumViews,ID3D10RenderTargetView **ppRenderTargetViews,ID3D10DepthStencilView **ppDepthStencilView) {
5534 This->lpVtbl->OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView);
5535}
5536static FORCEINLINE void ID3D10Device_OMGetBlendState(ID3D10Device* This,ID3D10BlendState **ppBlendState,FLOAT BlendFactor[4],UINT *pSampleMask) {
5537 This->lpVtbl->OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask);
5538}
5539static FORCEINLINE void ID3D10Device_OMGetDepthStencilState(ID3D10Device* This,ID3D10DepthStencilState **ppDepthStencilState,UINT *pStencilRef) {
5540 This->lpVtbl->OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef);
5541}
5542static FORCEINLINE void ID3D10Device_SOGetTargets(ID3D10Device* This,UINT NumBuffers,ID3D10Buffer **ppSOTargets,UINT *pOffsets) {
5543 This->lpVtbl->SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets);
5544}
5545static FORCEINLINE void ID3D10Device_RSGetState(ID3D10Device* This,ID3D10RasterizerState **ppRasterizerState) {
5546 This->lpVtbl->RSGetState(This,ppRasterizerState);
5547}
5548static FORCEINLINE void ID3D10Device_RSGetViewports(ID3D10Device* This,UINT *NumViewports,D3D10_VIEWPORT *pViewports) {
5549 This->lpVtbl->RSGetViewports(This,NumViewports,pViewports);
5550}
5551static FORCEINLINE void ID3D10Device_RSGetScissorRects(ID3D10Device* This,UINT *NumRects,D3D10_RECT *pRects) {
5552 This->lpVtbl->RSGetScissorRects(This,NumRects,pRects);
5553}
5554static FORCEINLINE HRESULT ID3D10Device_GetDeviceRemovedReason(ID3D10Device* This) {
5555 return This->lpVtbl->GetDeviceRemovedReason(This);
5556}
5557static FORCEINLINE HRESULT ID3D10Device_SetExceptionMode(ID3D10Device* This,UINT RaiseFlags) {
5558 return This->lpVtbl->SetExceptionMode(This,RaiseFlags);
5559}
5560static FORCEINLINE UINT ID3D10Device_GetExceptionMode(ID3D10Device* This) {
5561 return This->lpVtbl->GetExceptionMode(This);
5562}
5563static FORCEINLINE HRESULT ID3D10Device_GetPrivateData(ID3D10Device* This,REFGUID guid,UINT *pDataSize,void *pData) {
5564 return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
5565}
5566static FORCEINLINE HRESULT ID3D10Device_SetPrivateData(ID3D10Device* This,REFGUID guid,UINT DataSize,const void *pData) {
5567 return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
5568}
5569static FORCEINLINE HRESULT ID3D10Device_SetPrivateDataInterface(ID3D10Device* This,REFGUID guid,const IUnknown *pData) {
5570 return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
5571}
5572static FORCEINLINE void ID3D10Device_ClearState(ID3D10Device* This) {
5573 This->lpVtbl->ClearState(This);
5574}
5575static FORCEINLINE void ID3D10Device_Flush(ID3D10Device* This) {
5576 This->lpVtbl->Flush(This);
5577}
5578static FORCEINLINE HRESULT ID3D10Device_CreateBuffer(ID3D10Device* This,const D3D10_BUFFER_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Buffer **ppBuffer) {
5579 return This->lpVtbl->CreateBuffer(This,pDesc,pInitialData,ppBuffer);
5580}
5581static FORCEINLINE HRESULT ID3D10Device_CreateTexture1D(ID3D10Device* This,const D3D10_TEXTURE1D_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Texture1D **ppTexture1D) {
5582 return This->lpVtbl->CreateTexture1D(This,pDesc,pInitialData,ppTexture1D);
5583}
5584static FORCEINLINE HRESULT ID3D10Device_CreateTexture2D(ID3D10Device* This,const D3D10_TEXTURE2D_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Texture2D **ppTexture2D) {
5585 return This->lpVtbl->CreateTexture2D(This,pDesc,pInitialData,ppTexture2D);
5586}
5587static FORCEINLINE HRESULT ID3D10Device_CreateTexture3D(ID3D10Device* This,const D3D10_TEXTURE3D_DESC *pDesc,const D3D10_SUBRESOURCE_DATA *pInitialData,ID3D10Texture3D **ppTexture3D) {
5588 return This->lpVtbl->CreateTexture3D(This,pDesc,pInitialData,ppTexture3D);
5589}
5590static FORCEINLINE HRESULT ID3D10Device_CreateShaderResourceView(ID3D10Device* This,ID3D10Resource *pResource,const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,ID3D10ShaderResourceView **ppSRView) {
5591 return This->lpVtbl->CreateShaderResourceView(This,pResource,pDesc,ppSRView);
5592}
5593static FORCEINLINE HRESULT ID3D10Device_CreateRenderTargetView(ID3D10Device* This,ID3D10Resource *pResource,const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,ID3D10RenderTargetView **ppRTView) {
5594 return This->lpVtbl->CreateRenderTargetView(This,pResource,pDesc,ppRTView);
5595}
5596static FORCEINLINE HRESULT ID3D10Device_CreateDepthStencilView(ID3D10Device* This,ID3D10Resource *pResource,const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,ID3D10DepthStencilView **ppDepthStencilView) {
5597 return This->lpVtbl->CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView);
5598}
5599static FORCEINLINE HRESULT ID3D10Device_CreateInputLayout(ID3D10Device* This,const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs,UINT NumElements,const void *pShaderBytecodeWithInputSignature,SIZE_T BytecodeLength,ID3D10InputLayout **ppInputLayout) {
5600 return This->lpVtbl->CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout);
5601}
5602static FORCEINLINE HRESULT ID3D10Device_CreateVertexShader(ID3D10Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D10VertexShader **ppVertexShader) {
5603 return This->lpVtbl->CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader);
5604}
5605static FORCEINLINE HRESULT ID3D10Device_CreateGeometryShader(ID3D10Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D10GeometryShader **ppGeometryShader) {
5606 return This->lpVtbl->CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader);
5607}
5608static FORCEINLINE HRESULT ID3D10Device_CreateGeometryShaderWithStreamOutput(ID3D10Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,const D3D10_SO_DECLARATION_ENTRY *pSODeclaration,UINT NumEntries,UINT OutputStreamStride,ID3D10GeometryShader **ppGeometryShader) {
5609 return This->lpVtbl->CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader);
5610}
5611static FORCEINLINE HRESULT ID3D10Device_CreatePixelShader(ID3D10Device* This,const void *pShaderBytecode,SIZE_T BytecodeLength,ID3D10PixelShader **ppPixelShader) {
5612 return This->lpVtbl->CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader);
5613}
5614static FORCEINLINE HRESULT ID3D10Device_CreateBlendState(ID3D10Device* This,const D3D10_BLEND_DESC *pBlendStateDesc,ID3D10BlendState **ppBlendState) {
5615 return This->lpVtbl->CreateBlendState(This,pBlendStateDesc,ppBlendState);
5616}
5617static FORCEINLINE HRESULT ID3D10Device_CreateDepthStencilState(ID3D10Device* This,const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,ID3D10DepthStencilState **ppDepthStencilState) {
5618 return This->lpVtbl->CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState);
5619}
5620static FORCEINLINE HRESULT ID3D10Device_CreateRasterizerState(ID3D10Device* This,const D3D10_RASTERIZER_DESC *pRasterizerDesc,ID3D10RasterizerState **ppRasterizerState) {
5621 return This->lpVtbl->CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState);
5622}
5623static FORCEINLINE HRESULT ID3D10Device_CreateSamplerState(ID3D10Device* This,const D3D10_SAMPLER_DESC *pSamplerDesc,ID3D10SamplerState **ppSamplerState) {
5624 return This->lpVtbl->CreateSamplerState(This,pSamplerDesc,ppSamplerState);
5625}
5626static FORCEINLINE HRESULT ID3D10Device_CreateQuery(ID3D10Device* This,const D3D10_QUERY_DESC *pQueryDesc,ID3D10Query **ppQuery) {
5627 return This->lpVtbl->CreateQuery(This,pQueryDesc,ppQuery);
5628}
5629static FORCEINLINE HRESULT ID3D10Device_CreatePredicate(ID3D10Device* This,const D3D10_QUERY_DESC *pPredicateDesc,ID3D10Predicate **ppPredicate) {
5630 return This->lpVtbl->CreatePredicate(This,pPredicateDesc,ppPredicate);
5631}
5632static FORCEINLINE HRESULT ID3D10Device_CreateCounter(ID3D10Device* This,const D3D10_COUNTER_DESC *pCounterDesc,ID3D10Counter **ppCounter) {
5633 return This->lpVtbl->CreateCounter(This,pCounterDesc,ppCounter);
5634}
5635static FORCEINLINE HRESULT ID3D10Device_CheckFormatSupport(ID3D10Device* This,DXGI_FORMAT Format,UINT *pFormatSupport) {
5636 return This->lpVtbl->CheckFormatSupport(This,Format,pFormatSupport);
5637}
5638static FORCEINLINE HRESULT ID3D10Device_CheckMultisampleQualityLevels(ID3D10Device* This,DXGI_FORMAT Format,UINT SampleCount,UINT *pNumQualityLevels) {
5639 return This->lpVtbl->CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels);
5640}
5641static FORCEINLINE void ID3D10Device_CheckCounterInfo(ID3D10Device* This,D3D10_COUNTER_INFO *pCounterInfo) {
5642 This->lpVtbl->CheckCounterInfo(This,pCounterInfo);
5643}
5644static FORCEINLINE HRESULT ID3D10Device_CheckCounter(ID3D10Device* This,const D3D10_COUNTER_DESC *pDesc,D3D10_COUNTER_TYPE *pType,UINT *pActiveCounters,char *name,UINT *pNameLength,char *units,UINT *pUnitsLength,char *description,UINT *pDescriptionLength) {
5645 return This->lpVtbl->CheckCounter(This,pDesc,pType,pActiveCounters,name,pNameLength,units,pUnitsLength,description,pDescriptionLength);
5646}
5647static FORCEINLINE UINT ID3D10Device_GetCreationFlags(ID3D10Device* This) {
5648 return This->lpVtbl->GetCreationFlags(This);
5649}
5650static FORCEINLINE HRESULT ID3D10Device_OpenSharedResource(ID3D10Device* This,HANDLE hResource,REFIID ReturnedInterface,void **ppResource) {
5651 return This->lpVtbl->OpenSharedResource(This,hResource,ReturnedInterface,ppResource);
5652}
5653static FORCEINLINE void ID3D10Device_SetTextFilterSize(ID3D10Device* This,UINT Width,UINT Height) {
5654 This->lpVtbl->SetTextFilterSize(This,Width,Height);
5655}
5656static FORCEINLINE void ID3D10Device_GetTextFilterSize(ID3D10Device* This,UINT *pWidth,UINT *pHeight) {
5657 This->lpVtbl->GetTextFilterSize(This,pWidth,pHeight);
5658}
5659#endif
5660#endif
5661
5662#endif
5663
5664
5665#endif /* __ID3D10Device_INTERFACE_DEFINED__ */
5666
5667/*****************************************************************************
5668 * ID3D10Multithread interface
5669 */
5670#ifndef __ID3D10Multithread_INTERFACE_DEFINED__
5671#define __ID3D10Multithread_INTERFACE_DEFINED__
5672
5673DEFINE_GUID(IID_ID3D10Multithread, 0x9b7e4e00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
5674#if defined(__cplusplus) && !defined(CINTERFACE)
5675MIDL_INTERFACE("9b7e4e00-342c-4106-a19f-4f2704f689f0")
5676ID3D10Multithread : public IUnknown
5677{
5678 virtual void STDMETHODCALLTYPE Enter(
5679 ) = 0;
5680
5681 virtual void STDMETHODCALLTYPE Leave(
5682 ) = 0;
5683
5684 virtual WINBOOL STDMETHODCALLTYPE SetMultithreadProtected(
5685 WINBOOL bMTProtect) = 0;
5686
5687 virtual WINBOOL STDMETHODCALLTYPE GetMultithreadProtected(
5688 ) = 0;
5689
5690};
5691#ifdef __CRT_UUID_DECL
5692__CRT_UUID_DECL(ID3D10Multithread, 0x9b7e4e00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
5693#endif
5694#else
5695typedef struct ID3D10MultithreadVtbl {
5696 BEGIN_INTERFACE
5697
5698 /*** IUnknown methods ***/
5699 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
5700 ID3D10Multithread *This,
5701 REFIID riid,
5702 void **ppvObject);
5703
5704 ULONG (STDMETHODCALLTYPE *AddRef)(
5705 ID3D10Multithread *This);
5706
5707 ULONG (STDMETHODCALLTYPE *Release)(
5708 ID3D10Multithread *This);
5709
5710 /*** ID3D10Multithread methods ***/
5711 void (STDMETHODCALLTYPE *Enter)(
5712 ID3D10Multithread *This);
5713
5714 void (STDMETHODCALLTYPE *Leave)(
5715 ID3D10Multithread *This);
5716
5717 WINBOOL (STDMETHODCALLTYPE *SetMultithreadProtected)(
5718 ID3D10Multithread *This,
5719 WINBOOL bMTProtect);
5720
5721 WINBOOL (STDMETHODCALLTYPE *GetMultithreadProtected)(
5722 ID3D10Multithread *This);
5723
5724 END_INTERFACE
5725} ID3D10MultithreadVtbl;
5726
5727interface ID3D10Multithread {
5728 CONST_VTBL ID3D10MultithreadVtbl* lpVtbl;
5729};
5730
5731#ifdef COBJMACROS
5732#ifndef WIDL_C_INLINE_WRAPPERS
5733/*** IUnknown methods ***/
5734#define ID3D10Multithread_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
5735#define ID3D10Multithread_AddRef(This) (This)->lpVtbl->AddRef(This)
5736#define ID3D10Multithread_Release(This) (This)->lpVtbl->Release(This)
5737/*** ID3D10Multithread methods ***/
5738#define ID3D10Multithread_Enter(This) (This)->lpVtbl->Enter(This)
5739#define ID3D10Multithread_Leave(This) (This)->lpVtbl->Leave(This)
5740#define ID3D10Multithread_SetMultithreadProtected(This,bMTProtect) (This)->lpVtbl->SetMultithreadProtected(This,bMTProtect)
5741#define ID3D10Multithread_GetMultithreadProtected(This) (This)->lpVtbl->GetMultithreadProtected(This)
5742#else
5743/*** IUnknown methods ***/
5744static FORCEINLINE HRESULT ID3D10Multithread_QueryInterface(ID3D10Multithread* This,REFIID riid,void **ppvObject) {
5745 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
5746}
5747static FORCEINLINE ULONG ID3D10Multithread_AddRef(ID3D10Multithread* This) {
5748 return This->lpVtbl->AddRef(This);
5749}
5750static FORCEINLINE ULONG ID3D10Multithread_Release(ID3D10Multithread* This) {
5751 return This->lpVtbl->Release(This);
5752}
5753/*** ID3D10Multithread methods ***/
5754static FORCEINLINE void ID3D10Multithread_Enter(ID3D10Multithread* This) {
5755 This->lpVtbl->Enter(This);
5756}
5757static FORCEINLINE void ID3D10Multithread_Leave(ID3D10Multithread* This) {
5758 This->lpVtbl->Leave(This);
5759}
5760static FORCEINLINE WINBOOL ID3D10Multithread_SetMultithreadProtected(ID3D10Multithread* This,WINBOOL bMTProtect) {
5761 return This->lpVtbl->SetMultithreadProtected(This,bMTProtect);
5762}
5763static FORCEINLINE WINBOOL ID3D10Multithread_GetMultithreadProtected(ID3D10Multithread* This) {
5764 return This->lpVtbl->GetMultithreadProtected(This);
5765}
5766#endif
5767#endif
5768
5769#endif
5770
5771
5772#endif /* __ID3D10Multithread_INTERFACE_DEFINED__ */
5773
5774#ifndef D3D10_IGNORE_SDK_LAYERS
5775#include "d3d10sdklayers.h"
5776#endif
5777#include "d3d10misc.h"
5778#include "d3d10shader.h"
5779#include "d3d10effect.h"
5780/* Begin additional prototypes for all interfaces */
5781
5782
5783/* End additional prototypes */
5784
5785#ifdef __cplusplus
5786}
5787#endif
5788
5789#endif /* __d3d10_h__ */
Note: See TracBrowser for help on using the repository browser.