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