#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif
#ifndef __REQUIRED_RPCSAL_H_VERSION__
#define __REQUIRED_RPCSAL_H_VERSION__ 100
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif /* __RPCNDR_H_VERSION__ */
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __d3d10_h__
#define __d3d10_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#ifndef __ID3D10DeviceChild_FWD_DEFINED__
#define __ID3D10DeviceChild_FWD_DEFINED__
typedef interface ID3D10DeviceChild ID3D10DeviceChild;
typedef
struct
ID3D10DeviceChild
;
#endif /* __ID3D10DeviceChild_FWD_DEFINED__ */
#ifndef __ID3D10DepthStencilState_FWD_DEFINED__
#define __ID3D10DepthStencilState_FWD_DEFINED__
typedef interface ID3D10DepthStencilState ID3D10DepthStencilState;
typedef
struct
ID3D10DepthStencilState
;
#endif /* __ID3D10DepthStencilState_FWD_DEFINED__ */
#ifndef __ID3D10BlendState_FWD_DEFINED__
#define __ID3D10BlendState_FWD_DEFINED__
typedef interface ID3D10BlendState ID3D10BlendState;
typedef
struct
ID3D10BlendState
;
#endif /* __ID3D10BlendState_FWD_DEFINED__ */
#ifndef __ID3D10RasterizerState_FWD_DEFINED__
#define __ID3D10RasterizerState_FWD_DEFINED__
typedef interface ID3D10RasterizerState ID3D10RasterizerState;
typedef
struct
ID3D10RasterizerState
;
#endif /* __ID3D10RasterizerState_FWD_DEFINED__ */
#ifndef __ID3D10Resource_FWD_DEFINED__
#define __ID3D10Resource_FWD_DEFINED__
typedef interface ID3D10Resource ID3D10Resource;
typedef
struct
ID3D10Resource
;
#endif /* __ID3D10Resource_FWD_DEFINED__ */
#ifndef __ID3D10Buffer_FWD_DEFINED__
#define __ID3D10Buffer_FWD_DEFINED__
typedef interface ID3D10Buffer ID3D10Buffer;
typedef
struct
ID3D10Buffer
;
#endif /* __ID3D10Buffer_FWD_DEFINED__ */
#ifndef __ID3D10Texture1D_FWD_DEFINED__
#define __ID3D10Texture1D_FWD_DEFINED__
typedef interface ID3D10Texture1D ID3D10Texture1D;
typedef
struct
ID3D10Texture1D
;
#endif /* __ID3D10Texture1D_FWD_DEFINED__ */
#ifndef __ID3D10Texture2D_FWD_DEFINED__
#define __ID3D10Texture2D_FWD_DEFINED__
typedef interface ID3D10Texture2D ID3D10Texture2D;
typedef
struct
ID3D10Texture2D
;
#endif /* __ID3D10Texture2D_FWD_DEFINED__ */
#ifndef __ID3D10Texture3D_FWD_DEFINED__
#define __ID3D10Texture3D_FWD_DEFINED__
typedef interface ID3D10Texture3D ID3D10Texture3D;
typedef
struct
ID3D10Texture3D
;
#endif /* __ID3D10Texture3D_FWD_DEFINED__ */
#ifndef __ID3D10View_FWD_DEFINED__
#define __ID3D10View_FWD_DEFINED__
typedef interface ID3D10View ID3D10View;
typedef
struct
ID3D10View
;
#endif /* __ID3D10View_FWD_DEFINED__ */
#ifndef __ID3D10ShaderResourceView_FWD_DEFINED__
#define __ID3D10ShaderResourceView_FWD_DEFINED__
typedef interface ID3D10ShaderResourceView ID3D10ShaderResourceView;
typedef
struct
ID3D10ShaderResourceView
;
#endif /* __ID3D10ShaderResourceView_FWD_DEFINED__ */
#ifndef __ID3D10RenderTargetView_FWD_DEFINED__
#define __ID3D10RenderTargetView_FWD_DEFINED__
typedef interface ID3D10RenderTargetView ID3D10RenderTargetView;
typedef
struct
ID3D10RenderTargetView
;
#endif /* __ID3D10RenderTargetView_FWD_DEFINED__ */
#ifndef __ID3D10DepthStencilView_FWD_DEFINED__
#define __ID3D10DepthStencilView_FWD_DEFINED__
typedef interface ID3D10DepthStencilView ID3D10DepthStencilView;
typedef
struct
ID3D10DepthStencilView
;
#endif /* __ID3D10DepthStencilView_FWD_DEFINED__ */
#ifndef __ID3D10VertexShader_FWD_DEFINED__
#define __ID3D10VertexShader_FWD_DEFINED__
typedef interface ID3D10VertexShader ID3D10VertexShader;
typedef
struct
ID3D10VertexShader
;
#endif /* __ID3D10VertexShader_FWD_DEFINED__ */
#ifndef __ID3D10GeometryShader_FWD_DEFINED__
#define __ID3D10GeometryShader_FWD_DEFINED__
typedef interface ID3D10GeometryShader ID3D10GeometryShader;
typedef
struct
ID3D10GeometryShader
;
#endif /* __ID3D10GeometryShader_FWD_DEFINED__ */
#ifndef __ID3D10PixelShader_FWD_DEFINED__
#define __ID3D10PixelShader_FWD_DEFINED__
typedef interface ID3D10PixelShader ID3D10PixelShader;
typedef
struct
ID3D10PixelShader
;
#endif /* __ID3D10PixelShader_FWD_DEFINED__ */
#ifndef __ID3D10InputLayout_FWD_DEFINED__
#define __ID3D10InputLayout_FWD_DEFINED__
typedef interface ID3D10InputLayout ID3D10InputLayout;
typedef
struct
ID3D10InputLayout
;
#endif /* __ID3D10InputLayout_FWD_DEFINED__ */
#ifndef __ID3D10SamplerState_FWD_DEFINED__
#define __ID3D10SamplerState_FWD_DEFINED__
typedef interface ID3D10SamplerState ID3D10SamplerState;
typedef
struct
ID3D10SamplerState
;
#endif /* __ID3D10SamplerState_FWD_DEFINED__ */
#ifndef __ID3D10Asynchronous_FWD_DEFINED__
#define __ID3D10Asynchronous_FWD_DEFINED__
typedef interface ID3D10Asynchronous ID3D10Asynchronous;
typedef
struct
ID3D10Asynchronous
;
#endif /* __ID3D10Asynchronous_FWD_DEFINED__ */
#ifndef __ID3D10Query_FWD_DEFINED__
#define __ID3D10Query_FWD_DEFINED__
typedef interface ID3D10Query ID3D10Query;
typedef
struct
ID3D10Query
;
#endif /* __ID3D10Query_FWD_DEFINED__ */
#ifndef __ID3D10Predicate_FWD_DEFINED__
#define __ID3D10Predicate_FWD_DEFINED__
typedef interface ID3D10Predicate ID3D10Predicate;
typedef
struct
ID3D10Predicate
;
#endif /* __ID3D10Predicate_FWD_DEFINED__ */
#ifndef __ID3D10Counter_FWD_DEFINED__
#define __ID3D10Counter_FWD_DEFINED__
typedef interface ID3D10Counter ID3D10Counter;
typedef
struct
ID3D10Counter
;
#endif /* __ID3D10Counter_FWD_DEFINED__ */
#ifndef __ID3D10Device_FWD_DEFINED__
#define __ID3D10Device_FWD_DEFINED__
typedef interface ID3D10Device ID3D10Device;
typedef
struct
ID3D10Device
;
#endif /* __ID3D10Device_FWD_DEFINED__ */
#ifndef __ID3D10Multithread_FWD_DEFINED__
#define __ID3D10Multithread_FWD_DEFINED__
typedef interface ID3D10Multithread ID3D10Multithread;
typedef
struct
ID3D10Multithread
;
#endif /* __ID3D10Multithread_FWD_DEFINED__ */
#include "oaidl.h"
#include "ocidl.h"
#include "dxgi.h"
#include "d3dcommon.h"
#ifdef __cplusplus
extern
"C"
{
#endif
#ifndef _D3D10_CONSTANTS
#define _D3D10_CONSTANTS
#define D3D10_16BIT_INDEX_STRIP_CUT_VALUE ( 0xffff )
#define D3D10_32BIT_INDEX_STRIP_CUT_VALUE ( 0xffffffff )
#define D3D10_8BIT_INDEX_STRIP_CUT_VALUE ( 0xff )
#define D3D10_ARRAY_AXIS_ADDRESS_RANGE_BIT_COUNT ( 9 )
#define D3D10_CLIP_OR_CULL_DISTANCE_COUNT ( 8 )
#define D3D10_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT ( 2 )
#define D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT ( 14 )
#define D3D10_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS ( 4 )
#define D3D10_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT ( 15 )
#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS ( 4 )
#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT ( 15 )
#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST ( 1 )
#define D3D10_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS ( 1 )
#define D3D10_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT ( 64 )
#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS ( 4 )
#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT ( 1 )
#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST ( 1 )
#define D3D10_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS ( 1 )
#define D3D10_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS ( 1 )
#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT ( 128 )
#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST ( 1 )
#define D3D10_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS ( 1 )
#define D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT ( 128 )
#define D3D10_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS ( 1 )
#define D3D10_COMMONSHADER_SAMPLER_REGISTER_COUNT ( 16 )
#define D3D10_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST ( 1 )
#define D3D10_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS ( 1 )
#define D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT ( 16 )
#define D3D10_COMMONSHADER_SUBROUTINE_NESTING_LIMIT ( 32 )
#define D3D10_COMMONSHADER_TEMP_REGISTER_COMPONENTS ( 4 )
#define D3D10_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_COMMONSHADER_TEMP_REGISTER_COUNT ( 4096 )
#define D3D10_COMMONSHADER_TEMP_REGISTER_READS_PER_INST ( 3 )
#define D3D10_COMMONSHADER_TEMP_REGISTER_READ_PORTS ( 3 )
#define D3D10_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX ( 10 )
#define D3D10_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN ( -10 )
#define D3D10_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE ( -8 )
#define D3D10_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE ( 7 )
#define D3D10_DEFAULT_BLEND_FACTOR_ALPHA ( 1.0f )
#define D3D10_DEFAULT_BLEND_FACTOR_BLUE ( 1.0f )
#define D3D10_DEFAULT_BLEND_FACTOR_GREEN ( 1.0f )
#define D3D10_DEFAULT_BLEND_FACTOR_RED ( 1.0f )
#define D3D10_DEFAULT_BORDER_COLOR_COMPONENT ( 0.0f )
#define D3D10_DEFAULT_DEPTH_BIAS ( 0 )
#define D3D10_DEFAULT_DEPTH_BIAS_CLAMP ( 0.0f )
#define D3D10_DEFAULT_MAX_ANISOTROPY ( 16.0f )
#define D3D10_DEFAULT_MIP_LOD_BIAS ( 0.0f )
#define D3D10_DEFAULT_RENDER_TARGET_ARRAY_INDEX ( 0 )
#define D3D10_DEFAULT_SAMPLE_MASK ( 0xffffffff )
#define D3D10_DEFAULT_SCISSOR_ENDX ( 0 )
#define D3D10_DEFAULT_SCISSOR_ENDY ( 0 )
#define D3D10_DEFAULT_SCISSOR_STARTX ( 0 )
#define D3D10_DEFAULT_SCISSOR_STARTY ( 0 )
#define D3D10_DEFAULT_SLOPE_SCALED_DEPTH_BIAS ( 0.0f )
#define D3D10_DEFAULT_STENCIL_READ_MASK ( 0xff )
#define D3D10_DEFAULT_STENCIL_REFERENCE ( 0 )
#define D3D10_DEFAULT_STENCIL_WRITE_MASK ( 0xff )
#define D3D10_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX ( 0 )
#define D3D10_DEFAULT_VIEWPORT_HEIGHT ( 0 )
#define D3D10_DEFAULT_VIEWPORT_MAX_DEPTH ( 0.0f )
#define D3D10_DEFAULT_VIEWPORT_MIN_DEPTH ( 0.0f )
#define D3D10_DEFAULT_VIEWPORT_TOPLEFTX ( 0 )
#define D3D10_DEFAULT_VIEWPORT_TOPLEFTY ( 0 )
#define D3D10_DEFAULT_VIEWPORT_WIDTH ( 0 )
#define D3D10_FLOAT16_FUSED_TOLERANCE_IN_ULP ( 0.6 )
#define D3D10_FLOAT32_MAX ( 3.402823466e+38f )
#define D3D10_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP ( 0.6f )
#define D3D10_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR ( 2.4f )
#define D3D10_FLOAT_TO_SRGB_EXPONENT_NUMERATOR ( 1.0f )
#define D3D10_FLOAT_TO_SRGB_OFFSET ( 0.055f )
#define D3D10_FLOAT_TO_SRGB_SCALE_1 ( 12.92f )
#define D3D10_FLOAT_TO_SRGB_SCALE_2 ( 1.055f )
#define D3D10_FLOAT_TO_SRGB_THRESHOLD ( 0.0031308f )
#define D3D10_FTOI_INSTRUCTION_MAX_INPUT ( 2147483647.999f )
#define D3D10_FTOI_INSTRUCTION_MIN_INPUT ( -2147483648.999f )
#define D3D10_FTOU_INSTRUCTION_MAX_INPUT ( 4294967295.999f )
#define D3D10_FTOU_INSTRUCTION_MIN_INPUT ( 0.0f )
#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COMPONENTS ( 1 )
#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_COUNT ( 1 )
#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_READS_PER_INST ( 2 )
#define D3D10_GS_INPUT_PRIM_CONST_REGISTER_READ_PORTS ( 1 )
#define D3D10_GS_INPUT_REGISTER_COMPONENTS ( 4 )
#define D3D10_GS_INPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_GS_INPUT_REGISTER_COUNT ( 16 )
#define D3D10_GS_INPUT_REGISTER_READS_PER_INST ( 2 )
#define D3D10_GS_INPUT_REGISTER_READ_PORTS ( 1 )
#define D3D10_GS_INPUT_REGISTER_VERTICES ( 6 )
#define D3D10_GS_OUTPUT_ELEMENTS ( 32 )
#define D3D10_GS_OUTPUT_REGISTER_COMPONENTS ( 4 )
#define D3D10_GS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_GS_OUTPUT_REGISTER_COUNT ( 32 )
#define D3D10_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES ( 0 )
#define D3D10_IA_DEFAULT_PRIMITIVE_TOPOLOGY ( 0 )
#define D3D10_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES ( 0 )
#define D3D10_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT ( 1 )
#define D3D10_IA_INSTANCE_ID_BIT_COUNT ( 32 )
#define D3D10_IA_INTEGER_ARITHMETIC_BIT_COUNT ( 32 )
#define D3D10_IA_PRIMITIVE_ID_BIT_COUNT ( 32 )
#define D3D10_IA_VERTEX_ID_BIT_COUNT ( 32 )
#define D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT ( 16 )
#define D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS ( 64 )
#define D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ( 16 )
#define D3D10_INTEGER_DIVIDE_BY_ZERO_QUOTIENT ( 0xffffffff )
#define D3D10_INTEGER_DIVIDE_BY_ZERO_REMAINDER ( 0xffffffff )
#define D3D10_LINEAR_GAMMA ( 1.0f )
#define D3D10_MAX_BORDER_COLOR_COMPONENT ( 1.0f )
#define D3D10_MAX_DEPTH ( 1.0f )
#define D3D10_MAX_MAXANISOTROPY ( 16 )
#define D3D10_MAX_MULTISAMPLE_SAMPLE_COUNT ( 32 )
#define D3D10_MAX_POSITION_VALUE ( 3.402823466e+34f )
#define D3D10_MAX_TEXTURE_DIMENSION_2_TO_EXP ( 17 )
#define D3D10_MIN_BORDER_COLOR_COMPONENT ( 0.0f )
#define D3D10_MIN_DEPTH ( 0.0f )
#define D3D10_MIN_MAXANISOTROPY ( 0 )
#define D3D10_MIP_LOD_BIAS_MAX ( 15.99f )
#define D3D10_MIP_LOD_BIAS_MIN ( -16.0f )
#define D3D10_MIP_LOD_FRACTIONAL_BIT_COUNT ( 6 )
#define D3D10_MIP_LOD_RANGE_BIT_COUNT ( 8 )
#define D3D10_MULTISAMPLE_ANTIALIAS_LINE_WIDTH ( 1.4f )
#define D3D10_NONSAMPLE_FETCH_OUT_OF_RANGE_ACCESS_RESULT ( 0 )
#define D3D10_PIXEL_ADDRESS_RANGE_BIT_COUNT ( 13 )
#define D3D10_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT ( 15 )
#define D3D10_PS_FRONTFACING_DEFAULT_VALUE ( 0xffffffff )
#define D3D10_PS_FRONTFACING_FALSE_VALUE ( 0 )
#define D3D10_PS_FRONTFACING_TRUE_VALUE ( 0xffffffff )
#define D3D10_PS_INPUT_REGISTER_COMPONENTS ( 4 )
#define D3D10_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_PS_INPUT_REGISTER_COUNT ( 32 )
#define D3D10_PS_INPUT_REGISTER_READS_PER_INST ( 2 )
#define D3D10_PS_INPUT_REGISTER_READ_PORTS ( 1 )
#define D3D10_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT ( 0.0f )
#define D3D10_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS ( 1 )
#define D3D10_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_PS_OUTPUT_DEPTH_REGISTER_COUNT ( 1 )
#define D3D10_PS_OUTPUT_REGISTER_COMPONENTS ( 4 )
#define D3D10_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_PS_OUTPUT_REGISTER_COUNT ( 8 )
#define D3D10_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT ( 0.5f )
#define D3D10_REQ_BLEND_OBJECT_COUNT_PER_CONTEXT ( 4096 )
#define D3D10_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP ( 27 )
#define D3D10_REQ_CONSTANT_BUFFER_ELEMENT_COUNT ( 4096 )
#define D3D10_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_CONTEXT ( 4096 )
#define D3D10_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP ( 32 )
#define D3D10_REQ_DRAW_VERTEX_COUNT_2_TO_EXP ( 32 )
#define D3D10_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION ( 8192 )
#define D3D10_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT ( 1024 )
#define D3D10_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT ( 4096 )
#define D3D10_REQ_MAXANISOTROPY ( 16 )
#define D3D10_REQ_MIP_LEVELS ( 14 )
#define D3D10_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES ( 2048 )
#define D3D10_REQ_RASTERIZER_OBJECT_COUNT_PER_CONTEXT ( 4096 )
#define D3D10_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH ( 8192 )
#define D3D10_REQ_RESOURCE_SIZE_IN_MEGABYTES ( 128 )
#define D3D10_REQ_RESOURCE_VIEW_COUNT_PER_CONTEXT_2_TO_EXP ( 20 )
#define D3D10_REQ_SAMPLER_OBJECT_COUNT_PER_CONTEXT ( 4096 )
#define D3D10_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION ( 512 )
#define D3D10_REQ_TEXTURE1D_U_DIMENSION ( 8192 )
#define D3D10_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION ( 512 )
#define D3D10_REQ_TEXTURE2D_U_OR_V_DIMENSION ( 8192 )
#define D3D10_REQ_TEXTURE3D_U_V_OR_W_DIMENSION ( 2048 )
#define D3D10_REQ_TEXTURECUBE_DIMENSION ( 8192 )
#define D3D10_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL ( 0 )
#define D3D10_SHADER_MAJOR_VERSION ( 4 )
#define D3D10_SHADER_MINOR_VERSION ( 0 )
#define D3D10_SHIFT_INSTRUCTION_PAD_VALUE ( 0 )
#define D3D10_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT ( 5 )
#define D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ( 8 )
#define D3D10_SO_BUFFER_MAX_STRIDE_IN_BYTES ( 2048 )
#define D3D10_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES ( 256 )
#define D3D10_SO_BUFFER_SLOT_COUNT ( 4 )
#define D3D10_SO_DDI_REGISTER_INDEX_DENOTING_GAP ( 0xffffffff )
#define D3D10_SO_MULTIPLE_BUFFER_ELEMENTS_PER_BUFFER ( 1 )
#define D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT ( 64 )
#define D3D10_SRGB_GAMMA ( 2.2f )
#define D3D10_SRGB_TO_FLOAT_DENOMINATOR_1 ( 12.92f )
#define D3D10_SRGB_TO_FLOAT_DENOMINATOR_2 ( 1.055f )
#define D3D10_SRGB_TO_FLOAT_EXPONENT ( 2.4f )
#define D3D10_SRGB_TO_FLOAT_OFFSET ( 0.055f )
#define D3D10_SRGB_TO_FLOAT_THRESHOLD ( 0.04045f )
#define D3D10_SRGB_TO_FLOAT_TOLERANCE_IN_ULP ( 0.5f )
#define D3D10_STANDARD_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_STANDARD_COMPONENT_BIT_COUNT_DOUBLED ( 64 )
#define D3D10_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE ( 4 )
#define D3D10_STANDARD_PIXEL_COMPONENT_COUNT ( 128 )
#define D3D10_STANDARD_PIXEL_ELEMENT_COUNT ( 32 )
#define D3D10_STANDARD_VECTOR_SIZE ( 4 )
#define D3D10_STANDARD_VERTEX_ELEMENT_COUNT ( 16 )
#define D3D10_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT ( 64 )
#define D3D10_SUBPIXEL_FRACTIONAL_BIT_COUNT ( 8 )
#define D3D10_SUBTEXEL_FRACTIONAL_BIT_COUNT ( 6 )
#define D3D10_TEXEL_ADDRESS_RANGE_BIT_COUNT ( 18 )
#define D3D10_UNBOUND_MEMORY_ACCESS_RESULT ( 0 )
#define D3D10_VIEWPORT_AND_SCISSORRECT_MAX_INDEX ( 15 )
#define D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE ( 16 )
#define D3D10_VIEWPORT_BOUNDS_MAX ( 16383 )
#define D3D10_VIEWPORT_BOUNDS_MIN ( -16384 )
#define D3D10_VS_INPUT_REGISTER_COMPONENTS ( 4 )
#define D3D10_VS_INPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_VS_INPUT_REGISTER_COUNT ( 16 )
#define D3D10_VS_INPUT_REGISTER_READS_PER_INST ( 2 )
#define D3D10_VS_INPUT_REGISTER_READ_PORTS ( 1 )
#define D3D10_VS_OUTPUT_REGISTER_COMPONENTS ( 4 )
#define D3D10_VS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT ( 32 )
#define D3D10_VS_OUTPUT_REGISTER_COUNT ( 16 )
#define D3D10_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT ( 10 )
#define D3D10_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP ( 25 )
#define D3D10_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP ( 25 )
#define D3D_MAJOR_VERSION ( 10 )
#define D3D_MINOR_VERSION ( 0 )
#define D3D_SPEC_DATE_DAY ( 8 )
#define D3D_SPEC_DATE_MONTH ( 8 )
#define D3D_SPEC_DATE_YEAR ( 2006 )
#define D3D_SPEC_VERSION ( 1.050005 )
#endif
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#if !defined( __d3d10_1_h__ ) && !(D3D10_HEADER_MINOR_VERSION >= 1)
#define D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT
#define D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT
#endif
#define _FACD3D10 ( 0x879 )
#define _FACD3D10DEBUG ( ( _FACD3D10 + 1 ) )
#define MAKE_D3D10_HRESULT( code ) MAKE_HRESULT( 1, _FACD3D10, code )
#define MAKE_D3D10_STATUS( code ) MAKE_HRESULT( 0, _FACD3D10, code )
typedef
enum
{
=
0
,
=
1
}
D3D10_INPUT_CLASSIFICATION
;
#define D3D10_APPEND_ALIGNED_ELEMENT ( 0xffffffff )
typedef
struct
{
;
;
;
;
;
D3D10_INPUT_CLASSIFICATION
;
;
}
;
typedef
enum
{
=
2
,
=
3
}
;
typedef
;
typedef
;
typedef
enum
{
=
1
,
=
2
,
=
3
}
;
typedef
struct
D3D10_SO_DECLARATION_ENTRY
{
;
;
;
;
;
}
D3D10_SO_DECLARATION_ENTRY
;
typedef
struct
{
;
;
;
;
;
;
}
;
typedef
enum
{
D3D10_RESOURCE_DIMENSION_UNKNOWN
=
0
,
D3D10_RESOURCE_DIMENSION_BUFFER
=
1
,
D3D10_RESOURCE_DIMENSION_TEXTURE1D
=
2
,
D3D10_RESOURCE_DIMENSION_TEXTURE2D
=
3
,
D3D10_RESOURCE_DIMENSION_TEXTURE3D
=
4
}
;
typedef
;
typedef
enum
{
D3D10_DSV_DIMENSION_UNKNOWN
=
0
,
D3D10_DSV_DIMENSION_TEXTURE1D
=
1
,
D3D10_DSV_DIMENSION_TEXTURE1DARRAY
=
2
,
D3D10_DSV_DIMENSION_TEXTURE2D
=
3
,
D3D10_DSV_DIMENSION_TEXTURE2DARRAY
=
4
,
D3D10_DSV_DIMENSION_TEXTURE2DMS
=
5
,
D3D10_DSV_DIMENSION_TEXTURE2DMSARRAY
=
6
}
;
typedef
enum
{
D3D10_RTV_DIMENSION_UNKNOWN
=
0
,
D3D10_RTV_DIMENSION_BUFFER
=
1
,
D3D10_RTV_DIMENSION_TEXTURE1D
=
2
,
D3D10_RTV_DIMENSION_TEXTURE1DARRAY
=
3
,
D3D10_RTV_DIMENSION_TEXTURE2D
=
4
,
D3D10_RTV_DIMENSION_TEXTURE2DARRAY
=
5
,
D3D10_RTV_DIMENSION_TEXTURE2DMS
=
6
,
D3D10_RTV_DIMENSION_TEXTURE2DMSARRAY
=
7
,
D3D10_RTV_DIMENSION_TEXTURE3D
=
8
}
;
typedef
enum
{
=
0
,
=
1
,
=
2
,
=
3
}
;
typedef
enum
{
=
0x1L
,
=
0x2L
,
D3D10_BIND_CONSTANT_BUFFER
=
0x4L
,
D3D10_BIND_SHADER_RESOURCE
=
0x8L
,
=
0x10L
,
=
0x20L
,
=
0x40L
}
;
typedef
enum
{
=
0x10000L
,
=
0x20000L
}
;
typedef
enum
{
D3D10_RESOURCE_MISC_GENERATE_MIPS
=
0x1L
,
D3D10_RESOURCE_MISC_SHARED
=
0x2L
,
D3D10_RESOURCE_MISC_TEXTURECUBE
=
0x4L
,
D3D10_RESOURCE_MISC_SHARED_KEYEDMUTEX
=
0x10L
,
D3D10_RESOURCE_MISC_GDI_COMPATIBLE
=
0x20L
}
;
typedef
enum
{
=
1
,
=
2
,
=
3
,
=
4
,
D3D10_MAP_WRITE_NO_OVERWRITE
=
5
}
;
typedef
enum
{
D3D10_MAP_FLAG_DO_NOT_WAIT
=
0x100000L
}
;
typedef
enum
{
D3D10_RAISE_FLAG_DRIVER_INTERNAL_ERROR
=
0x1L
}
;
typedef
enum
{
=
0x1L
,
=
0x2L
}
;
typedef
;
typedef
struct
{
;
;
;
;
;
;
}
;
extern
__MIDL_itf_d3d10_0000_0000_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0000_v0_0_s_ifspec
;
#ifndef __ID3D10DeviceChild_INTERFACE_DEFINED__
#define __ID3D10DeviceChild_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10DeviceChild;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C00-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C00-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetDevice(
_Out_ ID3D10Device **ppDevice) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
_Out_writes_bytes_opt_(*pDataSize) void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
_In_reads_bytes_opt_(DataSize) const void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
_In_opt_ const IUnknown *pData) = 0;
};
#else /* C style interface */
typedef struct ID3D10DeviceChildVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10DeviceChild * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10DeviceChild * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10DeviceChild * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10DeviceChild * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10DeviceChild * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10DeviceChild * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10DeviceChild * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
END_INTERFACE
} ID3D10DeviceChildVtbl;
interface ID3D10DeviceChild
{
CONST_VTBL struct ID3D10DeviceChildVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10DeviceChild_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10DeviceChild_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10DeviceChild_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10DeviceChild_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10DeviceChild_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10DeviceChild_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10DeviceChild_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10DeviceChild_INTERFACE_DEFINED__ */
typedef
enum
{
=
1
,
=
2
,
=
3
,
D3D10_COMPARISON_LESS_EQUAL
=
4
,
=
5
,
D3D10_COMPARISON_NOT_EQUAL
=
6
,
D3D10_COMPARISON_GREATER_EQUAL
=
7
,
=
8
}
;
typedef
enum
{
D3D10_DEPTH_WRITE_MASK_ZERO
=
0
,
D3D10_DEPTH_WRITE_MASK_ALL
=
1
}
;
typedef
enum
{
=
1
,
=
2
,
=
3
,
D3D10_STENCIL_OP_INCR_SAT
=
4
,
D3D10_STENCIL_OP_DECR_SAT
=
5
,
=
6
,
=
7
,
=
8
}
;
typedef
struct
D3D10_DEPTH_STENCILOP_DESC
{
;
;
;
;
}
D3D10_DEPTH_STENCILOP_DESC
;
typedef
struct
{
;
;
;
;
;
;
D3D10_DEPTH_STENCILOP_DESC
;
D3D10_DEPTH_STENCILOP_DESC
;
}
;
extern
__MIDL_itf_d3d10_0000_0001_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0001_v0_0_s_ifspec
;
#ifndef __ID3D10DepthStencilState_INTERFACE_DEFINED__
#define __ID3D10DepthStencilState_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10DepthStencilState;
extern
"C"
const
IID_ID3D10DepthStencilState
;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2B4B1CC8-A4AD-41f8-8322-CA86FC3EC675")
struct
__declspec
(uuid(
"2B4B1CC8-A4AD-41f8-8322-CA86FC3EC675"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_DEPTH_STENCIL_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10DepthStencilStateVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10DepthStencilState * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10DepthStencilState * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10DepthStencilState * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10DepthStencilState * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10DepthStencilState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10DepthStencilState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10DepthStencilState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10DepthStencilState * This,
/* [annotation] */
_Out_ D3D10_DEPTH_STENCIL_DESC *pDesc);
END_INTERFACE
} ID3D10DepthStencilStateVtbl;
interface ID3D10DepthStencilState
{
CONST_VTBL struct ID3D10DepthStencilStateVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10DepthStencilState_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10DepthStencilState_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10DepthStencilState_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10DepthStencilState_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10DepthStencilState_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10DepthStencilState_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10DepthStencilState_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10DepthStencilState_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10DepthStencilState_INTERFACE_DEFINED__ */
typedef
enum
{
=
1
,
=
2
,
=
3
,
D3D10_BLEND_INV_SRC_COLOR
=
4
,
=
5
,
D3D10_BLEND_INV_SRC_ALPHA
=
6
,
=
7
,
D3D10_BLEND_INV_DEST_ALPHA
=
8
,
=
9
,
D3D10_BLEND_INV_DEST_COLOR
=
10
,
D3D10_BLEND_SRC_ALPHA_SAT
=
11
,
=
14
,
D3D10_BLEND_INV_BLEND_FACTOR
=
15
,
=
16
,
D3D10_BLEND_INV_SRC1_COLOR
=
17
,
=
18
,
D3D10_BLEND_INV_SRC1_ALPHA
=
19
}
;
typedef
enum
{
=
1
,
=
2
,
D3D10_BLEND_OP_REV_SUBTRACT
=
3
,
=
4
,
=
5
}
;
typedef
enum
{
D3D10_COLOR_WRITE_ENABLE_RED
=
1
,
D3D10_COLOR_WRITE_ENABLE_GREEN
=
2
,
D3D10_COLOR_WRITE_ENABLE_BLUE
=
4
,
D3D10_COLOR_WRITE_ENABLE_ALPHA
=
8
,
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
)
}
;
typedef
struct
{
;
[
8
];
;
;
;
;
;
;
[
8
];
}
;
extern
__MIDL_itf_d3d10_0000_0002_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0002_v0_0_s_ifspec
;
#ifndef __ID3D10BlendState_INTERFACE_DEFINED__
#define __ID3D10BlendState_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10BlendState;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("EDAD8D19-8A35-4d6d-8566-2EA276CDE161")
struct
__declspec
(uuid(
"EDAD8D19-8A35-4d6d-8566-2EA276CDE161"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_BLEND_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10BlendStateVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10BlendState * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10BlendState * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10BlendState * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10BlendState * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10BlendState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10BlendState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10BlendState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10BlendState * This,
/* [annotation] */
_Out_ D3D10_BLEND_DESC *pDesc);
END_INTERFACE
} ID3D10BlendStateVtbl;
interface ID3D10BlendState
{
CONST_VTBL struct ID3D10BlendStateVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10BlendState_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10BlendState_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10BlendState_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10BlendState_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10BlendState_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10BlendState_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10BlendState_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10BlendState_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10BlendState_INTERFACE_DEFINED__ */
typedef
struct
{
;
;
;
;
;
;
;
;
;
;
}
;
extern
__MIDL_itf_d3d10_0000_0003_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0003_v0_0_s_ifspec
;
#ifndef __ID3D10RasterizerState_INTERFACE_DEFINED__
#define __ID3D10RasterizerState_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10RasterizerState;
extern
"C"
const
IID_ID3D10RasterizerState
;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A2A07292-89AF-4345-BE2E-C53D9FBB6E9F")
struct
__declspec
(uuid(
"A2A07292-89AF-4345-BE2E-C53D9FBB6E9F"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_RASTERIZER_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10RasterizerStateVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10RasterizerState * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10RasterizerState * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10RasterizerState * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10RasterizerState * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10RasterizerState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10RasterizerState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10RasterizerState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10RasterizerState * This,
/* [annotation] */
_Out_ D3D10_RASTERIZER_DESC *pDesc);
END_INTERFACE
} ID3D10RasterizerStateVtbl;
interface ID3D10RasterizerState
{
CONST_VTBL struct ID3D10RasterizerStateVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10RasterizerState_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10RasterizerState_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10RasterizerState_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10RasterizerState_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10RasterizerState_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10RasterizerState_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10RasterizerState_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10RasterizerState_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10RasterizerState_INTERFACE_DEFINED__ */
#if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
inline
(
,
,
)
{
return
+
*
; }
#endif
typedef
struct
{
const
void
*
;
;
;
}
;
extern
__MIDL_itf_d3d10_0000_0004_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0004_v0_0_s_ifspec
;
#ifndef __ID3D10Resource_INTERFACE_DEFINED__
#define __ID3D10Resource_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10Resource;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C01-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C01-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetType(
_Out_ D3D10_RESOURCE_DIMENSION *rType) = 0;
virtual void STDMETHODCALLTYPE SetEvictionPriority(
_In_ UINT EvictionPriority) = 0;
virtual UINT STDMETHODCALLTYPE GetEvictionPriority( void) = 0;
virtual
__stdcall
(
void
) =
0
;
};
#else /* C style interface */
typedef struct ID3D10ResourceVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Resource * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Resource * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Resource * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Resource * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Resource * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Resource * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Resource * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )(
ID3D10Resource * This,
/* [annotation] */
_Out_ D3D10_RESOURCE_DIMENSION *rType);
void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D10Resource * This,
/* [annotation] */
_In_ UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D10Resource * This);
END_INTERFACE
} ID3D10ResourceVtbl;
interface ID3D10Resource
{
CONST_VTBL struct ID3D10ResourceVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10Resource_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10Resource_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10Resource_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10Resource_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10Resource_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10Resource_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10Resource_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10Resource_GetType(This,rType) \
( (This)->lpVtbl -> GetType(This,rType) )
#define ID3D10Resource_SetEvictionPriority(This,EvictionPriority) \
( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
#define ID3D10Resource_GetEvictionPriority(This) \
( (This)->lpVtbl -> GetEvictionPriority(This) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10Resource_INTERFACE_DEFINED__ */
typedef
struct
{
;
;
;
;
;
}
;
#if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
struct
:
public
{
() =
default
;
explicit
(
const
&
) :
(
)
{}
explicit
(
,
,
=
,
=
0
,
=
0
)
{
=
;
=
;
=
;
=
;
=
;
}
() {}
const
&()
const
{
return
*
this
; }
};
#endif
extern
__MIDL_itf_d3d10_0000_0005_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0005_v0_0_s_ifspec
;
#ifndef __ID3D10Buffer_INTERFACE_DEFINED__
#define __ID3D10Buffer_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10Buffer;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C02-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C02-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual HRESULT STDMETHODCALLTYPE Map(
_Out_ void **ppData) = 0;
virtual void STDMETHODCALLTYPE Unmap( void) = 0;
virtual
void
__stdcall
(
void
) =
0
;
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_BUFFER_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10BufferVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Buffer * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Buffer * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Buffer * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Buffer * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Buffer * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Buffer * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Buffer * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )(
ID3D10Buffer * This,
/* [annotation] */
_Out_ D3D10_RESOURCE_DIMENSION *rType);
void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D10Buffer * This,
/* [annotation] */
_In_ UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D10Buffer * This);
HRESULT ( STDMETHODCALLTYPE *Map )(
ID3D10Buffer * This,
/* [annotation] */
_In_ D3D10_MAP MapType,
/* [annotation] */
_In_ UINT MapFlags,
/* [annotation] */
_Out_ void **ppData);
void ( STDMETHODCALLTYPE *Unmap )(
ID3D10Buffer * This);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Buffer * This,
/* [annotation] */
_Out_ D3D10_BUFFER_DESC *pDesc);
END_INTERFACE
} ID3D10BufferVtbl;
interface ID3D10Buffer
{
CONST_VTBL struct ID3D10BufferVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10Buffer_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10Buffer_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10Buffer_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10Buffer_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10Buffer_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10Buffer_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10Buffer_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10Buffer_GetType(This,rType) \
( (This)->lpVtbl -> GetType(This,rType) )
#define ID3D10Buffer_SetEvictionPriority(This,EvictionPriority) \
( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
#define ID3D10Buffer_GetEvictionPriority(This) \
( (This)->lpVtbl -> GetEvictionPriority(This) )
#define ID3D10Buffer_Map(This,MapType,MapFlags,ppData) \
( (This)->lpVtbl -> Map(This,MapType,MapFlags,ppData) )
#define ID3D10Buffer_Unmap(This) \
( (This)->lpVtbl -> Unmap(This) )
#define ID3D10Buffer_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10Buffer_INTERFACE_DEFINED__ */
typedef
struct
{
;
;
;
;
;
;
;
;
}
;
#if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
struct
:
public
{
() =
default
;
explicit
(
const
&
) :
(
)
{}
explicit
(
,
,
=
1
,
=
0
,
=
D3D10_BIND_SHADER_RESOURCE
,
=
,
=
0
,
=
0
)
{
=
;
=
;
=
;
=
;
=
;
=
;
=
;
=
;
}
() {}
const
&()
const
{
return
*
this
; }
};
#endif
extern
__MIDL_itf_d3d10_0000_0006_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0006_v0_0_s_ifspec
;
#ifndef __ID3D10Texture1D_INTERFACE_DEFINED__
#define __ID3D10Texture1D_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10Texture1D;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C03-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C03-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual HRESULT STDMETHODCALLTYPE Map(
_Out_ void **ppData) = 0;
virtual void STDMETHODCALLTYPE Unmap(
_In_ UINT Subresource) = 0;
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_TEXTURE1D_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10Texture1DVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Texture1D * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Texture1D * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Texture1D * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Texture1D * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Texture1D * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Texture1D * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Texture1D * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )(
ID3D10Texture1D * This,
/* [annotation] */
_Out_ D3D10_RESOURCE_DIMENSION *rType);
void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D10Texture1D * This,
/* [annotation] */
_In_ UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D10Texture1D * This);
HRESULT ( STDMETHODCALLTYPE *Map )(
ID3D10Texture1D * This,
/* [annotation] */
_In_ UINT Subresource,
/* [annotation] */
_In_ D3D10_MAP MapType,
/* [annotation] */
_In_ UINT MapFlags,
/* [annotation] */
_Out_ void **ppData);
void ( STDMETHODCALLTYPE *Unmap )(
ID3D10Texture1D * This,
/* [annotation] */
_In_ UINT Subresource);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Texture1D * This,
/* [annotation] */
_Out_ D3D10_TEXTURE1D_DESC *pDesc);
END_INTERFACE
} ID3D10Texture1DVtbl;
interface ID3D10Texture1D
{
CONST_VTBL struct ID3D10Texture1DVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10Texture1D_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10Texture1D_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10Texture1D_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10Texture1D_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10Texture1D_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10Texture1D_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10Texture1D_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10Texture1D_GetType(This,rType) \
( (This)->lpVtbl -> GetType(This,rType) )
#define ID3D10Texture1D_SetEvictionPriority(This,EvictionPriority) \
( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
#define ID3D10Texture1D_GetEvictionPriority(This) \
( (This)->lpVtbl -> GetEvictionPriority(This) )
#define ID3D10Texture1D_Map(This,Subresource,MapType,MapFlags,ppData) \
( (This)->lpVtbl -> Map(This,Subresource,MapType,MapFlags,ppData) )
#define ID3D10Texture1D_Unmap(This,Subresource) \
( (This)->lpVtbl -> Unmap(This,Subresource) )
#define ID3D10Texture1D_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10Texture1D_INTERFACE_DEFINED__ */
typedef
struct
{
;
;
;
;
;
;
;
;
;
;
}
;
#if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
struct
:
public
{
() =
default
;
explicit
(
const
&
) :
(
)
{}
explicit
(
,
,
,
=
1
,
=
0
,
=
D3D10_BIND_SHADER_RESOURCE
,
=
,
=
0
,
=
1
,
=
0
,
=
0
)
{
=
;
=
;
=
;
=
;
=
;
.
=
;
.
=
;
=
;
=
;
=
;
=
;
}
() {}
const
&()
const
{
return
*
this
; }
};
#endif
typedef
struct
{
void
*
;
;
}
;
extern
__MIDL_itf_d3d10_0000_0007_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0007_v0_0_s_ifspec
;
#ifndef __ID3D10Texture2D_INTERFACE_DEFINED__
#define __ID3D10Texture2D_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10Texture2D;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C04-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C04-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual HRESULT STDMETHODCALLTYPE Map(
_Out_ D3D10_MAPPED_TEXTURE2D *pMappedTex2D) = 0;
virtual void STDMETHODCALLTYPE Unmap(
_In_ UINT Subresource) = 0;
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_TEXTURE2D_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10Texture2DVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Texture2D * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Texture2D * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Texture2D * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Texture2D * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Texture2D * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Texture2D * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Texture2D * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )(
ID3D10Texture2D * This,
/* [annotation] */
_Out_ D3D10_RESOURCE_DIMENSION *rType);
void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D10Texture2D * This,
/* [annotation] */
_In_ UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D10Texture2D * This);
HRESULT ( STDMETHODCALLTYPE *Map )(
ID3D10Texture2D * This,
/* [annotation] */
_In_ UINT Subresource,
/* [annotation] */
_In_ D3D10_MAP MapType,
/* [annotation] */
_In_ UINT MapFlags,
/* [annotation] */
_Out_ D3D10_MAPPED_TEXTURE2D *pMappedTex2D);
void ( STDMETHODCALLTYPE *Unmap )(
ID3D10Texture2D * This,
/* [annotation] */
_In_ UINT Subresource);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Texture2D * This,
/* [annotation] */
_Out_ D3D10_TEXTURE2D_DESC *pDesc);
END_INTERFACE
} ID3D10Texture2DVtbl;
interface ID3D10Texture2D
{
CONST_VTBL struct ID3D10Texture2DVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10Texture2D_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10Texture2D_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10Texture2D_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10Texture2D_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10Texture2D_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10Texture2D_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10Texture2D_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10Texture2D_GetType(This,rType) \
( (This)->lpVtbl -> GetType(This,rType) )
#define ID3D10Texture2D_SetEvictionPriority(This,EvictionPriority) \
( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
#define ID3D10Texture2D_GetEvictionPriority(This) \
( (This)->lpVtbl -> GetEvictionPriority(This) )
#define ID3D10Texture2D_Map(This,Subresource,MapType,MapFlags,pMappedTex2D) \
( (This)->lpVtbl -> Map(This,Subresource,MapType,MapFlags,pMappedTex2D) )
#define ID3D10Texture2D_Unmap(This,Subresource) \
( (This)->lpVtbl -> Unmap(This,Subresource) )
#define ID3D10Texture2D_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10Texture2D_INTERFACE_DEFINED__ */
typedef
struct
{
;
;
;
;
;
;
;
;
;
}
;
#if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
struct
:
public
{
() =
default
;
explicit
(
const
&
) :
(
)
{}
explicit
(
,
,
,
,
=
0
,
=
D3D10_BIND_SHADER_RESOURCE
,
=
,
=
0
,
=
0
)
{
=
;
=
;
=
;
=
;
=
;
=
;
=
;
=
;
=
;
}
() {}
const
&()
const
{
return
*
this
; }
};
#endif
typedef
struct
{
void
*
;
;
;
}
;
extern
__MIDL_itf_d3d10_0000_0008_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0008_v0_0_s_ifspec
;
#ifndef __ID3D10Texture3D_INTERFACE_DEFINED__
#define __ID3D10Texture3D_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10Texture3D;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C05-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C05-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual HRESULT STDMETHODCALLTYPE Map(
_Out_ D3D10_MAPPED_TEXTURE3D *pMappedTex3D) = 0;
virtual void STDMETHODCALLTYPE Unmap(
_In_ UINT Subresource) = 0;
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_TEXTURE3D_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10Texture3DVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Texture3D * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Texture3D * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Texture3D * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Texture3D * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Texture3D * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Texture3D * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Texture3D * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )(
ID3D10Texture3D * This,
/* [annotation] */
_Out_ D3D10_RESOURCE_DIMENSION *rType);
void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D10Texture3D * This,
/* [annotation] */
_In_ UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D10Texture3D * This);
HRESULT ( STDMETHODCALLTYPE *Map )(
ID3D10Texture3D * This,
/* [annotation] */
_In_ UINT Subresource,
/* [annotation] */
_In_ D3D10_MAP MapType,
/* [annotation] */
_In_ UINT MapFlags,
/* [annotation] */
_Out_ D3D10_MAPPED_TEXTURE3D *pMappedTex3D);
void ( STDMETHODCALLTYPE *Unmap )(
ID3D10Texture3D * This,
/* [annotation] */
_In_ UINT Subresource);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Texture3D * This,
/* [annotation] */
_Out_ D3D10_TEXTURE3D_DESC *pDesc);
END_INTERFACE
} ID3D10Texture3DVtbl;
interface ID3D10Texture3D
{
CONST_VTBL struct ID3D10Texture3DVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10Texture3D_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10Texture3D_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10Texture3D_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10Texture3D_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10Texture3D_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10Texture3D_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10Texture3D_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10Texture3D_GetType(This,rType) \
( (This)->lpVtbl -> GetType(This,rType) )
#define ID3D10Texture3D_SetEvictionPriority(This,EvictionPriority) \
( (This)->lpVtbl -> SetEvictionPriority(This,EvictionPriority) )
#define ID3D10Texture3D_GetEvictionPriority(This) \
( (This)->lpVtbl -> GetEvictionPriority(This) )
#define ID3D10Texture3D_Map(This,Subresource,MapType,MapFlags,pMappedTex3D) \
( (This)->lpVtbl -> Map(This,Subresource,MapType,MapFlags,pMappedTex3D) )
#define ID3D10Texture3D_Unmap(This,Subresource) \
( (This)->lpVtbl -> Unmap(This,Subresource) )
#define ID3D10Texture3D_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10Texture3D_INTERFACE_DEFINED__ */
typedef
enum
{
D3D10_TEXTURECUBE_FACE_POSITIVE_X
=
0
,
D3D10_TEXTURECUBE_FACE_NEGATIVE_X
=
1
,
D3D10_TEXTURECUBE_FACE_POSITIVE_Y
=
2
,
D3D10_TEXTURECUBE_FACE_NEGATIVE_Y
=
3
,
D3D10_TEXTURECUBE_FACE_POSITIVE_Z
=
4
,
D3D10_TEXTURECUBE_FACE_NEGATIVE_Z
=
5
}
;
extern
__MIDL_itf_d3d10_0000_0009_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0009_v0_0_s_ifspec
;
#ifndef __ID3D10View_INTERFACE_DEFINED__
#define __ID3D10View_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10View;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C902B03F-60A7-49BA-9936-2A3AB37A7E33")
struct
__declspec
(uuid(
"C902B03F-60A7-49BA-9936-2A3AB37A7E33"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetResource(
_Out_ ID3D10Resource **ppResource) = 0;
};
#else /* C style interface */
typedef struct ID3D10ViewVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10View * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10View * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10View * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10View * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10View * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10View * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10View * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )(
ID3D10View * This,
/* [annotation] */
_Out_ ID3D10Resource **ppResource);
END_INTERFACE
} ID3D10ViewVtbl;
interface ID3D10View
{
CONST_VTBL struct ID3D10ViewVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10View_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10View_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10View_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10View_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10View_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10View_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10View_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10View_GetResource(This,ppResource) \
( (This)->lpVtbl -> GetResource(This,ppResource) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10View_INTERFACE_DEFINED__ */
typedef
struct
{
union
{
;
;
} ;
union
{
;
;
} ;
}
;
typedef
struct
{
;
;
}
;
typedef
struct
{
;
;
;
;
}
;
typedef
struct
{
;
;
}
;
typedef
struct
{
;
;
;
;
}
;
typedef
struct
{
;
;
}
;
typedef
struct
{
;
;
}
;
typedef
struct
{
UnusedField_NothingToDefine
;
}
;
typedef
struct
{
;
;
}
;
typedef
struct
D3D10_SHADER_RESOURCE_VIEW_DESC
{
;
;
union
{
;
;
;
;
;
;
;
;
;
} ;
}
D3D10_SHADER_RESOURCE_VIEW_DESC
;
extern
__MIDL_itf_d3d10_0000_0010_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0010_v0_0_s_ifspec
;
#ifndef __ID3D10ShaderResourceView_INTERFACE_DEFINED__
#define __ID3D10ShaderResourceView_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10ShaderResourceView;
extern
"C"
const
IID_ID3D10ShaderResourceView
;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C07-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C07-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0;
D3D10_SHADER_RESOURCE_VIEW_DESC
*
) =
0
;
};
#else /* C style interface */
typedef struct ID3D10ShaderResourceViewVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10ShaderResourceView * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10ShaderResourceView * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10ShaderResourceView * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10ShaderResourceView * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10ShaderResourceView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10ShaderResourceView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10ShaderResourceView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )(
ID3D10ShaderResourceView * This,
/* [annotation] */
_Out_ ID3D10Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10ShaderResourceView * This,
/* [annotation] */
_Out_ D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc);
END_INTERFACE
} ID3D10ShaderResourceViewVtbl;
interface ID3D10ShaderResourceView
{
CONST_VTBL struct ID3D10ShaderResourceViewVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10ShaderResourceView_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10ShaderResourceView_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10ShaderResourceView_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10ShaderResourceView_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10ShaderResourceView_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10ShaderResourceView_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10ShaderResourceView_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10ShaderResourceView_GetResource(This,ppResource) \
( (This)->lpVtbl -> GetResource(This,ppResource) )
#define ID3D10ShaderResourceView_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10ShaderResourceView_INTERFACE_DEFINED__ */
typedef
struct
{
union
{
;
;
} ;
union
{
;
;
} ;
}
;
typedef
struct
{
;
}
;
typedef
struct
{
;
;
;
}
;
typedef
struct
{
;
}
;
typedef
struct
{
UnusedField_NothingToDefine
;
}
;
typedef
struct
{
;
;
;
}
;
typedef
struct
{
;
;
}
;
typedef
struct
{
;
;
;
}
;
typedef
struct
D3D10_RENDER_TARGET_VIEW_DESC
{
;
;
union
{
;
;
;
;
;
;
;
;
} ;
}
D3D10_RENDER_TARGET_VIEW_DESC
;
extern
__MIDL_itf_d3d10_0000_0011_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0011_v0_0_s_ifspec
;
#ifndef __ID3D10RenderTargetView_INTERFACE_DEFINED__
#define __ID3D10RenderTargetView_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10RenderTargetView;
extern
"C"
const
IID_ID3D10RenderTargetView
;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C08-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C08-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_RENDER_TARGET_VIEW_DESC *pDesc) = 0;
D3D10_RENDER_TARGET_VIEW_DESC
*
) =
0
;
};
#else /* C style interface */
typedef struct ID3D10RenderTargetViewVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10RenderTargetView * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10RenderTargetView * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10RenderTargetView * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10RenderTargetView * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10RenderTargetView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10RenderTargetView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10RenderTargetView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )(
ID3D10RenderTargetView * This,
/* [annotation] */
_Out_ ID3D10Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10RenderTargetView * This,
/* [annotation] */
_Out_ D3D10_RENDER_TARGET_VIEW_DESC *pDesc);
END_INTERFACE
} ID3D10RenderTargetViewVtbl;
interface ID3D10RenderTargetView
{
CONST_VTBL struct ID3D10RenderTargetViewVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10RenderTargetView_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10RenderTargetView_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10RenderTargetView_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10RenderTargetView_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10RenderTargetView_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10RenderTargetView_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10RenderTargetView_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10RenderTargetView_GetResource(This,ppResource) \
( (This)->lpVtbl -> GetResource(This,ppResource) )
#define ID3D10RenderTargetView_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10RenderTargetView_INTERFACE_DEFINED__ */
typedef
struct
{
;
}
;
typedef
struct
{
;
;
;
}
;
typedef
struct
{
;
}
;
typedef
struct
{
;
;
;
}
;
typedef
struct
{
UnusedField_NothingToDefine
;
}
;
typedef
struct
{
;
;
}
;
typedef
struct
D3D10_DEPTH_STENCIL_VIEW_DESC
{
;
;
union
{
;
;
;
;
;
;
} ;
}
D3D10_DEPTH_STENCIL_VIEW_DESC
;
extern
__MIDL_itf_d3d10_0000_0012_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0012_v0_0_s_ifspec
;
#ifndef __ID3D10DepthStencilView_INTERFACE_DEFINED__
#define __ID3D10DepthStencilView_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10DepthStencilView;
extern
"C"
const
IID_ID3D10DepthStencilView
;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C09-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C09-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0;
D3D10_DEPTH_STENCIL_VIEW_DESC
*
) =
0
;
};
#else /* C style interface */
typedef struct ID3D10DepthStencilViewVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10DepthStencilView * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10DepthStencilView * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10DepthStencilView * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10DepthStencilView * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10DepthStencilView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10DepthStencilView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10DepthStencilView * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )(
ID3D10DepthStencilView * This,
/* [annotation] */
_Out_ ID3D10Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10DepthStencilView * This,
/* [annotation] */
_Out_ D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc);
END_INTERFACE
} ID3D10DepthStencilViewVtbl;
interface ID3D10DepthStencilView
{
CONST_VTBL struct ID3D10DepthStencilViewVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10DepthStencilView_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10DepthStencilView_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10DepthStencilView_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10DepthStencilView_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10DepthStencilView_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10DepthStencilView_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10DepthStencilView_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10DepthStencilView_GetResource(This,ppResource) \
( (This)->lpVtbl -> GetResource(This,ppResource) )
#define ID3D10DepthStencilView_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10DepthStencilView_INTERFACE_DEFINED__ */
#ifndef __ID3D10VertexShader_INTERFACE_DEFINED__
#define __ID3D10VertexShader_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10VertexShader;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C0A-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C0A-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
};
#else /* C style interface */
typedef struct ID3D10VertexShaderVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10VertexShader * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10VertexShader * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10VertexShader * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10VertexShader * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10VertexShader * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10VertexShader * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10VertexShader * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
END_INTERFACE
} ID3D10VertexShaderVtbl;
interface ID3D10VertexShader
{
CONST_VTBL struct ID3D10VertexShaderVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10VertexShader_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10VertexShader_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10VertexShader_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10VertexShader_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10VertexShader_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10VertexShader_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10VertexShader_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10VertexShader_INTERFACE_DEFINED__ */
#ifndef __ID3D10GeometryShader_INTERFACE_DEFINED__
#define __ID3D10GeometryShader_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10GeometryShader;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6316BE88-54CD-4040-AB44-20461BC81F68")
struct
__declspec
(uuid(
"6316BE88-54CD-4040-AB44-20461BC81F68"
))
__declspec
(novtable)
:
public
{
public
:
};
#else /* C style interface */
typedef struct ID3D10GeometryShaderVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10GeometryShader * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10GeometryShader * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10GeometryShader * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10GeometryShader * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10GeometryShader * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10GeometryShader * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10GeometryShader * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
END_INTERFACE
} ID3D10GeometryShaderVtbl;
interface ID3D10GeometryShader
{
CONST_VTBL struct ID3D10GeometryShaderVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10GeometryShader_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10GeometryShader_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10GeometryShader_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10GeometryShader_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10GeometryShader_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10GeometryShader_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10GeometryShader_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10GeometryShader_INTERFACE_DEFINED__ */
#ifndef __ID3D10PixelShader_INTERFACE_DEFINED__
#define __ID3D10PixelShader_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10PixelShader;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("4968B601-9D00-4cde-8346-8E7F675819B6")
struct
__declspec
(uuid(
"4968B601-9D00-4cde-8346-8E7F675819B6"
))
__declspec
(novtable)
:
public
{
public
:
};
#else /* C style interface */
typedef struct ID3D10PixelShaderVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10PixelShader * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10PixelShader * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10PixelShader * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10PixelShader * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10PixelShader * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10PixelShader * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10PixelShader * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
END_INTERFACE
} ID3D10PixelShaderVtbl;
interface ID3D10PixelShader
{
CONST_VTBL struct ID3D10PixelShaderVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10PixelShader_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10PixelShader_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10PixelShader_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10PixelShader_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10PixelShader_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10PixelShader_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10PixelShader_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10PixelShader_INTERFACE_DEFINED__ */
#ifndef __ID3D10InputLayout_INTERFACE_DEFINED__
#define __ID3D10InputLayout_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10InputLayout;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C0B-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C0B-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
};
#else /* C style interface */
typedef struct ID3D10InputLayoutVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10InputLayout * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10InputLayout * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10InputLayout * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10InputLayout * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10InputLayout * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10InputLayout * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10InputLayout * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
END_INTERFACE
} ID3D10InputLayoutVtbl;
interface ID3D10InputLayout
{
CONST_VTBL struct ID3D10InputLayoutVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10InputLayout_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10InputLayout_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10InputLayout_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10InputLayout_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10InputLayout_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10InputLayout_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10InputLayout_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10InputLayout_INTERFACE_DEFINED__ */
typedef
enum
{
D3D10_FILTER_MIN_MAG_MIP_POINT
=
0
,
D3D10_FILTER_MIN_MAG_POINT_MIP_LINEAR
=
0x1
,
D3D10_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT
=
0x4
,
D3D10_FILTER_MIN_POINT_MAG_MIP_LINEAR
=
0x5
,
D3D10_FILTER_MIN_LINEAR_MAG_MIP_POINT
=
0x10
,
D3D10_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR
=
0x11
,
D3D10_FILTER_MIN_MAG_LINEAR_MIP_POINT
=
0x14
,
D3D10_FILTER_MIN_MAG_MIP_LINEAR
=
0x15
,
=
0x55
,
D3D10_FILTER_COMPARISON_MIN_MAG_MIP_POINT
=
0x80
,
D3D10_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR
=
0x81
,
D3D10_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT
=
0x84
,
D3D10_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR
=
0x85
,
D3D10_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT
=
0x90
,
D3D10_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR
=
0x91
,
D3D10_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT
=
0x94
,
D3D10_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR
=
0x95
,
D3D10_FILTER_COMPARISON_ANISOTROPIC
=
0xd5
,
=
0x80000000
}
;
typedef
enum
{
=
0
,
=
1
}
;
#define D3D10_FILTER_TYPE_MASK ( 0x3 )
#define D3D10_MIN_FILTER_SHIFT ( 4 )
#define D3D10_MAG_FILTER_SHIFT ( 2 )
#define D3D10_MIP_FILTER_SHIFT ( 0 )
#define D3D10_COMPARISON_FILTERING_BIT ( 0x80 )
#define D3D10_ANISOTROPIC_FILTERING_BIT ( 0x40 )
#define D3D10_TEXT_1BIT_BIT ( 0x80000000 )
#define D3D10_ENCODE_BASIC_FILTER( min, mag, mip, bComparison ) \
( ( D3D10_FILTER ) ( \
( ( bComparison ) ? D3D10_COMPARISON_FILTERING_BIT : 0 ) | \
( ( ( min ) & D3D10_FILTER_TYPE_MASK ) << D3D10_MIN_FILTER_SHIFT ) | \
( ( ( mag ) & D3D10_FILTER_TYPE_MASK ) << D3D10_MAG_FILTER_SHIFT ) | \
( ( ( mip ) & D3D10_FILTER_TYPE_MASK ) << D3D10_MIP_FILTER_SHIFT ) ) )
#define D3D10_ENCODE_ANISOTROPIC_FILTER( bComparison ) \
( ( D3D10_FILTER ) ( \
D3D10_ANISOTROPIC_FILTERING_BIT | \
D3D10_ENCODE_BASIC_FILTER( D3D10_FILTER_TYPE_LINEAR, \
D3D10_FILTER_TYPE_LINEAR, \
D3D10_FILTER_TYPE_LINEAR, \
bComparison ) ) )
#define D3D10_DECODE_MIN_FILTER( d3d10Filter ) \
( ( D3D10_FILTER_TYPE ) \
( ( ( d3d10Filter ) >> D3D10_MIN_FILTER_SHIFT ) & D3D10_FILTER_TYPE_MASK ) )
#define D3D10_DECODE_MAG_FILTER( d3d10Filter ) \
( ( D3D10_FILTER_TYPE ) \
( ( ( d3d10Filter ) >> D3D10_MAG_FILTER_SHIFT ) & D3D10_FILTER_TYPE_MASK ) )
#define D3D10_DECODE_MIP_FILTER( d3d10Filter ) \
( ( D3D10_FILTER_TYPE ) \
( ( ( d3d10Filter ) >> D3D10_MIP_FILTER_SHIFT ) & D3D10_FILTER_TYPE_MASK ) )
#define D3D10_DECODE_IS_COMPARISON_FILTER( d3d10Filter ) \
( ( d3d10Filter ) & D3D10_COMPARISON_FILTERING_BIT )
#define D3D10_DECODE_IS_ANISOTROPIC_FILTER( d3d10Filter ) \
( ( ( d3d10Filter ) & D3D10_ANISOTROPIC_FILTERING_BIT ) && \
( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MIN_FILTER( d3d10Filter ) ) && \
( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MAG_FILTER( d3d10Filter ) ) && \
( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MIP_FILTER( d3d10Filter ) ) )
#define D3D10_DECODE_IS_TEXT_1BIT_FILTER( d3d10Filter ) \
( ( d3d10Filter ) == D3D10_TEXT_1BIT_BIT )
typedef
enum
D3D10_TEXTURE_ADDRESS_MODE
{
D3D10_TEXTURE_ADDRESS_WRAP
=
1
,
D3D10_TEXTURE_ADDRESS_MIRROR
=
2
,
D3D10_TEXTURE_ADDRESS_CLAMP
=
3
,
D3D10_TEXTURE_ADDRESS_BORDER
=
4
,
D3D10_TEXTURE_ADDRESS_MIRROR_ONCE
=
5
}
D3D10_TEXTURE_ADDRESS_MODE
;
typedef
struct
{
;
D3D10_TEXTURE_ADDRESS_MODE
;
D3D10_TEXTURE_ADDRESS_MODE
;
D3D10_TEXTURE_ADDRESS_MODE
;
;
;
;
[
4
];
;
;
}
;
extern
__MIDL_itf_d3d10_0000_0017_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0017_v0_0_s_ifspec
;
#ifndef __ID3D10SamplerState_INTERFACE_DEFINED__
#define __ID3D10SamplerState_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10SamplerState;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C0C-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C0C-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_SAMPLER_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10SamplerStateVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10SamplerState * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10SamplerState * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10SamplerState * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10SamplerState * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10SamplerState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10SamplerState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10SamplerState * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10SamplerState * This,
/* [annotation] */
_Out_ D3D10_SAMPLER_DESC *pDesc);
END_INTERFACE
} ID3D10SamplerStateVtbl;
interface ID3D10SamplerState
{
CONST_VTBL struct ID3D10SamplerStateVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10SamplerState_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10SamplerState_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10SamplerState_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10SamplerState_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10SamplerState_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10SamplerState_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10SamplerState_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10SamplerState_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10SamplerState_INTERFACE_DEFINED__ */
typedef
enum
{
=
0x1
,
=
0x2
,
=
0x4
,
=
0x8
,
D3D10_FORMAT_SUPPORT_TEXTURE1D
=
0x10
,
D3D10_FORMAT_SUPPORT_TEXTURE2D
=
0x20
,
D3D10_FORMAT_SUPPORT_TEXTURE3D
=
0x40
,
D3D10_FORMAT_SUPPORT_TEXTURECUBE
=
0x80
,
=
0x100
,
=
0x200
,
=
0x400
,
D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT
=
0x800
,
=
0x1000
,
=
0x2000
,
=
0x4000
,
=
0x8000
,
=
0x10000
,
=
0x20000
,
=
0x40000
,
=
0x80000
,
=
0x100000
,
=
0x200000
,
=
0x400000
,
=
0x800000
,
=
0x1000000
}
;
extern
__MIDL_itf_d3d10_0000_0018_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0018_v0_0_s_ifspec
;
#ifndef __ID3D10Asynchronous_INTERFACE_DEFINED__
#define __ID3D10Asynchronous_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10Asynchronous;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C0D-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C0D-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE Begin( void) = 0;
virtual
void
__stdcall
(
void
) =
0
;
virtual void STDMETHODCALLTYPE End( void) = 0;
virtual
void
__stdcall
(
void
) =
0
;
virtual HRESULT STDMETHODCALLTYPE GetData(
_Out_writes_bytes_opt_(DataSize) void *pData,
_In_ UINT GetDataFlags) = 0;
virtual UINT STDMETHODCALLTYPE GetDataSize( void) = 0;
virtual
__stdcall
(
void
) =
0
;
};
#else /* C style interface */
typedef struct ID3D10AsynchronousVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Asynchronous * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Asynchronous * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Asynchronous * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Asynchronous * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Asynchronous * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Asynchronous * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Asynchronous * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *Begin )(
ID3D10Asynchronous * This);
void ( STDMETHODCALLTYPE *End )(
ID3D10Asynchronous * This);
HRESULT ( STDMETHODCALLTYPE *GetData )(
ID3D10Asynchronous * This,
/* [annotation] */
_Out_writes_bytes_opt_(DataSize) void *pData,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_ UINT GetDataFlags);
UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D10Asynchronous * This);
END_INTERFACE
} ID3D10AsynchronousVtbl;
interface ID3D10Asynchronous
{
CONST_VTBL struct ID3D10AsynchronousVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10Asynchronous_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10Asynchronous_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10Asynchronous_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10Asynchronous_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10Asynchronous_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10Asynchronous_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10Asynchronous_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10Asynchronous_Begin(This) \
( (This)->lpVtbl -> Begin(This) )
#define ID3D10Asynchronous_End(This) \
( (This)->lpVtbl -> End(This) )
#define ID3D10Asynchronous_GetData(This,pData,DataSize,GetDataFlags) \
( (This)->lpVtbl -> GetData(This,pData,DataSize,GetDataFlags) )
#define ID3D10Asynchronous_GetDataSize(This) \
( (This)->lpVtbl -> GetDataSize(This) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10Asynchronous_INTERFACE_DEFINED__ */
typedef
enum
{
D3D10_ASYNC_GETDATA_DONOTFLUSH
=
0x1
}
;
typedef
enum
{
=
0
,
= (
+
1
) ,
= (
+
1
) ,
D3D10_QUERY_TIMESTAMP_DISJOINT
= (
+
1
) ,
D3D10_QUERY_PIPELINE_STATISTICS
= (
D3D10_QUERY_TIMESTAMP_DISJOINT
+
1
) ,
D3D10_QUERY_OCCLUSION_PREDICATE
= (
D3D10_QUERY_PIPELINE_STATISTICS
+
1
) ,
D3D10_QUERY_SO_STATISTICS
= (
D3D10_QUERY_OCCLUSION_PREDICATE
+
1
) ,
D3D10_QUERY_SO_OVERFLOW_PREDICATE
= (
D3D10_QUERY_SO_STATISTICS
+
1
)
}
;
typedef
enum
{
D3D10_QUERY_MISC_PREDICATEHINT
=
0x1
}
;
typedef
struct
{
;
;
}
;
extern
__MIDL_itf_d3d10_0000_0019_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0019_v0_0_s_ifspec
;
#ifndef __ID3D10Query_INTERFACE_DEFINED__
#define __ID3D10Query_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10Query;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C0E-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C0E-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_QUERY_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10QueryVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Query * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Query * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Query * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Query * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Query * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Query * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Query * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *Begin )(
ID3D10Query * This);
void ( STDMETHODCALLTYPE *End )(
ID3D10Query * This);
HRESULT ( STDMETHODCALLTYPE *GetData )(
ID3D10Query * This,
/* [annotation] */
_Out_writes_bytes_opt_(DataSize) void *pData,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_ UINT GetDataFlags);
UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D10Query * This);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Query * This,
/* [annotation] */
_Out_ D3D10_QUERY_DESC *pDesc);
END_INTERFACE
} ID3D10QueryVtbl;
interface ID3D10Query
{
CONST_VTBL struct ID3D10QueryVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10Query_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10Query_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10Query_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10Query_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10Query_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10Query_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10Query_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10Query_Begin(This) \
( (This)->lpVtbl -> Begin(This) )
#define ID3D10Query_End(This) \
( (This)->lpVtbl -> End(This) )
#define ID3D10Query_GetData(This,pData,DataSize,GetDataFlags) \
( (This)->lpVtbl -> GetData(This,pData,DataSize,GetDataFlags) )
#define ID3D10Query_GetDataSize(This) \
( (This)->lpVtbl -> GetDataSize(This) )
#define ID3D10Query_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10Query_INTERFACE_DEFINED__ */
#ifndef __ID3D10Predicate_INTERFACE_DEFINED__
#define __ID3D10Predicate_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10Predicate;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C10-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C10-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
};
#else /* C style interface */
typedef struct ID3D10PredicateVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Predicate * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Predicate * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Predicate * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Predicate * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Predicate * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Predicate * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Predicate * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *Begin )(
ID3D10Predicate * This);
void ( STDMETHODCALLTYPE *End )(
ID3D10Predicate * This);
HRESULT ( STDMETHODCALLTYPE *GetData )(
ID3D10Predicate * This,
/* [annotation] */
_Out_writes_bytes_opt_(DataSize) void *pData,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_ UINT GetDataFlags);
UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D10Predicate * This);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Predicate * This,
/* [annotation] */
_Out_ D3D10_QUERY_DESC *pDesc);
END_INTERFACE
} ID3D10PredicateVtbl;
interface ID3D10Predicate
{
CONST_VTBL struct ID3D10PredicateVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10Predicate_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10Predicate_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10Predicate_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10Predicate_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10Predicate_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10Predicate_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10Predicate_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10Predicate_Begin(This) \
( (This)->lpVtbl -> Begin(This) )
#define ID3D10Predicate_End(This) \
( (This)->lpVtbl -> End(This) )
#define ID3D10Predicate_GetData(This,pData,DataSize,GetDataFlags) \
( (This)->lpVtbl -> GetData(This,pData,DataSize,GetDataFlags) )
#define ID3D10Predicate_GetDataSize(This) \
( (This)->lpVtbl -> GetDataSize(This) )
#define ID3D10Predicate_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10Predicate_INTERFACE_DEFINED__ */
typedef
struct
D3D10_QUERY_DATA_TIMESTAMP_DISJOINT
{
;
;
}
D3D10_QUERY_DATA_TIMESTAMP_DISJOINT
;
typedef
struct
D3D10_QUERY_DATA_PIPELINE_STATISTICS
{
;
;
;
;
;
;
;
;
}
D3D10_QUERY_DATA_PIPELINE_STATISTICS
;
typedef
struct
D3D10_QUERY_DATA_SO_STATISTICS
{
;
;
}
D3D10_QUERY_DATA_SO_STATISTICS
;
typedef
enum
{
=
0
,
D3D10_COUNTER_VERTEX_PROCESSING
= (
+
1
) ,
D3D10_COUNTER_GEOMETRY_PROCESSING
= (
D3D10_COUNTER_VERTEX_PROCESSING
+
1
) ,
D3D10_COUNTER_PIXEL_PROCESSING
= (
D3D10_COUNTER_GEOMETRY_PROCESSING
+
1
) ,
D3D10_COUNTER_OTHER_GPU_PROCESSING
= (
D3D10_COUNTER_PIXEL_PROCESSING
+
1
) ,
D3D10_COUNTER_HOST_ADAPTER_BANDWIDTH_UTILIZATION
= (
D3D10_COUNTER_OTHER_GPU_PROCESSING
+
1
) ,
D3D10_COUNTER_LOCAL_VIDMEM_BANDWIDTH_UTILIZATION
= (
D3D10_COUNTER_HOST_ADAPTER_BANDWIDTH_UTILIZATION
+
1
) ,
D3D10_COUNTER_VERTEX_THROUGHPUT_UTILIZATION
= (
D3D10_COUNTER_LOCAL_VIDMEM_BANDWIDTH_UTILIZATION
+
1
) ,
D3D10_COUNTER_TRIANGLE_SETUP_THROUGHPUT_UTILIZATION
= (
D3D10_COUNTER_VERTEX_THROUGHPUT_UTILIZATION
+
1
) ,
D3D10_COUNTER_FILLRATE_THROUGHPUT_UTILIZATION
= (
D3D10_COUNTER_TRIANGLE_SETUP_THROUGHPUT_UTILIZATION
+
1
) ,
D3D10_COUNTER_VS_MEMORY_LIMITED
= (
D3D10_COUNTER_FILLRATE_THROUGHPUT_UTILIZATION
+
1
) ,
D3D10_COUNTER_VS_COMPUTATION_LIMITED
= (
D3D10_COUNTER_VS_MEMORY_LIMITED
+
1
) ,
D3D10_COUNTER_GS_MEMORY_LIMITED
= (
D3D10_COUNTER_VS_COMPUTATION_LIMITED
+
1
) ,
D3D10_COUNTER_GS_COMPUTATION_LIMITED
= (
D3D10_COUNTER_GS_MEMORY_LIMITED
+
1
) ,
D3D10_COUNTER_PS_MEMORY_LIMITED
= (
D3D10_COUNTER_GS_COMPUTATION_LIMITED
+
1
) ,
D3D10_COUNTER_PS_COMPUTATION_LIMITED
= (
D3D10_COUNTER_PS_MEMORY_LIMITED
+
1
) ,
D3D10_COUNTER_POST_TRANSFORM_CACHE_HIT_RATE
= (
D3D10_COUNTER_PS_COMPUTATION_LIMITED
+
1
) ,
D3D10_COUNTER_TEXTURE_CACHE_HIT_RATE
= (
D3D10_COUNTER_POST_TRANSFORM_CACHE_HIT_RATE
+
1
) ,
D3D10_COUNTER_DEVICE_DEPENDENT_0
=
0x40000000
}
;
typedef
enum
{
D3D10_COUNTER_TYPE_FLOAT32
=
0
,
D3D10_COUNTER_TYPE_UINT16
= (
D3D10_COUNTER_TYPE_FLOAT32
+
1
) ,
D3D10_COUNTER_TYPE_UINT32
= (
D3D10_COUNTER_TYPE_UINT16
+
1
) ,
D3D10_COUNTER_TYPE_UINT64
= (
D3D10_COUNTER_TYPE_UINT32
+
1
)
}
;
typedef
struct
{
;
;
}
;
typedef
struct
{
LastDeviceDependentCounter
;
;
NumDetectableParallelUnits
;
}
;
extern
__MIDL_itf_d3d10_0000_0021_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0021_v0_0_s_ifspec
;
#ifndef __ID3D10Counter_INTERFACE_DEFINED__
#define __ID3D10Counter_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10Counter;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C11-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C11-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE GetDesc(
_Out_ D3D10_COUNTER_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10CounterVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Counter * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Counter * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Counter * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Counter * This,
/* [annotation] */
_Out_ ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Counter * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Counter * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Counter * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *Begin )(
ID3D10Counter * This);
void ( STDMETHODCALLTYPE *End )(
ID3D10Counter * This);
HRESULT ( STDMETHODCALLTYPE *GetData )(
ID3D10Counter * This,
/* [annotation] */
_Out_writes_bytes_opt_(DataSize) void *pData,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_ UINT GetDataFlags);
UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D10Counter * This);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Counter * This,
/* [annotation] */
_Out_ D3D10_COUNTER_DESC *pDesc);
END_INTERFACE
} ID3D10CounterVtbl;
interface ID3D10Counter
{
CONST_VTBL struct ID3D10CounterVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10Counter_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10Counter_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10Counter_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10Counter_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10Counter_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10Counter_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10Counter_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10Counter_Begin(This) \
( (This)->lpVtbl -> Begin(This) )
#define ID3D10Counter_End(This) \
( (This)->lpVtbl -> End(This) )
#define ID3D10Counter_GetData(This,pData,DataSize,GetDataFlags) \
( (This)->lpVtbl -> GetData(This,pData,DataSize,GetDataFlags) )
#define ID3D10Counter_GetDataSize(This) \
( (This)->lpVtbl -> GetDataSize(This) )
#define ID3D10Counter_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10Counter_INTERFACE_DEFINED__ */
#ifndef __ID3D10Device_INTERFACE_DEFINED__
#define __ID3D10Device_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10Device;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C0F-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4C0F-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE VSSetConstantBuffers(
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
_In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE PSSetShaderResources(
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
_In_reads_opt_(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0;
virtual void STDMETHODCALLTYPE PSSetShader(
_In_opt_ ID3D10PixelShader *pPixelShader) = 0;
virtual void STDMETHODCALLTYPE PSSetSamplers(
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
_In_reads_opt_(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0;
virtual void STDMETHODCALLTYPE VSSetShader(
_In_opt_ ID3D10VertexShader *pVertexShader) = 0;
virtual void STDMETHODCALLTYPE DrawIndexed(
_In_ UINT StartIndexLocation,
_In_ INT BaseVertexLocation) = 0;
virtual void STDMETHODCALLTYPE Draw(
_In_ UINT StartVertexLocation) = 0;
virtual void STDMETHODCALLTYPE PSSetConstantBuffers(
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
_In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE IASetInputLayout(
_In_opt_ ID3D10InputLayout *pInputLayout) = 0;
virtual void STDMETHODCALLTYPE IASetVertexBuffers(
_In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
_In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppVertexBuffers,
_In_reads_opt_(NumBuffers) const UINT *pStrides,
_In_reads_opt_(NumBuffers) const UINT *pOffsets) = 0;
virtual void STDMETHODCALLTYPE IASetIndexBuffer(
_In_opt_ ID3D10Buffer *pIndexBuffer,
virtual void STDMETHODCALLTYPE DrawIndexedInstanced(
_In_ UINT IndexCountPerInstance,
_In_ UINT StartIndexLocation,
_In_ INT BaseVertexLocation,
_In_ UINT StartInstanceLocation) = 0;
virtual void STDMETHODCALLTYPE DrawInstanced(
_In_ UINT VertexCountPerInstance,
_In_ UINT StartVertexLocation,
_In_ UINT StartInstanceLocation) = 0;
virtual void STDMETHODCALLTYPE GSSetConstantBuffers(
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
_In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE GSSetShader(
_In_opt_ ID3D10GeometryShader *pShader) = 0;
virtual void STDMETHODCALLTYPE IASetPrimitiveTopology(
_In_ D3D10_PRIMITIVE_TOPOLOGY Topology) = 0;
virtual void STDMETHODCALLTYPE VSSetShaderResources(
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
_In_reads_opt_(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0;
virtual void STDMETHODCALLTYPE VSSetSamplers(
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
_In_reads_opt_(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0;
virtual void STDMETHODCALLTYPE SetPredication(
_In_opt_ ID3D10Predicate *pPredicate,
_In_ BOOL PredicateValue) = 0;
virtual void STDMETHODCALLTYPE GSSetShaderResources(
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
_In_reads_opt_(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews) = 0;
virtual void STDMETHODCALLTYPE GSSetSamplers(
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
_In_reads_opt_(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0;
virtual void STDMETHODCALLTYPE OMSetRenderTargets(
_In_range_( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
_In_reads_opt_(NumViews) ID3D10RenderTargetView *const *ppRenderTargetViews,
_In_opt_ ID3D10DepthStencilView *pDepthStencilView) = 0;
virtual void STDMETHODCALLTYPE OMSetBlendState(
_In_opt_ ID3D10BlendState *pBlendState,
_In_ const FLOAT BlendFactor[ 4 ],
_In_ UINT SampleMask) = 0;
virtual void STDMETHODCALLTYPE OMSetDepthStencilState(
_In_opt_ ID3D10DepthStencilState *pDepthStencilState,
_In_ UINT StencilRef) = 0;
virtual void STDMETHODCALLTYPE SOSetTargets(
_In_range_( 0, D3D10_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
_In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppSOTargets,
_In_reads_opt_(NumBuffers) const UINT *pOffsets) = 0;
virtual void STDMETHODCALLTYPE DrawAuto( void) = 0;
virtual
void
__stdcall
(
void
) =
0
;
virtual void STDMETHODCALLTYPE RSSetState(
_In_opt_ ID3D10RasterizerState *pRasterizerState) = 0;
virtual void STDMETHODCALLTYPE RSSetViewports(
_In_range_(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumViewports,
_In_reads_opt_(NumViewports) const D3D10_VIEWPORT *pViewports) = 0;
virtual void STDMETHODCALLTYPE RSSetScissorRects(
_In_range_(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumRects,
_In_reads_opt_(NumRects) const D3D10_RECT *pRects) = 0;
virtual void STDMETHODCALLTYPE CopySubresourceRegion(
_In_ ID3D10Resource *pDstResource,
_In_ UINT DstSubresource,
_In_ ID3D10Resource *pSrcResource,
_In_ UINT SrcSubresource,
_In_opt_ const D3D10_BOX *pSrcBox) = 0;
virtual void STDMETHODCALLTYPE CopyResource(
_In_ ID3D10Resource *pDstResource,
_In_ ID3D10Resource *pSrcResource) = 0;
virtual void STDMETHODCALLTYPE UpdateSubresource(
_In_ ID3D10Resource *pDstResource,
_In_ UINT DstSubresource,
_In_opt_ const D3D10_BOX *pDstBox,
_In_ const void *pSrcData,
_In_ UINT SrcDepthPitch) = 0;
virtual void STDMETHODCALLTYPE ClearRenderTargetView(
_In_ ID3D10RenderTargetView *pRenderTargetView,
_In_ const FLOAT ColorRGBA[ 4 ]) = 0;
virtual void STDMETHODCALLTYPE ClearDepthStencilView(
_In_ ID3D10DepthStencilView *pDepthStencilView,
virtual void STDMETHODCALLTYPE GenerateMips(
_In_ ID3D10ShaderResourceView *pShaderResourceView) = 0;
virtual void STDMETHODCALLTYPE ResolveSubresource(
_In_ ID3D10Resource *pDstResource,
_In_ UINT DstSubresource,
_In_ ID3D10Resource *pSrcResource,
_In_ UINT SrcSubresource,
_In_ DXGI_FORMAT Format) = 0;
virtual void STDMETHODCALLTYPE VSGetConstantBuffers(
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
_Out_writes_opt_(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE PSGetShaderResources(
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
_Out_writes_opt_(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews) = 0;
virtual void STDMETHODCALLTYPE PSGetShader(
_Out_ ID3D10PixelShader **ppPixelShader) = 0;
virtual void STDMETHODCALLTYPE PSGetSamplers(
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
_Out_writes_opt_(NumSamplers) ID3D10SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE VSGetShader(
_Out_ ID3D10VertexShader **ppVertexShader) = 0;
virtual void STDMETHODCALLTYPE PSGetConstantBuffers(
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
_Out_writes_opt_(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE IAGetInputLayout(
_Out_ ID3D10InputLayout **ppInputLayout) = 0;
virtual void STDMETHODCALLTYPE IAGetVertexBuffers(
_In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
_Out_writes_opt_(NumBuffers) ID3D10Buffer **ppVertexBuffers,
_Out_writes_opt_(NumBuffers) UINT *pStrides,
_Out_writes_opt_(NumBuffers) UINT *pOffsets) = 0;
virtual void STDMETHODCALLTYPE IAGetIndexBuffer(
_Out_opt_ ID3D10Buffer **pIndexBuffer,
_Out_opt_ DXGI_FORMAT *Format,
_Out_opt_ UINT *Offset) = 0;
virtual void STDMETHODCALLTYPE GSGetConstantBuffers(
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
_Out_writes_opt_(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE GSGetShader(
_Out_ ID3D10GeometryShader **ppGeometryShader) = 0;
virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology(
_Out_ D3D10_PRIMITIVE_TOPOLOGY *pTopology) = 0;
virtual void STDMETHODCALLTYPE VSGetShaderResources(
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
_Out_writes_opt_(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews) = 0;
virtual void STDMETHODCALLTYPE VSGetSamplers(
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
_Out_writes_opt_(NumSamplers) ID3D10SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE GetPredication(
_Out_opt_ ID3D10Predicate **ppPredicate,
_Out_opt_ BOOL *pPredicateValue) = 0;
virtual void STDMETHODCALLTYPE GSGetShaderResources(
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
_Out_writes_opt_(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews) = 0;
virtual void STDMETHODCALLTYPE GSGetSamplers(
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
_Out_writes_opt_(NumSamplers) ID3D10SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE OMGetRenderTargets(
_In_range_( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
_Out_writes_opt_(NumViews) ID3D10RenderTargetView **ppRenderTargetViews,
_Out_opt_ ID3D10DepthStencilView **ppDepthStencilView) = 0;
virtual void STDMETHODCALLTYPE OMGetBlendState(
_Out_opt_ ID3D10BlendState **ppBlendState,
_Out_opt_ FLOAT BlendFactor[ 4 ],
_Out_opt_ UINT *pSampleMask) = 0;
virtual void STDMETHODCALLTYPE OMGetDepthStencilState(
_Out_opt_ ID3D10DepthStencilState **ppDepthStencilState,
_Out_opt_ UINT *pStencilRef) = 0;
virtual void STDMETHODCALLTYPE SOGetTargets(
_In_range_( 0, D3D10_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
_Out_writes_opt_(NumBuffers) ID3D10Buffer **ppSOTargets,
_Out_writes_opt_(NumBuffers) UINT *pOffsets) = 0;
virtual void STDMETHODCALLTYPE RSGetState(
_Out_ ID3D10RasterizerState **ppRasterizerState) = 0;
virtual void STDMETHODCALLTYPE RSGetViewports(
_Inout_ /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *NumViewports,
_Out_writes_opt_(*NumViewports) D3D10_VIEWPORT *pViewports) = 0;
virtual void STDMETHODCALLTYPE RSGetScissorRects(
_Inout_ /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *NumRects,
_Out_writes_opt_(*NumRects) D3D10_RECT *pRects) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason( void) = 0;
virtual
__stdcall
(
void
) =
0
;
virtual HRESULT STDMETHODCALLTYPE SetExceptionMode(
) =
0
;
virtual UINT STDMETHODCALLTYPE GetExceptionMode( void) = 0;
virtual
__stdcall
(
void
) =
0
;
virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
_Out_writes_bytes_opt_(*pDataSize) void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
_In_reads_bytes_opt_(DataSize) const void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
_In_opt_ const IUnknown *pData) = 0;
virtual void STDMETHODCALLTYPE ClearState( void) = 0;
virtual
void
__stdcall
(
void
) =
0
;
virtual void STDMETHODCALLTYPE Flush( void) = 0;
virtual
void
__stdcall
(
void
) =
0
;
virtual HRESULT STDMETHODCALLTYPE CreateBuffer(
_In_ const D3D10_BUFFER_DESC *pDesc,
_In_opt_ const D3D10_SUBRESOURCE_DATA *pInitialData,
_Out_opt_ ID3D10Buffer **ppBuffer) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateTexture1D(
_In_ const D3D10_TEXTURE1D_DESC *pDesc,
_In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D10_SUBRESOURCE_DATA *pInitialData,
_Out_ ID3D10Texture1D **ppTexture1D) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateTexture2D(
_In_ const D3D10_TEXTURE2D_DESC *pDesc,
_In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D10_SUBRESOURCE_DATA *pInitialData,
_Out_ ID3D10Texture2D **ppTexture2D) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateTexture3D(
_In_ const D3D10_TEXTURE3D_DESC *pDesc,
_In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D10_SUBRESOURCE_DATA *pInitialData,
_Out_ ID3D10Texture3D **ppTexture3D) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView(
_In_ ID3D10Resource *pResource,
_In_opt_ const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,
const
D3D10_SHADER_RESOURCE_VIEW_DESC
*
,
_Out_opt_ ID3D10ShaderResourceView **ppSRView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView(
_In_ ID3D10Resource *pResource,
_In_opt_ const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,
const
D3D10_RENDER_TARGET_VIEW_DESC
*
,
_Out_opt_ ID3D10RenderTargetView **ppRTView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView(
_In_ ID3D10Resource *pResource,
_In_opt_ const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,
const
D3D10_DEPTH_STENCIL_VIEW_DESC
*
,
_Out_opt_ ID3D10DepthStencilView **ppDepthStencilView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateInputLayout(
_In_reads_(NumElements) const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs,
_In_range_( 0, D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
_In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSignature,
_In_ SIZE_T BytecodeLength,
_Out_opt_ ID3D10InputLayout **ppInputLayout) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateVertexShader(
_In_reads_(BytecodeLength) const void *pShaderBytecode,
_In_ SIZE_T BytecodeLength,
_Out_opt_ ID3D10VertexShader **ppVertexShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader(
_In_reads_(BytecodeLength) const void *pShaderBytecode,
_In_ SIZE_T BytecodeLength,
_Out_opt_ ID3D10GeometryShader **ppGeometryShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput(
virtual
__stdcall
CreateGeometryShaderWithStreamOutput
(
_In_reads_(BytecodeLength) const void *pShaderBytecode,
_In_ SIZE_T BytecodeLength,
_In_reads_opt_(NumEntries) const D3D10_SO_DECLARATION_ENTRY *pSODeclaration,
const
D3D10_SO_DECLARATION_ENTRY
*
,
_In_range_( 0, D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT ) UINT NumEntries,
_In_ UINT OutputStreamStride,
_Out_opt_ ID3D10GeometryShader **ppGeometryShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePixelShader(
_In_reads_(BytecodeLength) const void *pShaderBytecode,
_In_ SIZE_T BytecodeLength,
_Out_opt_ ID3D10PixelShader **ppPixelShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateBlendState(
_In_ const D3D10_BLEND_DESC *pBlendStateDesc,
_Out_opt_ ID3D10BlendState **ppBlendState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState(
_In_ const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,
_Out_opt_ ID3D10DepthStencilState **ppDepthStencilState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState(
_In_ const D3D10_RASTERIZER_DESC *pRasterizerDesc,
_Out_opt_ ID3D10RasterizerState **ppRasterizerState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateSamplerState(
_In_ const D3D10_SAMPLER_DESC *pSamplerDesc,
_Out_opt_ ID3D10SamplerState **ppSamplerState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateQuery(
_In_ const D3D10_QUERY_DESC *pQueryDesc,
_Out_opt_ ID3D10Query **ppQuery) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePredicate(
_In_ const D3D10_QUERY_DESC *pPredicateDesc,
_Out_opt_ ID3D10Predicate **ppPredicate) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateCounter(
_In_ const D3D10_COUNTER_DESC *pCounterDesc,
_Out_opt_ ID3D10Counter **ppCounter) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport(
_Out_ UINT *pFormatSupport) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels(
_Out_ UINT *pNumQualityLevels) = 0;
virtual void STDMETHODCALLTYPE CheckCounterInfo(
_Out_ D3D10_COUNTER_INFO *pCounterInfo) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckCounter(
_In_ const D3D10_COUNTER_DESC *pDesc,
_Out_ D3D10_COUNTER_TYPE *pType,
_Out_ UINT *pActiveCounters,
_Out_writes_opt_(*pNameLength) LPSTR szName,
_Inout_opt_ UINT *pNameLength,
_Out_writes_opt_(*pUnitsLength) LPSTR szUnits,
_Inout_opt_ UINT *pUnitsLength,
_Out_writes_opt_(*pDescriptionLength) LPSTR szDescription,
_Inout_opt_ UINT *pDescriptionLength) = 0;
virtual UINT STDMETHODCALLTYPE GetCreationFlags( void) = 0;
virtual
__stdcall
(
void
) =
0
;
virtual HRESULT STDMETHODCALLTYPE OpenSharedResource(
_In_ REFIID ReturnedInterface,
_Out_opt_ void **ppResource) = 0;
virtual void STDMETHODCALLTYPE SetTextFilterSize(
virtual void STDMETHODCALLTYPE GetTextFilterSize(
_Out_opt_ UINT *pHeight) = 0;
};
#else /* C style interface */
typedef struct ID3D10DeviceVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Device * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Device * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Device * This);
void ( STDMETHODCALLTYPE *VSSetConstantBuffers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *PSSetShaderResources )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_In_reads_opt_(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews);
void ( STDMETHODCALLTYPE *PSSetShader )(
ID3D10Device * This,
/* [annotation] */
_In_opt_ ID3D10PixelShader *pPixelShader);
void ( STDMETHODCALLTYPE *PSSetSamplers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_In_reads_opt_(NumSamplers) ID3D10SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *VSSetShader )(
ID3D10Device * This,
/* [annotation] */
_In_opt_ ID3D10VertexShader *pVertexShader);
void ( STDMETHODCALLTYPE *DrawIndexed )(
ID3D10Device * This,
/* [annotation] */
_In_ UINT IndexCount,
/* [annotation] */
_In_ UINT StartIndexLocation,
/* [annotation] */
_In_ INT BaseVertexLocation);
void ( STDMETHODCALLTYPE *Draw )(
ID3D10Device * This,
/* [annotation] */
_In_ UINT VertexCount,
/* [annotation] */
_In_ UINT StartVertexLocation);
void ( STDMETHODCALLTYPE *PSSetConstantBuffers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *IASetInputLayout )(
ID3D10Device * This,
/* [annotation] */
_In_opt_ ID3D10InputLayout *pInputLayout);
void ( STDMETHODCALLTYPE *IASetVertexBuffers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppVertexBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pStrides,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pOffsets);
void ( STDMETHODCALLTYPE *IASetIndexBuffer )(
ID3D10Device * This,
/* [annotation] */
_In_opt_ ID3D10Buffer *pIndexBuffer,
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_In_ UINT Offset);
void ( STDMETHODCALLTYPE *DrawIndexedInstanced )(
ID3D10Device * This,
/* [annotation] */
_In_ UINT IndexCountPerInstance,
/* [annotation] */
_In_ UINT InstanceCount,
/* [annotation] */
_In_ UINT StartIndexLocation,
/* [annotation] */
_In_ INT BaseVertexLocation,
/* [annotation] */
_In_ UINT StartInstanceLocation);
void ( STDMETHODCALLTYPE *DrawInstanced )(
ID3D10Device * This,
/* [annotation] */
_In_ UINT VertexCountPerInstance,
/* [annotation] */
_In_ UINT InstanceCount,
/* [annotation] */
_In_ UINT StartVertexLocation,
/* [annotation] */
_In_ UINT StartInstanceLocation);
void ( STDMETHODCALLTYPE *GSSetConstantBuffers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *GSSetShader )(
ID3D10Device * This,
/* [annotation] */
_In_opt_ ID3D10GeometryShader *pShader);
void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )(
ID3D10Device * This,
/* [annotation] */
_In_ D3D10_PRIMITIVE_TOPOLOGY Topology);
void ( STDMETHODCALLTYPE *VSSetShaderResources )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_In_reads_opt_(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews);
void ( STDMETHODCALLTYPE *VSSetSamplers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_In_reads_opt_(NumSamplers) ID3D10SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *SetPredication )(
ID3D10Device * This,
/* [annotation] */
_In_opt_ ID3D10Predicate *pPredicate,
/* [annotation] */
_In_ BOOL PredicateValue);
void ( STDMETHODCALLTYPE *GSSetShaderResources )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_In_reads_opt_(NumViews) ID3D10ShaderResourceView *const *ppShaderResourceViews);
void ( STDMETHODCALLTYPE *GSSetSamplers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_In_reads_opt_(NumSamplers) ID3D10SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *OMSetRenderTargets )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
/* [annotation] */
_In_reads_opt_(NumViews) ID3D10RenderTargetView *const *ppRenderTargetViews,
/* [annotation] */
_In_opt_ ID3D10DepthStencilView *pDepthStencilView);
void ( STDMETHODCALLTYPE *OMSetBlendState )(
ID3D10Device * This,
/* [annotation] */
_In_opt_ ID3D10BlendState *pBlendState,
/* [annotation] */
_In_ const FLOAT BlendFactor[ 4 ],
/* [annotation] */
_In_ UINT SampleMask);
void ( STDMETHODCALLTYPE *OMSetDepthStencilState )(
ID3D10Device * This,
/* [annotation] */
_In_opt_ ID3D10DepthStencilState *pDepthStencilState,
/* [annotation] */
_In_ UINT StencilRef);
void ( STDMETHODCALLTYPE *SOSetTargets )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
/* [annotation] */
_In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppSOTargets,
/* [annotation] */
_In_reads_opt_(NumBuffers) const UINT *pOffsets);
void ( STDMETHODCALLTYPE *DrawAuto )(
ID3D10Device * This);
void ( STDMETHODCALLTYPE *RSSetState )(
ID3D10Device * This,
/* [annotation] */
_In_opt_ ID3D10RasterizerState *pRasterizerState);
void ( STDMETHODCALLTYPE *RSSetViewports )(
ID3D10Device * This,
/* [annotation] */
_In_range_(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumViewports,
/* [annotation] */
_In_reads_opt_(NumViewports) const D3D10_VIEWPORT *pViewports);
void ( STDMETHODCALLTYPE *RSSetScissorRects )(
ID3D10Device * This,
/* [annotation] */
_In_range_(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) UINT NumRects,
/* [annotation] */
_In_reads_opt_(NumRects) const D3D10_RECT *pRects);
void ( STDMETHODCALLTYPE *CopySubresourceRegion )(
ID3D10Device * This,
/* [annotation] */
_In_ ID3D10Resource *pDstResource,
/* [annotation] */
_In_ UINT DstSubresource,
/* [annotation] */
_In_ UINT DstX,
/* [annotation] */
_In_ UINT DstY,
/* [annotation] */
_In_ UINT DstZ,
/* [annotation] */
_In_ ID3D10Resource *pSrcResource,
/* [annotation] */
_In_ UINT SrcSubresource,
/* [annotation] */
_In_opt_ const D3D10_BOX *pSrcBox);
void ( STDMETHODCALLTYPE *CopyResource )(
ID3D10Device * This,
/* [annotation] */
_In_ ID3D10Resource *pDstResource,
/* [annotation] */
_In_ ID3D10Resource *pSrcResource);
void ( STDMETHODCALLTYPE *UpdateSubresource )(
ID3D10Device * This,
/* [annotation] */
_In_ ID3D10Resource *pDstResource,
/* [annotation] */
_In_ UINT DstSubresource,
/* [annotation] */
_In_opt_ const D3D10_BOX *pDstBox,
/* [annotation] */
_In_ const void *pSrcData,
/* [annotation] */
_In_ UINT SrcRowPitch,
/* [annotation] */
_In_ UINT SrcDepthPitch);
void ( STDMETHODCALLTYPE *ClearRenderTargetView )(
ID3D10Device * This,
/* [annotation] */
_In_ ID3D10RenderTargetView *pRenderTargetView,
/* [annotation] */
_In_ const FLOAT ColorRGBA[ 4 ]);
void ( STDMETHODCALLTYPE *ClearDepthStencilView )(
ID3D10Device * This,
/* [annotation] */
_In_ ID3D10DepthStencilView *pDepthStencilView,
/* [annotation] */
_In_ UINT ClearFlags,
/* [annotation] */
_In_ FLOAT Depth,
/* [annotation] */
_In_ UINT8 Stencil);
void ( STDMETHODCALLTYPE *GenerateMips )(
ID3D10Device * This,
/* [annotation] */
_In_ ID3D10ShaderResourceView *pShaderResourceView);
void ( STDMETHODCALLTYPE *ResolveSubresource )(
ID3D10Device * This,
/* [annotation] */
_In_ ID3D10Resource *pDstResource,
/* [annotation] */
_In_ UINT DstSubresource,
/* [annotation] */
_In_ ID3D10Resource *pSrcResource,
/* [annotation] */
_In_ UINT SrcSubresource,
/* [annotation] */
_In_ DXGI_FORMAT Format);
void ( STDMETHODCALLTYPE *VSGetConstantBuffers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D10Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *PSGetShaderResources )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_Out_writes_opt_(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews);
void ( STDMETHODCALLTYPE *PSGetShader )(
ID3D10Device * This,
/* [annotation] */
_Out_ ID3D10PixelShader **ppPixelShader);
void ( STDMETHODCALLTYPE *PSGetSamplers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_Out_writes_opt_(NumSamplers) ID3D10SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *VSGetShader )(
ID3D10Device * This,
/* [annotation] */
_Out_ ID3D10VertexShader **ppVertexShader);
void ( STDMETHODCALLTYPE *PSGetConstantBuffers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D10Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *IAGetInputLayout )(
ID3D10Device * This,
/* [annotation] */
_Out_ ID3D10InputLayout **ppInputLayout);
void ( STDMETHODCALLTYPE *IAGetVertexBuffers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D10Buffer **ppVertexBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pStrides,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pOffsets);
void ( STDMETHODCALLTYPE *IAGetIndexBuffer )(
ID3D10Device * This,
/* [annotation] */
_Out_opt_ ID3D10Buffer **pIndexBuffer,
/* [annotation] */
_Out_opt_ DXGI_FORMAT *Format,
/* [annotation] */
_Out_opt_ UINT *Offset);
void ( STDMETHODCALLTYPE *GSGetConstantBuffers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D10Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *GSGetShader )(
ID3D10Device * This,
/* [annotation] */
_Out_ ID3D10GeometryShader **ppGeometryShader);
void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )(
ID3D10Device * This,
/* [annotation] */
_Out_ D3D10_PRIMITIVE_TOPOLOGY *pTopology);
void ( STDMETHODCALLTYPE *VSGetShaderResources )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_Out_writes_opt_(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews);
void ( STDMETHODCALLTYPE *VSGetSamplers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_Out_writes_opt_(NumSamplers) ID3D10SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *GetPredication )(
ID3D10Device * This,
/* [annotation] */
_Out_opt_ ID3D10Predicate **ppPredicate,
/* [annotation] */
_Out_opt_ BOOL *pPredicateValue);
void ( STDMETHODCALLTYPE *GSGetShaderResources )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot ) UINT NumViews,
/* [annotation] */
_Out_writes_opt_(NumViews) ID3D10ShaderResourceView **ppShaderResourceViews);
void ( STDMETHODCALLTYPE *GSGetSamplers )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
_In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* [annotation] */
_Out_writes_opt_(NumSamplers) ID3D10SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *OMGetRenderTargets )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumViews,
/* [annotation] */
_Out_writes_opt_(NumViews) ID3D10RenderTargetView **ppRenderTargetViews,
/* [annotation] */
_Out_opt_ ID3D10DepthStencilView **ppDepthStencilView);
void ( STDMETHODCALLTYPE *OMGetBlendState )(
ID3D10Device * This,
/* [annotation] */
_Out_opt_ ID3D10BlendState **ppBlendState,
/* [annotation] */
_Out_opt_ FLOAT BlendFactor[ 4 ],
/* [annotation] */
_Out_opt_ UINT *pSampleMask);
void ( STDMETHODCALLTYPE *OMGetDepthStencilState )(
ID3D10Device * This,
/* [annotation] */
_Out_opt_ ID3D10DepthStencilState **ppDepthStencilState,
/* [annotation] */
_Out_opt_ UINT *pStencilRef);
void ( STDMETHODCALLTYPE *SOGetTargets )(
ID3D10Device * This,
/* [annotation] */
_In_range_( 0, D3D10_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
/* [annotation] */
_Out_writes_opt_(NumBuffers) ID3D10Buffer **ppSOTargets,
/* [annotation] */
_Out_writes_opt_(NumBuffers) UINT *pOffsets);
void ( STDMETHODCALLTYPE *RSGetState )(
ID3D10Device * This,
/* [annotation] */
_Out_ ID3D10RasterizerState **ppRasterizerState);
void ( STDMETHODCALLTYPE *RSGetViewports )(
ID3D10Device * This,
/* [annotation] */
_Inout_ /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *NumViewports,
/* [annotation] */
_Out_writes_opt_(*NumViewports) D3D10_VIEWPORT *pViewports);
void ( STDMETHODCALLTYPE *RSGetScissorRects )(
ID3D10Device * This,
/* [annotation] */
_Inout_ /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/ UINT *NumRects,
/* [annotation] */
_Out_writes_opt_(*NumRects) D3D10_RECT *pRects);
HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
ID3D10Device * This);
HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
ID3D10Device * This,
UINT RaiseFlags);
UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
ID3D10Device * This);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Device * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_Inout_ UINT *pDataSize,
/* [annotation] */
_Out_writes_bytes_opt_(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Device * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_ UINT DataSize,
/* [annotation] */
_In_reads_bytes_opt_(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Device * This,
/* [annotation] */
_In_ REFGUID guid,
/* [annotation] */
_In_opt_ const IUnknown *pData);
void ( STDMETHODCALLTYPE *ClearState )(
ID3D10Device * This);
void ( STDMETHODCALLTYPE *Flush )(
ID3D10Device * This);
HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_BUFFER_DESC *pDesc,
/* [annotation] */
_In_opt_ const D3D10_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */
_Out_opt_ ID3D10Buffer **ppBuffer);
HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_TEXTURE1D_DESC *pDesc,
/* [annotation] */
_In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D10_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */
_Out_ ID3D10Texture1D **ppTexture1D);
HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_TEXTURE2D_DESC *pDesc,
/* [annotation] */
_In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize)) const D3D10_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */
_Out_ ID3D10Texture2D **ppTexture2D);
HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_TEXTURE3D_DESC *pDesc,
/* [annotation] */
_In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D10_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */
_Out_ ID3D10Texture3D **ppTexture3D);
HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
ID3D10Device * This,
/* [annotation] */
_In_ ID3D10Resource *pResource,
/* [annotation] */
_In_opt_ const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,
/* [annotation] */
_Out_opt_ ID3D10ShaderResourceView **ppSRView);
HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
ID3D10Device * This,
/* [annotation] */
_In_ ID3D10Resource *pResource,
/* [annotation] */
_In_opt_ const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,
/* [annotation] */
_Out_opt_ ID3D10RenderTargetView **ppRTView);
HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
ID3D10Device * This,
/* [annotation] */
_In_ ID3D10Resource *pResource,
/* [annotation] */
_In_opt_ const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,
/* [annotation] */
_Out_opt_ ID3D10DepthStencilView **ppDepthStencilView);
HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
ID3D10Device * This,
/* [annotation] */
_In_reads_(NumElements) const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs,
/* [annotation] */
_In_range_( 0, D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT NumElements,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSignature,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_Out_opt_ ID3D10InputLayout **ppInputLayout);
HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
ID3D10Device * This,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_Out_opt_ ID3D10VertexShader **ppVertexShader);
HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
ID3D10Device * This,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_Out_opt_ ID3D10GeometryShader **ppGeometryShader);
HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
ID3D10Device * This,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_In_reads_opt_(NumEntries) const D3D10_SO_DECLARATION_ENTRY *pSODeclaration,
/* [annotation] */
_In_range_( 0, D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT ) UINT NumEntries,
/* [annotation] */
_In_ UINT OutputStreamStride,
/* [annotation] */
_Out_opt_ ID3D10GeometryShader **ppGeometryShader);
HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
ID3D10Device * This,
/* [annotation] */
_In_reads_(BytecodeLength) const void *pShaderBytecode,
/* [annotation] */
_In_ SIZE_T BytecodeLength,
/* [annotation] */
_Out_opt_ ID3D10PixelShader **ppPixelShader);
HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_BLEND_DESC *pBlendStateDesc,
/* [annotation] */
_Out_opt_ ID3D10BlendState **ppBlendState);
HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,
/* [annotation] */
_Out_opt_ ID3D10DepthStencilState **ppDepthStencilState);
HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_RASTERIZER_DESC *pRasterizerDesc,
/* [annotation] */
_Out_opt_ ID3D10RasterizerState **ppRasterizerState);
HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_SAMPLER_DESC *pSamplerDesc,
/* [annotation] */
_Out_opt_ ID3D10SamplerState **ppSamplerState);
HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_QUERY_DESC *pQueryDesc,
/* [annotation] */
_Out_opt_ ID3D10Query **ppQuery);
HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_QUERY_DESC *pPredicateDesc,
/* [annotation] */
_Out_opt_ ID3D10Predicate **ppPredicate);
HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_COUNTER_DESC *pCounterDesc,
/* [annotation] */
_Out_opt_ ID3D10Counter **ppCounter);
HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
ID3D10Device * This,
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_Out_ UINT *pFormatSupport);
HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
ID3D10Device * This,
/* [annotation] */
_In_ DXGI_FORMAT Format,
/* [annotation] */
_In_ UINT SampleCount,
/* [annotation] */
_Out_ UINT *pNumQualityLevels);
void ( STDMETHODCALLTYPE *CheckCounterInfo )(
ID3D10Device * This,
/* [annotation] */
_Out_ D3D10_COUNTER_INFO *pCounterInfo);
HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
ID3D10Device * This,
/* [annotation] */
_In_ const D3D10_COUNTER_DESC *pDesc,
/* [annotation] */
_Out_ D3D10_COUNTER_TYPE *pType,
/* [annotation] */
_Out_ UINT *pActiveCounters,
/* [annotation] */
_Out_writes_opt_(*pNameLength) LPSTR szName,
/* [annotation] */
_Inout_opt_ UINT *pNameLength,
/* [annotation] */
_Out_writes_opt_(*pUnitsLength) LPSTR szUnits,
/* [annotation] */
_Inout_opt_ UINT *pUnitsLength,
/* [annotation] */
_Out_writes_opt_(*pDescriptionLength) LPSTR szDescription,
/* [annotation] */
_Inout_opt_ UINT *pDescriptionLength);
UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
ID3D10Device * This);
HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
ID3D10Device * This,
/* [annotation] */
_In_ HANDLE hResource,
/* [annotation] */
_In_ REFIID ReturnedInterface,
/* [annotation] */
_Out_opt_ void **ppResource);
void ( STDMETHODCALLTYPE *SetTextFilterSize )(
ID3D10Device * This,
/* [annotation] */
_In_ UINT Width,
/* [annotation] */
_In_ UINT Height);
void ( STDMETHODCALLTYPE *GetTextFilterSize )(
ID3D10Device * This,
/* [annotation] */
_Out_opt_ UINT *pWidth,
/* [annotation] */
_Out_opt_ UINT *pHeight);
END_INTERFACE
} ID3D10DeviceVtbl;
interface ID3D10Device
{
CONST_VTBL struct ID3D10DeviceVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10Device_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10Device_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10Device_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10Device_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D10Device_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D10Device_PSSetShader(This,pPixelShader) \
( (This)->lpVtbl -> PSSetShader(This,pPixelShader) )
#define ID3D10Device_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D10Device_VSSetShader(This,pVertexShader) \
( (This)->lpVtbl -> VSSetShader(This,pVertexShader) )
#define ID3D10Device_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) \
( (This)->lpVtbl -> DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) )
#define ID3D10Device_Draw(This,VertexCount,StartVertexLocation) \
( (This)->lpVtbl -> Draw(This,VertexCount,StartVertexLocation) )
#define ID3D10Device_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D10Device_IASetInputLayout(This,pInputLayout) \
( (This)->lpVtbl -> IASetInputLayout(This,pInputLayout) )
#define ID3D10Device_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
( (This)->lpVtbl -> IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
#define ID3D10Device_IASetIndexBuffer(This,pIndexBuffer,Format,Offset) \
( (This)->lpVtbl -> IASetIndexBuffer(This,pIndexBuffer,Format,Offset) )
#define ID3D10Device_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) \
( (This)->lpVtbl -> DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) )
#define ID3D10Device_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) \
( (This)->lpVtbl -> DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) )
#define ID3D10Device_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D10Device_GSSetShader(This,pShader) \
( (This)->lpVtbl -> GSSetShader(This,pShader) )
#define ID3D10Device_IASetPrimitiveTopology(This,Topology) \
( (This)->lpVtbl -> IASetPrimitiveTopology(This,Topology) )
#define ID3D10Device_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D10Device_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D10Device_SetPredication(This,pPredicate,PredicateValue) \
( (This)->lpVtbl -> SetPredication(This,pPredicate,PredicateValue) )
#define ID3D10Device_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D10Device_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D10Device_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) \
( (This)->lpVtbl -> OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) )
#define ID3D10Device_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) \
( (This)->lpVtbl -> OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) )
#define ID3D10Device_OMSetDepthStencilState(This,pDepthStencilState,StencilRef) \
( (This)->lpVtbl -> OMSetDepthStencilState(This,pDepthStencilState,StencilRef) )
#define ID3D10Device_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) \
( (This)->lpVtbl -> SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) )
#define ID3D10Device_DrawAuto(This) \
( (This)->lpVtbl -> DrawAuto(This) )
#define ID3D10Device_RSSetState(This,pRasterizerState) \
( (This)->lpVtbl -> RSSetState(This,pRasterizerState) )
#define ID3D10Device_RSSetViewports(This,NumViewports,pViewports) \
( (This)->lpVtbl -> RSSetViewports(This,NumViewports,pViewports) )
#define ID3D10Device_RSSetScissorRects(This,NumRects,pRects) \
( (This)->lpVtbl -> RSSetScissorRects(This,NumRects,pRects) )
#define ID3D10Device_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) \
( (This)->lpVtbl -> CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) )
#define ID3D10Device_CopyResource(This,pDstResource,pSrcResource) \
( (This)->lpVtbl -> CopyResource(This,pDstResource,pSrcResource) )
#define ID3D10Device_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) \
( (This)->lpVtbl -> UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) )
#define ID3D10Device_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) \
( (This)->lpVtbl -> ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) )
#define ID3D10Device_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) \
( (This)->lpVtbl -> ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) )
#define ID3D10Device_GenerateMips(This,pShaderResourceView) \
( (This)->lpVtbl -> GenerateMips(This,pShaderResourceView) )
#define ID3D10Device_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) \
( (This)->lpVtbl -> ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) )
#define ID3D10Device_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D10Device_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D10Device_PSGetShader(This,ppPixelShader) \
( (This)->lpVtbl -> PSGetShader(This,ppPixelShader) )
#define ID3D10Device_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D10Device_VSGetShader(This,ppVertexShader) \
( (This)->lpVtbl -> VSGetShader(This,ppVertexShader) )
#define ID3D10Device_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D10Device_IAGetInputLayout(This,ppInputLayout) \
( (This)->lpVtbl -> IAGetInputLayout(This,ppInputLayout) )
#define ID3D10Device_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) \
( (This)->lpVtbl -> IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) )
#define ID3D10Device_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) \
( (This)->lpVtbl -> IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) )
#define ID3D10Device_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) \
( (This)->lpVtbl -> GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) )
#define ID3D10Device_GSGetShader(This,ppGeometryShader) \
( (This)->lpVtbl -> GSGetShader(This,ppGeometryShader) )
#define ID3D10Device_IAGetPrimitiveTopology(This,pTopology) \
( (This)->lpVtbl -> IAGetPrimitiveTopology(This,pTopology) )
#define ID3D10Device_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D10Device_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D10Device_GetPredication(This,ppPredicate,pPredicateValue) \
( (This)->lpVtbl -> GetPredication(This,ppPredicate,pPredicateValue) )
#define ID3D10Device_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) \
( (This)->lpVtbl -> GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) )
#define ID3D10Device_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) \
( (This)->lpVtbl -> GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) )
#define ID3D10Device_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) \
( (This)->lpVtbl -> OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) )
#define ID3D10Device_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) \
( (This)->lpVtbl -> OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) )
#define ID3D10Device_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) \
( (This)->lpVtbl -> OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) )
#define ID3D10Device_SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets) \
( (This)->lpVtbl -> SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets) )
#define ID3D10Device_RSGetState(This,ppRasterizerState) \
( (This)->lpVtbl -> RSGetState(This,ppRasterizerState) )
#define ID3D10Device_RSGetViewports(This,NumViewports,pViewports) \
( (This)->lpVtbl -> RSGetViewports(This,NumViewports,pViewports) )
#define ID3D10Device_RSGetScissorRects(This,NumRects,pRects) \
( (This)->lpVtbl -> RSGetScissorRects(This,NumRects,pRects) )
#define ID3D10Device_GetDeviceRemovedReason(This) \
( (This)->lpVtbl -> GetDeviceRemovedReason(This) )
#define ID3D10Device_SetExceptionMode(This,RaiseFlags) \
( (This)->lpVtbl -> SetExceptionMode(This,RaiseFlags) )
#define ID3D10Device_GetExceptionMode(This) \
( (This)->lpVtbl -> GetExceptionMode(This) )
#define ID3D10Device_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10Device_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10Device_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10Device_ClearState(This) \
( (This)->lpVtbl -> ClearState(This) )
#define ID3D10Device_Flush(This) \
( (This)->lpVtbl -> Flush(This) )
#define ID3D10Device_CreateBuffer(This,pDesc,pInitialData,ppBuffer) \
( (This)->lpVtbl -> CreateBuffer(This,pDesc,pInitialData,ppBuffer) )
#define ID3D10Device_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) \
( (This)->lpVtbl -> CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) )
#define ID3D10Device_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) \
( (This)->lpVtbl -> CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) )
#define ID3D10Device_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) \
( (This)->lpVtbl -> CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) )
#define ID3D10Device_CreateShaderResourceView(This,pResource,pDesc,ppSRView) \
( (This)->lpVtbl -> CreateShaderResourceView(This,pResource,pDesc,ppSRView) )
#define ID3D10Device_CreateRenderTargetView(This,pResource,pDesc,ppRTView) \
( (This)->lpVtbl -> CreateRenderTargetView(This,pResource,pDesc,ppRTView) )
#define ID3D10Device_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) \
( (This)->lpVtbl -> CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) )
#define ID3D10Device_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) \
( (This)->lpVtbl -> CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) )
#define ID3D10Device_CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader) \
( (This)->lpVtbl -> CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader) )
#define ID3D10Device_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader) \
( (This)->lpVtbl -> CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader) )
#define ID3D10Device_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader) \
( (This)->lpVtbl -> CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader) )
#define ID3D10Device_CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader) \
( (This)->lpVtbl -> CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader) )
#define ID3D10Device_CreateBlendState(This,pBlendStateDesc,ppBlendState) \
( (This)->lpVtbl -> CreateBlendState(This,pBlendStateDesc,ppBlendState) )
#define ID3D10Device_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) \
( (This)->lpVtbl -> CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) )
#define ID3D10Device_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) \
( (This)->lpVtbl -> CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) )
#define ID3D10Device_CreateSamplerState(This,pSamplerDesc,ppSamplerState) \
( (This)->lpVtbl -> CreateSamplerState(This,pSamplerDesc,ppSamplerState) )
#define ID3D10Device_CreateQuery(This,pQueryDesc,ppQuery) \
( (This)->lpVtbl -> CreateQuery(This,pQueryDesc,ppQuery) )
#define ID3D10Device_CreatePredicate(This,pPredicateDesc,ppPredicate) \
( (This)->lpVtbl -> CreatePredicate(This,pPredicateDesc,ppPredicate) )
#define ID3D10Device_CreateCounter(This,pCounterDesc,ppCounter) \
( (This)->lpVtbl -> CreateCounter(This,pCounterDesc,ppCounter) )
#define ID3D10Device_CheckFormatSupport(This,Format,pFormatSupport) \
( (This)->lpVtbl -> CheckFormatSupport(This,Format,pFormatSupport) )
#define ID3D10Device_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) \
( (This)->lpVtbl -> CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) )
#define ID3D10Device_CheckCounterInfo(This,pCounterInfo) \
( (This)->lpVtbl -> CheckCounterInfo(This,pCounterInfo) )
#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) )
#define ID3D10Device_GetCreationFlags(This) \
( (This)->lpVtbl -> GetCreationFlags(This) )
#define ID3D10Device_OpenSharedResource(This,hResource,ReturnedInterface,ppResource) \
( (This)->lpVtbl -> OpenSharedResource(This,hResource,ReturnedInterface,ppResource) )
#define ID3D10Device_SetTextFilterSize(This,Width,Height) \
( (This)->lpVtbl -> SetTextFilterSize(This,Width,Height) )
#define ID3D10Device_GetTextFilterSize(This,pWidth,pHeight) \
( (This)->lpVtbl -> GetTextFilterSize(This,pWidth,pHeight) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10Device_INTERFACE_DEFINED__ */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#pragma region Application Family
#pragma region Application Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
extern
__MIDL_itf_d3d10_0000_0023_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0023_v0_0_s_ifspec
;
#ifndef __ID3D10Multithread_INTERFACE_DEFINED__
#define __ID3D10Multithread_INTERFACE_DEFINED__
EXTERN_C const IID IID_ID3D10Multithread;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4E00-342C-4106-A19F-4F2704F689F0")
struct
__declspec
(uuid(
"9B7E4E00-342C-4106-A19F-4F2704F689F0"
))
__declspec
(novtable)
:
public
{
public
:
virtual void STDMETHODCALLTYPE Enter( void) = 0;
virtual
void
__stdcall
(
void
) =
0
;
virtual void STDMETHODCALLTYPE Leave( void) = 0;
virtual
void
__stdcall
(
void
) =
0
;
virtual BOOL STDMETHODCALLTYPE SetMultithreadProtected(
_In_ BOOL bMTProtect) = 0;
virtual BOOL STDMETHODCALLTYPE GetMultithreadProtected( void) = 0;
virtual
__stdcall
(
void
) =
0
;
};
#else /* C style interface */
typedef struct ID3D10MultithreadVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Multithread * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Multithread * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Multithread * This);
void ( STDMETHODCALLTYPE *Enter )(
ID3D10Multithread * This);
void ( STDMETHODCALLTYPE *Leave )(
ID3D10Multithread * This);
BOOL ( STDMETHODCALLTYPE *SetMultithreadProtected )(
ID3D10Multithread * This,
/* [annotation] */
_In_ BOOL bMTProtect);
BOOL ( STDMETHODCALLTYPE *GetMultithreadProtected )(
ID3D10Multithread * This);
END_INTERFACE
} ID3D10MultithreadVtbl;
interface ID3D10Multithread
{
CONST_VTBL struct ID3D10MultithreadVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10Multithread_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10Multithread_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10Multithread_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10Multithread_Enter(This) \
( (This)->lpVtbl -> Enter(This) )
#define ID3D10Multithread_Leave(This) \
( (This)->lpVtbl -> Leave(This) )
#define ID3D10Multithread_SetMultithreadProtected(This,bMTProtect) \
( (This)->lpVtbl -> SetMultithreadProtected(This,bMTProtect) )
#define ID3D10Multithread_GetMultithreadProtected(This) \
( (This)->lpVtbl -> GetMultithreadProtected(This) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10Multithread_INTERFACE_DEFINED__ */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
#pragma endregion
#pragma endregion
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
typedef
enum
{
D3D10_CREATE_DEVICE_SINGLETHREADED
=
0x1
,
D3D10_CREATE_DEVICE_DEBUG
=
0x2
,
D3D10_CREATE_DEVICE_SWITCH_TO_REF
=
0x4
,
D3D10_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS
=
0x8
,
D3D10_CREATE_DEVICE_ALLOW_NULL_FROM_MAP
=
0x10
,
D3D10_CREATE_DEVICE_BGRA_SUPPORT
=
0x20
,
D3D10_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY
=
0x80
,
D3D10_CREATE_DEVICE_STRICT_VALIDATION
=
0x200
,
D3D10_CREATE_DEVICE_DEBUGGABLE
=
0x400
}
;
#define D3D10_SDK_VERSION ( 29 )
#if !defined( D3D10_IGNORE_SDK_LAYERS )
#include "d3d10sdklayers.h"
#endif
#include "d3d10misc.h"
#include "d3d10shader.h"
#include "d3d10effect.h"
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
DEFINE_GUID(IID_ID3D10DeviceChild,0x9B7E4C00,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10DepthStencilState,0x2B4B1CC8,0xA4AD,0x41f8,0x83,0x22,0xCA,0x86,0xFC,0x3E,0xC6,0x75);
extern
"C"
const
IID_ID3D10DepthStencilState
;
DEFINE_GUID(IID_ID3D10BlendState,0xEDAD8D19,0x8A35,0x4d6d,0x85,0x66,0x2E,0xA2,0x76,0xCD,0xE1,0x61);
DEFINE_GUID(IID_ID3D10RasterizerState,0xA2A07292,0x89AF,0x4345,0xBE,0x2E,0xC5,0x3D,0x9F,0xBB,0x6E,0x9F);
extern
"C"
const
IID_ID3D10RasterizerState
;
DEFINE_GUID(IID_ID3D10Resource,0x9B7E4C01,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10Buffer,0x9B7E4C02,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10Texture1D,0x9B7E4C03,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10Texture2D,0x9B7E4C04,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10Texture3D,0x9B7E4C05,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10View,0xC902B03F,0x60A7,0x49BA,0x99,0x36,0x2A,0x3A,0xB3,0x7A,0x7E,0x33);
DEFINE_GUID(IID_ID3D10ShaderResourceView,0x9B7E4C07,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
extern
"C"
const
IID_ID3D10ShaderResourceView
;
DEFINE_GUID(IID_ID3D10RenderTargetView,0x9B7E4C08,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
extern
"C"
const
IID_ID3D10RenderTargetView
;
DEFINE_GUID(IID_ID3D10DepthStencilView,0x9B7E4C09,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
extern
"C"
const
IID_ID3D10DepthStencilView
;
DEFINE_GUID(IID_ID3D10VertexShader,0x9B7E4C0A,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10GeometryShader,0x6316BE88,0x54CD,0x4040,0xAB,0x44,0x20,0x46,0x1B,0xC8,0x1F,0x68);
DEFINE_GUID(IID_ID3D10PixelShader,0x4968B601,0x9D00,0x4cde,0x83,0x46,0x8E,0x7F,0x67,0x58,0x19,0xB6);
DEFINE_GUID(IID_ID3D10InputLayout,0x9B7E4C0B,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10SamplerState,0x9B7E4C0C,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10Asynchronous,0x9B7E4C0D,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10Query,0x9B7E4C0E,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10Predicate,0x9B7E4C10,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10Counter,0x9B7E4C11,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10Device,0x9B7E4C0F,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
DEFINE_GUID(IID_ID3D10Multithread,0x9B7E4E00,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
extern
__MIDL_itf_d3d10_0000_0024_v0_0_c_ifspec
;
extern
__MIDL_itf_d3d10_0000_0024_v0_0_s_ifspec
;
#ifdef __cplusplus
}
#endif
#endif