Sfoglia il codice sorgente

Removed D3D10 headers.

Branimir Karadžić 8 anni fa
parent
commit
e2c60453bf

+ 0 - 6804
3rdparty/dxsdk/include/d3d10.h

@@ -1,6804 +0,0 @@
-/*-------------------------------------------------------------------------------------
- *
- * Copyright (c) Microsoft Corporation
- *
- *-------------------------------------------------------------------------------------*/
-
-
-/* this ALWAYS GENERATED file contains the definitions for the interfaces */
-
-
- /* File created by MIDL compiler version 8.00.0613 */
-/* @@MIDL_FILE_HEADING(  ) */
-
-
-
-/* verify that the <rpcndr.h> version is high enough to compile this file*/
-#ifndef __REQUIRED_RPCNDR_H_VERSION__
-#define __REQUIRED_RPCNDR_H_VERSION__ 500
-#endif
-
-/* verify that the <rpcsal.h> version is high enough to compile this file*/
-#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
-
-/* Forward Declarations */ 
-
-#ifndef __ID3D10DeviceChild_FWD_DEFINED__
-#define __ID3D10DeviceChild_FWD_DEFINED__
-typedef interface ID3D10DeviceChild ID3D10DeviceChild;
-
-#endif 	/* __ID3D10DeviceChild_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10DepthStencilState_FWD_DEFINED__
-#define __ID3D10DepthStencilState_FWD_DEFINED__
-typedef interface ID3D10DepthStencilState ID3D10DepthStencilState;
-
-#endif 	/* __ID3D10DepthStencilState_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10BlendState_FWD_DEFINED__
-#define __ID3D10BlendState_FWD_DEFINED__
-typedef interface ID3D10BlendState ID3D10BlendState;
-
-#endif 	/* __ID3D10BlendState_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10RasterizerState_FWD_DEFINED__
-#define __ID3D10RasterizerState_FWD_DEFINED__
-typedef interface ID3D10RasterizerState ID3D10RasterizerState;
-
-#endif 	/* __ID3D10RasterizerState_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Resource_FWD_DEFINED__
-#define __ID3D10Resource_FWD_DEFINED__
-typedef interface ID3D10Resource ID3D10Resource;
-
-#endif 	/* __ID3D10Resource_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Buffer_FWD_DEFINED__
-#define __ID3D10Buffer_FWD_DEFINED__
-typedef interface ID3D10Buffer ID3D10Buffer;
-
-#endif 	/* __ID3D10Buffer_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Texture1D_FWD_DEFINED__
-#define __ID3D10Texture1D_FWD_DEFINED__
-typedef interface ID3D10Texture1D ID3D10Texture1D;
-
-#endif 	/* __ID3D10Texture1D_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Texture2D_FWD_DEFINED__
-#define __ID3D10Texture2D_FWD_DEFINED__
-typedef interface ID3D10Texture2D ID3D10Texture2D;
-
-#endif 	/* __ID3D10Texture2D_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Texture3D_FWD_DEFINED__
-#define __ID3D10Texture3D_FWD_DEFINED__
-typedef interface ID3D10Texture3D ID3D10Texture3D;
-
-#endif 	/* __ID3D10Texture3D_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10View_FWD_DEFINED__
-#define __ID3D10View_FWD_DEFINED__
-typedef interface ID3D10View ID3D10View;
-
-#endif 	/* __ID3D10View_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10ShaderResourceView_FWD_DEFINED__
-#define __ID3D10ShaderResourceView_FWD_DEFINED__
-typedef interface ID3D10ShaderResourceView ID3D10ShaderResourceView;
-
-#endif 	/* __ID3D10ShaderResourceView_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10RenderTargetView_FWD_DEFINED__
-#define __ID3D10RenderTargetView_FWD_DEFINED__
-typedef interface ID3D10RenderTargetView ID3D10RenderTargetView;
-
-#endif 	/* __ID3D10RenderTargetView_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10DepthStencilView_FWD_DEFINED__
-#define __ID3D10DepthStencilView_FWD_DEFINED__
-typedef interface ID3D10DepthStencilView ID3D10DepthStencilView;
-
-#endif 	/* __ID3D10DepthStencilView_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10VertexShader_FWD_DEFINED__
-#define __ID3D10VertexShader_FWD_DEFINED__
-typedef interface ID3D10VertexShader ID3D10VertexShader;
-
-#endif 	/* __ID3D10VertexShader_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10GeometryShader_FWD_DEFINED__
-#define __ID3D10GeometryShader_FWD_DEFINED__
-typedef interface ID3D10GeometryShader ID3D10GeometryShader;
-
-#endif 	/* __ID3D10GeometryShader_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10PixelShader_FWD_DEFINED__
-#define __ID3D10PixelShader_FWD_DEFINED__
-typedef interface ID3D10PixelShader ID3D10PixelShader;
-
-#endif 	/* __ID3D10PixelShader_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10InputLayout_FWD_DEFINED__
-#define __ID3D10InputLayout_FWD_DEFINED__
-typedef interface ID3D10InputLayout ID3D10InputLayout;
-
-#endif 	/* __ID3D10InputLayout_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10SamplerState_FWD_DEFINED__
-#define __ID3D10SamplerState_FWD_DEFINED__
-typedef interface ID3D10SamplerState ID3D10SamplerState;
-
-#endif 	/* __ID3D10SamplerState_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Asynchronous_FWD_DEFINED__
-#define __ID3D10Asynchronous_FWD_DEFINED__
-typedef interface ID3D10Asynchronous ID3D10Asynchronous;
-
-#endif 	/* __ID3D10Asynchronous_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Query_FWD_DEFINED__
-#define __ID3D10Query_FWD_DEFINED__
-typedef interface ID3D10Query ID3D10Query;
-
-#endif 	/* __ID3D10Query_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Predicate_FWD_DEFINED__
-#define __ID3D10Predicate_FWD_DEFINED__
-typedef interface ID3D10Predicate ID3D10Predicate;
-
-#endif 	/* __ID3D10Predicate_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Counter_FWD_DEFINED__
-#define __ID3D10Counter_FWD_DEFINED__
-typedef interface ID3D10Counter ID3D10Counter;
-
-#endif 	/* __ID3D10Counter_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Device_FWD_DEFINED__
-#define __ID3D10Device_FWD_DEFINED__
-typedef interface ID3D10Device ID3D10Device;
-
-#endif 	/* __ID3D10Device_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Multithread_FWD_DEFINED__
-#define __ID3D10Multithread_FWD_DEFINED__
-typedef interface ID3D10Multithread ID3D10Multithread;
-
-#endif 	/* __ID3D10Multithread_FWD_DEFINED__ */
-
-
-/* header files for imported files */
-#include "oaidl.h"
-#include "ocidl.h"
-#include "dxgi.h"
-#include "d3dcommon.h"
-
-#ifdef __cplusplus
-extern "C"{
-#endif 
-
-
-/* interface __MIDL_itf_d3d10_0000_0000 */
-/* [local] */ 
-
-#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
-#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 )
-/* Direct3D errors are now found in winerror.h */
-typedef 
-enum D3D10_INPUT_CLASSIFICATION
-    {
-        D3D10_INPUT_PER_VERTEX_DATA	= 0,
-        D3D10_INPUT_PER_INSTANCE_DATA	= 1
-    } 	D3D10_INPUT_CLASSIFICATION;
-
-#define	D3D10_APPEND_ALIGNED_ELEMENT	( 0xffffffff )
-
-typedef struct D3D10_INPUT_ELEMENT_DESC
-    {
-    LPCSTR SemanticName;
-    UINT SemanticIndex;
-    DXGI_FORMAT Format;
-    UINT InputSlot;
-    UINT AlignedByteOffset;
-    D3D10_INPUT_CLASSIFICATION InputSlotClass;
-    UINT InstanceDataStepRate;
-    } 	D3D10_INPUT_ELEMENT_DESC;
-
-typedef 
-enum D3D10_FILL_MODE
-    {
-        D3D10_FILL_WIREFRAME	= 2,
-        D3D10_FILL_SOLID	= 3
-    } 	D3D10_FILL_MODE;
-
-typedef D3D_PRIMITIVE_TOPOLOGY D3D10_PRIMITIVE_TOPOLOGY;
-
-typedef D3D_PRIMITIVE D3D10_PRIMITIVE;
-
-typedef 
-enum D3D10_CULL_MODE
-    {
-        D3D10_CULL_NONE	= 1,
-        D3D10_CULL_FRONT	= 2,
-        D3D10_CULL_BACK	= 3
-    } 	D3D10_CULL_MODE;
-
-typedef struct D3D10_SO_DECLARATION_ENTRY
-    {
-    LPCSTR SemanticName;
-    UINT SemanticIndex;
-    BYTE StartComponent;
-    BYTE ComponentCount;
-    BYTE OutputSlot;
-    } 	D3D10_SO_DECLARATION_ENTRY;
-
-typedef struct D3D10_VIEWPORT
-    {
-    INT TopLeftX;
-    INT TopLeftY;
-    UINT Width;
-    UINT Height;
-    FLOAT MinDepth;
-    FLOAT MaxDepth;
-    } 	D3D10_VIEWPORT;
-
-typedef 
-enum D3D10_RESOURCE_DIMENSION
-    {
-        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
-    } 	D3D10_RESOURCE_DIMENSION;
-
-typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION;
-
-typedef 
-enum D3D10_DSV_DIMENSION
-    {
-        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
-    } 	D3D10_DSV_DIMENSION;
-
-typedef 
-enum D3D10_RTV_DIMENSION
-    {
-        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
-    } 	D3D10_RTV_DIMENSION;
-
-typedef 
-enum D3D10_USAGE
-    {
-        D3D10_USAGE_DEFAULT	= 0,
-        D3D10_USAGE_IMMUTABLE	= 1,
-        D3D10_USAGE_DYNAMIC	= 2,
-        D3D10_USAGE_STAGING	= 3
-    } 	D3D10_USAGE;
-
-typedef 
-enum D3D10_BIND_FLAG
-    {
-        D3D10_BIND_VERTEX_BUFFER	= 0x1L,
-        D3D10_BIND_INDEX_BUFFER	= 0x2L,
-        D3D10_BIND_CONSTANT_BUFFER	= 0x4L,
-        D3D10_BIND_SHADER_RESOURCE	= 0x8L,
-        D3D10_BIND_STREAM_OUTPUT	= 0x10L,
-        D3D10_BIND_RENDER_TARGET	= 0x20L,
-        D3D10_BIND_DEPTH_STENCIL	= 0x40L
-    } 	D3D10_BIND_FLAG;
-
-typedef 
-enum D3D10_CPU_ACCESS_FLAG
-    {
-        D3D10_CPU_ACCESS_WRITE	= 0x10000L,
-        D3D10_CPU_ACCESS_READ	= 0x20000L
-    } 	D3D10_CPU_ACCESS_FLAG;
-
-typedef 
-enum D3D10_RESOURCE_MISC_FLAG
-    {
-        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
-    } 	D3D10_RESOURCE_MISC_FLAG;
-
-typedef 
-enum D3D10_MAP
-    {
-        D3D10_MAP_READ	= 1,
-        D3D10_MAP_WRITE	= 2,
-        D3D10_MAP_READ_WRITE	= 3,
-        D3D10_MAP_WRITE_DISCARD	= 4,
-        D3D10_MAP_WRITE_NO_OVERWRITE	= 5
-    } 	D3D10_MAP;
-
-typedef 
-enum D3D10_MAP_FLAG
-    {
-        D3D10_MAP_FLAG_DO_NOT_WAIT	= 0x100000L
-    } 	D3D10_MAP_FLAG;
-
-typedef 
-enum D3D10_RAISE_FLAG
-    {
-        D3D10_RAISE_FLAG_DRIVER_INTERNAL_ERROR	= 0x1L
-    } 	D3D10_RAISE_FLAG;
-
-typedef 
-enum D3D10_CLEAR_FLAG
-    {
-        D3D10_CLEAR_DEPTH	= 0x1L,
-        D3D10_CLEAR_STENCIL	= 0x2L
-    } 	D3D10_CLEAR_FLAG;
-
-typedef RECT D3D10_RECT;
-
-typedef struct D3D10_BOX
-    {
-    UINT left;
-    UINT top;
-    UINT front;
-    UINT right;
-    UINT bottom;
-    UINT back;
-    } 	D3D10_BOX;
-
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0000_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0000_v0_0_s_ifspec;
-
-#ifndef __ID3D10DeviceChild_INTERFACE_DEFINED__
-#define __ID3D10DeviceChild_INTERFACE_DEFINED__
-
-/* interface ID3D10DeviceChild */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10DeviceChild;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C00-342C-4106-A19F-4F2704F689F0")
-    ID3D10DeviceChild : public IUnknown
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDevice( 
-            /* [annotation] */ 
-            _Out_  ID3D10Device **ppDevice) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetPrivateData( 
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _Inout_  UINT *pDataSize,
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(*pDataSize)  void *pData) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetPrivateData( 
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _In_  UINT DataSize,
-            /* [annotation] */ 
-            _In_reads_bytes_opt_(DataSize)  const void *pData) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( 
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0001 */
-/* [local] */ 
-
-typedef 
-enum D3D10_COMPARISON_FUNC
-    {
-        D3D10_COMPARISON_NEVER	= 1,
-        D3D10_COMPARISON_LESS	= 2,
-        D3D10_COMPARISON_EQUAL	= 3,
-        D3D10_COMPARISON_LESS_EQUAL	= 4,
-        D3D10_COMPARISON_GREATER	= 5,
-        D3D10_COMPARISON_NOT_EQUAL	= 6,
-        D3D10_COMPARISON_GREATER_EQUAL	= 7,
-        D3D10_COMPARISON_ALWAYS	= 8
-    } 	D3D10_COMPARISON_FUNC;
-
-typedef 
-enum D3D10_DEPTH_WRITE_MASK
-    {
-        D3D10_DEPTH_WRITE_MASK_ZERO	= 0,
-        D3D10_DEPTH_WRITE_MASK_ALL	= 1
-    } 	D3D10_DEPTH_WRITE_MASK;
-
-typedef 
-enum D3D10_STENCIL_OP
-    {
-        D3D10_STENCIL_OP_KEEP	= 1,
-        D3D10_STENCIL_OP_ZERO	= 2,
-        D3D10_STENCIL_OP_REPLACE	= 3,
-        D3D10_STENCIL_OP_INCR_SAT	= 4,
-        D3D10_STENCIL_OP_DECR_SAT	= 5,
-        D3D10_STENCIL_OP_INVERT	= 6,
-        D3D10_STENCIL_OP_INCR	= 7,
-        D3D10_STENCIL_OP_DECR	= 8
-    } 	D3D10_STENCIL_OP;
-
-typedef struct D3D10_DEPTH_STENCILOP_DESC
-    {
-    D3D10_STENCIL_OP StencilFailOp;
-    D3D10_STENCIL_OP StencilDepthFailOp;
-    D3D10_STENCIL_OP StencilPassOp;
-    D3D10_COMPARISON_FUNC StencilFunc;
-    } 	D3D10_DEPTH_STENCILOP_DESC;
-
-typedef struct D3D10_DEPTH_STENCIL_DESC
-    {
-    BOOL DepthEnable;
-    D3D10_DEPTH_WRITE_MASK DepthWriteMask;
-    D3D10_COMPARISON_FUNC DepthFunc;
-    BOOL StencilEnable;
-    UINT8 StencilReadMask;
-    UINT8 StencilWriteMask;
-    D3D10_DEPTH_STENCILOP_DESC FrontFace;
-    D3D10_DEPTH_STENCILOP_DESC BackFace;
-    } 	D3D10_DEPTH_STENCIL_DESC;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0001_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0001_v0_0_s_ifspec;
-
-#ifndef __ID3D10DepthStencilState_INTERFACE_DEFINED__
-#define __ID3D10DepthStencilState_INTERFACE_DEFINED__
-
-/* interface ID3D10DepthStencilState */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10DepthStencilState;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("2B4B1CC8-A4AD-41f8-8322-CA86FC3EC675")
-    ID3D10DepthStencilState : public ID3D10DeviceChild
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0002 */
-/* [local] */ 
-
-typedef 
-enum D3D10_BLEND
-    {
-        D3D10_BLEND_ZERO	= 1,
-        D3D10_BLEND_ONE	= 2,
-        D3D10_BLEND_SRC_COLOR	= 3,
-        D3D10_BLEND_INV_SRC_COLOR	= 4,
-        D3D10_BLEND_SRC_ALPHA	= 5,
-        D3D10_BLEND_INV_SRC_ALPHA	= 6,
-        D3D10_BLEND_DEST_ALPHA	= 7,
-        D3D10_BLEND_INV_DEST_ALPHA	= 8,
-        D3D10_BLEND_DEST_COLOR	= 9,
-        D3D10_BLEND_INV_DEST_COLOR	= 10,
-        D3D10_BLEND_SRC_ALPHA_SAT	= 11,
-        D3D10_BLEND_BLEND_FACTOR	= 14,
-        D3D10_BLEND_INV_BLEND_FACTOR	= 15,
-        D3D10_BLEND_SRC1_COLOR	= 16,
-        D3D10_BLEND_INV_SRC1_COLOR	= 17,
-        D3D10_BLEND_SRC1_ALPHA	= 18,
-        D3D10_BLEND_INV_SRC1_ALPHA	= 19
-    } 	D3D10_BLEND;
-
-typedef 
-enum D3D10_BLEND_OP
-    {
-        D3D10_BLEND_OP_ADD	= 1,
-        D3D10_BLEND_OP_SUBTRACT	= 2,
-        D3D10_BLEND_OP_REV_SUBTRACT	= 3,
-        D3D10_BLEND_OP_MIN	= 4,
-        D3D10_BLEND_OP_MAX	= 5
-    } 	D3D10_BLEND_OP;
-
-typedef 
-enum D3D10_COLOR_WRITE_ENABLE
-    {
-        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 ) 
-    } 	D3D10_COLOR_WRITE_ENABLE;
-
-typedef struct D3D10_BLEND_DESC
-    {
-    BOOL AlphaToCoverageEnable;
-    BOOL BlendEnable[ 8 ];
-    D3D10_BLEND SrcBlend;
-    D3D10_BLEND DestBlend;
-    D3D10_BLEND_OP BlendOp;
-    D3D10_BLEND SrcBlendAlpha;
-    D3D10_BLEND DestBlendAlpha;
-    D3D10_BLEND_OP BlendOpAlpha;
-    UINT8 RenderTargetWriteMask[ 8 ];
-    } 	D3D10_BLEND_DESC;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0002_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0002_v0_0_s_ifspec;
-
-#ifndef __ID3D10BlendState_INTERFACE_DEFINED__
-#define __ID3D10BlendState_INTERFACE_DEFINED__
-
-/* interface ID3D10BlendState */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10BlendState;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("EDAD8D19-8A35-4d6d-8566-2EA276CDE161")
-    ID3D10BlendState : public ID3D10DeviceChild
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0003 */
-/* [local] */ 
-
-typedef struct D3D10_RASTERIZER_DESC
-    {
-    D3D10_FILL_MODE FillMode;
-    D3D10_CULL_MODE CullMode;
-    BOOL FrontCounterClockwise;
-    INT DepthBias;
-    FLOAT DepthBiasClamp;
-    FLOAT SlopeScaledDepthBias;
-    BOOL DepthClipEnable;
-    BOOL ScissorEnable;
-    BOOL MultisampleEnable;
-    BOOL AntialiasedLineEnable;
-    } 	D3D10_RASTERIZER_DESC;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0003_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0003_v0_0_s_ifspec;
-
-#ifndef __ID3D10RasterizerState_INTERFACE_DEFINED__
-#define __ID3D10RasterizerState_INTERFACE_DEFINED__
-
-/* interface ID3D10RasterizerState */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10RasterizerState;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("A2A07292-89AF-4345-BE2E-C53D9FBB6E9F")
-    ID3D10RasterizerState : public ID3D10DeviceChild
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0004 */
-/* [local] */ 
-
-#if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
-inline UINT D3D10CalcSubresource( UINT MipSlice, UINT ArraySlice, UINT MipLevels )
-{ return MipSlice + ArraySlice * MipLevels; }
-#endif
-typedef struct D3D10_SUBRESOURCE_DATA
-    {
-    const void *pSysMem;
-    UINT SysMemPitch;
-    UINT SysMemSlicePitch;
-    } 	D3D10_SUBRESOURCE_DATA;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0004_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0004_v0_0_s_ifspec;
-
-#ifndef __ID3D10Resource_INTERFACE_DEFINED__
-#define __ID3D10Resource_INTERFACE_DEFINED__
-
-/* interface ID3D10Resource */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Resource;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C01-342C-4106-A19F-4F2704F689F0")
-    ID3D10Resource : public ID3D10DeviceChild
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetType( 
-            /* [annotation] */ 
-            _Out_  D3D10_RESOURCE_DIMENSION *rType) = 0;
-        
-        virtual void STDMETHODCALLTYPE SetEvictionPriority( 
-            /* [annotation] */ 
-            _In_  UINT EvictionPriority) = 0;
-        
-        virtual UINT STDMETHODCALLTYPE GetEvictionPriority( 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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0005 */
-/* [local] */ 
-
-typedef struct D3D10_BUFFER_DESC
-    {
-    UINT ByteWidth;
-    D3D10_USAGE Usage;
-    UINT BindFlags;
-    UINT CPUAccessFlags;
-    UINT MiscFlags;
-    } 	D3D10_BUFFER_DESC;
-
-#if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
-struct CD3D10_BUFFER_DESC : public D3D10_BUFFER_DESC
-{
-    CD3D10_BUFFER_DESC()
-    {}
-    explicit CD3D10_BUFFER_DESC( const D3D10_BUFFER_DESC& o ) :
-        D3D10_BUFFER_DESC( o )
-    {}
-    explicit CD3D10_BUFFER_DESC(
-        UINT byteWidth,
-        UINT bindFlags,
-        D3D10_USAGE usage = D3D10_USAGE_DEFAULT,
-        UINT cpuaccessFlags = 0,
-        UINT miscFlags = 0 )
-    {
-        ByteWidth = byteWidth;
-        Usage = usage;
-        BindFlags = bindFlags;
-        CPUAccessFlags = cpuaccessFlags ;
-        MiscFlags = miscFlags;
-    }
-    ~CD3D10_BUFFER_DESC() {}
-//    operator const D3D10_BUFFER_DESC&() const { return *this; }
-};
-#endif
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0005_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0005_v0_0_s_ifspec;
-
-#ifndef __ID3D10Buffer_INTERFACE_DEFINED__
-#define __ID3D10Buffer_INTERFACE_DEFINED__
-
-/* interface ID3D10Buffer */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Buffer;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C02-342C-4106-A19F-4F2704F689F0")
-    ID3D10Buffer : public ID3D10Resource
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE Map( 
-            /* [annotation] */ 
-            _In_  D3D10_MAP MapType,
-            /* [annotation] */ 
-            _In_  UINT MapFlags,
-            /* [annotation] */ 
-            _Out_  void **ppData) = 0;
-        
-        virtual void STDMETHODCALLTYPE Unmap( void) = 0;
-        
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0006 */
-/* [local] */ 
-
-typedef struct D3D10_TEXTURE1D_DESC
-    {
-    UINT Width;
-    UINT MipLevels;
-    UINT ArraySize;
-    DXGI_FORMAT Format;
-    D3D10_USAGE Usage;
-    UINT BindFlags;
-    UINT CPUAccessFlags;
-    UINT MiscFlags;
-    } 	D3D10_TEXTURE1D_DESC;
-
-#if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
-struct CD3D10_TEXTURE1D_DESC : public D3D10_TEXTURE1D_DESC
-{
-    CD3D10_TEXTURE1D_DESC()
-    {}
-    explicit CD3D10_TEXTURE1D_DESC( const D3D10_TEXTURE1D_DESC& o ) :
-        D3D10_TEXTURE1D_DESC( o )
-    {}
-    explicit CD3D10_TEXTURE1D_DESC(
-        DXGI_FORMAT format,
-        UINT width,
-        UINT arraySize = 1,
-        UINT mipLevels = 0,
-        UINT bindFlags = D3D10_BIND_SHADER_RESOURCE,
-        D3D10_USAGE usage = D3D10_USAGE_DEFAULT,
-        UINT cpuaccessFlags= 0,
-        UINT miscFlags = 0 )
-    {
-        Width = width;
-        MipLevels = mipLevels;
-        ArraySize = arraySize;
-        Format = format;
-        Usage = usage;
-        BindFlags = bindFlags;
-        CPUAccessFlags = cpuaccessFlags;
-        MiscFlags = miscFlags;
-    }
-    ~CD3D10_TEXTURE1D_DESC() {}
-//    operator const D3D10_TEXTURE1D_DESC&() const { return *this; }
-};
-#endif
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0006_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0006_v0_0_s_ifspec;
-
-#ifndef __ID3D10Texture1D_INTERFACE_DEFINED__
-#define __ID3D10Texture1D_INTERFACE_DEFINED__
-
-/* interface ID3D10Texture1D */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Texture1D;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C03-342C-4106-A19F-4F2704F689F0")
-    ID3D10Texture1D : public ID3D10Resource
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE Map( 
-            /* [annotation] */ 
-            _In_  UINT Subresource,
-            /* [annotation] */ 
-            _In_  D3D10_MAP MapType,
-            /* [annotation] */ 
-            _In_  UINT MapFlags,
-            /* [annotation] */ 
-            _Out_  void **ppData) = 0;
-        
-        virtual void STDMETHODCALLTYPE Unmap( 
-            /* [annotation] */ 
-            _In_  UINT Subresource) = 0;
-        
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0007 */
-/* [local] */ 
-
-typedef struct D3D10_TEXTURE2D_DESC
-    {
-    UINT Width;
-    UINT Height;
-    UINT MipLevels;
-    UINT ArraySize;
-    DXGI_FORMAT Format;
-    DXGI_SAMPLE_DESC SampleDesc;
-    D3D10_USAGE Usage;
-    UINT BindFlags;
-    UINT CPUAccessFlags;
-    UINT MiscFlags;
-    } 	D3D10_TEXTURE2D_DESC;
-
-#if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
-struct CD3D10_TEXTURE2D_DESC : public D3D10_TEXTURE2D_DESC
-{
-    CD3D10_TEXTURE2D_DESC()
-    {}
-    explicit CD3D10_TEXTURE2D_DESC( const D3D10_TEXTURE2D_DESC& o ) :
-        D3D10_TEXTURE2D_DESC( o )
-    {}
-    explicit CD3D10_TEXTURE2D_DESC(
-        DXGI_FORMAT format,
-        UINT width,
-        UINT height,
-        UINT arraySize = 1,
-        UINT mipLevels = 0,
-        UINT bindFlags = D3D10_BIND_SHADER_RESOURCE,
-        D3D10_USAGE usage = D3D10_USAGE_DEFAULT,
-        UINT cpuaccessFlags = 0,
-        UINT sampleCount = 1,
-        UINT sampleQuality = 0,
-        UINT miscFlags = 0 )
-    {
-        Width = width;
-        Height = height;
-        MipLevels = mipLevels;
-        ArraySize = arraySize;
-        Format = format;
-        SampleDesc.Count = sampleCount;
-        SampleDesc.Quality = sampleQuality;
-        Usage = usage;
-        BindFlags = bindFlags;
-        CPUAccessFlags = cpuaccessFlags;
-        MiscFlags = miscFlags;
-    }
-    ~CD3D10_TEXTURE2D_DESC() {}
-//    operator const D3D10_TEXTURE2D_DESC&() const { return *this; }
-};
-#endif
-typedef struct D3D10_MAPPED_TEXTURE2D
-    {
-    void *pData;
-    UINT RowPitch;
-    } 	D3D10_MAPPED_TEXTURE2D;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0007_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0007_v0_0_s_ifspec;
-
-#ifndef __ID3D10Texture2D_INTERFACE_DEFINED__
-#define __ID3D10Texture2D_INTERFACE_DEFINED__
-
-/* interface ID3D10Texture2D */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Texture2D;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C04-342C-4106-A19F-4F2704F689F0")
-    ID3D10Texture2D : public ID3D10Resource
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE Map( 
-            /* [annotation] */ 
-            _In_  UINT Subresource,
-            /* [annotation] */ 
-            _In_  D3D10_MAP MapType,
-            /* [annotation] */ 
-            _In_  UINT MapFlags,
-            /* [annotation] */ 
-            _Out_  D3D10_MAPPED_TEXTURE2D *pMappedTex2D) = 0;
-        
-        virtual void STDMETHODCALLTYPE Unmap( 
-            /* [annotation] */ 
-            _In_  UINT Subresource) = 0;
-        
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0008 */
-/* [local] */ 
-
-typedef struct D3D10_TEXTURE3D_DESC
-    {
-    UINT Width;
-    UINT Height;
-    UINT Depth;
-    UINT MipLevels;
-    DXGI_FORMAT Format;
-    D3D10_USAGE Usage;
-    UINT BindFlags;
-    UINT CPUAccessFlags;
-    UINT MiscFlags;
-    } 	D3D10_TEXTURE3D_DESC;
-
-#if !defined( D3D10_NO_HELPERS ) && defined( __cplusplus )
-struct CD3D10_TEXTURE3D_DESC : public D3D10_TEXTURE3D_DESC
-{
-    CD3D10_TEXTURE3D_DESC()
-    {}
-    explicit CD3D10_TEXTURE3D_DESC( const D3D10_TEXTURE3D_DESC& o ) :
-        D3D10_TEXTURE3D_DESC( o )
-    {}
-    explicit CD3D10_TEXTURE3D_DESC(
-        DXGI_FORMAT format,
-        UINT width,
-        UINT height,
-        UINT depth,
-        UINT mipLevels = 0,
-        UINT bindFlags = D3D10_BIND_SHADER_RESOURCE,
-        D3D10_USAGE usage = D3D10_USAGE_DEFAULT,
-        UINT cpuaccessFlags = 0,
-        UINT miscFlags = 0 )
-    {
-        Width = width;
-        Height = height;
-        Depth = depth;
-        MipLevels = mipLevels;
-        Format = format;
-        Usage = usage;
-        BindFlags = bindFlags;
-        CPUAccessFlags = cpuaccessFlags;
-        MiscFlags = miscFlags;
-    }
-    ~CD3D10_TEXTURE3D_DESC() {}
-//    operator const D3D10_TEXTURE3D_DESC&() const { return *this; }
-};
-#endif
-typedef struct D3D10_MAPPED_TEXTURE3D
-    {
-    void *pData;
-    UINT RowPitch;
-    UINT DepthPitch;
-    } 	D3D10_MAPPED_TEXTURE3D;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0008_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0008_v0_0_s_ifspec;
-
-#ifndef __ID3D10Texture3D_INTERFACE_DEFINED__
-#define __ID3D10Texture3D_INTERFACE_DEFINED__
-
-/* interface ID3D10Texture3D */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Texture3D;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C05-342C-4106-A19F-4F2704F689F0")
-    ID3D10Texture3D : public ID3D10Resource
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE Map( 
-            /* [annotation] */ 
-            _In_  UINT Subresource,
-            /* [annotation] */ 
-            _In_  D3D10_MAP MapType,
-            /* [annotation] */ 
-            _In_  UINT MapFlags,
-            /* [annotation] */ 
-            _Out_  D3D10_MAPPED_TEXTURE3D *pMappedTex3D) = 0;
-        
-        virtual void STDMETHODCALLTYPE Unmap( 
-            /* [annotation] */ 
-            _In_  UINT Subresource) = 0;
-        
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0009 */
-/* [local] */ 
-
-typedef 
-enum D3D10_TEXTURECUBE_FACE
-    {
-        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
-    } 	D3D10_TEXTURECUBE_FACE;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0009_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0009_v0_0_s_ifspec;
-
-#ifndef __ID3D10View_INTERFACE_DEFINED__
-#define __ID3D10View_INTERFACE_DEFINED__
-
-/* interface ID3D10View */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10View;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("C902B03F-60A7-49BA-9936-2A3AB37A7E33")
-    ID3D10View : public ID3D10DeviceChild
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetResource( 
-            /* [annotation] */ 
-            _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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0010 */
-/* [local] */ 
-
-typedef struct D3D10_BUFFER_SRV
-    {
-    union 
-        {
-        UINT FirstElement;
-        UINT ElementOffset;
-        } 	;
-    union 
-        {
-        UINT NumElements;
-        UINT ElementWidth;
-        } 	;
-    } 	D3D10_BUFFER_SRV;
-
-typedef struct D3D10_TEX1D_SRV
-    {
-    UINT MostDetailedMip;
-    UINT MipLevels;
-    } 	D3D10_TEX1D_SRV;
-
-typedef struct D3D10_TEX1D_ARRAY_SRV
-    {
-    UINT MostDetailedMip;
-    UINT MipLevels;
-    UINT FirstArraySlice;
-    UINT ArraySize;
-    } 	D3D10_TEX1D_ARRAY_SRV;
-
-typedef struct D3D10_TEX2D_SRV
-    {
-    UINT MostDetailedMip;
-    UINT MipLevels;
-    } 	D3D10_TEX2D_SRV;
-
-typedef struct D3D10_TEX2D_ARRAY_SRV
-    {
-    UINT MostDetailedMip;
-    UINT MipLevels;
-    UINT FirstArraySlice;
-    UINT ArraySize;
-    } 	D3D10_TEX2D_ARRAY_SRV;
-
-typedef struct D3D10_TEX3D_SRV
-    {
-    UINT MostDetailedMip;
-    UINT MipLevels;
-    } 	D3D10_TEX3D_SRV;
-
-typedef struct D3D10_TEXCUBE_SRV
-    {
-    UINT MostDetailedMip;
-    UINT MipLevels;
-    } 	D3D10_TEXCUBE_SRV;
-
-typedef struct D3D10_TEX2DMS_SRV
-    {
-    UINT UnusedField_NothingToDefine;
-    } 	D3D10_TEX2DMS_SRV;
-
-typedef struct D3D10_TEX2DMS_ARRAY_SRV
-    {
-    UINT FirstArraySlice;
-    UINT ArraySize;
-    } 	D3D10_TEX2DMS_ARRAY_SRV;
-
-typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC
-    {
-    DXGI_FORMAT Format;
-    D3D10_SRV_DIMENSION ViewDimension;
-    union 
-        {
-        D3D10_BUFFER_SRV Buffer;
-        D3D10_TEX1D_SRV Texture1D;
-        D3D10_TEX1D_ARRAY_SRV Texture1DArray;
-        D3D10_TEX2D_SRV Texture2D;
-        D3D10_TEX2D_ARRAY_SRV Texture2DArray;
-        D3D10_TEX2DMS_SRV Texture2DMS;
-        D3D10_TEX2DMS_ARRAY_SRV Texture2DMSArray;
-        D3D10_TEX3D_SRV Texture3D;
-        D3D10_TEXCUBE_SRV TextureCube;
-        } 	;
-    } 	D3D10_SHADER_RESOURCE_VIEW_DESC;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0010_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0010_v0_0_s_ifspec;
-
-#ifndef __ID3D10ShaderResourceView_INTERFACE_DEFINED__
-#define __ID3D10ShaderResourceView_INTERFACE_DEFINED__
-
-/* interface ID3D10ShaderResourceView */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10ShaderResourceView;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C07-342C-4106-A19F-4F2704F689F0")
-    ID3D10ShaderResourceView : public ID3D10View
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _Out_  D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc) = 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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0011 */
-/* [local] */ 
-
-typedef struct D3D10_BUFFER_RTV
-    {
-    union 
-        {
-        UINT FirstElement;
-        UINT ElementOffset;
-        } 	;
-    union 
-        {
-        UINT NumElements;
-        UINT ElementWidth;
-        } 	;
-    } 	D3D10_BUFFER_RTV;
-
-typedef struct D3D10_TEX1D_RTV
-    {
-    UINT MipSlice;
-    } 	D3D10_TEX1D_RTV;
-
-typedef struct D3D10_TEX1D_ARRAY_RTV
-    {
-    UINT MipSlice;
-    UINT FirstArraySlice;
-    UINT ArraySize;
-    } 	D3D10_TEX1D_ARRAY_RTV;
-
-typedef struct D3D10_TEX2D_RTV
-    {
-    UINT MipSlice;
-    } 	D3D10_TEX2D_RTV;
-
-typedef struct D3D10_TEX2DMS_RTV
-    {
-    UINT UnusedField_NothingToDefine;
-    } 	D3D10_TEX2DMS_RTV;
-
-typedef struct D3D10_TEX2D_ARRAY_RTV
-    {
-    UINT MipSlice;
-    UINT FirstArraySlice;
-    UINT ArraySize;
-    } 	D3D10_TEX2D_ARRAY_RTV;
-
-typedef struct D3D10_TEX2DMS_ARRAY_RTV
-    {
-    UINT FirstArraySlice;
-    UINT ArraySize;
-    } 	D3D10_TEX2DMS_ARRAY_RTV;
-
-typedef struct D3D10_TEX3D_RTV
-    {
-    UINT MipSlice;
-    UINT FirstWSlice;
-    UINT WSize;
-    } 	D3D10_TEX3D_RTV;
-
-typedef struct D3D10_RENDER_TARGET_VIEW_DESC
-    {
-    DXGI_FORMAT Format;
-    D3D10_RTV_DIMENSION ViewDimension;
-    union 
-        {
-        D3D10_BUFFER_RTV Buffer;
-        D3D10_TEX1D_RTV Texture1D;
-        D3D10_TEX1D_ARRAY_RTV Texture1DArray;
-        D3D10_TEX2D_RTV Texture2D;
-        D3D10_TEX2D_ARRAY_RTV Texture2DArray;
-        D3D10_TEX2DMS_RTV Texture2DMS;
-        D3D10_TEX2DMS_ARRAY_RTV Texture2DMSArray;
-        D3D10_TEX3D_RTV Texture3D;
-        } 	;
-    } 	D3D10_RENDER_TARGET_VIEW_DESC;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0011_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0011_v0_0_s_ifspec;
-
-#ifndef __ID3D10RenderTargetView_INTERFACE_DEFINED__
-#define __ID3D10RenderTargetView_INTERFACE_DEFINED__
-
-/* interface ID3D10RenderTargetView */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10RenderTargetView;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C08-342C-4106-A19F-4F2704F689F0")
-    ID3D10RenderTargetView : public ID3D10View
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _Out_  D3D10_RENDER_TARGET_VIEW_DESC *pDesc) = 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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0012 */
-/* [local] */ 
-
-typedef struct D3D10_TEX1D_DSV
-    {
-    UINT MipSlice;
-    } 	D3D10_TEX1D_DSV;
-
-typedef struct D3D10_TEX1D_ARRAY_DSV
-    {
-    UINT MipSlice;
-    UINT FirstArraySlice;
-    UINT ArraySize;
-    } 	D3D10_TEX1D_ARRAY_DSV;
-
-typedef struct D3D10_TEX2D_DSV
-    {
-    UINT MipSlice;
-    } 	D3D10_TEX2D_DSV;
-
-typedef struct D3D10_TEX2D_ARRAY_DSV
-    {
-    UINT MipSlice;
-    UINT FirstArraySlice;
-    UINT ArraySize;
-    } 	D3D10_TEX2D_ARRAY_DSV;
-
-typedef struct D3D10_TEX2DMS_DSV
-    {
-    UINT UnusedField_NothingToDefine;
-    } 	D3D10_TEX2DMS_DSV;
-
-typedef struct D3D10_TEX2DMS_ARRAY_DSV
-    {
-    UINT FirstArraySlice;
-    UINT ArraySize;
-    } 	D3D10_TEX2DMS_ARRAY_DSV;
-
-typedef struct D3D10_DEPTH_STENCIL_VIEW_DESC
-    {
-    DXGI_FORMAT Format;
-    D3D10_DSV_DIMENSION ViewDimension;
-    union 
-        {
-        D3D10_TEX1D_DSV Texture1D;
-        D3D10_TEX1D_ARRAY_DSV Texture1DArray;
-        D3D10_TEX2D_DSV Texture2D;
-        D3D10_TEX2D_ARRAY_DSV Texture2DArray;
-        D3D10_TEX2DMS_DSV Texture2DMS;
-        D3D10_TEX2DMS_ARRAY_DSV Texture2DMSArray;
-        } 	;
-    } 	D3D10_DEPTH_STENCIL_VIEW_DESC;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0012_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0012_v0_0_s_ifspec;
-
-#ifndef __ID3D10DepthStencilView_INTERFACE_DEFINED__
-#define __ID3D10DepthStencilView_INTERFACE_DEFINED__
-
-/* interface ID3D10DepthStencilView */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10DepthStencilView;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C09-342C-4106-A19F-4F2704F689F0")
-    ID3D10DepthStencilView : public ID3D10View
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _Out_  D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc) = 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__
-
-/* interface ID3D10VertexShader */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10VertexShader;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C0A-342C-4106-A19F-4F2704F689F0")
-    ID3D10VertexShader : public ID3D10DeviceChild
-    {
-    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__
-
-/* interface ID3D10GeometryShader */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10GeometryShader;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("6316BE88-54CD-4040-AB44-20461BC81F68")
-    ID3D10GeometryShader : public ID3D10DeviceChild
-    {
-    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__
-
-/* interface ID3D10PixelShader */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10PixelShader;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("4968B601-9D00-4cde-8346-8E7F675819B6")
-    ID3D10PixelShader : public ID3D10DeviceChild
-    {
-    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__
-
-/* interface ID3D10InputLayout */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10InputLayout;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C0B-342C-4106-A19F-4F2704F689F0")
-    ID3D10InputLayout : public ID3D10DeviceChild
-    {
-    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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0017 */
-/* [local] */ 
-
-typedef 
-enum D3D10_FILTER
-    {
-        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,
-        D3D10_FILTER_ANISOTROPIC	= 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,
-        D3D10_FILTER_TEXT_1BIT	= 0x80000000
-    } 	D3D10_FILTER;
-
-typedef 
-enum D3D10_FILTER_TYPE
-    {
-        D3D10_FILTER_TYPE_POINT	= 0,
-        D3D10_FILTER_TYPE_LINEAR	= 1
-    } 	D3D10_FILTER_TYPE;
-
-#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_SAMPLER_DESC
-    {
-    D3D10_FILTER Filter;
-    D3D10_TEXTURE_ADDRESS_MODE AddressU;
-    D3D10_TEXTURE_ADDRESS_MODE AddressV;
-    D3D10_TEXTURE_ADDRESS_MODE AddressW;
-    FLOAT MipLODBias;
-    UINT MaxAnisotropy;
-    D3D10_COMPARISON_FUNC ComparisonFunc;
-    FLOAT BorderColor[ 4 ];
-    FLOAT MinLOD;
-    FLOAT MaxLOD;
-    } 	D3D10_SAMPLER_DESC;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0017_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0017_v0_0_s_ifspec;
-
-#ifndef __ID3D10SamplerState_INTERFACE_DEFINED__
-#define __ID3D10SamplerState_INTERFACE_DEFINED__
-
-/* interface ID3D10SamplerState */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10SamplerState;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C0C-342C-4106-A19F-4F2704F689F0")
-    ID3D10SamplerState : public ID3D10DeviceChild
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0018 */
-/* [local] */ 
-
-typedef 
-enum D3D10_FORMAT_SUPPORT
-    {
-        D3D10_FORMAT_SUPPORT_BUFFER	= 0x1,
-        D3D10_FORMAT_SUPPORT_IA_VERTEX_BUFFER	= 0x2,
-        D3D10_FORMAT_SUPPORT_IA_INDEX_BUFFER	= 0x4,
-        D3D10_FORMAT_SUPPORT_SO_BUFFER	= 0x8,
-        D3D10_FORMAT_SUPPORT_TEXTURE1D	= 0x10,
-        D3D10_FORMAT_SUPPORT_TEXTURE2D	= 0x20,
-        D3D10_FORMAT_SUPPORT_TEXTURE3D	= 0x40,
-        D3D10_FORMAT_SUPPORT_TEXTURECUBE	= 0x80,
-        D3D10_FORMAT_SUPPORT_SHADER_LOAD	= 0x100,
-        D3D10_FORMAT_SUPPORT_SHADER_SAMPLE	= 0x200,
-        D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON	= 0x400,
-        D3D10_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT	= 0x800,
-        D3D10_FORMAT_SUPPORT_MIP	= 0x1000,
-        D3D10_FORMAT_SUPPORT_MIP_AUTOGEN	= 0x2000,
-        D3D10_FORMAT_SUPPORT_RENDER_TARGET	= 0x4000,
-        D3D10_FORMAT_SUPPORT_BLENDABLE	= 0x8000,
-        D3D10_FORMAT_SUPPORT_DEPTH_STENCIL	= 0x10000,
-        D3D10_FORMAT_SUPPORT_CPU_LOCKABLE	= 0x20000,
-        D3D10_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE	= 0x40000,
-        D3D10_FORMAT_SUPPORT_DISPLAY	= 0x80000,
-        D3D10_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT	= 0x100000,
-        D3D10_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET	= 0x200000,
-        D3D10_FORMAT_SUPPORT_MULTISAMPLE_LOAD	= 0x400000,
-        D3D10_FORMAT_SUPPORT_SHADER_GATHER	= 0x800000,
-        D3D10_FORMAT_SUPPORT_BACK_BUFFER_CAST	= 0x1000000
-    } 	D3D10_FORMAT_SUPPORT;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0018_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0018_v0_0_s_ifspec;
-
-#ifndef __ID3D10Asynchronous_INTERFACE_DEFINED__
-#define __ID3D10Asynchronous_INTERFACE_DEFINED__
-
-/* interface ID3D10Asynchronous */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Asynchronous;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C0D-342C-4106-A19F-4F2704F689F0")
-    ID3D10Asynchronous : public ID3D10DeviceChild
-    {
-    public:
-        virtual void STDMETHODCALLTYPE Begin( void) = 0;
-        
-        virtual void STDMETHODCALLTYPE End( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetData( 
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(DataSize)  void *pData,
-            /* [annotation] */ 
-            _In_  UINT DataSize,
-            /* [annotation] */ 
-            _In_  UINT GetDataFlags) = 0;
-        
-        virtual UINT STDMETHODCALLTYPE GetDataSize( 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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0019 */
-/* [local] */ 
-
-typedef 
-enum D3D10_ASYNC_GETDATA_FLAG
-    {
-        D3D10_ASYNC_GETDATA_DONOTFLUSH	= 0x1
-    } 	D3D10_ASYNC_GETDATA_FLAG;
-
-typedef 
-enum D3D10_QUERY
-    {
-        D3D10_QUERY_EVENT	= 0,
-        D3D10_QUERY_OCCLUSION	= ( D3D10_QUERY_EVENT + 1 ) ,
-        D3D10_QUERY_TIMESTAMP	= ( D3D10_QUERY_OCCLUSION + 1 ) ,
-        D3D10_QUERY_TIMESTAMP_DISJOINT	= ( D3D10_QUERY_TIMESTAMP + 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 ) 
-    } 	D3D10_QUERY;
-
-typedef 
-enum D3D10_QUERY_MISC_FLAG
-    {
-        D3D10_QUERY_MISC_PREDICATEHINT	= 0x1
-    } 	D3D10_QUERY_MISC_FLAG;
-
-typedef struct D3D10_QUERY_DESC
-    {
-    D3D10_QUERY Query;
-    UINT MiscFlags;
-    } 	D3D10_QUERY_DESC;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0019_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0019_v0_0_s_ifspec;
-
-#ifndef __ID3D10Query_INTERFACE_DEFINED__
-#define __ID3D10Query_INTERFACE_DEFINED__
-
-/* interface ID3D10Query */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Query;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C0E-342C-4106-A19F-4F2704F689F0")
-    ID3D10Query : public ID3D10Asynchronous
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _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__
-
-/* interface ID3D10Predicate */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Predicate;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C10-342C-4106-A19F-4F2704F689F0")
-    ID3D10Predicate : public ID3D10Query
-    {
-    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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0021 */
-/* [local] */ 
-
-typedef struct D3D10_QUERY_DATA_TIMESTAMP_DISJOINT
-    {
-    UINT64 Frequency;
-    BOOL Disjoint;
-    } 	D3D10_QUERY_DATA_TIMESTAMP_DISJOINT;
-
-typedef struct D3D10_QUERY_DATA_PIPELINE_STATISTICS
-    {
-    UINT64 IAVertices;
-    UINT64 IAPrimitives;
-    UINT64 VSInvocations;
-    UINT64 GSInvocations;
-    UINT64 GSPrimitives;
-    UINT64 CInvocations;
-    UINT64 CPrimitives;
-    UINT64 PSInvocations;
-    } 	D3D10_QUERY_DATA_PIPELINE_STATISTICS;
-
-typedef struct D3D10_QUERY_DATA_SO_STATISTICS
-    {
-    UINT64 NumPrimitivesWritten;
-    UINT64 PrimitivesStorageNeeded;
-    } 	D3D10_QUERY_DATA_SO_STATISTICS;
-
-typedef 
-enum D3D10_COUNTER
-    {
-        D3D10_COUNTER_GPU_IDLE	= 0,
-        D3D10_COUNTER_VERTEX_PROCESSING	= ( D3D10_COUNTER_GPU_IDLE + 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
-    } 	D3D10_COUNTER;
-
-typedef 
-enum D3D10_COUNTER_TYPE
-    {
-        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 ) 
-    } 	D3D10_COUNTER_TYPE;
-
-typedef struct D3D10_COUNTER_DESC
-    {
-    D3D10_COUNTER Counter;
-    UINT MiscFlags;
-    } 	D3D10_COUNTER_DESC;
-
-typedef struct D3D10_COUNTER_INFO
-    {
-    D3D10_COUNTER LastDeviceDependentCounter;
-    UINT NumSimultaneousCounters;
-    UINT8 NumDetectableParallelUnits;
-    } 	D3D10_COUNTER_INFO;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0021_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0021_v0_0_s_ifspec;
-
-#ifndef __ID3D10Counter_INTERFACE_DEFINED__
-#define __ID3D10Counter_INTERFACE_DEFINED__
-
-/* interface ID3D10Counter */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Counter;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C11-342C-4106-A19F-4F2704F689F0")
-    ID3D10Counter : public ID3D10Asynchronous
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDesc( 
-            /* [annotation] */ 
-            _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__
-
-/* interface ID3D10Device */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Device;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C0F-342C-4106-A19F-4F2704F689F0")
-    ID3D10Device : public IUnknown
-    {
-    public:
-        virtual void STDMETHODCALLTYPE VSSetConstantBuffers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE PSSetShaderResources( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE PSSetShader( 
-            /* [annotation] */ 
-            _In_opt_  ID3D10PixelShader *pPixelShader) = 0;
-        
-        virtual void STDMETHODCALLTYPE PSSetSamplers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE VSSetShader( 
-            /* [annotation] */ 
-            _In_opt_  ID3D10VertexShader *pVertexShader) = 0;
-        
-        virtual void STDMETHODCALLTYPE DrawIndexed( 
-            /* [annotation] */ 
-            _In_  UINT IndexCount,
-            /* [annotation] */ 
-            _In_  UINT StartIndexLocation,
-            /* [annotation] */ 
-            _In_  INT BaseVertexLocation) = 0;
-        
-        virtual void STDMETHODCALLTYPE Draw( 
-            /* [annotation] */ 
-            _In_  UINT VertexCount,
-            /* [annotation] */ 
-            _In_  UINT StartVertexLocation) = 0;
-        
-        virtual void STDMETHODCALLTYPE PSSetConstantBuffers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE IASetInputLayout( 
-            /* [annotation] */ 
-            _In_opt_  ID3D10InputLayout *pInputLayout) = 0;
-        
-        virtual void STDMETHODCALLTYPE IASetVertexBuffers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE IASetIndexBuffer( 
-            /* [annotation] */ 
-            _In_opt_  ID3D10Buffer *pIndexBuffer,
-            /* [annotation] */ 
-            _In_  DXGI_FORMAT Format,
-            /* [annotation] */ 
-            _In_  UINT Offset) = 0;
-        
-        virtual void STDMETHODCALLTYPE DrawIndexedInstanced( 
-            /* [annotation] */ 
-            _In_  UINT IndexCountPerInstance,
-            /* [annotation] */ 
-            _In_  UINT InstanceCount,
-            /* [annotation] */ 
-            _In_  UINT StartIndexLocation,
-            /* [annotation] */ 
-            _In_  INT BaseVertexLocation,
-            /* [annotation] */ 
-            _In_  UINT StartInstanceLocation) = 0;
-        
-        virtual void STDMETHODCALLTYPE DrawInstanced( 
-            /* [annotation] */ 
-            _In_  UINT VertexCountPerInstance,
-            /* [annotation] */ 
-            _In_  UINT InstanceCount,
-            /* [annotation] */ 
-            _In_  UINT StartVertexLocation,
-            /* [annotation] */ 
-            _In_  UINT StartInstanceLocation) = 0;
-        
-        virtual void STDMETHODCALLTYPE GSSetConstantBuffers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE GSSetShader( 
-            /* [annotation] */ 
-            _In_opt_  ID3D10GeometryShader *pShader) = 0;
-        
-        virtual void STDMETHODCALLTYPE IASetPrimitiveTopology( 
-            /* [annotation] */ 
-            _In_  D3D10_PRIMITIVE_TOPOLOGY Topology) = 0;
-        
-        virtual void STDMETHODCALLTYPE VSSetShaderResources( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE VSSetSamplers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE SetPredication( 
-            /* [annotation] */ 
-            _In_opt_  ID3D10Predicate *pPredicate,
-            /* [annotation] */ 
-            _In_  BOOL PredicateValue) = 0;
-        
-        virtual void STDMETHODCALLTYPE GSSetShaderResources( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE GSSetSamplers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE OMSetRenderTargets( 
-            /* [annotation] */ 
-            _In_range_( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT )  UINT NumViews,
-            /* [annotation] */ 
-            _In_reads_opt_(NumViews)  ID3D10RenderTargetView *const *ppRenderTargetViews,
-            /* [annotation] */ 
-            _In_opt_  ID3D10DepthStencilView *pDepthStencilView) = 0;
-        
-        virtual void STDMETHODCALLTYPE OMSetBlendState( 
-            /* [annotation] */ 
-            _In_opt_  ID3D10BlendState *pBlendState,
-            /* [annotation] */ 
-            _In_  const FLOAT BlendFactor[ 4 ],
-            /* [annotation] */ 
-            _In_  UINT SampleMask) = 0;
-        
-        virtual void STDMETHODCALLTYPE OMSetDepthStencilState( 
-            /* [annotation] */ 
-            _In_opt_  ID3D10DepthStencilState *pDepthStencilState,
-            /* [annotation] */ 
-            _In_  UINT StencilRef) = 0;
-        
-        virtual void STDMETHODCALLTYPE SOSetTargets( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE DrawAuto( void) = 0;
-        
-        virtual void STDMETHODCALLTYPE RSSetState( 
-            /* [annotation] */ 
-            _In_opt_  ID3D10RasterizerState *pRasterizerState) = 0;
-        
-        virtual void STDMETHODCALLTYPE RSSetViewports( 
-            /* [annotation] */ 
-            _In_range_(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE)  UINT NumViewports,
-            /* [annotation] */ 
-            _In_reads_opt_(NumViewports)  const D3D10_VIEWPORT *pViewports) = 0;
-        
-        virtual void STDMETHODCALLTYPE RSSetScissorRects( 
-            /* [annotation] */ 
-            _In_range_(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE)  UINT NumRects,
-            /* [annotation] */ 
-            _In_reads_opt_(NumRects)  const D3D10_RECT *pRects) = 0;
-        
-        virtual void STDMETHODCALLTYPE CopySubresourceRegion( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE CopyResource( 
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pDstResource,
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pSrcResource) = 0;
-        
-        virtual void STDMETHODCALLTYPE UpdateSubresource( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE ClearRenderTargetView( 
-            /* [annotation] */ 
-            _In_  ID3D10RenderTargetView *pRenderTargetView,
-            /* [annotation] */ 
-            _In_  const FLOAT ColorRGBA[ 4 ]) = 0;
-        
-        virtual void STDMETHODCALLTYPE ClearDepthStencilView( 
-            /* [annotation] */ 
-            _In_  ID3D10DepthStencilView *pDepthStencilView,
-            /* [annotation] */ 
-            _In_  UINT ClearFlags,
-            /* [annotation] */ 
-            _In_  FLOAT Depth,
-            /* [annotation] */ 
-            _In_  UINT8 Stencil) = 0;
-        
-        virtual void STDMETHODCALLTYPE GenerateMips( 
-            /* [annotation] */ 
-            _In_  ID3D10ShaderResourceView *pShaderResourceView) = 0;
-        
-        virtual void STDMETHODCALLTYPE ResolveSubresource( 
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pDstResource,
-            /* [annotation] */ 
-            _In_  UINT DstSubresource,
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pSrcResource,
-            /* [annotation] */ 
-            _In_  UINT SrcSubresource,
-            /* [annotation] */ 
-            _In_  DXGI_FORMAT Format) = 0;
-        
-        virtual void STDMETHODCALLTYPE VSGetConstantBuffers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE PSGetShaderResources( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE PSGetShader( 
-            /* [annotation] */ 
-            _Out_  ID3D10PixelShader **ppPixelShader) = 0;
-        
-        virtual void STDMETHODCALLTYPE PSGetSamplers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE VSGetShader( 
-            /* [annotation] */ 
-            _Out_  ID3D10VertexShader **ppVertexShader) = 0;
-        
-        virtual void STDMETHODCALLTYPE PSGetConstantBuffers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE IAGetInputLayout( 
-            /* [annotation] */ 
-            _Out_  ID3D10InputLayout **ppInputLayout) = 0;
-        
-        virtual void STDMETHODCALLTYPE IAGetVertexBuffers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE IAGetIndexBuffer( 
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Buffer **pIndexBuffer,
-            /* [annotation] */ 
-            _Out_opt_  DXGI_FORMAT *Format,
-            /* [annotation] */ 
-            _Out_opt_  UINT *Offset) = 0;
-        
-        virtual void STDMETHODCALLTYPE GSGetConstantBuffers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE GSGetShader( 
-            /* [annotation] */ 
-            _Out_  ID3D10GeometryShader **ppGeometryShader) = 0;
-        
-        virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology( 
-            /* [annotation] */ 
-            _Out_  D3D10_PRIMITIVE_TOPOLOGY *pTopology) = 0;
-        
-        virtual void STDMETHODCALLTYPE VSGetShaderResources( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE VSGetSamplers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE GetPredication( 
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Predicate **ppPredicate,
-            /* [annotation] */ 
-            _Out_opt_  BOOL *pPredicateValue) = 0;
-        
-        virtual void STDMETHODCALLTYPE GSGetShaderResources( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE GSGetSamplers( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE OMGetRenderTargets( 
-            /* [annotation] */ 
-            _In_range_( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT )  UINT NumViews,
-            /* [annotation] */ 
-            _Out_writes_opt_(NumViews)  ID3D10RenderTargetView **ppRenderTargetViews,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10DepthStencilView **ppDepthStencilView) = 0;
-        
-        virtual void STDMETHODCALLTYPE OMGetBlendState( 
-            /* [annotation] */ 
-            _Out_opt_  ID3D10BlendState **ppBlendState,
-            /* [annotation] */ 
-            _Out_opt_  FLOAT BlendFactor[ 4 ],
-            /* [annotation] */ 
-            _Out_opt_  UINT *pSampleMask) = 0;
-        
-        virtual void STDMETHODCALLTYPE OMGetDepthStencilState( 
-            /* [annotation] */ 
-            _Out_opt_  ID3D10DepthStencilState **ppDepthStencilState,
-            /* [annotation] */ 
-            _Out_opt_  UINT *pStencilRef) = 0;
-        
-        virtual void STDMETHODCALLTYPE SOGetTargets( 
-            /* [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) = 0;
-        
-        virtual void STDMETHODCALLTYPE RSGetState( 
-            /* [annotation] */ 
-            _Out_  ID3D10RasterizerState **ppRasterizerState) = 0;
-        
-        virtual void STDMETHODCALLTYPE RSGetViewports( 
-            /* [annotation] */ 
-            _Inout_ /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/   UINT *NumViewports,
-            /* [annotation] */ 
-            _Out_writes_opt_(*NumViewports)  D3D10_VIEWPORT *pViewports) = 0;
-        
-        virtual void STDMETHODCALLTYPE RSGetScissorRects( 
-            /* [annotation] */ 
-            _Inout_ /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE )*/   UINT *NumRects,
-            /* [annotation] */ 
-            _Out_writes_opt_(*NumRects)  D3D10_RECT *pRects) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetExceptionMode( 
-            UINT RaiseFlags) = 0;
-        
-        virtual UINT STDMETHODCALLTYPE GetExceptionMode( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetPrivateData( 
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _Inout_  UINT *pDataSize,
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(*pDataSize)  void *pData) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetPrivateData( 
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _In_  UINT DataSize,
-            /* [annotation] */ 
-            _In_reads_bytes_opt_(DataSize)  const void *pData) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( 
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _In_opt_  const IUnknown *pData) = 0;
-        
-        virtual void STDMETHODCALLTYPE ClearState( void) = 0;
-        
-        virtual void STDMETHODCALLTYPE Flush( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateBuffer( 
-            /* [annotation] */ 
-            _In_  const D3D10_BUFFER_DESC *pDesc,
-            /* [annotation] */ 
-            _In_opt_  const D3D10_SUBRESOURCE_DATA *pInitialData,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Buffer **ppBuffer) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateTexture1D( 
-            /* [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) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateTexture2D( 
-            /* [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) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateTexture3D( 
-            /* [annotation] */ 
-            _In_  const D3D10_TEXTURE3D_DESC *pDesc,
-            /* [annotation] */ 
-            _In_reads_opt_(_Inexpressible_(pDesc->MipLevels))  const D3D10_SUBRESOURCE_DATA *pInitialData,
-            /* [annotation] */ 
-            _Out_  ID3D10Texture3D **ppTexture3D) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView( 
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pResource,
-            /* [annotation] */ 
-            _In_opt_  const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10ShaderResourceView **ppSRView) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView( 
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pResource,
-            /* [annotation] */ 
-            _In_opt_  const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10RenderTargetView **ppRTView) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView( 
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pResource,
-            /* [annotation] */ 
-            _In_opt_  const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10DepthStencilView **ppDepthStencilView) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateInputLayout( 
-            /* [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) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateVertexShader( 
-            /* [annotation] */ 
-            _In_reads_(BytecodeLength)  const void *pShaderBytecode,
-            /* [annotation] */ 
-            _In_  SIZE_T BytecodeLength,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10VertexShader **ppVertexShader) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader( 
-            /* [annotation] */ 
-            _In_reads_(BytecodeLength)  const void *pShaderBytecode,
-            /* [annotation] */ 
-            _In_  SIZE_T BytecodeLength,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10GeometryShader **ppGeometryShader) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput( 
-            /* [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) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreatePixelShader( 
-            /* [annotation] */ 
-            _In_reads_(BytecodeLength)  const void *pShaderBytecode,
-            /* [annotation] */ 
-            _In_  SIZE_T BytecodeLength,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10PixelShader **ppPixelShader) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateBlendState( 
-            /* [annotation] */ 
-            _In_  const D3D10_BLEND_DESC *pBlendStateDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10BlendState **ppBlendState) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState( 
-            /* [annotation] */ 
-            _In_  const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10DepthStencilState **ppDepthStencilState) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState( 
-            /* [annotation] */ 
-            _In_  const D3D10_RASTERIZER_DESC *pRasterizerDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10RasterizerState **ppRasterizerState) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateSamplerState( 
-            /* [annotation] */ 
-            _In_  const D3D10_SAMPLER_DESC *pSamplerDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10SamplerState **ppSamplerState) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateQuery( 
-            /* [annotation] */ 
-            _In_  const D3D10_QUERY_DESC *pQueryDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Query **ppQuery) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreatePredicate( 
-            /* [annotation] */ 
-            _In_  const D3D10_QUERY_DESC *pPredicateDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Predicate **ppPredicate) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateCounter( 
-            /* [annotation] */ 
-            _In_  const D3D10_COUNTER_DESC *pCounterDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Counter **ppCounter) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport( 
-            /* [annotation] */ 
-            _In_  DXGI_FORMAT Format,
-            /* [annotation] */ 
-            _Out_  UINT *pFormatSupport) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels( 
-            /* [annotation] */ 
-            _In_  DXGI_FORMAT Format,
-            /* [annotation] */ 
-            _In_  UINT SampleCount,
-            /* [annotation] */ 
-            _Out_  UINT *pNumQualityLevels) = 0;
-        
-        virtual void STDMETHODCALLTYPE CheckCounterInfo( 
-            /* [annotation] */ 
-            _Out_  D3D10_COUNTER_INFO *pCounterInfo) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CheckCounter( 
-            /* [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) = 0;
-        
-        virtual UINT STDMETHODCALLTYPE GetCreationFlags( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE OpenSharedResource( 
-            /* [annotation] */ 
-            _In_  HANDLE hResource,
-            /* [annotation] */ 
-            _In_  REFIID ReturnedInterface,
-            /* [annotation] */ 
-            _Out_opt_  void **ppResource) = 0;
-        
-        virtual void STDMETHODCALLTYPE SetTextFilterSize( 
-            /* [annotation] */ 
-            _In_  UINT Width,
-            /* [annotation] */ 
-            _In_  UINT Height) = 0;
-        
-        virtual void STDMETHODCALLTYPE GetTextFilterSize( 
-            /* [annotation] */ 
-            _Out_opt_  UINT *pWidth,
-            /* [annotation] */ 
-            _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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0023 */
-/* [local] */ 
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0023_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0023_v0_0_s_ifspec;
-
-#ifndef __ID3D10Multithread_INTERFACE_DEFINED__
-#define __ID3D10Multithread_INTERFACE_DEFINED__
-
-/* interface ID3D10Multithread */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Multithread;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4E00-342C-4106-A19F-4F2704F689F0")
-    ID3D10Multithread : public IUnknown
-    {
-    public:
-        virtual void STDMETHODCALLTYPE Enter( void) = 0;
-        
-        virtual void STDMETHODCALLTYPE Leave( void) = 0;
-        
-        virtual BOOL STDMETHODCALLTYPE SetMultithreadProtected( 
-            /* [annotation] */ 
-            _In_  BOOL bMTProtect) = 0;
-        
-        virtual BOOL STDMETHODCALLTYPE GetMultithreadProtected( 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__ */
-
-
-/* interface __MIDL_itf_d3d10_0000_0024 */
-/* [local] */ 
-
-typedef 
-enum D3D10_CREATE_DEVICE_FLAG
-    {
-        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
-    } 	D3D10_CREATE_DEVICE_FLAG;
-
-
-#define	D3D10_SDK_VERSION	( 29 )
-
-#if !defined( D3D10_IGNORE_SDK_LAYERS ) 
-#include "d3d10sdklayers.h" 
-#endif 
-#include "d3d10misc.h" 
-#include "d3d10shader.h" 
-#include "d3d10effect.h" 
-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);
-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);
-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);
-DEFINE_GUID(IID_ID3D10RenderTargetView,0x9B7E4C08,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
-DEFINE_GUID(IID_ID3D10DepthStencilView,0x9B7E4C09,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
-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 RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0024_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0024_v0_0_s_ifspec;
-
-/* Additional Prototypes for ALL interfaces */
-
-/* end of Additional Prototypes */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-
-

+ 0 - 1788
3rdparty/dxsdk/include/d3d10_1.h

@@ -1,1788 +0,0 @@
-/*-------------------------------------------------------------------------------------
- *
- * Copyright (c) Microsoft Corporation
- *
- *-------------------------------------------------------------------------------------*/
-
-
-/* this ALWAYS GENERATED file contains the definitions for the interfaces */
-
-
- /* File created by MIDL compiler version 8.00.0613 */
-/* @@MIDL_FILE_HEADING(  ) */
-
-
-
-/* verify that the <rpcndr.h> version is high enough to compile this file*/
-#ifndef __REQUIRED_RPCNDR_H_VERSION__
-#define __REQUIRED_RPCNDR_H_VERSION__ 500
-#endif
-
-/* verify that the <rpcsal.h> version is high enough to compile this file*/
-#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_1_h__
-#define __d3d10_1_h__
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-#pragma once
-#endif
-
-/* Forward Declarations */ 
-
-#ifndef __ID3D10BlendState1_FWD_DEFINED__
-#define __ID3D10BlendState1_FWD_DEFINED__
-typedef interface ID3D10BlendState1 ID3D10BlendState1;
-
-#endif 	/* __ID3D10BlendState1_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10ShaderResourceView1_FWD_DEFINED__
-#define __ID3D10ShaderResourceView1_FWD_DEFINED__
-typedef interface ID3D10ShaderResourceView1 ID3D10ShaderResourceView1;
-
-#endif 	/* __ID3D10ShaderResourceView1_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10Device1_FWD_DEFINED__
-#define __ID3D10Device1_FWD_DEFINED__
-typedef interface ID3D10Device1 ID3D10Device1;
-
-#endif 	/* __ID3D10Device1_FWD_DEFINED__ */
-
-
-/* header files for imported files */
-#include "oaidl.h"
-#include "ocidl.h"
-
-#ifdef __cplusplus
-extern "C"{
-#endif 
-
-
-/* interface __MIDL_itf_d3d10_1_0000_0000 */
-/* [local] */ 
-
-#if defined( __d3d10_h__ ) && !defined( D3D10_ARBITRARY_HEADER_ORDERING )
-#error d3d10.h is included before d3d10_1.h, and it will confuse tools that honor SAL annotations. \
-If possibly targeting d3d10.1, include d3d10_1.h instead of d3d10.h, or ensure d3d10_1.h is included before d3d10.h
-#endif
-#ifndef _D3D10_1_CONSTANTS
-#define _D3D10_1_CONSTANTS
-#define	D3D10_1_DEFAULT_SAMPLE_MASK	( 0xffffffff )
-
-#define D3D10_1_FLOAT16_FUSED_TOLERANCE_IN_ULP	( 0.6 )
-#define D3D10_1_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP	( 0.6f )
-#define	D3D10_1_GS_INPUT_REGISTER_COUNT	( 32 )
-
-#define	D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT	( 32 )
-
-#define	D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS	( 128 )
-
-#define	D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT	( 32 )
-
-#define	D3D10_1_PS_OUTPUT_MASK_REGISTER_COMPONENTS	( 1 )
-
-#define	D3D10_1_PS_OUTPUT_MASK_REGISTER_COMPONENT_BIT_COUNT	( 32 )
-
-#define	D3D10_1_PS_OUTPUT_MASK_REGISTER_COUNT	( 1 )
-
-#define	D3D10_1_SHADER_MAJOR_VERSION	( 4 )
-
-#define	D3D10_1_SHADER_MINOR_VERSION	( 1 )
-
-#define	D3D10_1_SO_BUFFER_MAX_STRIDE_IN_BYTES	( 2048 )
-
-#define	D3D10_1_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES	( 256 )
-
-#define	D3D10_1_SO_BUFFER_SLOT_COUNT	( 4 )
-
-#define	D3D10_1_SO_MULTIPLE_BUFFER_ELEMENTS_PER_BUFFER	( 1 )
-
-#define	D3D10_1_SO_SINGLE_BUFFER_COMPONENT_LIMIT	( 64 )
-
-#define	D3D10_1_STANDARD_VERTEX_ELEMENT_COUNT	( 32 )
-
-#define	D3D10_1_SUBPIXEL_FRACTIONAL_BIT_COUNT	( 8 )
-
-#define	D3D10_1_VS_INPUT_REGISTER_COUNT	( 32 )
-
-#define	D3D10_1_VS_OUTPUT_REGISTER_COUNT	( 32 )
-
-#endif
-#include "d3d10.h" //
-
-typedef 
-enum D3D10_FEATURE_LEVEL1
-    {
-        D3D10_FEATURE_LEVEL_10_0	= 0xa000,
-        D3D10_FEATURE_LEVEL_10_1	= 0xa100,
-        D3D10_FEATURE_LEVEL_9_1	= 0x9100,
-        D3D10_FEATURE_LEVEL_9_2	= 0x9200,
-        D3D10_FEATURE_LEVEL_9_3	= 0x9300
-    } 	D3D10_FEATURE_LEVEL1;
-
-typedef struct D3D10_RENDER_TARGET_BLEND_DESC1
-    {
-    BOOL BlendEnable;
-    D3D10_BLEND SrcBlend;
-    D3D10_BLEND DestBlend;
-    D3D10_BLEND_OP BlendOp;
-    D3D10_BLEND SrcBlendAlpha;
-    D3D10_BLEND DestBlendAlpha;
-    D3D10_BLEND_OP BlendOpAlpha;
-    UINT8 RenderTargetWriteMask;
-    } 	D3D10_RENDER_TARGET_BLEND_DESC1;
-
-typedef struct D3D10_BLEND_DESC1
-    {
-    BOOL AlphaToCoverageEnable;
-    BOOL IndependentBlendEnable;
-    D3D10_RENDER_TARGET_BLEND_DESC1 RenderTarget[ 8 ];
-    } 	D3D10_BLEND_DESC1;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0000_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0000_v0_0_s_ifspec;
-
-#ifndef __ID3D10BlendState1_INTERFACE_DEFINED__
-#define __ID3D10BlendState1_INTERFACE_DEFINED__
-
-/* interface ID3D10BlendState1 */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10BlendState1;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("EDAD8D99-8A35-4d6d-8566-2EA276CDE161")
-    ID3D10BlendState1 : public ID3D10BlendState
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDesc1( 
-            /* [annotation] */ 
-            _Out_  D3D10_BLEND_DESC1 *pDesc) = 0;
-        
-    };
-    
-    
-#else 	/* C style interface */
-
-    typedef struct ID3D10BlendState1Vtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ID3D10BlendState1 * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ID3D10BlendState1 * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ID3D10BlendState1 * This);
-        
-        void ( STDMETHODCALLTYPE *GetDevice )( 
-            ID3D10BlendState1 * This,
-            /* [annotation] */ 
-            _Out_  ID3D10Device **ppDevice);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( 
-            ID3D10BlendState1 * This,
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _Inout_  UINT *pDataSize,
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(*pDataSize)  void *pData);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( 
-            ID3D10BlendState1 * This,
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _In_  UINT DataSize,
-            /* [annotation] */ 
-            _In_reads_bytes_opt_(DataSize)  const void *pData);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( 
-            ID3D10BlendState1 * This,
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _In_opt_  const IUnknown *pData);
-        
-        void ( STDMETHODCALLTYPE *GetDesc )( 
-            ID3D10BlendState1 * This,
-            /* [annotation] */ 
-            _Out_  D3D10_BLEND_DESC *pDesc);
-        
-        void ( STDMETHODCALLTYPE *GetDesc1 )( 
-            ID3D10BlendState1 * This,
-            /* [annotation] */ 
-            _Out_  D3D10_BLEND_DESC1 *pDesc);
-        
-        END_INTERFACE
-    } ID3D10BlendState1Vtbl;
-
-    interface ID3D10BlendState1
-    {
-        CONST_VTBL struct ID3D10BlendState1Vtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ID3D10BlendState1_QueryInterface(This,riid,ppvObject)	\
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ID3D10BlendState1_AddRef(This)	\
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ID3D10BlendState1_Release(This)	\
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ID3D10BlendState1_GetDevice(This,ppDevice)	\
-    ( (This)->lpVtbl -> GetDevice(This,ppDevice) ) 
-
-#define ID3D10BlendState1_GetPrivateData(This,guid,pDataSize,pData)	\
-    ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) ) 
-
-#define ID3D10BlendState1_SetPrivateData(This,guid,DataSize,pData)	\
-    ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) ) 
-
-#define ID3D10BlendState1_SetPrivateDataInterface(This,guid,pData)	\
-    ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) ) 
-
-
-#define ID3D10BlendState1_GetDesc(This,pDesc)	\
-    ( (This)->lpVtbl -> GetDesc(This,pDesc) ) 
-
-
-#define ID3D10BlendState1_GetDesc1(This,pDesc)	\
-    ( (This)->lpVtbl -> GetDesc1(This,pDesc) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif 	/* C style interface */
-
-
-
-
-#endif 	/* __ID3D10BlendState1_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_d3d10_1_0000_0001 */
-/* [local] */ 
-
-typedef struct D3D10_TEXCUBE_ARRAY_SRV1
-    {
-    UINT MostDetailedMip;
-    UINT MipLevels;
-    UINT First2DArrayFace;
-    UINT NumCubes;
-    } 	D3D10_TEXCUBE_ARRAY_SRV1;
-
-typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION1;
-
-typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC1
-    {
-    DXGI_FORMAT Format;
-    D3D10_SRV_DIMENSION1 ViewDimension;
-    union 
-        {
-        D3D10_BUFFER_SRV Buffer;
-        D3D10_TEX1D_SRV Texture1D;
-        D3D10_TEX1D_ARRAY_SRV Texture1DArray;
-        D3D10_TEX2D_SRV Texture2D;
-        D3D10_TEX2D_ARRAY_SRV Texture2DArray;
-        D3D10_TEX2DMS_SRV Texture2DMS;
-        D3D10_TEX2DMS_ARRAY_SRV Texture2DMSArray;
-        D3D10_TEX3D_SRV Texture3D;
-        D3D10_TEXCUBE_SRV TextureCube;
-        D3D10_TEXCUBE_ARRAY_SRV1 TextureCubeArray;
-        } 	;
-    } 	D3D10_SHADER_RESOURCE_VIEW_DESC1;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0001_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0001_v0_0_s_ifspec;
-
-#ifndef __ID3D10ShaderResourceView1_INTERFACE_DEFINED__
-#define __ID3D10ShaderResourceView1_INTERFACE_DEFINED__
-
-/* interface ID3D10ShaderResourceView1 */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10ShaderResourceView1;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C87-342C-4106-A19F-4F2704F689F0")
-    ID3D10ShaderResourceView1 : public ID3D10ShaderResourceView
-    {
-    public:
-        virtual void STDMETHODCALLTYPE GetDesc1( 
-            /* [annotation] */ 
-            _Out_  D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc) = 0;
-        
-    };
-    
-    
-#else 	/* C style interface */
-
-    typedef struct ID3D10ShaderResourceView1Vtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ID3D10ShaderResourceView1 * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ID3D10ShaderResourceView1 * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ID3D10ShaderResourceView1 * This);
-        
-        void ( STDMETHODCALLTYPE *GetDevice )( 
-            ID3D10ShaderResourceView1 * This,
-            /* [annotation] */ 
-            _Out_  ID3D10Device **ppDevice);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( 
-            ID3D10ShaderResourceView1 * This,
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _Inout_  UINT *pDataSize,
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(*pDataSize)  void *pData);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( 
-            ID3D10ShaderResourceView1 * This,
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _In_  UINT DataSize,
-            /* [annotation] */ 
-            _In_reads_bytes_opt_(DataSize)  const void *pData);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( 
-            ID3D10ShaderResourceView1 * This,
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _In_opt_  const IUnknown *pData);
-        
-        void ( STDMETHODCALLTYPE *GetResource )( 
-            ID3D10ShaderResourceView1 * This,
-            /* [annotation] */ 
-            _Out_  ID3D10Resource **ppResource);
-        
-        void ( STDMETHODCALLTYPE *GetDesc )( 
-            ID3D10ShaderResourceView1 * This,
-            /* [annotation] */ 
-            _Out_  D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc);
-        
-        void ( STDMETHODCALLTYPE *GetDesc1 )( 
-            ID3D10ShaderResourceView1 * This,
-            /* [annotation] */ 
-            _Out_  D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc);
-        
-        END_INTERFACE
-    } ID3D10ShaderResourceView1Vtbl;
-
-    interface ID3D10ShaderResourceView1
-    {
-        CONST_VTBL struct ID3D10ShaderResourceView1Vtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ID3D10ShaderResourceView1_QueryInterface(This,riid,ppvObject)	\
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ID3D10ShaderResourceView1_AddRef(This)	\
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ID3D10ShaderResourceView1_Release(This)	\
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ID3D10ShaderResourceView1_GetDevice(This,ppDevice)	\
-    ( (This)->lpVtbl -> GetDevice(This,ppDevice) ) 
-
-#define ID3D10ShaderResourceView1_GetPrivateData(This,guid,pDataSize,pData)	\
-    ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) ) 
-
-#define ID3D10ShaderResourceView1_SetPrivateData(This,guid,DataSize,pData)	\
-    ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) ) 
-
-#define ID3D10ShaderResourceView1_SetPrivateDataInterface(This,guid,pData)	\
-    ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) ) 
-
-
-#define ID3D10ShaderResourceView1_GetResource(This,ppResource)	\
-    ( (This)->lpVtbl -> GetResource(This,ppResource) ) 
-
-
-#define ID3D10ShaderResourceView1_GetDesc(This,pDesc)	\
-    ( (This)->lpVtbl -> GetDesc(This,pDesc) ) 
-
-
-#define ID3D10ShaderResourceView1_GetDesc1(This,pDesc)	\
-    ( (This)->lpVtbl -> GetDesc1(This,pDesc) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif 	/* C style interface */
-
-
-
-
-#endif 	/* __ID3D10ShaderResourceView1_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_d3d10_1_0000_0002 */
-/* [local] */ 
-
-typedef 
-enum D3D10_STANDARD_MULTISAMPLE_QUALITY_LEVELS
-    {
-        D3D10_STANDARD_MULTISAMPLE_PATTERN	= 0xffffffff,
-        D3D10_CENTER_MULTISAMPLE_PATTERN	= 0xfffffffe
-    } 	D3D10_STANDARD_MULTISAMPLE_QUALITY_LEVELS;
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0002_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0002_v0_0_s_ifspec;
-
-#ifndef __ID3D10Device1_INTERFACE_DEFINED__
-#define __ID3D10Device1_INTERFACE_DEFINED__
-
-/* interface ID3D10Device1 */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Device1;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4C8F-342C-4106-A19F-4F2704F689F0")
-    ID3D10Device1 : public ID3D10Device
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView1( 
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pResource,
-            /* [annotation] */ 
-            _In_opt_  const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10ShaderResourceView1 **ppSRView) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE CreateBlendState1( 
-            /* [annotation] */ 
-            _In_  const D3D10_BLEND_DESC1 *pBlendStateDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10BlendState1 **ppBlendState) = 0;
-        
-        virtual D3D10_FEATURE_LEVEL1 STDMETHODCALLTYPE GetFeatureLevel( void) = 0;
-        
-    };
-    
-    
-#else 	/* C style interface */
-
-    typedef struct ID3D10Device1Vtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ID3D10Device1 * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ID3D10Device1 * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ID3D10Device1 * This);
-        
-        void ( STDMETHODCALLTYPE *VSSetConstantBuffers )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_opt_  ID3D10PixelShader *pPixelShader);
-        
-        void ( STDMETHODCALLTYPE *PSSetSamplers )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_opt_  ID3D10VertexShader *pVertexShader);
-        
-        void ( STDMETHODCALLTYPE *DrawIndexed )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  UINT IndexCount,
-            /* [annotation] */ 
-            _In_  UINT StartIndexLocation,
-            /* [annotation] */ 
-            _In_  INT BaseVertexLocation);
-        
-        void ( STDMETHODCALLTYPE *Draw )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  UINT VertexCount,
-            /* [annotation] */ 
-            _In_  UINT StartVertexLocation);
-        
-        void ( STDMETHODCALLTYPE *PSSetConstantBuffers )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_opt_  ID3D10InputLayout *pInputLayout);
-        
-        void ( STDMETHODCALLTYPE *IASetVertexBuffers )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_opt_  ID3D10Buffer *pIndexBuffer,
-            /* [annotation] */ 
-            _In_  DXGI_FORMAT Format,
-            /* [annotation] */ 
-            _In_  UINT Offset);
-        
-        void ( STDMETHODCALLTYPE *DrawIndexedInstanced )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  UINT IndexCountPerInstance,
-            /* [annotation] */ 
-            _In_  UINT InstanceCount,
-            /* [annotation] */ 
-            _In_  UINT StartIndexLocation,
-            /* [annotation] */ 
-            _In_  INT BaseVertexLocation,
-            /* [annotation] */ 
-            _In_  UINT StartInstanceLocation);
-        
-        void ( STDMETHODCALLTYPE *DrawInstanced )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  UINT VertexCountPerInstance,
-            /* [annotation] */ 
-            _In_  UINT InstanceCount,
-            /* [annotation] */ 
-            _In_  UINT StartVertexLocation,
-            /* [annotation] */ 
-            _In_  UINT StartInstanceLocation);
-        
-        void ( STDMETHODCALLTYPE *GSSetConstantBuffers )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_opt_  ID3D10GeometryShader *pShader);
-        
-        void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  D3D10_PRIMITIVE_TOPOLOGY Topology);
-        
-        void ( STDMETHODCALLTYPE *VSSetShaderResources )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_opt_  ID3D10Predicate *pPredicate,
-            /* [annotation] */ 
-            _In_  BOOL PredicateValue);
-        
-        void ( STDMETHODCALLTYPE *GSSetShaderResources )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_opt_  ID3D10BlendState *pBlendState,
-            /* [annotation] */ 
-            _In_  const FLOAT BlendFactor[ 4 ],
-            /* [annotation] */ 
-            _In_  UINT SampleMask);
-        
-        void ( STDMETHODCALLTYPE *OMSetDepthStencilState )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_opt_  ID3D10DepthStencilState *pDepthStencilState,
-            /* [annotation] */ 
-            _In_  UINT StencilRef);
-        
-        void ( STDMETHODCALLTYPE *SOSetTargets )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This);
-        
-        void ( STDMETHODCALLTYPE *RSSetState )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_opt_  ID3D10RasterizerState *pRasterizerState);
-        
-        void ( STDMETHODCALLTYPE *RSSetViewports )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pDstResource,
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pSrcResource);
-        
-        void ( STDMETHODCALLTYPE *UpdateSubresource )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  ID3D10RenderTargetView *pRenderTargetView,
-            /* [annotation] */ 
-            _In_  const FLOAT ColorRGBA[ 4 ]);
-        
-        void ( STDMETHODCALLTYPE *ClearDepthStencilView )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  ID3D10DepthStencilView *pDepthStencilView,
-            /* [annotation] */ 
-            _In_  UINT ClearFlags,
-            /* [annotation] */ 
-            _In_  FLOAT Depth,
-            /* [annotation] */ 
-            _In_  UINT8 Stencil);
-        
-        void ( STDMETHODCALLTYPE *GenerateMips )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  ID3D10ShaderResourceView *pShaderResourceView);
-        
-        void ( STDMETHODCALLTYPE *ResolveSubresource )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_  ID3D10PixelShader **ppPixelShader);
-        
-        void ( STDMETHODCALLTYPE *PSGetSamplers )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_  ID3D10VertexShader **ppVertexShader);
-        
-        void ( STDMETHODCALLTYPE *PSGetConstantBuffers )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_  ID3D10InputLayout **ppInputLayout);
-        
-        void ( STDMETHODCALLTYPE *IAGetVertexBuffers )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Buffer **pIndexBuffer,
-            /* [annotation] */ 
-            _Out_opt_  DXGI_FORMAT *Format,
-            /* [annotation] */ 
-            _Out_opt_  UINT *Offset);
-        
-        void ( STDMETHODCALLTYPE *GSGetConstantBuffers )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_  ID3D10GeometryShader **ppGeometryShader);
-        
-        void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_  D3D10_PRIMITIVE_TOPOLOGY *pTopology);
-        
-        void ( STDMETHODCALLTYPE *VSGetShaderResources )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Predicate **ppPredicate,
-            /* [annotation] */ 
-            _Out_opt_  BOOL *pPredicateValue);
-        
-        void ( STDMETHODCALLTYPE *GSGetShaderResources )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10BlendState **ppBlendState,
-            /* [annotation] */ 
-            _Out_opt_  FLOAT BlendFactor[ 4 ],
-            /* [annotation] */ 
-            _Out_opt_  UINT *pSampleMask);
-        
-        void ( STDMETHODCALLTYPE *OMGetDepthStencilState )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10DepthStencilState **ppDepthStencilState,
-            /* [annotation] */ 
-            _Out_opt_  UINT *pStencilRef);
-        
-        void ( STDMETHODCALLTYPE *SOGetTargets )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_  ID3D10RasterizerState **ppRasterizerState);
-        
-        void ( STDMETHODCALLTYPE *RSGetViewports )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )( 
-            ID3D10Device1 * This,
-            UINT RaiseFlags);
-        
-        UINT ( STDMETHODCALLTYPE *GetExceptionMode )( 
-            ID3D10Device1 * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _Inout_  UINT *pDataSize,
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(*pDataSize)  void *pData);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _In_  UINT DataSize,
-            /* [annotation] */ 
-            _In_reads_bytes_opt_(DataSize)  const void *pData);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  REFGUID guid,
-            /* [annotation] */ 
-            _In_opt_  const IUnknown *pData);
-        
-        void ( STDMETHODCALLTYPE *ClearState )( 
-            ID3D10Device1 * This);
-        
-        void ( STDMETHODCALLTYPE *Flush )( 
-            ID3D10Device1 * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateBuffer )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  const D3D10_BUFFER_DESC *pDesc,
-            /* [annotation] */ 
-            _In_opt_  const D3D10_SUBRESOURCE_DATA *pInitialData,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Buffer **ppBuffer);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pResource,
-            /* [annotation] */ 
-            _In_opt_  const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10ShaderResourceView **ppSRView);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pResource,
-            /* [annotation] */ 
-            _In_opt_  const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10RenderTargetView **ppRTView);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pResource,
-            /* [annotation] */ 
-            _In_opt_  const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10DepthStencilView **ppDepthStencilView);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_reads_(BytecodeLength)  const void *pShaderBytecode,
-            /* [annotation] */ 
-            _In_  SIZE_T BytecodeLength,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10VertexShader **ppVertexShader);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_reads_(BytecodeLength)  const void *pShaderBytecode,
-            /* [annotation] */ 
-            _In_  SIZE_T BytecodeLength,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10GeometryShader **ppGeometryShader);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_reads_(BytecodeLength)  const void *pShaderBytecode,
-            /* [annotation] */ 
-            _In_  SIZE_T BytecodeLength,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10PixelShader **ppPixelShader);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateBlendState )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  const D3D10_BLEND_DESC *pBlendStateDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10BlendState **ppBlendState);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10DepthStencilState **ppDepthStencilState);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  const D3D10_RASTERIZER_DESC *pRasterizerDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10RasterizerState **ppRasterizerState);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  const D3D10_SAMPLER_DESC *pSamplerDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10SamplerState **ppSamplerState);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateQuery )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  const D3D10_QUERY_DESC *pQueryDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Query **ppQuery);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreatePredicate )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  const D3D10_QUERY_DESC *pPredicateDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Predicate **ppPredicate);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateCounter )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  const D3D10_COUNTER_DESC *pCounterDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10Counter **ppCounter);
-        
-        HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  DXGI_FORMAT Format,
-            /* [annotation] */ 
-            _Out_  UINT *pFormatSupport);
-        
-        HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  DXGI_FORMAT Format,
-            /* [annotation] */ 
-            _In_  UINT SampleCount,
-            /* [annotation] */ 
-            _Out_  UINT *pNumQualityLevels);
-        
-        void ( STDMETHODCALLTYPE *CheckCounterInfo )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_  D3D10_COUNTER_INFO *pCounterInfo);
-        
-        HRESULT ( STDMETHODCALLTYPE *CheckCounter )( 
-            ID3D10Device1 * 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 )( 
-            ID3D10Device1 * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  HANDLE hResource,
-            /* [annotation] */ 
-            _In_  REFIID ReturnedInterface,
-            /* [annotation] */ 
-            _Out_opt_  void **ppResource);
-        
-        void ( STDMETHODCALLTYPE *SetTextFilterSize )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  UINT Width,
-            /* [annotation] */ 
-            _In_  UINT Height);
-        
-        void ( STDMETHODCALLTYPE *GetTextFilterSize )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _Out_opt_  UINT *pWidth,
-            /* [annotation] */ 
-            _Out_opt_  UINT *pHeight);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView1 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  ID3D10Resource *pResource,
-            /* [annotation] */ 
-            _In_opt_  const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10ShaderResourceView1 **ppSRView);
-        
-        HRESULT ( STDMETHODCALLTYPE *CreateBlendState1 )( 
-            ID3D10Device1 * This,
-            /* [annotation] */ 
-            _In_  const D3D10_BLEND_DESC1 *pBlendStateDesc,
-            /* [annotation] */ 
-            _Out_opt_  ID3D10BlendState1 **ppBlendState);
-        
-        D3D10_FEATURE_LEVEL1 ( STDMETHODCALLTYPE *GetFeatureLevel )( 
-            ID3D10Device1 * This);
-        
-        END_INTERFACE
-    } ID3D10Device1Vtbl;
-
-    interface ID3D10Device1
-    {
-        CONST_VTBL struct ID3D10Device1Vtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ID3D10Device1_QueryInterface(This,riid,ppvObject)	\
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ID3D10Device1_AddRef(This)	\
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ID3D10Device1_Release(This)	\
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ID3D10Device1_VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)	\
-    ( (This)->lpVtbl -> VSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) ) 
-
-#define ID3D10Device1_PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)	\
-    ( (This)->lpVtbl -> PSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) ) 
-
-#define ID3D10Device1_PSSetShader(This,pPixelShader)	\
-    ( (This)->lpVtbl -> PSSetShader(This,pPixelShader) ) 
-
-#define ID3D10Device1_PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)	\
-    ( (This)->lpVtbl -> PSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) ) 
-
-#define ID3D10Device1_VSSetShader(This,pVertexShader)	\
-    ( (This)->lpVtbl -> VSSetShader(This,pVertexShader) ) 
-
-#define ID3D10Device1_DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation)	\
-    ( (This)->lpVtbl -> DrawIndexed(This,IndexCount,StartIndexLocation,BaseVertexLocation) ) 
-
-#define ID3D10Device1_Draw(This,VertexCount,StartVertexLocation)	\
-    ( (This)->lpVtbl -> Draw(This,VertexCount,StartVertexLocation) ) 
-
-#define ID3D10Device1_PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)	\
-    ( (This)->lpVtbl -> PSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) ) 
-
-#define ID3D10Device1_IASetInputLayout(This,pInputLayout)	\
-    ( (This)->lpVtbl -> IASetInputLayout(This,pInputLayout) ) 
-
-#define ID3D10Device1_IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets)	\
-    ( (This)->lpVtbl -> IASetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) ) 
-
-#define ID3D10Device1_IASetIndexBuffer(This,pIndexBuffer,Format,Offset)	\
-    ( (This)->lpVtbl -> IASetIndexBuffer(This,pIndexBuffer,Format,Offset) ) 
-
-#define ID3D10Device1_DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation)	\
-    ( (This)->lpVtbl -> DrawIndexedInstanced(This,IndexCountPerInstance,InstanceCount,StartIndexLocation,BaseVertexLocation,StartInstanceLocation) ) 
-
-#define ID3D10Device1_DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation)	\
-    ( (This)->lpVtbl -> DrawInstanced(This,VertexCountPerInstance,InstanceCount,StartVertexLocation,StartInstanceLocation) ) 
-
-#define ID3D10Device1_GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)	\
-    ( (This)->lpVtbl -> GSSetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) ) 
-
-#define ID3D10Device1_GSSetShader(This,pShader)	\
-    ( (This)->lpVtbl -> GSSetShader(This,pShader) ) 
-
-#define ID3D10Device1_IASetPrimitiveTopology(This,Topology)	\
-    ( (This)->lpVtbl -> IASetPrimitiveTopology(This,Topology) ) 
-
-#define ID3D10Device1_VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)	\
-    ( (This)->lpVtbl -> VSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) ) 
-
-#define ID3D10Device1_VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)	\
-    ( (This)->lpVtbl -> VSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) ) 
-
-#define ID3D10Device1_SetPredication(This,pPredicate,PredicateValue)	\
-    ( (This)->lpVtbl -> SetPredication(This,pPredicate,PredicateValue) ) 
-
-#define ID3D10Device1_GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)	\
-    ( (This)->lpVtbl -> GSSetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) ) 
-
-#define ID3D10Device1_GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers)	\
-    ( (This)->lpVtbl -> GSSetSamplers(This,StartSlot,NumSamplers,ppSamplers) ) 
-
-#define ID3D10Device1_OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView)	\
-    ( (This)->lpVtbl -> OMSetRenderTargets(This,NumViews,ppRenderTargetViews,pDepthStencilView) ) 
-
-#define ID3D10Device1_OMSetBlendState(This,pBlendState,BlendFactor,SampleMask)	\
-    ( (This)->lpVtbl -> OMSetBlendState(This,pBlendState,BlendFactor,SampleMask) ) 
-
-#define ID3D10Device1_OMSetDepthStencilState(This,pDepthStencilState,StencilRef)	\
-    ( (This)->lpVtbl -> OMSetDepthStencilState(This,pDepthStencilState,StencilRef) ) 
-
-#define ID3D10Device1_SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets)	\
-    ( (This)->lpVtbl -> SOSetTargets(This,NumBuffers,ppSOTargets,pOffsets) ) 
-
-#define ID3D10Device1_DrawAuto(This)	\
-    ( (This)->lpVtbl -> DrawAuto(This) ) 
-
-#define ID3D10Device1_RSSetState(This,pRasterizerState)	\
-    ( (This)->lpVtbl -> RSSetState(This,pRasterizerState) ) 
-
-#define ID3D10Device1_RSSetViewports(This,NumViewports,pViewports)	\
-    ( (This)->lpVtbl -> RSSetViewports(This,NumViewports,pViewports) ) 
-
-#define ID3D10Device1_RSSetScissorRects(This,NumRects,pRects)	\
-    ( (This)->lpVtbl -> RSSetScissorRects(This,NumRects,pRects) ) 
-
-#define ID3D10Device1_CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox)	\
-    ( (This)->lpVtbl -> CopySubresourceRegion(This,pDstResource,DstSubresource,DstX,DstY,DstZ,pSrcResource,SrcSubresource,pSrcBox) ) 
-
-#define ID3D10Device1_CopyResource(This,pDstResource,pSrcResource)	\
-    ( (This)->lpVtbl -> CopyResource(This,pDstResource,pSrcResource) ) 
-
-#define ID3D10Device1_UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch)	\
-    ( (This)->lpVtbl -> UpdateSubresource(This,pDstResource,DstSubresource,pDstBox,pSrcData,SrcRowPitch,SrcDepthPitch) ) 
-
-#define ID3D10Device1_ClearRenderTargetView(This,pRenderTargetView,ColorRGBA)	\
-    ( (This)->lpVtbl -> ClearRenderTargetView(This,pRenderTargetView,ColorRGBA) ) 
-
-#define ID3D10Device1_ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil)	\
-    ( (This)->lpVtbl -> ClearDepthStencilView(This,pDepthStencilView,ClearFlags,Depth,Stencil) ) 
-
-#define ID3D10Device1_GenerateMips(This,pShaderResourceView)	\
-    ( (This)->lpVtbl -> GenerateMips(This,pShaderResourceView) ) 
-
-#define ID3D10Device1_ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format)	\
-    ( (This)->lpVtbl -> ResolveSubresource(This,pDstResource,DstSubresource,pSrcResource,SrcSubresource,Format) ) 
-
-#define ID3D10Device1_VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)	\
-    ( (This)->lpVtbl -> VSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) ) 
-
-#define ID3D10Device1_PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)	\
-    ( (This)->lpVtbl -> PSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) ) 
-
-#define ID3D10Device1_PSGetShader(This,ppPixelShader)	\
-    ( (This)->lpVtbl -> PSGetShader(This,ppPixelShader) ) 
-
-#define ID3D10Device1_PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)	\
-    ( (This)->lpVtbl -> PSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) ) 
-
-#define ID3D10Device1_VSGetShader(This,ppVertexShader)	\
-    ( (This)->lpVtbl -> VSGetShader(This,ppVertexShader) ) 
-
-#define ID3D10Device1_PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)	\
-    ( (This)->lpVtbl -> PSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) ) 
-
-#define ID3D10Device1_IAGetInputLayout(This,ppInputLayout)	\
-    ( (This)->lpVtbl -> IAGetInputLayout(This,ppInputLayout) ) 
-
-#define ID3D10Device1_IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets)	\
-    ( (This)->lpVtbl -> IAGetVertexBuffers(This,StartSlot,NumBuffers,ppVertexBuffers,pStrides,pOffsets) ) 
-
-#define ID3D10Device1_IAGetIndexBuffer(This,pIndexBuffer,Format,Offset)	\
-    ( (This)->lpVtbl -> IAGetIndexBuffer(This,pIndexBuffer,Format,Offset) ) 
-
-#define ID3D10Device1_GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers)	\
-    ( (This)->lpVtbl -> GSGetConstantBuffers(This,StartSlot,NumBuffers,ppConstantBuffers) ) 
-
-#define ID3D10Device1_GSGetShader(This,ppGeometryShader)	\
-    ( (This)->lpVtbl -> GSGetShader(This,ppGeometryShader) ) 
-
-#define ID3D10Device1_IAGetPrimitiveTopology(This,pTopology)	\
-    ( (This)->lpVtbl -> IAGetPrimitiveTopology(This,pTopology) ) 
-
-#define ID3D10Device1_VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)	\
-    ( (This)->lpVtbl -> VSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) ) 
-
-#define ID3D10Device1_VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)	\
-    ( (This)->lpVtbl -> VSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) ) 
-
-#define ID3D10Device1_GetPredication(This,ppPredicate,pPredicateValue)	\
-    ( (This)->lpVtbl -> GetPredication(This,ppPredicate,pPredicateValue) ) 
-
-#define ID3D10Device1_GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews)	\
-    ( (This)->lpVtbl -> GSGetShaderResources(This,StartSlot,NumViews,ppShaderResourceViews) ) 
-
-#define ID3D10Device1_GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers)	\
-    ( (This)->lpVtbl -> GSGetSamplers(This,StartSlot,NumSamplers,ppSamplers) ) 
-
-#define ID3D10Device1_OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView)	\
-    ( (This)->lpVtbl -> OMGetRenderTargets(This,NumViews,ppRenderTargetViews,ppDepthStencilView) ) 
-
-#define ID3D10Device1_OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask)	\
-    ( (This)->lpVtbl -> OMGetBlendState(This,ppBlendState,BlendFactor,pSampleMask) ) 
-
-#define ID3D10Device1_OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef)	\
-    ( (This)->lpVtbl -> OMGetDepthStencilState(This,ppDepthStencilState,pStencilRef) ) 
-
-#define ID3D10Device1_SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets)	\
-    ( (This)->lpVtbl -> SOGetTargets(This,NumBuffers,ppSOTargets,pOffsets) ) 
-
-#define ID3D10Device1_RSGetState(This,ppRasterizerState)	\
-    ( (This)->lpVtbl -> RSGetState(This,ppRasterizerState) ) 
-
-#define ID3D10Device1_RSGetViewports(This,NumViewports,pViewports)	\
-    ( (This)->lpVtbl -> RSGetViewports(This,NumViewports,pViewports) ) 
-
-#define ID3D10Device1_RSGetScissorRects(This,NumRects,pRects)	\
-    ( (This)->lpVtbl -> RSGetScissorRects(This,NumRects,pRects) ) 
-
-#define ID3D10Device1_GetDeviceRemovedReason(This)	\
-    ( (This)->lpVtbl -> GetDeviceRemovedReason(This) ) 
-
-#define ID3D10Device1_SetExceptionMode(This,RaiseFlags)	\
-    ( (This)->lpVtbl -> SetExceptionMode(This,RaiseFlags) ) 
-
-#define ID3D10Device1_GetExceptionMode(This)	\
-    ( (This)->lpVtbl -> GetExceptionMode(This) ) 
-
-#define ID3D10Device1_GetPrivateData(This,guid,pDataSize,pData)	\
-    ( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) ) 
-
-#define ID3D10Device1_SetPrivateData(This,guid,DataSize,pData)	\
-    ( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) ) 
-
-#define ID3D10Device1_SetPrivateDataInterface(This,guid,pData)	\
-    ( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) ) 
-
-#define ID3D10Device1_ClearState(This)	\
-    ( (This)->lpVtbl -> ClearState(This) ) 
-
-#define ID3D10Device1_Flush(This)	\
-    ( (This)->lpVtbl -> Flush(This) ) 
-
-#define ID3D10Device1_CreateBuffer(This,pDesc,pInitialData,ppBuffer)	\
-    ( (This)->lpVtbl -> CreateBuffer(This,pDesc,pInitialData,ppBuffer) ) 
-
-#define ID3D10Device1_CreateTexture1D(This,pDesc,pInitialData,ppTexture1D)	\
-    ( (This)->lpVtbl -> CreateTexture1D(This,pDesc,pInitialData,ppTexture1D) ) 
-
-#define ID3D10Device1_CreateTexture2D(This,pDesc,pInitialData,ppTexture2D)	\
-    ( (This)->lpVtbl -> CreateTexture2D(This,pDesc,pInitialData,ppTexture2D) ) 
-
-#define ID3D10Device1_CreateTexture3D(This,pDesc,pInitialData,ppTexture3D)	\
-    ( (This)->lpVtbl -> CreateTexture3D(This,pDesc,pInitialData,ppTexture3D) ) 
-
-#define ID3D10Device1_CreateShaderResourceView(This,pResource,pDesc,ppSRView)	\
-    ( (This)->lpVtbl -> CreateShaderResourceView(This,pResource,pDesc,ppSRView) ) 
-
-#define ID3D10Device1_CreateRenderTargetView(This,pResource,pDesc,ppRTView)	\
-    ( (This)->lpVtbl -> CreateRenderTargetView(This,pResource,pDesc,ppRTView) ) 
-
-#define ID3D10Device1_CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView)	\
-    ( (This)->lpVtbl -> CreateDepthStencilView(This,pResource,pDesc,ppDepthStencilView) ) 
-
-#define ID3D10Device1_CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout)	\
-    ( (This)->lpVtbl -> CreateInputLayout(This,pInputElementDescs,NumElements,pShaderBytecodeWithInputSignature,BytecodeLength,ppInputLayout) ) 
-
-#define ID3D10Device1_CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader)	\
-    ( (This)->lpVtbl -> CreateVertexShader(This,pShaderBytecode,BytecodeLength,ppVertexShader) ) 
-
-#define ID3D10Device1_CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader)	\
-    ( (This)->lpVtbl -> CreateGeometryShader(This,pShaderBytecode,BytecodeLength,ppGeometryShader) ) 
-
-#define ID3D10Device1_CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader)	\
-    ( (This)->lpVtbl -> CreateGeometryShaderWithStreamOutput(This,pShaderBytecode,BytecodeLength,pSODeclaration,NumEntries,OutputStreamStride,ppGeometryShader) ) 
-
-#define ID3D10Device1_CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader)	\
-    ( (This)->lpVtbl -> CreatePixelShader(This,pShaderBytecode,BytecodeLength,ppPixelShader) ) 
-
-#define ID3D10Device1_CreateBlendState(This,pBlendStateDesc,ppBlendState)	\
-    ( (This)->lpVtbl -> CreateBlendState(This,pBlendStateDesc,ppBlendState) ) 
-
-#define ID3D10Device1_CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState)	\
-    ( (This)->lpVtbl -> CreateDepthStencilState(This,pDepthStencilDesc,ppDepthStencilState) ) 
-
-#define ID3D10Device1_CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState)	\
-    ( (This)->lpVtbl -> CreateRasterizerState(This,pRasterizerDesc,ppRasterizerState) ) 
-
-#define ID3D10Device1_CreateSamplerState(This,pSamplerDesc,ppSamplerState)	\
-    ( (This)->lpVtbl -> CreateSamplerState(This,pSamplerDesc,ppSamplerState) ) 
-
-#define ID3D10Device1_CreateQuery(This,pQueryDesc,ppQuery)	\
-    ( (This)->lpVtbl -> CreateQuery(This,pQueryDesc,ppQuery) ) 
-
-#define ID3D10Device1_CreatePredicate(This,pPredicateDesc,ppPredicate)	\
-    ( (This)->lpVtbl -> CreatePredicate(This,pPredicateDesc,ppPredicate) ) 
-
-#define ID3D10Device1_CreateCounter(This,pCounterDesc,ppCounter)	\
-    ( (This)->lpVtbl -> CreateCounter(This,pCounterDesc,ppCounter) ) 
-
-#define ID3D10Device1_CheckFormatSupport(This,Format,pFormatSupport)	\
-    ( (This)->lpVtbl -> CheckFormatSupport(This,Format,pFormatSupport) ) 
-
-#define ID3D10Device1_CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels)	\
-    ( (This)->lpVtbl -> CheckMultisampleQualityLevels(This,Format,SampleCount,pNumQualityLevels) ) 
-
-#define ID3D10Device1_CheckCounterInfo(This,pCounterInfo)	\
-    ( (This)->lpVtbl -> CheckCounterInfo(This,pCounterInfo) ) 
-
-#define ID3D10Device1_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 ID3D10Device1_GetCreationFlags(This)	\
-    ( (This)->lpVtbl -> GetCreationFlags(This) ) 
-
-#define ID3D10Device1_OpenSharedResource(This,hResource,ReturnedInterface,ppResource)	\
-    ( (This)->lpVtbl -> OpenSharedResource(This,hResource,ReturnedInterface,ppResource) ) 
-
-#define ID3D10Device1_SetTextFilterSize(This,Width,Height)	\
-    ( (This)->lpVtbl -> SetTextFilterSize(This,Width,Height) ) 
-
-#define ID3D10Device1_GetTextFilterSize(This,pWidth,pHeight)	\
-    ( (This)->lpVtbl -> GetTextFilterSize(This,pWidth,pHeight) ) 
-
-
-#define ID3D10Device1_CreateShaderResourceView1(This,pResource,pDesc,ppSRView)	\
-    ( (This)->lpVtbl -> CreateShaderResourceView1(This,pResource,pDesc,ppSRView) ) 
-
-#define ID3D10Device1_CreateBlendState1(This,pBlendStateDesc,ppBlendState)	\
-    ( (This)->lpVtbl -> CreateBlendState1(This,pBlendStateDesc,ppBlendState) ) 
-
-#define ID3D10Device1_GetFeatureLevel(This)	\
-    ( (This)->lpVtbl -> GetFeatureLevel(This) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif 	/* C style interface */
-
-
-
-
-#endif 	/* __ID3D10Device1_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_d3d10_1_0000_0003 */
-/* [local] */ 
-
-#define	D3D10_1_SDK_VERSION	( ( 0 + 0x20 )  )
-
-#include "d3d10_1shader.h" 
-
-///////////////////////////////////////////////////////////////////////////
-// D3D10CreateDevice1
-// ------------------
-//
-// pAdapter
-//      If NULL, D3D10CreateDevice1 will choose the primary adapter and
-//      create a new instance from a temporarily created IDXGIFactory.
-//      If non-NULL, D3D10CreateDevice1 will register the appropriate
-//      device, if necessary (via IDXGIAdapter::RegisterDrver), before
-//      creating the device.
-// DriverType
-//      Specifies the driver type to be created: hardware, reference or
-//      null.
-// Software
-//      HMODULE of a DLL implementing a software rasterizer. Must be NULL for
-//      non-Software driver types.
-// Flags
-//      Any of those documented for D3D10CreateDeviceAndSwapChain1.
-// HardwareLevel
-//      Any of those documented for D3D10CreateDeviceAndSwapChain1.
-// SDKVersion
-//      SDK version. Use the D3D10_1_SDK_VERSION macro.
-// ppDevice
-//      Pointer to returned interface.
-//
-// Return Values
-//  Any of those documented for 
-//          CreateDXGIFactory
-//          IDXGIFactory::EnumAdapters
-//          IDXGIAdapter::RegisterDriver
-//          D3D10CreateDevice1
-//
-///////////////////////////////////////////////////////////////////////////
-typedef HRESULT (WINAPI* PFN_D3D10_CREATE_DEVICE1)(IDXGIAdapter *, 
-    D3D10_DRIVER_TYPE, HMODULE, UINT, D3D10_FEATURE_LEVEL1, UINT, ID3D10Device1**);
-
-HRESULT WINAPI D3D10CreateDevice1(
-    _In_opt_ IDXGIAdapter *pAdapter,
-    D3D10_DRIVER_TYPE DriverType,
-    HMODULE Software,
-    UINT Flags,
-    D3D10_FEATURE_LEVEL1 HardwareLevel,
-    UINT SDKVersion,
-    _Out_opt_ ID3D10Device1 **ppDevice);
-
-///////////////////////////////////////////////////////////////////////////
-// D3D10CreateDeviceAndSwapChain1
-// ------------------------------
-//
-// ppAdapter
-//      If NULL, D3D10CreateDevice1 will choose the primary adapter and 
-//      create a new instance from a temporarily created IDXGIFactory.
-//      If non-NULL, D3D10CreateDevice1 will register the appropriate
-//      device, if necessary (via IDXGIAdapter::RegisterDrver), before
-//      creating the device.
-// DriverType
-//      Specifies the driver type to be created: hardware, reference or
-//      null.
-// Software
-//      HMODULE of a DLL implementing a software rasterizer. Must be NULL for
-//      non-Software driver types.
-// Flags
-//      Any of those documented for D3D10CreateDevice1.
-// HardwareLevel
-//      Any of:
-//          D3D10_CREATE_LEVEL_10_0
-//          D3D10_CREATE_LEVEL_10_1
-// SDKVersion
-//      SDK version. Use the D3D10_1_SDK_VERSION macro.
-// pSwapChainDesc
-//      Swap chain description, may be NULL.
-// ppSwapChain
-//      Pointer to returned interface. May be NULL.
-// ppDevice
-//      Pointer to returned interface.
-//
-// Return Values
-//  Any of those documented for 
-//          CreateDXGIFactory
-//          IDXGIFactory::EnumAdapters
-//          IDXGIAdapter::RegisterDriver
-//          D3D10CreateDevice1
-//          IDXGIFactory::CreateSwapChain
-//
-///////////////////////////////////////////////////////////////////////////
-typedef HRESULT (WINAPI* PFN_D3D10_CREATE_DEVICE_AND_SWAP_CHAIN1)(IDXGIAdapter *, 
-    D3D10_DRIVER_TYPE, HMODULE, UINT, D3D10_FEATURE_LEVEL1, UINT, DXGI_SWAP_CHAIN_DESC *, IDXGISwapChain **, ID3D10Device1 **);
-
-HRESULT WINAPI D3D10CreateDeviceAndSwapChain1(
-    _In_opt_ IDXGIAdapter *pAdapter,
-    D3D10_DRIVER_TYPE DriverType,
-    HMODULE Software,
-    UINT Flags,
-    D3D10_FEATURE_LEVEL1 HardwareLevel,
-    UINT SDKVersion,
-    _In_opt_ DXGI_SWAP_CHAIN_DESC *pSwapChainDesc,
-    _Out_opt_ IDXGISwapChain **ppSwapChain,
-    _Out_opt_ ID3D10Device1 **ppDevice);
-
-DEFINE_GUID(IID_ID3D10BlendState1,0xEDAD8D99,0x8A35,0x4d6d,0x85,0x66,0x2E,0xA2,0x76,0xCD,0xE1,0x61);
-DEFINE_GUID(IID_ID3D10ShaderResourceView1,0x9B7E4C87,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
-DEFINE_GUID(IID_ID3D10Device1,0x9B7E4C8F,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0003_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0003_v0_0_s_ifspec;
-
-/* Additional Prototypes for ALL interfaces */
-
-/* end of Additional Prototypes */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-
-

+ 0 - 305
3rdparty/dxsdk/include/d3d10_1shader.h

@@ -1,305 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//
-//  Copyright (c) Microsoft Corporation.  All rights reserved.
-//
-//  File:       D3D10_1Shader.h
-//  Content:    D3D10.1 Shader Types and APIs
-//
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __D3D10_1SHADER_H__
-#define __D3D10_1SHADER_H__
-
-#include "d3d10shader.h"
-
-
-
-
-//----------------------------------------------------------------------------
-// Shader debugging structures
-//----------------------------------------------------------------------------
-
-typedef enum _D3D10_SHADER_DEBUG_REGTYPE
-{
-    D3D10_SHADER_DEBUG_REG_INPUT,
-    D3D10_SHADER_DEBUG_REG_OUTPUT,
-    D3D10_SHADER_DEBUG_REG_CBUFFER,
-    D3D10_SHADER_DEBUG_REG_TBUFFER,
-    D3D10_SHADER_DEBUG_REG_TEMP,
-    D3D10_SHADER_DEBUG_REG_TEMPARRAY,
-    D3D10_SHADER_DEBUG_REG_TEXTURE,
-    D3D10_SHADER_DEBUG_REG_SAMPLER,
-    D3D10_SHADER_DEBUG_REG_IMMEDIATECBUFFER,
-    D3D10_SHADER_DEBUG_REG_LITERAL,
-    D3D10_SHADER_DEBUG_REG_UNUSED,
-    D3D11_SHADER_DEBUG_REG_INTERFACE_POINTERS,
-    D3D11_SHADER_DEBUG_REG_UAV,
-    D3D10_SHADER_DEBUG_REG_FORCE_DWORD = 0x7fffffff,
-} D3D10_SHADER_DEBUG_REGTYPE;
-
-typedef enum _D3D10_SHADER_DEBUG_SCOPETYPE
-{
-    D3D10_SHADER_DEBUG_SCOPE_GLOBAL,
-    D3D10_SHADER_DEBUG_SCOPE_BLOCK,
-    D3D10_SHADER_DEBUG_SCOPE_FORLOOP,
-    D3D10_SHADER_DEBUG_SCOPE_STRUCT,
-    D3D10_SHADER_DEBUG_SCOPE_FUNC_PARAMS,
-    D3D10_SHADER_DEBUG_SCOPE_STATEBLOCK,
-    D3D10_SHADER_DEBUG_SCOPE_NAMESPACE,
-    D3D10_SHADER_DEBUG_SCOPE_ANNOTATION,
-    D3D10_SHADER_DEBUG_SCOPE_FORCE_DWORD = 0x7fffffff,
-} D3D10_SHADER_DEBUG_SCOPETYPE;
-
-typedef enum _D3D10_SHADER_DEBUG_VARTYPE
-{
-    D3D10_SHADER_DEBUG_VAR_VARIABLE,
-    D3D10_SHADER_DEBUG_VAR_FUNCTION,
-    D3D10_SHADER_DEBUG_VAR_FORCE_DWORD = 0x7fffffff,
-} D3D10_SHADER_DEBUG_VARTYPE;
-
-/////////////////////////////////////////////////////////////////////
-// These are the serialized structures that get written to the file
-/////////////////////////////////////////////////////////////////////
-
-typedef struct _D3D10_SHADER_DEBUG_TOKEN_INFO
-{
-    UINT File;    // offset into file list
-    UINT Line;    // line #
-    UINT Column;  // column #
-
-    UINT TokenLength;
-    UINT TokenId; // offset to LPCSTR of length TokenLength in string datastore
-} D3D10_SHADER_DEBUG_TOKEN_INFO;
-
-// Variable list
-typedef struct _D3D10_SHADER_DEBUG_VAR_INFO
-{
-    // Index into token list for declaring identifier
-    UINT TokenId;
-    D3D10_SHADER_VARIABLE_TYPE Type;
-    // register and component for this variable, only valid/necessary for arrays
-    UINT Register;
-    UINT Component;
-    // gives the original variable that declared this variable
-    UINT ScopeVar;
-    // this variable's offset in its ScopeVar
-    UINT ScopeVarOffset;
-} D3D10_SHADER_DEBUG_VAR_INFO;
-
-typedef struct _D3D10_SHADER_DEBUG_INPUT_INFO
-{
-    // index into array of variables of variable to initialize
-    UINT Var;
-    // input, cbuffer, tbuffer
-    D3D10_SHADER_DEBUG_REGTYPE InitialRegisterSet;
-    // set to cbuffer or tbuffer slot, geometry shader input primitive #,
-    // identifying register for indexable temp, or -1
-    UINT InitialBank;
-    // -1 if temp, otherwise gives register in register set
-    UINT InitialRegister;
-    // -1 if temp, otherwise gives component
-    UINT InitialComponent;
-    // initial value if literal
-    UINT InitialValue;
-} D3D10_SHADER_DEBUG_INPUT_INFO;
-
-typedef struct _D3D10_SHADER_DEBUG_SCOPEVAR_INFO
-{
-    // Index into variable token
-    UINT TokenId;
-
-    D3D10_SHADER_DEBUG_VARTYPE VarType; // variable or function (different namespaces)
-    D3D10_SHADER_VARIABLE_CLASS Class;
-    UINT Rows;          // number of rows (matrices)
-    UINT Columns;       // number of columns (vectors and matrices)
-
-    // In an array of structures, one struct member scope is provided, and
-    // you'll have to add the array stride times the index to the variable
-    // index you find, then find that variable in this structure's list of
-    // variables.
-
-    // gives a scope to look up struct members. -1 if not a struct
-    UINT StructMemberScope;
-
-    // number of array indices
-    UINT uArrayIndices;    // a[3][2][1] has 3 indices
-    // maximum array index for each index
-    // offset to UINT[uArrayIndices] in UINT datastore
-    UINT ArrayElements; // a[3][2][1] has {3, 2, 1}
-    // how many variables each array index moves
-    // offset to UINT[uArrayIndices] in UINT datastore
-    UINT ArrayStrides;  // a[3][2][1] has {2, 1, 1}
-
-    UINT uVariables;
-    // index of the first variable, later variables are offsets from this one
-    UINT uFirstVariable;
-} D3D10_SHADER_DEBUG_SCOPEVAR_INFO;
-
-// scope data, this maps variable names to debug variables (useful for the watch window)
-typedef struct _D3D10_SHADER_DEBUG_SCOPE_INFO
-{
-    D3D10_SHADER_DEBUG_SCOPETYPE ScopeType;
-    UINT Name;         // offset to name of scope in strings list
-    UINT uNameLen;     // length of name string
-    UINT uVariables;
-    UINT VariableData; // Offset to UINT[uVariables] indexing the Scope Variable list
-} D3D10_SHADER_DEBUG_SCOPE_INFO;
-
-// instruction outputs
-typedef struct _D3D10_SHADER_DEBUG_OUTPUTVAR
-{
-    // index variable being written to, if -1 it's not going to a variable
-    UINT Var;
-    // range data that the compiler expects to be true
-    UINT  uValueMin, uValueMax;
-    INT   iValueMin, iValueMax;
-    FLOAT fValueMin, fValueMax;
-
-    BOOL  bNaNPossible, bInfPossible;
-} D3D10_SHADER_DEBUG_OUTPUTVAR;
-
-typedef struct _D3D10_SHADER_DEBUG_OUTPUTREG_INFO
-{
-    // Only temp, indexable temp, and output are valid here
-    D3D10_SHADER_DEBUG_REGTYPE OutputRegisterSet;
-    // -1 means no output
-    UINT OutputReg;
-    // if a temp array, identifier for which one
-    UINT TempArrayReg;
-    // -1 means masked out
-    UINT OutputComponents[4];
-    D3D10_SHADER_DEBUG_OUTPUTVAR OutputVars[4];
-    // when indexing the output, get the value of this register, then add
-    // that to uOutputReg. If uIndexReg is -1, then there is no index.
-    // find the variable whose register is the sum (by looking in the ScopeVar)
-    // and component matches, then set it. This should only happen for indexable
-    // temps and outputs.
-    UINT IndexReg;
-    UINT IndexComp;
-} D3D10_SHADER_DEBUG_OUTPUTREG_INFO;
-
-// per instruction data
-typedef struct _D3D10_SHADER_DEBUG_INST_INFO
-{
-    UINT Id; // Which instruction this is in the bytecode
-    UINT Opcode; // instruction type
-
-    // 0, 1, or 2
-    UINT uOutputs;
-
-    // up to two outputs per instruction
-    D3D10_SHADER_DEBUG_OUTPUTREG_INFO pOutputs[2];
-    
-    // index into the list of tokens for this instruction's token
-    UINT TokenId;
-
-    // how many function calls deep this instruction is
-    UINT NestingLevel;
-
-    // list of scopes from outer-most to inner-most
-    // Number of scopes
-    UINT Scopes;
-    UINT ScopeInfo; // Offset to UINT[uScopes] specifying indices of the ScopeInfo Array
-
-    // list of variables accessed by this instruction
-    // Number of variables
-    UINT AccessedVars;
-    UINT AccessedVarsInfo; // Offset to UINT[AccessedVars] specifying indices of the ScopeVariableInfo Array
-} D3D10_SHADER_DEBUG_INST_INFO;
-
-typedef struct _D3D10_SHADER_DEBUG_FILE_INFO
-{
-    UINT FileName;    // Offset to LPCSTR for file name
-    UINT FileNameLen; // Length of file name
-    UINT FileData;    // Offset to LPCSTR of length FileLen
-    UINT FileLen;     // Length of file
-} D3D10_SHADER_DEBUG_FILE_INFO;
-
-typedef struct _D3D10_SHADER_DEBUG_INFO
-{
-    UINT Size;                             // sizeof(D3D10_SHADER_DEBUG_INFO)
-    UINT Creator;                          // Offset to LPCSTR for compiler version
-    UINT EntrypointName;                   // Offset to LPCSTR for Entry point name
-    UINT ShaderTarget;                     // Offset to LPCSTR for shader target
-    UINT CompileFlags;                     // flags used to compile
-    UINT Files;                            // number of included files
-    UINT FileInfo;                         // Offset to D3D10_SHADER_DEBUG_FILE_INFO[Files]
-    UINT Instructions;                     // number of instructions
-    UINT InstructionInfo;                  // Offset to D3D10_SHADER_DEBUG_INST_INFO[Instructions]
-    UINT Variables;                        // number of variables
-    UINT VariableInfo;                     // Offset to D3D10_SHADER_DEBUG_VAR_INFO[Variables]
-    UINT InputVariables;                   // number of variables to initialize before running
-    UINT InputVariableInfo;                // Offset to D3D10_SHADER_DEBUG_INPUT_INFO[InputVariables]
-    UINT Tokens;                           // number of tokens to initialize
-    UINT TokenInfo;                        // Offset to D3D10_SHADER_DEBUG_TOKEN_INFO[Tokens]
-    UINT Scopes;                           // number of scopes
-    UINT ScopeInfo;                        // Offset to D3D10_SHADER_DEBUG_SCOPE_INFO[Scopes]
-    UINT ScopeVariables;                   // number of variables declared
-    UINT ScopeVariableInfo;                // Offset to D3D10_SHADER_DEBUG_SCOPEVAR_INFO[Scopes]
-    UINT UintOffset;                       // Offset to the UINT datastore, all UINT offsets are from this offset
-    UINT StringOffset;                     // Offset to the string datastore, all string offsets are from this offset
-} D3D10_SHADER_DEBUG_INFO;
-
-//----------------------------------------------------------------------------
-// ID3D10ShaderReflection1:
-//----------------------------------------------------------------------------
-
-//
-// Interface definitions
-//
-
-
-typedef interface ID3D10ShaderReflection1 ID3D10ShaderReflection1;
-typedef interface ID3D10ShaderReflection1 *LPD3D10SHADERREFLECTION1;
-
-// {C3457783-A846-47CE-9520-CEA6F66E7447}
-DEFINE_GUID(IID_ID3D10ShaderReflection1, 
-0xc3457783, 0xa846, 0x47ce, 0x95, 0x20, 0xce, 0xa6, 0xf6, 0x6e, 0x74, 0x47);
-
-#undef INTERFACE
-#define INTERFACE ID3D10ShaderReflection1
-
-DECLARE_INTERFACE_(ID3D10ShaderReflection1, IUnknown)
-{
-    STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
-    STDMETHOD_(ULONG, AddRef)(THIS) PURE;
-    STDMETHOD_(ULONG, Release)(THIS) PURE;
-
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_SHADER_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10ShaderReflectionConstantBuffer*, GetConstantBufferByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10ShaderReflectionConstantBuffer*, GetConstantBufferByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD(GetResourceBindingDesc)(THIS_ UINT ResourceIndex, _Out_ D3D10_SHADER_INPUT_BIND_DESC *pDesc) PURE;
-    
-    STDMETHOD(GetInputParameterDesc)(THIS_ UINT ParameterIndex, _Out_ D3D10_SIGNATURE_PARAMETER_DESC *pDesc) PURE;
-    STDMETHOD(GetOutputParameterDesc)(THIS_ UINT ParameterIndex, _Out_ D3D10_SIGNATURE_PARAMETER_DESC *pDesc) PURE;
-
-    STDMETHOD_(ID3D10ShaderReflectionVariable*, GetVariableByName)(THIS_ LPCSTR Name) PURE;
-
-    STDMETHOD(GetResourceBindingDescByName)(THIS_ LPCSTR Name, _Out_ D3D10_SHADER_INPUT_BIND_DESC *pDesc) PURE;
-
-    STDMETHOD(GetMovInstructionCount)(THIS_ _Out_ UINT* pCount) PURE;
-    STDMETHOD(GetMovcInstructionCount)(THIS_ _Out_ UINT* pCount) PURE;
-    STDMETHOD(GetConversionInstructionCount)(THIS_ _Out_ UINT* pCount) PURE;
-    STDMETHOD(GetBitwiseInstructionCount)(THIS_ _Out_ UINT* pCount) PURE;
-    
-    STDMETHOD(GetGSInputPrimitive)(THIS_ _Out_ D3D10_PRIMITIVE* pPrim) PURE;
-    STDMETHOD(IsLevel9Shader)(THIS_ _Out_ BOOL* pbLevel9Shader) PURE;
-    STDMETHOD(IsSampleFrequencyShader)(THIS_ _Out_ BOOL* pbSampleFrequency) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// APIs //////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifdef __cplusplus
-extern "C" {
-#endif //__cplusplus
-
-#ifdef __cplusplus
-}
-#endif //__cplusplus
-    
-#endif //__D3D10_1SHADER_H__
-

+ 0 - 1458
3rdparty/dxsdk/include/d3d10effect.h

@@ -1,1458 +0,0 @@
-
-//////////////////////////////////////////////////////////////////////////////
-//
-//  Copyright (c) Microsoft Corporation.  All rights reserved.
-//
-//  File:       D3D10Effect.h
-//  Content:    D3D10 Stateblock/Effect Types & APIs
-//
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __D3D10EFFECT_H__
-#define __D3D10EFFECT_H__
-
-
-
-#include "d3d10.h"
-
-//////////////////////////////////////////////////////////////////////////////
-// File contents:
-//
-// 1) Stateblock enums, structs, interfaces, flat APIs
-// 2) Effect enums, structs, interfaces, flat APIs
-//////////////////////////////////////////////////////////////////////////////
-
-//----------------------------------------------------------------------------
-// D3D10_DEVICE_STATE_TYPES:
-//
-// Used in ID3D10StateBlockMask function calls
-//
-//----------------------------------------------------------------------------
-
-typedef enum _D3D10_DEVICE_STATE_TYPES
-{
-    
-    D3D10_DST_SO_BUFFERS=1,             // Single-value state (atomical gets/sets)
-    D3D10_DST_OM_RENDER_TARGETS,        // Single-value state (atomical gets/sets)
-    D3D10_DST_OM_DEPTH_STENCIL_STATE,   // Single-value state
-    D3D10_DST_OM_BLEND_STATE,           // Single-value state
-
-    D3D10_DST_VS,                       // Single-value state
-    D3D10_DST_VS_SAMPLERS,              // Count: D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT
-    D3D10_DST_VS_SHADER_RESOURCES,      // Count: D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT
-    D3D10_DST_VS_CONSTANT_BUFFERS,      // Count:			
-
-    D3D10_DST_GS,                       // Single-value state
-    D3D10_DST_GS_SAMPLERS,              // Count: D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT
-    D3D10_DST_GS_SHADER_RESOURCES,      // Count: D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT
-    D3D10_DST_GS_CONSTANT_BUFFERS,      // Count: D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT
-
-    D3D10_DST_PS,                       // Single-value state
-    D3D10_DST_PS_SAMPLERS,              // Count: D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT
-    D3D10_DST_PS_SHADER_RESOURCES,      // Count: D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT
-    D3D10_DST_PS_CONSTANT_BUFFERS,      // Count: D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT
-    
-    D3D10_DST_IA_VERTEX_BUFFERS,        // Count: D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT
-    D3D10_DST_IA_INDEX_BUFFER,          // Single-value state
-    D3D10_DST_IA_INPUT_LAYOUT,          // Single-value state
-    D3D10_DST_IA_PRIMITIVE_TOPOLOGY,    // Single-value state
-
-    D3D10_DST_RS_VIEWPORTS,             // Single-value state (atomical gets/sets)
-    D3D10_DST_RS_SCISSOR_RECTS,         // Single-value state (atomical gets/sets)
-    D3D10_DST_RS_RASTERIZER_STATE,      // Single-value state
-
-    D3D10_DST_PREDICATION,              // Single-value state
-} D3D10_DEVICE_STATE_TYPES;
-
-//----------------------------------------------------------------------------
-// D3D10_DEVICE_STATE_TYPES:
-//
-// Used in ID3D10StateBlockMask function calls
-//
-//----------------------------------------------------------------------------
-
-#ifndef D3D10_BYTES_FROM_BITS
-#define D3D10_BYTES_FROM_BITS(x) (((x) + 7) / 8)
-#endif // D3D10_BYTES_FROM_BITS
-
-typedef struct _D3D10_STATE_BLOCK_MASK
-{
-    BYTE VS;
-    BYTE VSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)];
-    BYTE VSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)];
-    BYTE VSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)];
-    
-    BYTE GS;
-    BYTE GSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)];
-    BYTE GSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)];
-    BYTE GSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)];
-    
-    BYTE PS;
-    BYTE PSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)];
-    BYTE PSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)];
-    BYTE PSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)];
-    
-    BYTE IAVertexBuffers[D3D10_BYTES_FROM_BITS(D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT)];
-    BYTE IAIndexBuffer;
-    BYTE IAInputLayout;
-    BYTE IAPrimitiveTopology;
-    
-    BYTE OMRenderTargets;
-    BYTE OMDepthStencilState;
-    BYTE OMBlendState;
-    
-    BYTE RSViewports;
-    BYTE RSScissorRects;
-    BYTE RSRasterizerState;
-    
-    BYTE SOBuffers;
-    
-    BYTE Predication;
-} D3D10_STATE_BLOCK_MASK;
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10StateBlock //////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10StateBlock ID3D10StateBlock;
-typedef interface ID3D10StateBlock *LPD3D10STATEBLOCK;
-
-// {0803425A-57F5-4dd6-9465-A87570834A08}
-DEFINE_GUID(IID_ID3D10StateBlock, 
-0x803425a, 0x57f5, 0x4dd6, 0x94, 0x65, 0xa8, 0x75, 0x70, 0x83, 0x4a, 0x8);
-
-#undef INTERFACE
-#define INTERFACE ID3D10StateBlock
-
-DECLARE_INTERFACE_(ID3D10StateBlock, IUnknown)
-{
-    STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
-    STDMETHOD_(ULONG, AddRef)(THIS) PURE;
-    STDMETHOD_(ULONG, Release)(THIS) PURE;
-    
-    STDMETHOD(Capture)(THIS) PURE;
-    STDMETHOD(Apply)(THIS) PURE;
-    STDMETHOD(ReleaseAllDeviceObjects)(THIS) PURE;
-    STDMETHOD(GetDevice)(_Out_ THIS_ ID3D10Device **ppDevice) PURE;
-};
-
-#ifdef __cplusplus
-extern "C" {
-#endif //__cplusplus
-
-//----------------------------------------------------------------------------
-// D3D10_STATE_BLOCK_MASK and manipulation functions
-// -------------------------------------------------
-//
-// These functions exist to facilitate working with the D3D10_STATE_BLOCK_MASK
-// structure.
-//
-// D3D10_STATE_BLOCK_MASK *pResult or *pMask
-//   The state block mask to operate on
-//
-// D3D10_STATE_BLOCK_MASK *pA, *pB
-//   The source state block masks for the binary union/intersect/difference
-//   operations.
-//
-// D3D10_DEVICE_STATE_TYPES StateType
-//   The specific state type to enable/disable/query
-//
-// UINT RangeStart, RangeLength, Entry
-//   The specific bit or range of bits for a given state type to operate on.
-//   Consult the comments for D3D10_DEVICE_STATE_TYPES and 
-//   D3D10_STATE_BLOCK_MASK for information on the valid bit ranges for 
-//   each state.
-//
-//----------------------------------------------------------------------------
-
-HRESULT WINAPI D3D10StateBlockMaskUnion(_In_ D3D10_STATE_BLOCK_MASK *pA, _In_ D3D10_STATE_BLOCK_MASK *pB, _Out_ D3D10_STATE_BLOCK_MASK *pResult);
-HRESULT WINAPI D3D10StateBlockMaskIntersect(_In_ D3D10_STATE_BLOCK_MASK *pA, _In_ D3D10_STATE_BLOCK_MASK *pB, _Out_ D3D10_STATE_BLOCK_MASK *pResult);
-HRESULT WINAPI D3D10StateBlockMaskDifference(_In_ D3D10_STATE_BLOCK_MASK *pA, _In_ D3D10_STATE_BLOCK_MASK *pB, _Out_ D3D10_STATE_BLOCK_MASK *pResult);
-HRESULT WINAPI D3D10StateBlockMaskEnableCapture(_Inout_ D3D10_STATE_BLOCK_MASK *pMask, D3D10_DEVICE_STATE_TYPES StateType, UINT RangeStart, UINT RangeLength);
-HRESULT WINAPI D3D10StateBlockMaskDisableCapture(_Inout_ D3D10_STATE_BLOCK_MASK *pMask, D3D10_DEVICE_STATE_TYPES StateType, UINT RangeStart, UINT RangeLength);
-HRESULT WINAPI D3D10StateBlockMaskEnableAll(_Out_ D3D10_STATE_BLOCK_MASK *pMask);
-HRESULT WINAPI D3D10StateBlockMaskDisableAll(_Out_ D3D10_STATE_BLOCK_MASK *pMask);
-BOOL    WINAPI D3D10StateBlockMaskGetSetting(_In_ D3D10_STATE_BLOCK_MASK *pMask, D3D10_DEVICE_STATE_TYPES StateType, UINT Entry);
-
-//----------------------------------------------------------------------------
-// D3D10CreateStateBlock
-// ---------------------
-//
-// Creates a state block object based on the mask settings specified
-//   in a D3D10_STATE_BLOCK_MASK structure.
-//
-// ID3D10Device *pDevice
-//      The device interface to associate with this state block
-//
-// D3D10_STATE_BLOCK_MASK *pStateBlockMask
-//      A bit mask whose settings are used to generate a state block
-//      object.
-//
-// ID3D10StateBlock **ppStateBlock
-//      The resulting state block object.  This object will save/restore
-//      only those pieces of state that were set in the state block
-//      bit mask
-//----------------------------------------------------------------------------
-
-HRESULT WINAPI D3D10CreateStateBlock(_In_ ID3D10Device *pDevice, _In_ D3D10_STATE_BLOCK_MASK *pStateBlockMask, _Out_ ID3D10StateBlock **ppStateBlock);
-
-#ifdef __cplusplus
-}
-#endif //__cplusplus
-
-//----------------------------------------------------------------------------
-// D3D10_COMPILE & D3D10_EFFECT flags:
-// -------------------------------------
-//
-// These flags are passed in when creating an effect, and affect
-// either compilation behavior or runtime effect behavior
-//
-// D3D10_EFFECT_COMPILE_CHILD_EFFECT
-//   Compile this .fx file to a child effect. Child effects have no initializers
-//   for any shared values as these are initialied in the master effect (pool).
-//
-// D3D10_EFFECT_COMPILE_ALLOW_SLOW_OPS
-//   By default, performance mode is enabled.  Performance mode disallows
-//   mutable state objects by preventing non-literal expressions from appearing in
-//   state object definitions.  Specifying this flag will disable the mode and allow
-//   for mutable state objects.
-//
-// D3D10_EFFECT_SINGLE_THREADED
-//   Do not attempt to synchronize with other threads loading effects into the
-//   same pool.
-//
-//----------------------------------------------------------------------------
-
-#define D3D10_EFFECT_COMPILE_CHILD_EFFECT              (1 << 0)
-#define D3D10_EFFECT_COMPILE_ALLOW_SLOW_OPS            (1 << 1)
-#define D3D10_EFFECT_SINGLE_THREADED                   (1 << 3)
-
-
-//----------------------------------------------------------------------------
-// D3D10_EFFECT_VARIABLE flags:
-// ----------------------------
-//
-// These flags describe an effect variable (global or annotation),
-// and are returned in D3D10_EFFECT_VARIABLE_DESC::Flags.
-//
-// D3D10_EFFECT_VARIABLE_POOLED
-//   Indicates that the this variable or constant buffer resides
-//   in an effect pool. If this flag is not set, then the variable resides
-//   in a standalone effect (if ID3D10Effect::GetPool returns NULL)
-//   or a child effect (if ID3D10Effect::GetPool returns non-NULL)
-//
-// D3D10_EFFECT_VARIABLE_ANNOTATION
-//   Indicates that this is an annotation on a technique, pass, or global
-//   variable. Otherwise, this is a global variable. Annotations cannot
-//   be shared.
-//
-// D3D10_EFFECT_VARIABLE_EXPLICIT_BIND_POINT
-//   Indicates that the variable has been explicitly bound using the
-//   register keyword.
-//----------------------------------------------------------------------------
-
-#define D3D10_EFFECT_VARIABLE_POOLED                  (1 << 0)
-#define D3D10_EFFECT_VARIABLE_ANNOTATION              (1 << 1)
-#define D3D10_EFFECT_VARIABLE_EXPLICIT_BIND_POINT     (1 << 2)
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectType //////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-//----------------------------------------------------------------------------
-// D3D10_EFFECT_TYPE_DESC:
-//
-// Retrieved by ID3D10EffectType::GetDesc()
-//----------------------------------------------------------------------------
-
-typedef struct _D3D10_EFFECT_TYPE_DESC
-{
-    LPCSTR  TypeName;               // Name of the type 
-                                    // (e.g. "float4" or "MyStruct")
-
-    D3D10_SHADER_VARIABLE_CLASS    Class;  // (e.g. scalar, vector, object, etc.)
-    D3D10_SHADER_VARIABLE_TYPE     Type;   // (e.g. float, texture, vertexshader, etc.)
-    
-    UINT    Elements;               // Number of elements in this type
-                                    // (0 if not an array) 
-    UINT    Members;                // Number of members
-                                    // (0 if not a structure)
-    UINT    Rows;                   // Number of rows in this type
-                                    // (0 if not a numeric primitive)
-    UINT    Columns;                // Number of columns in this type
-                                    // (0 if not a numeric primitive)
-    
-    UINT    PackedSize;             // Number of bytes required to represent
-                                    // this data type, when tightly packed
-    UINT    UnpackedSize;           // Number of bytes occupied by this data
-                                    // type, when laid out in a constant buffer
-    UINT    Stride;                 // Number of bytes to seek between elements,
-                                    // when laid out in a constant buffer
-} D3D10_EFFECT_TYPE_DESC;
-
-typedef interface ID3D10EffectType ID3D10EffectType;
-typedef interface ID3D10EffectType *LPD3D10EFFECTTYPE;
-
-// {4E9E1DDC-CD9D-4772-A837-00180B9B88FD}
-DEFINE_GUID(IID_ID3D10EffectType, 
-0x4e9e1ddc, 0xcd9d, 0x4772, 0xa8, 0x37, 0x0, 0x18, 0xb, 0x9b, 0x88, 0xfd);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectType
-
-DECLARE_INTERFACE(ID3D10EffectType)
-{
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_TYPE_DESC *pDesc) PURE;
-    STDMETHOD_(ID3D10EffectType*, GetMemberTypeByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectType*, GetMemberTypeByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectType*, GetMemberTypeBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    STDMETHOD_(LPCSTR, GetMemberName)(THIS_ UINT Index) PURE;
-    STDMETHOD_(LPCSTR, GetMemberSemantic)(THIS_ UINT Index) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectVariable //////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-//----------------------------------------------------------------------------
-// D3D10_EFFECT_VARIABLE_DESC:
-//
-// Retrieved by ID3D10EffectVariable::GetDesc()
-//----------------------------------------------------------------------------
-
-typedef struct _D3D10_EFFECT_VARIABLE_DESC
-{
-    LPCSTR  Name;                   // Name of this variable, annotation, 
-                                    // or structure member
-    LPCSTR  Semantic;               // Semantic string of this variable
-                                    // or structure member (NULL for 
-                                    // annotations or if not present)
-    
-    UINT    Flags;                  // D3D10_EFFECT_VARIABLE_* flags
-    UINT    Annotations;            // Number of annotations on this variable
-                                    // (always 0 for annotations)
-
-    UINT    BufferOffset;           // Offset into containing cbuffer or tbuffer
-                                    // (always 0 for annotations or variables
-                                    // not in constant buffers)
-
-    UINT    ExplicitBindPoint;      // Used if the variable has been explicitly bound
-                                    // using the register keyword. Check Flags for
-                                    // D3D10_EFFECT_VARIABLE_EXPLICIT_BIND_POINT;
-} D3D10_EFFECT_VARIABLE_DESC;
-
-typedef interface ID3D10EffectVariable ID3D10EffectVariable;
-typedef interface ID3D10EffectVariable *LPD3D10EFFECTVARIABLE;
-
-// {AE897105-00E6-45bf-BB8E-281DD6DB8E1B}
-DEFINE_GUID(IID_ID3D10EffectVariable, 
-0xae897105, 0xe6, 0x45bf, 0xbb, 0x8e, 0x28, 0x1d, 0xd6, 0xdb, 0x8e, 0x1b);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectVariable
-
-// Forward defines
-typedef interface ID3D10EffectScalarVariable ID3D10EffectScalarVariable;
-typedef interface ID3D10EffectVectorVariable ID3D10EffectVectorVariable;
-typedef interface ID3D10EffectMatrixVariable ID3D10EffectMatrixVariable;
-typedef interface ID3D10EffectStringVariable ID3D10EffectStringVariable;
-typedef interface ID3D10EffectShaderResourceVariable ID3D10EffectShaderResourceVariable;
-typedef interface ID3D10EffectRenderTargetViewVariable ID3D10EffectRenderTargetViewVariable;
-typedef interface ID3D10EffectDepthStencilViewVariable ID3D10EffectDepthStencilViewVariable;
-typedef interface ID3D10EffectConstantBuffer ID3D10EffectConstantBuffer;
-typedef interface ID3D10EffectShaderVariable ID3D10EffectShaderVariable;
-typedef interface ID3D10EffectBlendVariable ID3D10EffectBlendVariable;
-typedef interface ID3D10EffectDepthStencilVariable ID3D10EffectDepthStencilVariable;
-typedef interface ID3D10EffectRasterizerVariable ID3D10EffectRasterizerVariable;
-typedef interface ID3D10EffectSamplerVariable ID3D10EffectSamplerVariable;
-
-DECLARE_INTERFACE(ID3D10EffectVariable)
-{
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectScalarVariable ////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectScalarVariable ID3D10EffectScalarVariable;
-typedef interface ID3D10EffectScalarVariable *LPD3D10EFFECTSCALARVARIABLE;
-
-// {00E48F7B-D2C8-49e8-A86C-022DEE53431F}
-DEFINE_GUID(IID_ID3D10EffectScalarVariable, 
-0xe48f7b, 0xd2c8, 0x49e8, 0xa8, 0x6c, 0x2, 0x2d, 0xee, 0x53, 0x43, 0x1f);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectScalarVariable
-
-DECLARE_INTERFACE_(ID3D10EffectScalarVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
-    
-    STDMETHOD(SetFloat)(THIS_ float Value) PURE;
-    STDMETHOD(GetFloat)(THIS_ _Out_ float *pValue) PURE;    
-    
-    STDMETHOD(SetFloatArray)(THIS_ _In_reads_(Count) float *pData, UINT Offset, UINT Count) PURE;
-    STDMETHOD(GetFloatArray)(THIS_ _Out_writes_(Count) float *pData, UINT Offset, UINT Count) PURE;
-    
-    STDMETHOD(SetInt)(THIS_ int Value) PURE;
-    STDMETHOD(GetInt)(THIS_ _Out_ int *pValue) PURE;
-    
-    STDMETHOD(SetIntArray)(THIS_ _In_reads_(Count) int *pData, UINT Offset, UINT Count) PURE;
-    STDMETHOD(GetIntArray)(THIS_ _Out_writes_(Count) int *pData, UINT Offset, UINT Count) PURE;
-    
-    STDMETHOD(SetBool)(THIS_ BOOL Value) PURE;
-    STDMETHOD(GetBool)(THIS_ _Out_ BOOL *pValue) PURE;
-    
-    STDMETHOD(SetBoolArray)(THIS_ _In_reads_(Count) BOOL *pData, UINT Offset, UINT Count) PURE;
-    STDMETHOD(GetBoolArray)(THIS_ _Out_writes_(Count) BOOL *pData, UINT Offset, UINT Count) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectVectorVariable ////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectVectorVariable ID3D10EffectVectorVariable;
-typedef interface ID3D10EffectVectorVariable *LPD3D10EFFECTVECTORVARIABLE;
-
-// {62B98C44-1F82-4c67-BCD0-72CF8F217E81}
-DEFINE_GUID(IID_ID3D10EffectVectorVariable, 
-0x62b98c44, 0x1f82, 0x4c67, 0xbc, 0xd0, 0x72, 0xcf, 0x8f, 0x21, 0x7e, 0x81);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectVectorVariable
-
-DECLARE_INTERFACE_(ID3D10EffectVectorVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE; 
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
-    
-    STDMETHOD(SetBoolVector) (THIS_ BOOL *pData) PURE;
-    STDMETHOD(SetIntVector)  (THIS_ int *pData) PURE;
-    STDMETHOD(SetFloatVector)(THIS_ float *pData) PURE;
-
-    STDMETHOD(GetBoolVector) (THIS_ BOOL *pData) PURE;
-    STDMETHOD(GetIntVector)  (THIS_ int *pData) PURE;
-    STDMETHOD(GetFloatVector)(THIS_ float *pData) PURE;
-
-    STDMETHOD(SetBoolVectorArray) (THIS_ BOOL *pData, UINT Offset, UINT Count) PURE;
-    STDMETHOD(SetIntVectorArray)  (THIS_ int *pData, UINT Offset, UINT Count) PURE;
-    STDMETHOD(SetFloatVectorArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
-
-    STDMETHOD(GetBoolVectorArray) (THIS_ BOOL *pData, UINT Offset, UINT Count) PURE;
-    STDMETHOD(GetIntVectorArray)  (THIS_ int *pData, UINT Offset, UINT Count) PURE;
-    STDMETHOD(GetFloatVectorArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectMatrixVariable ////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectMatrixVariable ID3D10EffectMatrixVariable;
-typedef interface ID3D10EffectMatrixVariable *LPD3D10EFFECTMATRIXVARIABLE;
-
-// {50666C24-B82F-4eed-A172-5B6E7E8522E0}
-DEFINE_GUID(IID_ID3D10EffectMatrixVariable, 
-0x50666c24, 0xb82f, 0x4eed, 0xa1, 0x72, 0x5b, 0x6e, 0x7e, 0x85, 0x22, 0xe0);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectMatrixVariable
-
-DECLARE_INTERFACE_(ID3D10EffectMatrixVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
-    
-    STDMETHOD(SetMatrix)(THIS_ float *pData) PURE;
-    STDMETHOD(GetMatrix)(THIS_ float *pData) PURE;
-    
-    STDMETHOD(SetMatrixArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
-    STDMETHOD(GetMatrixArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
-    
-    STDMETHOD(SetMatrixTranspose)(THIS_ float *pData) PURE;
-    STDMETHOD(GetMatrixTranspose)(THIS_ float *pData) PURE;
-    
-    STDMETHOD(SetMatrixTransposeArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
-    STDMETHOD(GetMatrixTransposeArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectStringVariable ////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectStringVariable ID3D10EffectStringVariable;
-typedef interface ID3D10EffectStringVariable *LPD3D10EFFECTSTRINGVARIABLE;
-
-// {71417501-8DF9-4e0a-A78A-255F9756BAFF}
-DEFINE_GUID(IID_ID3D10EffectStringVariable, 
-0x71417501, 0x8df9, 0x4e0a, 0xa7, 0x8a, 0x25, 0x5f, 0x97, 0x56, 0xba, 0xff);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectStringVariable
-
-DECLARE_INTERFACE_(ID3D10EffectStringVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    
-    STDMETHOD(GetString)(THIS_ _Out_ LPCSTR *ppString) PURE;
-    STDMETHOD(GetStringArray)(THIS_ _Out_writes_(Count) LPCSTR *ppStrings, UINT Offset, UINT Count) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectShaderResourceVariable ////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectShaderResourceVariable ID3D10EffectShaderResourceVariable;
-typedef interface ID3D10EffectShaderResourceVariable *LPD3D10EFFECTSHADERRESOURCEVARIABLE;
-
-// {C0A7157B-D872-4b1d-8073-EFC2ACD4B1FC}
-DEFINE_GUID(IID_ID3D10EffectShaderResourceVariable, 
-0xc0a7157b, 0xd872, 0x4b1d, 0x80, 0x73, 0xef, 0xc2, 0xac, 0xd4, 0xb1, 0xfc);
-
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectShaderResourceVariable
-
-DECLARE_INTERFACE_(ID3D10EffectShaderResourceVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    
-    STDMETHOD(SetResource)(THIS_ _In_opt_ ID3D10ShaderResourceView *pResource) PURE;
-    STDMETHOD(GetResource)(THIS_ _Out_ ID3D10ShaderResourceView **ppResource) PURE;
-    
-    STDMETHOD(SetResourceArray)(THIS_ _In_reads_(Count) ID3D10ShaderResourceView **ppResources, UINT Offset, UINT Count) PURE;
-    STDMETHOD(GetResourceArray)(THIS_ _Out_writes_(Count) ID3D10ShaderResourceView **ppResources, UINT Offset, UINT Count) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectRenderTargetViewVariable //////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectRenderTargetViewVariable ID3D10EffectRenderTargetViewVariable;
-typedef interface ID3D10EffectRenderTargetViewVariable *LPD3D10EFFECTRENDERTARGETVIEWVARIABLE;
-
-// {28CA0CC3-C2C9-40bb-B57F-67B737122B17}
-DEFINE_GUID(IID_ID3D10EffectRenderTargetViewVariable, 
-0x28ca0cc3, 0xc2c9, 0x40bb, 0xb5, 0x7f, 0x67, 0xb7, 0x37, 0x12, 0x2b, 0x17);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectRenderTargetViewVariable
-
-DECLARE_INTERFACE_(ID3D10EffectRenderTargetViewVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    
-    STDMETHOD(SetRenderTarget)(THIS_ _In_opt_ ID3D10RenderTargetView *pResource) PURE;
-    STDMETHOD(GetRenderTarget)(THIS_ _Out_ ID3D10RenderTargetView **ppResource) PURE;
-    
-    STDMETHOD(SetRenderTargetArray)(THIS_ _In_reads_(Count) ID3D10RenderTargetView **ppResources, UINT Offset, UINT Count) PURE;
-    STDMETHOD(GetRenderTargetArray)(THIS_ _Out_writes_(Count) ID3D10RenderTargetView **ppResources, UINT Offset, UINT Count) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectDepthStencilViewVariable //////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectDepthStencilViewVariable ID3D10EffectDepthStencilViewVariable;
-typedef interface ID3D10EffectDepthStencilViewVariable *LPD3D10EFFECTDEPTHSTENCILVIEWVARIABLE;
-
-// {3E02C918-CC79-4985-B622-2D92AD701623}
-DEFINE_GUID(IID_ID3D10EffectDepthStencilViewVariable, 
-0x3e02c918, 0xcc79, 0x4985, 0xb6, 0x22, 0x2d, 0x92, 0xad, 0x70, 0x16, 0x23);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectDepthStencilViewVariable
-
-DECLARE_INTERFACE_(ID3D10EffectDepthStencilViewVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    
-    STDMETHOD(SetDepthStencil)(THIS_ _In_opt_ ID3D10DepthStencilView *pResource) PURE;
-    STDMETHOD(GetDepthStencil)(THIS_ _Out_ ID3D10DepthStencilView **ppResource) PURE;
-    
-    STDMETHOD(SetDepthStencilArray)(THIS_ _In_reads_(Count) ID3D10DepthStencilView **ppResources, UINT Offset, UINT Count) PURE;
-    STDMETHOD(GetDepthStencilArray)(THIS_ _Out_writes_(Count) ID3D10DepthStencilView **ppResources, UINT Offset, UINT Count) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectConstantBuffer ////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectConstantBuffer ID3D10EffectConstantBuffer;
-typedef interface ID3D10EffectConstantBuffer *LPD3D10EFFECTCONSTANTBUFFER;
-
-// {56648F4D-CC8B-4444-A5AD-B5A3D76E91B3}
-DEFINE_GUID(IID_ID3D10EffectConstantBuffer, 
-0x56648f4d, 0xcc8b, 0x4444, 0xa5, 0xad, 0xb5, 0xa3, 0xd7, 0x6e, 0x91, 0xb3);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectConstantBuffer
-
-DECLARE_INTERFACE_(ID3D10EffectConstantBuffer, ID3D10EffectVariable)
-{
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    
-    STDMETHOD(SetConstantBuffer)(THIS_ _In_opt_ ID3D10Buffer *pConstantBuffer) PURE;
-    STDMETHOD(GetConstantBuffer)(THIS_ _Out_ ID3D10Buffer **ppConstantBuffer) PURE;
-    
-    STDMETHOD(SetTextureBuffer)(THIS_ _In_opt_ ID3D10ShaderResourceView *pTextureBuffer) PURE;
-    STDMETHOD(GetTextureBuffer)(THIS_ _Out_ ID3D10ShaderResourceView **ppTextureBuffer) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectShaderVariable ////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-//----------------------------------------------------------------------------
-// D3D10_EFFECT_SHADER_DESC:
-//
-// Retrieved by ID3D10EffectShaderVariable::GetShaderDesc()
-//----------------------------------------------------------------------------
-
-typedef struct _D3D10_EFFECT_SHADER_DESC
-{
-    CONST BYTE *pInputSignature;    // Passed into CreateInputLayout,
-                                    // valid on VS and GS only
-    
-    BOOL IsInline;                  // Is this an anonymous shader variable
-                                    // resulting from an inline shader assignment?
-    
-    
-    // -- The following fields are not valid after Optimize() --
-    CONST BYTE *pBytecode;          // Shader bytecode
-    UINT BytecodeLength;
-    
-    LPCSTR SODecl;                  // Stream out declaration string (for GS with SO)
-    
-    UINT NumInputSignatureEntries;  // Number of entries in the input signature
-    UINT NumOutputSignatureEntries; // Number of entries in the output signature
-} D3D10_EFFECT_SHADER_DESC;
-
-
-typedef interface ID3D10EffectShaderVariable ID3D10EffectShaderVariable;
-typedef interface ID3D10EffectShaderVariable *LPD3D10EFFECTSHADERVARIABLE;
-
-// {80849279-C799-4797-8C33-0407A07D9E06}
-DEFINE_GUID(IID_ID3D10EffectShaderVariable, 
-0x80849279, 0xc799, 0x4797, 0x8c, 0x33, 0x4, 0x7, 0xa0, 0x7d, 0x9e, 0x6);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectShaderVariable
-
-DECLARE_INTERFACE_(ID3D10EffectShaderVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-        
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    
-    STDMETHOD(GetShaderDesc)(THIS_ UINT ShaderIndex, _Out_ D3D10_EFFECT_SHADER_DESC *pDesc) PURE;
-    
-    STDMETHOD(GetVertexShader)(THIS_ UINT ShaderIndex, _Out_ ID3D10VertexShader **ppVS) PURE;
-    STDMETHOD(GetGeometryShader)(THIS_ UINT ShaderIndex, _Out_ ID3D10GeometryShader **ppGS) PURE;
-    STDMETHOD(GetPixelShader)(THIS_ UINT ShaderIndex, _Out_ ID3D10PixelShader **ppPS) PURE;
-    
-    STDMETHOD(GetInputSignatureElementDesc)(THIS_ UINT ShaderIndex, UINT Element, _Out_ D3D10_SIGNATURE_PARAMETER_DESC *pDesc) PURE;
-    STDMETHOD(GetOutputSignatureElementDesc)(THIS_ UINT ShaderIndex, UINT Element, _Out_ D3D10_SIGNATURE_PARAMETER_DESC *pDesc) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectBlendVariable /////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectBlendVariable ID3D10EffectBlendVariable;
-typedef interface ID3D10EffectBlendVariable *LPD3D10EFFECTBLENDVARIABLE;
-
-// {1FCD2294-DF6D-4eae-86B3-0E9160CFB07B}
-DEFINE_GUID(IID_ID3D10EffectBlendVariable, 
-0x1fcd2294, 0xdf6d, 0x4eae, 0x86, 0xb3, 0xe, 0x91, 0x60, 0xcf, 0xb0, 0x7b);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectBlendVariable
-
-DECLARE_INTERFACE_(ID3D10EffectBlendVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    
-    STDMETHOD(GetBlendState)(THIS_ UINT Index, ID3D10BlendState **ppBlendState) PURE;
-    STDMETHOD(GetBackingStore)(THIS_ UINT Index, D3D10_BLEND_DESC *pBlendDesc) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectDepthStencilVariable //////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectDepthStencilVariable ID3D10EffectDepthStencilVariable;
-typedef interface ID3D10EffectDepthStencilVariable *LPD3D10EFFECTDEPTHSTENCILVARIABLE;
-
-// {AF482368-330A-46a5-9A5C-01C71AF24C8D}
-DEFINE_GUID(IID_ID3D10EffectDepthStencilVariable, 
-0xaf482368, 0x330a, 0x46a5, 0x9a, 0x5c, 0x1, 0xc7, 0x1a, 0xf2, 0x4c, 0x8d);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectDepthStencilVariable
-
-DECLARE_INTERFACE_(ID3D10EffectDepthStencilVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    
-    STDMETHOD(GetDepthStencilState)(THIS_ UINT Index, _Out_ ID3D10DepthStencilState **ppDepthStencilState) PURE;
-    STDMETHOD(GetBackingStore)(THIS_ UINT Index, _Out_ D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectRasterizerVariable ////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectRasterizerVariable ID3D10EffectRasterizerVariable;
-typedef interface ID3D10EffectRasterizerVariable *LPD3D10EFFECTRASTERIZERVARIABLE;
-
-// {21AF9F0E-4D94-4ea9-9785-2CB76B8C0B34}
-DEFINE_GUID(IID_ID3D10EffectRasterizerVariable, 
-0x21af9f0e, 0x4d94, 0x4ea9, 0x97, 0x85, 0x2c, 0xb7, 0x6b, 0x8c, 0xb, 0x34);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectRasterizerVariable
-
-DECLARE_INTERFACE_(ID3D10EffectRasterizerVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    
-    STDMETHOD(GetRasterizerState)(THIS_ UINT Index, _Out_ ID3D10RasterizerState **ppRasterizerState) PURE;
-    STDMETHOD(GetBackingStore)(THIS_ UINT Index, _Out_ D3D10_RASTERIZER_DESC *pRasterizerDesc) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectSamplerVariable ///////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectSamplerVariable ID3D10EffectSamplerVariable;
-typedef interface ID3D10EffectSamplerVariable *LPD3D10EFFECTSAMPLERVARIABLE;
-
-// {6530D5C7-07E9-4271-A418-E7CE4BD1E480}
-DEFINE_GUID(IID_ID3D10EffectSamplerVariable, 
-0x6530d5c7, 0x7e9, 0x4271, 0xa4, 0x18, 0xe7, 0xce, 0x4b, 0xd1, 0xe4, 0x80);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectSamplerVariable
-
-DECLARE_INTERFACE_(ID3D10EffectSamplerVariable, ID3D10EffectVariable)
-{
-    STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
-    STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
-    
-    STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
-    
-    STDMETHOD(GetSampler)(THIS_ UINT Index, _Out_ ID3D10SamplerState **ppSampler) PURE;
-    STDMETHOD(GetBackingStore)(THIS_ UINT Index, _Out_ D3D10_SAMPLER_DESC *pSamplerDesc) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectPass //////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-//----------------------------------------------------------------------------
-// D3D10_PASS_DESC:
-//
-// Retrieved by ID3D10EffectPass::GetDesc()
-//----------------------------------------------------------------------------
-
-typedef struct _D3D10_PASS_DESC
-{
-    LPCSTR Name;                    // Name of this pass (NULL if not anonymous)    
-    UINT Annotations;               // Number of annotations on this pass
-    
-    BYTE *pIAInputSignature;        // Signature from VS or GS (if there is no VS)
-                                    // or NULL if neither exists
-    SIZE_T IAInputSignatureSize;    // Singature size in bytes                                
-                                    
-    UINT StencilRef;                // Specified in SetDepthStencilState()
-    UINT SampleMask;                // Specified in SetBlendState()
-    FLOAT BlendFactor[4];           // Specified in SetBlendState()
-} D3D10_PASS_DESC;
-
-//----------------------------------------------------------------------------
-// D3D10_PASS_SHADER_DESC:
-//
-// Retrieved by ID3D10EffectPass::Get**ShaderDesc()
-//----------------------------------------------------------------------------
-
-typedef struct _D3D10_PASS_SHADER_DESC
-{
-    ID3D10EffectShaderVariable *pShaderVariable;    // The variable that this shader came from.
-                                                    // If this is an inline shader assignment,
-                                                    //   the returned interface will be an 
-                                                    //   anonymous shader variable, which is
-                                                    //   not retrievable any other way.  It's
-                                                    //   name in the variable description will
-                                                    //   be "$Anonymous".
-                                                    // If there is no assignment of this type in
-                                                    //   the pass block, pShaderVariable != NULL,
-                                                    //   but pShaderVariable->IsValid() == FALSE.
-    
-    UINT                        ShaderIndex;        // The element of pShaderVariable (if an array)
-                                                    // or 0 if not applicable
-} D3D10_PASS_SHADER_DESC;
-
-typedef interface ID3D10EffectPass ID3D10EffectPass;
-typedef interface ID3D10EffectPass *LPD3D10EFFECTPASS;
-
-// {5CFBEB89-1A06-46e0-B282-E3F9BFA36A54}
-DEFINE_GUID(IID_ID3D10EffectPass, 
-0x5cfbeb89, 0x1a06, 0x46e0, 0xb2, 0x82, 0xe3, 0xf9, 0xbf, 0xa3, 0x6a, 0x54);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectPass
-
-DECLARE_INTERFACE(ID3D10EffectPass)
-{
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ D3D10_PASS_DESC *pDesc) PURE;
-    
-    STDMETHOD(GetVertexShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *pDesc) PURE;
-    STDMETHOD(GetGeometryShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *pDesc) PURE;
-    STDMETHOD(GetPixelShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD(Apply)(THIS_ UINT Flags) PURE;
-    
-    STDMETHOD(ComputeStateBlockMask)(THIS_ _Out_ D3D10_STATE_BLOCK_MASK *pStateBlockMask) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectTechnique /////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-//----------------------------------------------------------------------------
-// D3D10_TECHNIQUE_DESC:
-//
-// Retrieved by ID3D10EffectTechnique::GetDesc()
-//----------------------------------------------------------------------------
-
-typedef struct _D3D10_TECHNIQUE_DESC
-{
-    LPCSTR  Name;                   // Name of this technique (NULL if not anonymous)
-    UINT    Passes;                 // Number of passes contained within
-    UINT    Annotations;            // Number of annotations on this technique
-} D3D10_TECHNIQUE_DESC;
-
-typedef interface ID3D10EffectTechnique ID3D10EffectTechnique;
-typedef interface ID3D10EffectTechnique *LPD3D10EFFECTTECHNIQUE;
-
-// {DB122CE8-D1C9-4292-B237-24ED3DE8B175}
-DEFINE_GUID(IID_ID3D10EffectTechnique, 
-0xdb122ce8, 0xd1c9, 0x4292, 0xb2, 0x37, 0x24, 0xed, 0x3d, 0xe8, 0xb1, 0x75);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectTechnique
-
-DECLARE_INTERFACE(ID3D10EffectTechnique)
-{
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD(GetDesc)(THIS_ D3D10_TECHNIQUE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectPass*, GetPassByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectPass*, GetPassByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD(ComputeStateBlockMask)(THIS_ _Out_ D3D10_STATE_BLOCK_MASK *pStateBlockMask) PURE;
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10Effect //////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-//----------------------------------------------------------------------------
-// D3D10_EFFECT_DESC:
-//
-// Retrieved by ID3D10Effect::GetDesc()
-//----------------------------------------------------------------------------
-
-typedef struct _D3D10_EFFECT_DESC
-{
-    
-    BOOL    IsChildEffect;          // TRUE if this is a child effect, 
-                                    // FALSE if this is standalone or an effect pool.
-                                    
-    UINT    ConstantBuffers;        // Number of constant buffers in this effect,
-                                    // excluding the effect pool.
-    UINT    SharedConstantBuffers;  // Number of constant buffers shared in this
-                                    // effect's pool.
-                                    
-    UINT    GlobalVariables;        // Number of global variables in this effect,
-                                    // excluding the effect pool.
-    UINT    SharedGlobalVariables;  // Number of global variables shared in this
-                                    // effect's pool.
-                                    
-    UINT    Techniques;             // Number of techniques in this effect,
-                                    // excluding the effect pool.
-} D3D10_EFFECT_DESC;
-
-typedef interface ID3D10Effect ID3D10Effect;
-typedef interface ID3D10Effect *LPD3D10EFFECT;
-
-// {51B0CA8B-EC0B-4519-870D-8EE1CB5017C7}
-DEFINE_GUID(IID_ID3D10Effect, 
-0x51b0ca8b, 0xec0b, 0x4519, 0x87, 0xd, 0x8e, 0xe1, 0xcb, 0x50, 0x17, 0xc7);
-
-#undef INTERFACE
-#define INTERFACE ID3D10Effect
-
-DECLARE_INTERFACE_(ID3D10Effect, IUnknown)
-{
-    // IUnknown
-    STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
-    STDMETHOD_(ULONG, AddRef)(THIS) PURE;
-    STDMETHOD_(ULONG, Release)(THIS) PURE;
-    
-    STDMETHOD_(BOOL, IsValid)(THIS) PURE;
-    STDMETHOD_(BOOL, IsPool)(THIS) PURE;
-
-    // Managing D3D Device
-    STDMETHOD(GetDevice)(THIS_ _Out_ ID3D10Device** ppDevice) PURE;
-    
-    // New Reflection APIs
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetConstantBufferByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectConstantBuffer*, GetConstantBufferByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD_(ID3D10EffectVariable*, GetVariableByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetVariableByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(ID3D10EffectVariable*, GetVariableBySemantic)(THIS_ LPCSTR Semantic) PURE;
-    
-    STDMETHOD_(ID3D10EffectTechnique*, GetTechniqueByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10EffectTechnique*, GetTechniqueByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD(Optimize)(THIS) PURE;
-    STDMETHOD_(BOOL, IsOptimized)(THIS) PURE;
-
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// ID3D10EffectPool //////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-typedef interface ID3D10EffectPool ID3D10EffectPool;
-typedef interface ID3D10EffectPool *LPD3D10EFFECTPOOL;
-
-// {9537AB04-3250-412e-8213-FCD2F8677933}
-DEFINE_GUID(IID_ID3D10EffectPool, 
-0x9537ab04, 0x3250, 0x412e, 0x82, 0x13, 0xfc, 0xd2, 0xf8, 0x67, 0x79, 0x33);
-
-#undef INTERFACE
-#define INTERFACE ID3D10EffectPool
-
-DECLARE_INTERFACE_(ID3D10EffectPool, IUnknown)
-{
-    // IUnknown
-    STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
-    STDMETHOD_(ULONG, AddRef)(THIS) PURE;
-    STDMETHOD_(ULONG, Release)(THIS) PURE;
-    
-    STDMETHOD_(ID3D10Effect*, AsEffect)(THIS) PURE;
-    
-    // No public methods
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// APIs //////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifdef __cplusplus
-extern "C" {
-#endif //__cplusplus
-
-//----------------------------------------------------------------------------
-// D3D10CreateEffectFromXXXX:
-// --------------------------
-// Creates an effect from a binary effect or file
-//
-// Parameters:
-//
-// [in]
-//
-//
-//  pData
-//      Blob of effect data, either ASCII (uncompiled, for D3D10CompileEffectFromMemory) or binary (compiled, for D3D10CreateEffect*)
-//  DataLength
-//      Length of the data blob
-//
-//  pSrcFileName
-//      Name of the ASCII Effect file pData was obtained from
-//
-//  pDefines
-//      Optional NULL-terminated array of preprocessor macro definitions.
-//  pInclude
-//      Optional interface pointer to use for handling #include directives.
-//      If this parameter is NULL, #includes will be honored when compiling
-//      from file, and will error when compiling from resource or memory.
-//  HLSLFlags
-//      Compilation flags pertaining to shaders and data types, honored by
-//      the HLSL compiler
-//  FXFlags
-//      Compilation flags pertaining to Effect compilation, honored
-//      by the Effect compiler
-//  pDevice
-//      Pointer to the D3D10 device on which to create Effect resources
-//  pEffectPool
-//      Pointer to an Effect pool to share variables with or NULL
-//
-// [out]
-//
-//  ppEffect
-//      Address of the newly created Effect interface
-//  ppEffectPool
-//      Address of the newly created Effect pool interface
-//  ppErrors
-//      If non-NULL, address of a buffer with error messages that occurred 
-//      during parsing or compilation
-//
-//----------------------------------------------------------------------------
-
-HRESULT WINAPI D3D10CompileEffectFromMemory(_In_reads_bytes_(DataLength) void *pData, SIZE_T DataLength, LPCSTR pSrcFileName, _In_opt_ CONST D3D10_SHADER_MACRO *pDefines, 
-    _In_opt_ ID3D10Include *pInclude, UINT HLSLFlags, UINT FXFlags, 
-    _Out_ ID3D10Blob **ppCompiledEffect, _Out_opt_ ID3D10Blob **ppErrors);
-
-HRESULT WINAPI D3D10CreateEffectFromMemory(_In_reads_bytes_(DataLength) void *pData, SIZE_T DataLength, UINT FXFlags, _In_ ID3D10Device *pDevice, 
-    _In_opt_ ID3D10EffectPool *pEffectPool, _Out_ ID3D10Effect **ppEffect);
-
-HRESULT WINAPI D3D10CreateEffectPoolFromMemory(_In_reads_bytes_(DataLength) void *pData, SIZE_T DataLength, UINT FXFlags, _In_ ID3D10Device *pDevice,
-    _Out_ ID3D10EffectPool **ppEffectPool);
-
-
-//----------------------------------------------------------------------------
-// D3D10DisassembleEffect:
-// -----------------------
-// Takes an effect interface, and returns a buffer containing text assembly.
-//
-// Parameters:
-//  pEffect
-//      Pointer to the runtime effect interface.
-//  EnableColorCode
-//      Emit HTML tags for color coding the output?
-//  ppDisassembly
-//      Returns a buffer containing the disassembled effect.
-//----------------------------------------------------------------------------
-
-HRESULT WINAPI D3D10DisassembleEffect(_In_ ID3D10Effect *pEffect, BOOL EnableColorCode, _Out_ ID3D10Blob **ppDisassembly);
-
-#ifdef __cplusplus
-}
-#endif //__cplusplus
-
-
-#endif //__D3D10EFFECT_H__
-
-

+ 0 - 146
3rdparty/dxsdk/include/d3d10misc.h

@@ -1,146 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//
-//  Copyright (c) Microsoft Corporation.  All rights reserved.
-//
-//  File:       D3D10Misc.h
-//  Content:    D3D10 Device Creation APIs
-//
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __D3D10MISC_H__
-#define __D3D10MISC_H__
-
-#include "d3d10.h"
-
-// ID3D10Blob has been made version-neutral and moved to d3dcommon.h.
-
-#ifdef __cplusplus
-extern "C" {
-#endif //__cplusplus
-
-
-
-///////////////////////////////////////////////////////////////////////////
-// D3D10_DRIVER_TYPE
-// ----------------
-//
-// This identifier is used to determine the implementation of Direct3D10
-// to be used.
-//
-// Pass one of these values to D3D10CreateDevice
-//
-///////////////////////////////////////////////////////////////////////////
-typedef enum D3D10_DRIVER_TYPE
-{
-    D3D10_DRIVER_TYPE_HARDWARE  = 0,
-    D3D10_DRIVER_TYPE_REFERENCE = 1,
-    D3D10_DRIVER_TYPE_NULL      = 2,
-    D3D10_DRIVER_TYPE_SOFTWARE  = 3,
-    D3D10_DRIVER_TYPE_WARP      = 5,
-} D3D10_DRIVER_TYPE;
-
-DEFINE_GUID(GUID_DeviceType, 
-0xd722fb4d, 0x7a68, 0x437a, 0xb2, 0x0c, 0x58, 0x04, 0xee, 0x24, 0x94, 0xa6);
-
-///////////////////////////////////////////////////////////////////////////
-// D3D10CreateDevice
-// ------------------
-//
-// pAdapter
-//      If NULL, D3D10CreateDevice will choose the primary adapter and 
-//      create a new instance from a temporarily created IDXGIFactory.
-//      If non-NULL, D3D10CreateDevice will register the appropriate 
-//      device, if necessary (via IDXGIAdapter::RegisterDrver), before 
-//      creating the device.
-// DriverType
-//      Specifies the driver type to be created: hardware, reference or 
-//      null.
-// Software
-//      HMODULE of a DLL implementing a software rasterizer. Must be NULL for
-//      non-Software driver types.
-// Flags
-//      Any of those documented for D3D10CreateDevice.
-// SDKVersion
-//      SDK version. Use the D3D10_SDK_VERSION macro.
-// ppDevice
-//      Pointer to returned interface.
-//
-// Return Values
-//  Any of those documented for 
-//          CreateDXGIFactory
-//          IDXGIFactory::EnumAdapters
-//          IDXGIAdapter::RegisterDriver
-//          D3D10CreateDevice
-//      
-///////////////////////////////////////////////////////////////////////////
-HRESULT WINAPI D3D10CreateDevice(
-    _In_opt_ IDXGIAdapter *pAdapter,
-    D3D10_DRIVER_TYPE DriverType,
-    HMODULE Software,
-    UINT Flags,
-    UINT SDKVersion,
-    _Out_opt_ ID3D10Device **ppDevice);
-
-///////////////////////////////////////////////////////////////////////////
-// D3D10CreateDeviceAndSwapChain
-// ------------------------------
-//
-// ppAdapter
-//      If NULL, D3D10CreateDevice will choose the primary adapter and 
-//      create a new instance from a temporarily created IDXGIFactory.
-//      If non-NULL, D3D10CreateDevice will register the appropriate 
-//      device, if necessary (via IDXGIAdapter::RegisterDrver), before 
-//      creating the device.
-// DriverType
-//      Specifies the driver type to be created: hardware, reference or 
-//      null.
-// Software
-//      HMODULE of a DLL implementing a software rasterizer. Must be NULL for
-//      non-Software driver types.
-// Flags
-//      Any of those documented for D3D10CreateDevice.
-// SDKVersion
-//      SDK version. Use the D3D10_SDK_VERSION macro.
-// pSwapChainDesc
-//      Swap chain description, may be NULL.
-// ppSwapChain
-//      Pointer to returned interface. May be NULL.
-// ppDevice
-//      Pointer to returned interface.
-//
-// Return Values
-//  Any of those documented for 
-//          CreateDXGIFactory
-//          IDXGIFactory::EnumAdapters
-//          IDXGIAdapter::RegisterDriver
-//          D3D10CreateDevice
-//          IDXGIFactory::CreateSwapChain
-//      
-///////////////////////////////////////////////////////////////////////////
-HRESULT WINAPI D3D10CreateDeviceAndSwapChain(
-    _In_opt_ IDXGIAdapter *pAdapter,
-    D3D10_DRIVER_TYPE DriverType,
-    HMODULE Software,
-    UINT Flags,
-    UINT SDKVersion,
-    _In_opt_ DXGI_SWAP_CHAIN_DESC *pSwapChainDesc,
-    _Out_opt_ IDXGISwapChain **ppSwapChain,    
-    _Out_opt_ ID3D10Device **ppDevice);
-
-
-///////////////////////////////////////////////////////////////////////////
-// D3D10CreateBlob:
-// -----------------
-// Creates a Buffer of n Bytes
-//////////////////////////////////////////////////////////////////////////
-
-HRESULT WINAPI D3D10CreateBlob(SIZE_T NumBytes, _Out_ LPD3D10BLOB *ppBuffer);
-
-
-#ifdef __cplusplus
-}
-#endif //__cplusplus
-
-#endif //__D3D10EFFECT_H__
-
-

+ 0 - 1395
3rdparty/dxsdk/include/d3d10sdklayers.h

@@ -1,1395 +0,0 @@
-/*-------------------------------------------------------------------------------------
- *
- * Copyright (c) Microsoft Corporation
- *
- *-------------------------------------------------------------------------------------*/
-
-
-/* this ALWAYS GENERATED file contains the definitions for the interfaces */
-
-
- /* File created by MIDL compiler version 8.00.0613 */
-/* @@MIDL_FILE_HEADING(  ) */
-
-
-
-/* verify that the <rpcndr.h> version is high enough to compile this file*/
-#ifndef __REQUIRED_RPCNDR_H_VERSION__
-#define __REQUIRED_RPCNDR_H_VERSION__ 500
-#endif
-
-/* verify that the <rpcsal.h> version is high enough to compile this file*/
-#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 __d3d10sdklayers_h__
-#define __d3d10sdklayers_h__
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-#pragma once
-#endif
-
-/* Forward Declarations */ 
-
-#ifndef __ID3D10Debug_FWD_DEFINED__
-#define __ID3D10Debug_FWD_DEFINED__
-typedef interface ID3D10Debug ID3D10Debug;
-
-#endif 	/* __ID3D10Debug_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10SwitchToRef_FWD_DEFINED__
-#define __ID3D10SwitchToRef_FWD_DEFINED__
-typedef interface ID3D10SwitchToRef ID3D10SwitchToRef;
-
-#endif 	/* __ID3D10SwitchToRef_FWD_DEFINED__ */
-
-
-#ifndef __ID3D10InfoQueue_FWD_DEFINED__
-#define __ID3D10InfoQueue_FWD_DEFINED__
-typedef interface ID3D10InfoQueue ID3D10InfoQueue;
-
-#endif 	/* __ID3D10InfoQueue_FWD_DEFINED__ */
-
-
-/* header files for imported files */
-#include "oaidl.h"
-#include "ocidl.h"
-#include "dxgi.h"
-
-#ifdef __cplusplus
-extern "C"{
-#endif 
-
-
-/* interface __MIDL_itf_d3d10sdklayers_0000_0000 */
-/* [local] */ 
-
-#define	D3D10_SDK_LAYERS_VERSION	( 11 )
-
-#define	D3D10_DEBUG_FEATURE_FLUSH_PER_RENDER_OP	( 0x1 )
-
-#define	D3D10_DEBUG_FEATURE_FINISH_PER_RENDER_OP	( 0x2 )
-
-#define	D3D10_DEBUG_FEATURE_PRESENT_PER_RENDER_OP	( 0x4 )
-
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10sdklayers_0000_0000_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10sdklayers_0000_0000_v0_0_s_ifspec;
-
-#ifndef __ID3D10Debug_INTERFACE_DEFINED__
-#define __ID3D10Debug_INTERFACE_DEFINED__
-
-/* interface ID3D10Debug */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10Debug;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4E01-342C-4106-A19F-4F2704F689F0")
-    ID3D10Debug : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE SetFeatureMask( 
-            UINT Mask) = 0;
-        
-        virtual UINT STDMETHODCALLTYPE GetFeatureMask( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetPresentPerRenderOpDelay( 
-            UINT Milliseconds) = 0;
-        
-        virtual UINT STDMETHODCALLTYPE GetPresentPerRenderOpDelay( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetSwapChain( 
-            /* [annotation] */ 
-            _In_opt_  IDXGISwapChain *pSwapChain) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetSwapChain( 
-            /* [annotation] */ 
-            _Out_  IDXGISwapChain **ppSwapChain) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE Validate( void) = 0;
-        
-    };
-    
-    
-#else 	/* C style interface */
-
-    typedef struct ID3D10DebugVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ID3D10Debug * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ID3D10Debug * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ID3D10Debug * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetFeatureMask )( 
-            ID3D10Debug * This,
-            UINT Mask);
-        
-        UINT ( STDMETHODCALLTYPE *GetFeatureMask )( 
-            ID3D10Debug * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetPresentPerRenderOpDelay )( 
-            ID3D10Debug * This,
-            UINT Milliseconds);
-        
-        UINT ( STDMETHODCALLTYPE *GetPresentPerRenderOpDelay )( 
-            ID3D10Debug * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetSwapChain )( 
-            ID3D10Debug * This,
-            /* [annotation] */ 
-            _In_opt_  IDXGISwapChain *pSwapChain);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetSwapChain )( 
-            ID3D10Debug * This,
-            /* [annotation] */ 
-            _Out_  IDXGISwapChain **ppSwapChain);
-        
-        HRESULT ( STDMETHODCALLTYPE *Validate )( 
-            ID3D10Debug * This);
-        
-        END_INTERFACE
-    } ID3D10DebugVtbl;
-
-    interface ID3D10Debug
-    {
-        CONST_VTBL struct ID3D10DebugVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ID3D10Debug_QueryInterface(This,riid,ppvObject)	\
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ID3D10Debug_AddRef(This)	\
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ID3D10Debug_Release(This)	\
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ID3D10Debug_SetFeatureMask(This,Mask)	\
-    ( (This)->lpVtbl -> SetFeatureMask(This,Mask) ) 
-
-#define ID3D10Debug_GetFeatureMask(This)	\
-    ( (This)->lpVtbl -> GetFeatureMask(This) ) 
-
-#define ID3D10Debug_SetPresentPerRenderOpDelay(This,Milliseconds)	\
-    ( (This)->lpVtbl -> SetPresentPerRenderOpDelay(This,Milliseconds) ) 
-
-#define ID3D10Debug_GetPresentPerRenderOpDelay(This)	\
-    ( (This)->lpVtbl -> GetPresentPerRenderOpDelay(This) ) 
-
-#define ID3D10Debug_SetSwapChain(This,pSwapChain)	\
-    ( (This)->lpVtbl -> SetSwapChain(This,pSwapChain) ) 
-
-#define ID3D10Debug_GetSwapChain(This,ppSwapChain)	\
-    ( (This)->lpVtbl -> GetSwapChain(This,ppSwapChain) ) 
-
-#define ID3D10Debug_Validate(This)	\
-    ( (This)->lpVtbl -> Validate(This) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif 	/* C style interface */
-
-
-
-
-#endif 	/* __ID3D10Debug_INTERFACE_DEFINED__ */
-
-
-#ifndef __ID3D10SwitchToRef_INTERFACE_DEFINED__
-#define __ID3D10SwitchToRef_INTERFACE_DEFINED__
-
-/* interface ID3D10SwitchToRef */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10SwitchToRef;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("9B7E4E02-342C-4106-A19F-4F2704F689F0")
-    ID3D10SwitchToRef : public IUnknown
-    {
-    public:
-        virtual BOOL STDMETHODCALLTYPE SetUseRef( 
-            BOOL UseRef) = 0;
-        
-        virtual BOOL STDMETHODCALLTYPE GetUseRef( void) = 0;
-        
-    };
-    
-    
-#else 	/* C style interface */
-
-    typedef struct ID3D10SwitchToRefVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ID3D10SwitchToRef * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ID3D10SwitchToRef * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ID3D10SwitchToRef * This);
-        
-        BOOL ( STDMETHODCALLTYPE *SetUseRef )( 
-            ID3D10SwitchToRef * This,
-            BOOL UseRef);
-        
-        BOOL ( STDMETHODCALLTYPE *GetUseRef )( 
-            ID3D10SwitchToRef * This);
-        
-        END_INTERFACE
-    } ID3D10SwitchToRefVtbl;
-
-    interface ID3D10SwitchToRef
-    {
-        CONST_VTBL struct ID3D10SwitchToRefVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ID3D10SwitchToRef_QueryInterface(This,riid,ppvObject)	\
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ID3D10SwitchToRef_AddRef(This)	\
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ID3D10SwitchToRef_Release(This)	\
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ID3D10SwitchToRef_SetUseRef(This,UseRef)	\
-    ( (This)->lpVtbl -> SetUseRef(This,UseRef) ) 
-
-#define ID3D10SwitchToRef_GetUseRef(This)	\
-    ( (This)->lpVtbl -> GetUseRef(This) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif 	/* C style interface */
-
-
-
-
-#endif 	/* __ID3D10SwitchToRef_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_d3d10sdklayers_0000_0002 */
-/* [local] */ 
-
-DEFINE_GUID(DXGI_DEBUG_D3D10, 0x243b4c52, 0x3606, 0x4d3a, 0x99, 0xd7, 0xa7, 0xe7, 0xb3, 0x3e, 0xd7, 0x6);
-#define D3D10_REGKEY_PATH __TEXT("Software\\Microsoft\\Direct3D")
-#define D3D10_MUTE_DEBUG_OUTPUT __TEXT("MuteDebugOutput")
-#define D3D10_ENABLE_BREAK_ON_MESSAGE __TEXT("EnableBreakOnMessage")
-#define D3D10_INFOQUEUE_STORAGE_FILTER_OVERRIDE __TEXT("InfoQueueStorageFilterOverride")
-#define D3D10_MUTE_CATEGORY __TEXT("Mute_CATEGORY_%s")
-#define D3D10_MUTE_SEVERITY __TEXT("Mute_SEVERITY_%s")
-#define D3D10_MUTE_ID_STRING __TEXT("Mute_ID_%s")
-#define D3D10_MUTE_ID_DECIMAL __TEXT("Mute_ID_%d")
-#define D3D10_UNMUTE_SEVERITY_INFO __TEXT("Unmute_SEVERITY_INFO")
-#define D3D10_BREAKON_CATEGORY __TEXT("BreakOn_CATEGORY_%s")
-#define D3D10_BREAKON_SEVERITY __TEXT("BreakOn_SEVERITY_%s")
-#define D3D10_BREAKON_ID_STRING __TEXT("BreakOn_ID_%s")
-#define D3D10_BREAKON_ID_DECIMAL __TEXT("BreakOn_ID_%d")
-#define D3D10_APPSIZE_STRING __TEXT("Size")
-#define D3D10_APPNAME_STRING __TEXT("Name")
-typedef 
-enum D3D10_MESSAGE_CATEGORY
-    {
-        D3D10_MESSAGE_CATEGORY_APPLICATION_DEFINED	= 0,
-        D3D10_MESSAGE_CATEGORY_MISCELLANEOUS	= ( D3D10_MESSAGE_CATEGORY_APPLICATION_DEFINED + 1 ) ,
-        D3D10_MESSAGE_CATEGORY_INITIALIZATION	= ( D3D10_MESSAGE_CATEGORY_MISCELLANEOUS + 1 ) ,
-        D3D10_MESSAGE_CATEGORY_CLEANUP	= ( D3D10_MESSAGE_CATEGORY_INITIALIZATION + 1 ) ,
-        D3D10_MESSAGE_CATEGORY_COMPILATION	= ( D3D10_MESSAGE_CATEGORY_CLEANUP + 1 ) ,
-        D3D10_MESSAGE_CATEGORY_STATE_CREATION	= ( D3D10_MESSAGE_CATEGORY_COMPILATION + 1 ) ,
-        D3D10_MESSAGE_CATEGORY_STATE_SETTING	= ( D3D10_MESSAGE_CATEGORY_STATE_CREATION + 1 ) ,
-        D3D10_MESSAGE_CATEGORY_STATE_GETTING	= ( D3D10_MESSAGE_CATEGORY_STATE_SETTING + 1 ) ,
-        D3D10_MESSAGE_CATEGORY_RESOURCE_MANIPULATION	= ( D3D10_MESSAGE_CATEGORY_STATE_GETTING + 1 ) ,
-        D3D10_MESSAGE_CATEGORY_EXECUTION	= ( D3D10_MESSAGE_CATEGORY_RESOURCE_MANIPULATION + 1 ) ,
-        D3D10_MESSAGE_CATEGORY_SHADER	= ( D3D10_MESSAGE_CATEGORY_EXECUTION + 1 ) 
-    } 	D3D10_MESSAGE_CATEGORY;
-
-typedef 
-enum D3D10_MESSAGE_SEVERITY
-    {
-        D3D10_MESSAGE_SEVERITY_CORRUPTION	= 0,
-        D3D10_MESSAGE_SEVERITY_ERROR	= ( D3D10_MESSAGE_SEVERITY_CORRUPTION + 1 ) ,
-        D3D10_MESSAGE_SEVERITY_WARNING	= ( D3D10_MESSAGE_SEVERITY_ERROR + 1 ) ,
-        D3D10_MESSAGE_SEVERITY_INFO	= ( D3D10_MESSAGE_SEVERITY_WARNING + 1 ) ,
-        D3D10_MESSAGE_SEVERITY_MESSAGE	= ( D3D10_MESSAGE_SEVERITY_INFO + 1 ) 
-    } 	D3D10_MESSAGE_SEVERITY;
-
-typedef 
-enum D3D10_MESSAGE_ID
-    {
-        D3D10_MESSAGE_ID_UNKNOWN	= 0,
-        D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_HAZARD	= ( D3D10_MESSAGE_ID_UNKNOWN + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_HAZARD	= ( D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_HAZARD + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_HAZARD	= ( D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_HAZARD + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_HAZARD	= ( D3D10_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_HAZARD + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_HAZARD	= ( D3D10_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_HAZARD + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_HAZARD	= ( D3D10_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_HAZARD + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_HAZARD	= ( D3D10_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_HAZARD + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_HAZARD	= ( D3D10_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_HAZARD + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_OMSETRENDERTARGETS_HAZARD	= ( D3D10_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_HAZARD + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_SOSETTARGETS_HAZARD	= ( D3D10_MESSAGE_ID_DEVICE_OMSETRENDERTARGETS_HAZARD + 1 ) ,
-        D3D10_MESSAGE_ID_STRING_FROM_APPLICATION	= ( D3D10_MESSAGE_ID_DEVICE_SOSETTARGETS_HAZARD + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_THIS	= ( D3D10_MESSAGE_ID_STRING_FROM_APPLICATION + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER1	= ( D3D10_MESSAGE_ID_CORRUPTED_THIS + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER2	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER1 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER3	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER2 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER4	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER3 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER5	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER4 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER6	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER5 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER7	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER6 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER8	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER7 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER9	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER8 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER10	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER9 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER11	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER10 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER12	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER11 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER13	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER12 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER14	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER13 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_PARAMETER15	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER14 + 1 ) ,
-        D3D10_MESSAGE_ID_CORRUPTED_MULTITHREADING	= ( D3D10_MESSAGE_ID_CORRUPTED_PARAMETER15 + 1 ) ,
-        D3D10_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY	= ( D3D10_MESSAGE_ID_CORRUPTED_MULTITHREADING + 1 ) ,
-        D3D10_MESSAGE_ID_IASETINPUTLAYOUT_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY + 1 ) ,
-        D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_IASETINPUTLAYOUT_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_IASETINDEXBUFFER_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_VSSETSHADER_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_IASETINDEXBUFFER_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_VSSETSHADER_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_VSSETSAMPLERS_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_GSSETSHADER_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_VSSETSAMPLERS_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_GSSETSHADER_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_GSSETSAMPLERS_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_SOSETTARGETS_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_GSSETSAMPLERS_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_PSSETSHADER_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_SOSETTARGETS_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_PSSETSHADER_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_PSSETSAMPLERS_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_RSSETSTATE_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_PSSETSAMPLERS_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_OMSETBLENDSTATE_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_RSSETSTATE_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_OMSETBLENDSTATE_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_OMSETRENDERTARGETS_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_SETPREDICATION_UNBINDDELETINGOBJECT	= ( D3D10_MESSAGE_ID_OMSETRENDERTARGETS_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_GETPRIVATEDATA_MOREDATA	= ( D3D10_MESSAGE_ID_SETPREDICATION_UNBINDDELETINGOBJECT + 1 ) ,
-        D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA	= ( D3D10_MESSAGE_ID_GETPRIVATEDATA_MOREDATA + 1 ) ,
-        D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDIUNKNOWN	= ( D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA + 1 ) ,
-        D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDFLAGS	= ( D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDIUNKNOWN + 1 ) ,
-        D3D10_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS	= ( D3D10_MESSAGE_ID_SETPRIVATEDATA_INVALIDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY	= ( D3D10_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDFORMAT	= ( D3D10_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDSAMPLES	= ( D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDUSAGE	= ( D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDSAMPLES + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDBINDFLAGS	= ( D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDUSAGE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS	= ( D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDBINDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDMISCFLAGS	= ( D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDCPUACCESSFLAGS	= ( D3D10_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDMISCFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDBINDFLAGS	= ( D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDCPUACCESSFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDINITIALDATA	= ( D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDBINDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDDIMENSIONS	= ( D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDINITIALDATA + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDMIPLEVELS	= ( D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDDIMENSIONS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDMISCFLAGS	= ( D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDMIPLEVELS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDARG_RETURN	= ( D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDMISCFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_OUTOFMEMORY_RETURN	= ( D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDARG_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_NULLDESC	= ( D3D10_MESSAGE_ID_CREATEBUFFER_OUTOFMEMORY_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS	= ( D3D10_MESSAGE_ID_CREATEBUFFER_NULLDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBUFFER_LARGEALLOCATION	= ( D3D10_MESSAGE_ID_CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDFORMAT	= ( D3D10_MESSAGE_ID_CREATEBUFFER_LARGEALLOCATION + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_UNSUPPORTEDFORMAT	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDSAMPLES	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_UNSUPPORTEDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDUSAGE	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDSAMPLES + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDUSAGE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDCPUACCESSFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDBINDFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDCPUACCESSFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDINITIALDATA	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDBINDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDDIMENSIONS	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDINITIALDATA + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDMIPLEVELS	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDDIMENSIONS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDMISCFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDMIPLEVELS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDARG_RETURN	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDMISCFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_OUTOFMEMORY_RETURN	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_INVALIDARG_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_NULLDESC	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_OUTOFMEMORY_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE1D_LARGEALLOCATION	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_NULLDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDFORMAT	= ( D3D10_MESSAGE_ID_CREATETEXTURE1D_LARGEALLOCATION + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_UNSUPPORTEDFORMAT	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDSAMPLES	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_UNSUPPORTEDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDUSAGE	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDSAMPLES + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDUSAGE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDCPUACCESSFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDBINDFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDCPUACCESSFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDINITIALDATA	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDBINDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDINITIALDATA + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDMIPLEVELS	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDMISCFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDMIPLEVELS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDARG_RETURN	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDMISCFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_OUTOFMEMORY_RETURN	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_INVALIDARG_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_NULLDESC	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_OUTOFMEMORY_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE2D_LARGEALLOCATION	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_NULLDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDFORMAT	= ( D3D10_MESSAGE_ID_CREATETEXTURE2D_LARGEALLOCATION + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_UNSUPPORTEDFORMAT	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDSAMPLES	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_UNSUPPORTEDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDUSAGE	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDSAMPLES + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDUSAGE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDCPUACCESSFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDBINDFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDCPUACCESSFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDINITIALDATA	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDBINDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDDIMENSIONS	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDINITIALDATA + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDMIPLEVELS	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDDIMENSIONS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDMISCFLAGS	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDMIPLEVELS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDARG_RETURN	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDMISCFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_OUTOFMEMORY_RETURN	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_INVALIDARG_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_NULLDESC	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_OUTOFMEMORY_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATETEXTURE3D_LARGEALLOCATION	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_NULLDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT	= ( D3D10_MESSAGE_ID_CREATETEXTURE3D_LARGEALLOCATION + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC	= ( D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT	= ( D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS	= ( D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE	= ( D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS	= ( D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN	= ( D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN	= ( D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT	= ( D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT	= ( D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC	= ( D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT	= ( D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS	= ( D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE	= ( D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_TOOMANYOBJECTS	= ( D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDARG_RETURN	= ( D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_TOOMANYOBJECTS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN	= ( D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDARG_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT	= ( D3D10_MESSAGE_ID_CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_NULLDESC	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_NULLDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE	= ( D3D10_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE	= ( D3D10_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY	= ( D3D10_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE	= ( D3D10_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE	= ( D3D10_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE	= ( D3D10_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE	= ( D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP	= ( D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS	= ( D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_TOOMANYOBJECTS	= ( D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_NULLDESC	= ( D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_TOOMANYOBJECTS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK	= ( D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_NULLDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_NULLDESC	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_NULLDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_TOOMANYOBJECTS	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_NULLDESC	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_TOOMANYOBJECTS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDFILTER	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_NULLDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSU	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDFILTER + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSV	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSU + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSW	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSV + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMIPLODBIAS	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSW + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXANISOTROPY	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMIPLODBIAS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXANISOTROPY + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMINLOD	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXLOD	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMINLOD + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_TOOMANYOBJECTS	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXLOD + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NULLDESC	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_TOOMANYOBJECTS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDQUERY	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NULLDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDMISCFLAGS	= ( D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDQUERY + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG	= ( D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDMISCFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_NULLDESC	= ( D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED	= ( D3D10_MESSAGE_ID_CREATEQUERYORPREDICATE_NULLDESC + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED	= ( D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED + 1 ) ,
-        D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_INVALIDBUFFER	= ( D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE	= ( D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_INVALIDBUFFER + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE + 1 ) ,
-        D3D10_MESSAGE_ID_IASETINDEXBUFFER_INVALIDBUFFER	= ( D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_FORMAT_INVALID	= ( D3D10_MESSAGE_ID_IASETINDEXBUFFER_INVALIDBUFFER + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE	= ( D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_FORMAT_INVALID + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED	= ( D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED + 1 ) ,
-        D3D10_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFER	= ( D3D10_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY	= ( D3D10_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFER + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFER	= ( D3D10_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY	= ( D3D10_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFER + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_SOSETTARGETS_INVALIDBUFFER	= ( D3D10_MESSAGE_ID_DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_SOSETTARGETS_OFFSET_UNALIGNED	= ( D3D10_MESSAGE_ID_SOSETTARGETS_INVALIDBUFFER + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_SOSETTARGETS_OFFSET_UNALIGNED + 1 ) ,
-        D3D10_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFER	= ( D3D10_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY	= ( D3D10_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFER + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT	= ( D3D10_MESSAGE_ID_DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR	= ( D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT + 1 ) ,
-        D3D10_MESSAGE_ID_CLEARRENDERTARGETVIEW_DENORMFLUSH	= ( D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR + 1 ) ,
-        D3D10_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DENORMFLUSH	= ( D3D10_MESSAGE_ID_CLEARRENDERTARGETVIEW_DENORMFLUSH + 1 ) ,
-        D3D10_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID	= ( D3D10_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DENORMFLUSH + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY	= ( D3D10_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_SOGETTARGETS_BUFFERS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_SOGETTARGETS_BUFFERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY	= ( D3D10_MESSAGE_ID_DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_GENERATEMIPS_RESOURCE_INVALID	= ( D3D10_MESSAGE_ID_DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY + 1 ) ,
-        D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE	= ( D3D10_MESSAGE_ID_DEVICE_GENERATEMIPS_RESOURCE_INVALID + 1 ) ,
-        D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE	= ( D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCEBOX	= ( D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCE	= ( D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCEBOX + 1 ) ,
-        D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE	= ( D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESTATE	= ( D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE + 1 ) ,
-        D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCE	= ( D3D10_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESTATE + 1 ) ,
-        D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDDESTINATIONSTATE	= ( D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCESTATE	= ( D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDDESTINATIONSTATE + 1 ) ,
-        D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE	= ( D3D10_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCESTATE + 1 ) ,
-        D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONBOX	= ( D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE	= ( D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONBOX + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID	= ( D3D10_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID	= ( D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID	= ( D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID	= ( D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID	= ( D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID + 1 ) ,
-        D3D10_MESSAGE_ID_BUFFER_MAP_INVALIDMAPTYPE	= ( D3D10_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID + 1 ) ,
-        D3D10_MESSAGE_ID_BUFFER_MAP_INVALIDFLAGS	= ( D3D10_MESSAGE_ID_BUFFER_MAP_INVALIDMAPTYPE + 1 ) ,
-        D3D10_MESSAGE_ID_BUFFER_MAP_ALREADYMAPPED	= ( D3D10_MESSAGE_ID_BUFFER_MAP_INVALIDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_BUFFER_MAP_DEVICEREMOVED_RETURN	= ( D3D10_MESSAGE_ID_BUFFER_MAP_ALREADYMAPPED + 1 ) ,
-        D3D10_MESSAGE_ID_BUFFER_UNMAP_NOTMAPPED	= ( D3D10_MESSAGE_ID_BUFFER_MAP_DEVICEREMOVED_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDMAPTYPE	= ( D3D10_MESSAGE_ID_BUFFER_UNMAP_NOTMAPPED + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDSUBRESOURCE	= ( D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDMAPTYPE + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDFLAGS	= ( D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDSUBRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE1D_MAP_ALREADYMAPPED	= ( D3D10_MESSAGE_ID_TEXTURE1D_MAP_INVALIDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE1D_MAP_DEVICEREMOVED_RETURN	= ( D3D10_MESSAGE_ID_TEXTURE1D_MAP_ALREADYMAPPED + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE1D_UNMAP_INVALIDSUBRESOURCE	= ( D3D10_MESSAGE_ID_TEXTURE1D_MAP_DEVICEREMOVED_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE1D_UNMAP_NOTMAPPED	= ( D3D10_MESSAGE_ID_TEXTURE1D_UNMAP_INVALIDSUBRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDMAPTYPE	= ( D3D10_MESSAGE_ID_TEXTURE1D_UNMAP_NOTMAPPED + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDSUBRESOURCE	= ( D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDMAPTYPE + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDFLAGS	= ( D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDSUBRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE2D_MAP_ALREADYMAPPED	= ( D3D10_MESSAGE_ID_TEXTURE2D_MAP_INVALIDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE2D_MAP_DEVICEREMOVED_RETURN	= ( D3D10_MESSAGE_ID_TEXTURE2D_MAP_ALREADYMAPPED + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE2D_UNMAP_INVALIDSUBRESOURCE	= ( D3D10_MESSAGE_ID_TEXTURE2D_MAP_DEVICEREMOVED_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE2D_UNMAP_NOTMAPPED	= ( D3D10_MESSAGE_ID_TEXTURE2D_UNMAP_INVALIDSUBRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDMAPTYPE	= ( D3D10_MESSAGE_ID_TEXTURE2D_UNMAP_NOTMAPPED + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDSUBRESOURCE	= ( D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDMAPTYPE + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDFLAGS	= ( D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDSUBRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE3D_MAP_ALREADYMAPPED	= ( D3D10_MESSAGE_ID_TEXTURE3D_MAP_INVALIDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE3D_MAP_DEVICEREMOVED_RETURN	= ( D3D10_MESSAGE_ID_TEXTURE3D_MAP_ALREADYMAPPED + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE3D_UNMAP_INVALIDSUBRESOURCE	= ( D3D10_MESSAGE_ID_TEXTURE3D_MAP_DEVICEREMOVED_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_TEXTURE3D_UNMAP_NOTMAPPED	= ( D3D10_MESSAGE_ID_TEXTURE3D_UNMAP_INVALIDSUBRESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_DEPRECATED	= ( D3D10_MESSAGE_ID_TEXTURE3D_UNMAP_NOTMAPPED + 1 ) ,
-        D3D10_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED	= ( D3D10_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_DEPRECATED + 1 ) ,
-        D3D10_MESSAGE_ID_SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS	= ( D3D10_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED + 1 ) ,
-        D3D10_MESSAGE_ID_SETEXCEPTIONMODE_INVALIDARG_RETURN	= ( D3D10_MESSAGE_ID_SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_SETEXCEPTIONMODE_DEVICEREMOVED_RETURN	= ( D3D10_MESSAGE_ID_SETEXCEPTIONMODE_INVALIDARG_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_REF_SIMULATING_INFINITELY_FAST_HARDWARE	= ( D3D10_MESSAGE_ID_SETEXCEPTIONMODE_DEVICEREMOVED_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_REF_THREADING_MODE	= ( D3D10_MESSAGE_ID_REF_SIMULATING_INFINITELY_FAST_HARDWARE + 1 ) ,
-        D3D10_MESSAGE_ID_REF_UMDRIVER_EXCEPTION	= ( D3D10_MESSAGE_ID_REF_THREADING_MODE + 1 ) ,
-        D3D10_MESSAGE_ID_REF_KMDRIVER_EXCEPTION	= ( D3D10_MESSAGE_ID_REF_UMDRIVER_EXCEPTION + 1 ) ,
-        D3D10_MESSAGE_ID_REF_HARDWARE_EXCEPTION	= ( D3D10_MESSAGE_ID_REF_KMDRIVER_EXCEPTION + 1 ) ,
-        D3D10_MESSAGE_ID_REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE	= ( D3D10_MESSAGE_ID_REF_HARDWARE_EXCEPTION + 1 ) ,
-        D3D10_MESSAGE_ID_REF_PROBLEM_PARSING_SHADER	= ( D3D10_MESSAGE_ID_REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE + 1 ) ,
-        D3D10_MESSAGE_ID_REF_OUT_OF_MEMORY	= ( D3D10_MESSAGE_ID_REF_PROBLEM_PARSING_SHADER + 1 ) ,
-        D3D10_MESSAGE_ID_REF_INFO	= ( D3D10_MESSAGE_ID_REF_OUT_OF_MEMORY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEXPOS_OVERFLOW	= ( D3D10_MESSAGE_ID_REF_INFO + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEXPOS_OVERFLOW + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW	= ( D3D10_MESSAGE_ID_DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW	= ( D3D10_MESSAGE_ID_DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW	= ( D3D10_MESSAGE_ID_DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW	= ( D3D10_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET	= ( D3D10_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERINDEX	= ( D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_COMPONENTTYPE	= ( D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERINDEX + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERMASK	= ( D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_COMPONENTTYPE + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SYSTEMVALUE	= ( D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERMASK + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS	= ( D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SYSTEMVALUE + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_NOT_SET	= ( D3D10_MESSAGE_ID_DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_INPUTLAYOUT_NOT_SET	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_NOT_SET + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_INPUTLAYOUT_NOT_SET + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_SAMPLER_NOT_SET	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_SAMPLER_NOT_SET + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_VIEW_DIMENSION_MISMATCH	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_VIEW_DIMENSION_MISMATCH + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_NOT_SET	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_NOT_SET + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_POSITION_NOT_PRESENT	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_NOT_SET	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_POSITION_NOT_PRESENT + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_BOUND_RESOURCE_MAPPED	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_NOT_SET + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_BOUND_RESOURCE_MAPPED + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_OFFSET_UNALIGNED	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_INDEX_OFFSET_UNALIGNED + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0 + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT	= ( D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT	= ( D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN	= ( D3D10_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN	= ( D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN	= ( D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_VIEWPORT_NOT_SET	= ( D3D10_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_VIEWPORT_NOT_SET + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_DENORMFLUSH	= ( D3D10_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC + 1 ) ,
-        D3D10_MESSAGE_ID_OMSETRENDERTARGETS_INVALIDVIEW	= ( D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_DENORMFLUSH + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS	= ( D3D10_MESSAGE_ID_OMSETRENDERTARGETS_INVALIDVIEW + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_SAMPLER_MISMATCH	= ( D3D10_MESSAGE_ID_DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_SAMPLER_MISMATCH + 1 ) ,
-        D3D10_MESSAGE_ID_BLENDSTATE_GETDESC_LEGACY	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH + 1 ) ,
-        D3D10_MESSAGE_ID_SHADERRESOURCEVIEW_GETDESC_LEGACY	= ( D3D10_MESSAGE_ID_BLENDSTATE_GETDESC_LEGACY + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEQUERY_OUTOFMEMORY_RETURN	= ( D3D10_MESSAGE_ID_SHADERRESOURCEVIEW_GETDESC_LEGACY + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEPREDICATE_OUTOFMEMORY_RETURN	= ( D3D10_MESSAGE_ID_CREATEQUERY_OUTOFMEMORY_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATECOUNTER_OUTOFRANGE_COUNTER	= ( D3D10_MESSAGE_ID_CREATEPREDICATE_OUTOFMEMORY_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED	= ( D3D10_MESSAGE_ID_CREATECOUNTER_OUTOFRANGE_COUNTER + 1 ) ,
-        D3D10_MESSAGE_ID_CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER	= ( D3D10_MESSAGE_ID_CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED + 1 ) ,
-        D3D10_MESSAGE_ID_CREATECOUNTER_OUTOFMEMORY_RETURN	= ( D3D10_MESSAGE_ID_CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER + 1 ) ,
-        D3D10_MESSAGE_ID_CREATECOUNTER_NONEXCLUSIVE_RETURN	= ( D3D10_MESSAGE_ID_CREATECOUNTER_OUTOFMEMORY_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CREATECOUNTER_NULLDESC	= ( D3D10_MESSAGE_ID_CREATECOUNTER_NONEXCLUSIVE_RETURN + 1 ) ,
-        D3D10_MESSAGE_ID_CHECKCOUNTER_OUTOFRANGE_COUNTER	= ( D3D10_MESSAGE_ID_CREATECOUNTER_NULLDESC + 1 ) ,
-        D3D10_MESSAGE_ID_CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER	= ( D3D10_MESSAGE_ID_CHECKCOUNTER_OUTOFRANGE_COUNTER + 1 ) ,
-        D3D10_MESSAGE_ID_SETPREDICATION_INVALID_PREDICATE_STATE	= ( D3D10_MESSAGE_ID_CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER + 1 ) ,
-        D3D10_MESSAGE_ID_QUERY_BEGIN_UNSUPPORTED	= ( D3D10_MESSAGE_ID_SETPREDICATION_INVALID_PREDICATE_STATE + 1 ) ,
-        D3D10_MESSAGE_ID_PREDICATE_BEGIN_DURING_PREDICATION	= ( D3D10_MESSAGE_ID_QUERY_BEGIN_UNSUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_QUERY_BEGIN_DUPLICATE	= ( D3D10_MESSAGE_ID_PREDICATE_BEGIN_DURING_PREDICATION + 1 ) ,
-        D3D10_MESSAGE_ID_QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS	= ( D3D10_MESSAGE_ID_QUERY_BEGIN_DUPLICATE + 1 ) ,
-        D3D10_MESSAGE_ID_PREDICATE_END_DURING_PREDICATION	= ( D3D10_MESSAGE_ID_QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS + 1 ) ,
-        D3D10_MESSAGE_ID_QUERY_END_ABANDONING_PREVIOUS_RESULTS	= ( D3D10_MESSAGE_ID_PREDICATE_END_DURING_PREDICATION + 1 ) ,
-        D3D10_MESSAGE_ID_QUERY_END_WITHOUT_BEGIN	= ( D3D10_MESSAGE_ID_QUERY_END_ABANDONING_PREVIOUS_RESULTS + 1 ) ,
-        D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE	= ( D3D10_MESSAGE_ID_QUERY_END_WITHOUT_BEGIN + 1 ) ,
-        D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS	= ( D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE + 1 ) ,
-        D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL	= ( D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH	= ( D3D10_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE	= ( D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT	= ( D3D10_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_OBJECT_SUMMARY	= ( D3D10_MESSAGE_ID_DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_BUFFER	= ( D3D10_MESSAGE_ID_LIVE_OBJECT_SUMMARY + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_TEXTURE1D	= ( D3D10_MESSAGE_ID_LIVE_BUFFER + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_TEXTURE2D	= ( D3D10_MESSAGE_ID_LIVE_TEXTURE1D + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_TEXTURE3D	= ( D3D10_MESSAGE_ID_LIVE_TEXTURE2D + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW	= ( D3D10_MESSAGE_ID_LIVE_TEXTURE3D + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_RENDERTARGETVIEW	= ( D3D10_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW	= ( D3D10_MESSAGE_ID_LIVE_RENDERTARGETVIEW + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_VERTEXSHADER	= ( D3D10_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_GEOMETRYSHADER	= ( D3D10_MESSAGE_ID_LIVE_VERTEXSHADER + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_PIXELSHADER	= ( D3D10_MESSAGE_ID_LIVE_GEOMETRYSHADER + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_INPUTLAYOUT	= ( D3D10_MESSAGE_ID_LIVE_PIXELSHADER + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_SAMPLER	= ( D3D10_MESSAGE_ID_LIVE_INPUTLAYOUT + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_BLENDSTATE	= ( D3D10_MESSAGE_ID_LIVE_SAMPLER + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE	= ( D3D10_MESSAGE_ID_LIVE_BLENDSTATE + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_RASTERIZERSTATE	= ( D3D10_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_QUERY	= ( D3D10_MESSAGE_ID_LIVE_RASTERIZERSTATE + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_PREDICATE	= ( D3D10_MESSAGE_ID_LIVE_QUERY + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_COUNTER	= ( D3D10_MESSAGE_ID_LIVE_PREDICATE + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_DEVICE	= ( D3D10_MESSAGE_ID_LIVE_COUNTER + 1 ) ,
-        D3D10_MESSAGE_ID_LIVE_SWAPCHAIN	= ( D3D10_MESSAGE_ID_LIVE_DEVICE + 1 ) ,
-        D3D10_MESSAGE_ID_D3D10_MESSAGES_END	= ( D3D10_MESSAGE_ID_LIVE_SWAPCHAIN + 1 ) ,
-        D3D10_MESSAGE_ID_D3D10L9_MESSAGES_START	= 0x100000,
-        D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED	= ( D3D10_MESSAGE_ID_D3D10L9_MESSAGES_START + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED	= ( D3D10_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT	= ( D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY + 1 ) ,
-        D3D10_MESSAGE_ID_VSSETSAMPLERS_NOT_SUPPORTED	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE + 1 ) ,
-        D3D10_MESSAGE_ID_VSSETSAMPLERS_TOO_MANY_SAMPLERS	= ( D3D10_MESSAGE_ID_VSSETSAMPLERS_NOT_SUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_PSSETSAMPLERS_TOO_MANY_SAMPLERS	= ( D3D10_MESSAGE_ID_VSSETSAMPLERS_TOO_MANY_SAMPLERS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_NO_ARRAYS	= ( D3D10_MESSAGE_ID_PSSETSAMPLERS_TOO_MANY_SAMPLERS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_NO_VB_AND_IB_BIND	= ( D3D10_MESSAGE_ID_CREATERESOURCE_NO_ARRAYS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_NO_TEXTURE_1D	= ( D3D10_MESSAGE_ID_CREATERESOURCE_NO_VB_AND_IB_BIND + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_DIMENSION_OUT_OF_RANGE	= ( D3D10_MESSAGE_ID_CREATERESOURCE_NO_TEXTURE_1D + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE	= ( D3D10_MESSAGE_ID_CREATERESOURCE_DIMENSION_OUT_OF_RANGE + 1 ) ,
-        D3D10_MESSAGE_ID_OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS	= ( D3D10_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS	= ( D3D10_MESSAGE_ID_OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS + 1 ) ,
-        D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_BAD_BUFFER_INDEX	= ( D3D10_MESSAGE_ID_OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS	= ( D3D10_MESSAGE_ID_IASETVERTEXBUFFERS_BAD_BUFFER_INDEX + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED	= ( D3D10_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS	= ( D3D10_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY	= ( D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS + 1 ) ,
-        D3D10_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_3D_READBACK	= ( D3D10_MESSAGE_ID_COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY + 1 ) ,
-        D3D10_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_ONLY_READBACK	= ( D3D10_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_3D_READBACK + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT	= ( D3D10_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_ONLY_READBACK + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE	= ( D3D10_MESSAGE_ID_CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE + 1 ) ,
-        D3D10_MESSAGE_ID_DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE	= ( D3D10_MESSAGE_ID_CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD	= ( D3D10_MESSAGE_ID_DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL	= ( D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES	= ( D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET	= ( D3D10_MESSAGE_ID_CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_NO_DWORD_INDEX_BUFFER	= ( D3D10_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE	= ( D3D10_MESSAGE_ID_CREATERESOURCE_NO_DWORD_INDEX_BUFFER + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE	= ( D3D10_MESSAGE_ID_CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE	= ( D3D10_MESSAGE_ID_CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_NO_STREAM_OUT	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS	= ( D3D10_MESSAGE_ID_CREATERESOURCE_NO_STREAM_OUT + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES	= ( D3D10_MESSAGE_ID_CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED	= ( D3D10_MESSAGE_ID_CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES + 1 ) ,
-        D3D10_MESSAGE_ID_VSSHADERRESOURCES_NOT_SUPPORTED	= ( D3D10_MESSAGE_ID_CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED + 1 ) ,
-        D3D10_MESSAGE_ID_GEOMETRY_SHADER_NOT_SUPPORTED	= ( D3D10_MESSAGE_ID_VSSHADERRESOURCES_NOT_SUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_STREAM_OUT_NOT_SUPPORTED	= ( D3D10_MESSAGE_ID_GEOMETRY_SHADER_NOT_SUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_TEXT_FILTER_NOT_SUPPORTED	= ( D3D10_MESSAGE_ID_STREAM_OUT_NOT_SUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND	= ( D3D10_MESSAGE_ID_TEXT_FILTER_NOT_SUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_MRT_BLEND	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND + 1 ) ,
-        D3D10_MESSAGE_ID_CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_NO_MRT_BLEND + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NO_MIRRORONCE	= ( D3D10_MESSAGE_ID_CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_DRAWINSTANCED_NOT_SUPPORTED	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_NO_MIRRORONCE + 1 ) ,
-        D3D10_MESSAGE_ID_DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3	= ( D3D10_MESSAGE_ID_DRAWINSTANCED_NOT_SUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_DRAWINDEXED_POINTLIST_UNSUPPORTED	= ( D3D10_MESSAGE_ID_DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3 + 1 ) ,
-        D3D10_MESSAGE_ID_SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO	= ( D3D10_MESSAGE_ID_DRAWINDEXED_POINTLIST_UNSUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION	= ( D3D10_MESSAGE_ID_SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED	= ( D3D10_MESSAGE_ID_CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION + 1 ) ,
-        D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR	= ( D3D10_MESSAGE_ID_CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA	= ( D3D10_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR + 1 ) ,
-        D3D10_MESSAGE_ID_CREATERESOURCE_NON_POW_2_MIPMAP	= ( D3D10_MESSAGE_ID_SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA + 1 ) ,
-        D3D10_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED	= ( D3D10_MESSAGE_ID_CREATERESOURCE_NON_POW_2_MIPMAP + 1 ) ,
-        D3D10_MESSAGE_ID_OMSETRENDERTARGETS_NO_SRGB_MRT	= ( D3D10_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED + 1 ) ,
-        D3D10_MESSAGE_ID_COPYRESOURCE_NO_3D_MISMATCHED_UPDATES	= ( D3D10_MESSAGE_ID_OMSETRENDERTARGETS_NO_SRGB_MRT + 1 ) ,
-        D3D10_MESSAGE_ID_D3D10L9_MESSAGES_END	= ( D3D10_MESSAGE_ID_COPYRESOURCE_NO_3D_MISMATCHED_UPDATES + 1 ) 
-    } 	D3D10_MESSAGE_ID;
-
-typedef struct D3D10_MESSAGE
-    {
-    D3D10_MESSAGE_CATEGORY Category;
-    D3D10_MESSAGE_SEVERITY Severity;
-    D3D10_MESSAGE_ID ID;
-    /* [annotation] */ 
-    _Field_size_(DescriptionByteLength)  const char *pDescription;
-    SIZE_T DescriptionByteLength;
-    } 	D3D10_MESSAGE;
-
-typedef struct D3D10_INFO_QUEUE_FILTER_DESC
-    {
-    UINT NumCategories;
-    /* [annotation] */ 
-    _Field_size_(NumCategories)  D3D10_MESSAGE_CATEGORY *pCategoryList;
-    UINT NumSeverities;
-    /* [annotation] */ 
-    _Field_size_(NumSeverities)  D3D10_MESSAGE_SEVERITY *pSeverityList;
-    UINT NumIDs;
-    /* [annotation] */ 
-    _Field_size_(NumIDs)  D3D10_MESSAGE_ID *pIDList;
-    } 	D3D10_INFO_QUEUE_FILTER_DESC;
-
-typedef struct D3D10_INFO_QUEUE_FILTER
-    {
-    D3D10_INFO_QUEUE_FILTER_DESC AllowList;
-    D3D10_INFO_QUEUE_FILTER_DESC DenyList;
-    } 	D3D10_INFO_QUEUE_FILTER;
-
-#define D3D10_INFO_QUEUE_DEFAULT_MESSAGE_COUNT_LIMIT 1024
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10sdklayers_0000_0002_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10sdklayers_0000_0002_v0_0_s_ifspec;
-
-#ifndef __ID3D10InfoQueue_INTERFACE_DEFINED__
-#define __ID3D10InfoQueue_INTERFACE_DEFINED__
-
-/* interface ID3D10InfoQueue */
-/* [unique][local][object][uuid] */ 
-
-
-EXTERN_C const IID IID_ID3D10InfoQueue;
-
-#if defined(__cplusplus) && !defined(CINTERFACE)
-    
-    MIDL_INTERFACE("1b940b17-2642-4d1f-ab1f-b99bad0c395f")
-    ID3D10InfoQueue : public IUnknown
-    {
-    public:
-        virtual HRESULT STDMETHODCALLTYPE SetMessageCountLimit( 
-            /* [annotation] */ 
-            _In_  UINT64 MessageCountLimit) = 0;
-        
-        virtual void STDMETHODCALLTYPE ClearStoredMessages( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetMessage( 
-            /* [annotation] */ 
-            _In_  UINT64 MessageIndex,
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(*pMessageByteLength)  D3D10_MESSAGE *pMessage,
-            /* [annotation] */ 
-            _Inout_  SIZE_T *pMessageByteLength) = 0;
-        
-        virtual UINT64 STDMETHODCALLTYPE GetNumMessagesAllowedByStorageFilter( void) = 0;
-        
-        virtual UINT64 STDMETHODCALLTYPE GetNumMessagesDeniedByStorageFilter( void) = 0;
-        
-        virtual UINT64 STDMETHODCALLTYPE GetNumStoredMessages( void) = 0;
-        
-        virtual UINT64 STDMETHODCALLTYPE GetNumStoredMessagesAllowedByRetrievalFilter( void) = 0;
-        
-        virtual UINT64 STDMETHODCALLTYPE GetNumMessagesDiscardedByMessageCountLimit( void) = 0;
-        
-        virtual UINT64 STDMETHODCALLTYPE GetMessageCountLimit( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE AddStorageFilterEntries( 
-            /* [annotation] */ 
-            _In_  D3D10_INFO_QUEUE_FILTER *pFilter) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetStorageFilter( 
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(*pFilterByteLength)  D3D10_INFO_QUEUE_FILTER *pFilter,
-            /* [annotation] */ 
-            _Inout_  SIZE_T *pFilterByteLength) = 0;
-        
-        virtual void STDMETHODCALLTYPE ClearStorageFilter( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE PushEmptyStorageFilter( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE PushCopyOfStorageFilter( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE PushStorageFilter( 
-            /* [annotation] */ 
-            _In_  D3D10_INFO_QUEUE_FILTER *pFilter) = 0;
-        
-        virtual void STDMETHODCALLTYPE PopStorageFilter( void) = 0;
-        
-        virtual UINT STDMETHODCALLTYPE GetStorageFilterStackSize( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE AddRetrievalFilterEntries( 
-            /* [annotation] */ 
-            _In_  D3D10_INFO_QUEUE_FILTER *pFilter) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE GetRetrievalFilter( 
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(*pFilterByteLength)  D3D10_INFO_QUEUE_FILTER *pFilter,
-            /* [annotation] */ 
-            _Inout_  SIZE_T *pFilterByteLength) = 0;
-        
-        virtual void STDMETHODCALLTYPE ClearRetrievalFilter( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE PushEmptyRetrievalFilter( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE PushCopyOfRetrievalFilter( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE PushRetrievalFilter( 
-            /* [annotation] */ 
-            _In_  D3D10_INFO_QUEUE_FILTER *pFilter) = 0;
-        
-        virtual void STDMETHODCALLTYPE PopRetrievalFilter( void) = 0;
-        
-        virtual UINT STDMETHODCALLTYPE GetRetrievalFilterStackSize( void) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE AddMessage( 
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_CATEGORY Category,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_SEVERITY Severity,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_ID ID,
-            /* [annotation] */ 
-            _In_  LPCSTR pDescription) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE AddApplicationMessage( 
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_SEVERITY Severity,
-            /* [annotation] */ 
-            _In_  LPCSTR pDescription) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetBreakOnCategory( 
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_CATEGORY Category,
-            /* [annotation] */ 
-            _In_  BOOL bEnable) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetBreakOnSeverity( 
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_SEVERITY Severity,
-            /* [annotation] */ 
-            _In_  BOOL bEnable) = 0;
-        
-        virtual HRESULT STDMETHODCALLTYPE SetBreakOnID( 
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_ID ID,
-            /* [annotation] */ 
-            _In_  BOOL bEnable) = 0;
-        
-        virtual BOOL STDMETHODCALLTYPE GetBreakOnCategory( 
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_CATEGORY Category) = 0;
-        
-        virtual BOOL STDMETHODCALLTYPE GetBreakOnSeverity( 
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_SEVERITY Severity) = 0;
-        
-        virtual BOOL STDMETHODCALLTYPE GetBreakOnID( 
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_ID ID) = 0;
-        
-        virtual void STDMETHODCALLTYPE SetMuteDebugOutput( 
-            /* [annotation] */ 
-            _In_  BOOL bMute) = 0;
-        
-        virtual BOOL STDMETHODCALLTYPE GetMuteDebugOutput( void) = 0;
-        
-    };
-    
-    
-#else 	/* C style interface */
-
-    typedef struct ID3D10InfoQueueVtbl
-    {
-        BEGIN_INTERFACE
-        
-        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
-            ID3D10InfoQueue * This,
-            /* [in] */ REFIID riid,
-            /* [annotation][iid_is][out] */ 
-            _COM_Outptr_  void **ppvObject);
-        
-        ULONG ( STDMETHODCALLTYPE *AddRef )( 
-            ID3D10InfoQueue * This);
-        
-        ULONG ( STDMETHODCALLTYPE *Release )( 
-            ID3D10InfoQueue * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetMessageCountLimit )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  UINT64 MessageCountLimit);
-        
-        void ( STDMETHODCALLTYPE *ClearStoredMessages )( 
-            ID3D10InfoQueue * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetMessage )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  UINT64 MessageIndex,
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(*pMessageByteLength)  D3D10_MESSAGE *pMessage,
-            /* [annotation] */ 
-            _Inout_  SIZE_T *pMessageByteLength);
-        
-        UINT64 ( STDMETHODCALLTYPE *GetNumMessagesAllowedByStorageFilter )( 
-            ID3D10InfoQueue * This);
-        
-        UINT64 ( STDMETHODCALLTYPE *GetNumMessagesDeniedByStorageFilter )( 
-            ID3D10InfoQueue * This);
-        
-        UINT64 ( STDMETHODCALLTYPE *GetNumStoredMessages )( 
-            ID3D10InfoQueue * This);
-        
-        UINT64 ( STDMETHODCALLTYPE *GetNumStoredMessagesAllowedByRetrievalFilter )( 
-            ID3D10InfoQueue * This);
-        
-        UINT64 ( STDMETHODCALLTYPE *GetNumMessagesDiscardedByMessageCountLimit )( 
-            ID3D10InfoQueue * This);
-        
-        UINT64 ( STDMETHODCALLTYPE *GetMessageCountLimit )( 
-            ID3D10InfoQueue * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *AddStorageFilterEntries )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_INFO_QUEUE_FILTER *pFilter);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetStorageFilter )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(*pFilterByteLength)  D3D10_INFO_QUEUE_FILTER *pFilter,
-            /* [annotation] */ 
-            _Inout_  SIZE_T *pFilterByteLength);
-        
-        void ( STDMETHODCALLTYPE *ClearStorageFilter )( 
-            ID3D10InfoQueue * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *PushEmptyStorageFilter )( 
-            ID3D10InfoQueue * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *PushCopyOfStorageFilter )( 
-            ID3D10InfoQueue * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *PushStorageFilter )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_INFO_QUEUE_FILTER *pFilter);
-        
-        void ( STDMETHODCALLTYPE *PopStorageFilter )( 
-            ID3D10InfoQueue * This);
-        
-        UINT ( STDMETHODCALLTYPE *GetStorageFilterStackSize )( 
-            ID3D10InfoQueue * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *AddRetrievalFilterEntries )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_INFO_QUEUE_FILTER *pFilter);
-        
-        HRESULT ( STDMETHODCALLTYPE *GetRetrievalFilter )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _Out_writes_bytes_opt_(*pFilterByteLength)  D3D10_INFO_QUEUE_FILTER *pFilter,
-            /* [annotation] */ 
-            _Inout_  SIZE_T *pFilterByteLength);
-        
-        void ( STDMETHODCALLTYPE *ClearRetrievalFilter )( 
-            ID3D10InfoQueue * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *PushEmptyRetrievalFilter )( 
-            ID3D10InfoQueue * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *PushCopyOfRetrievalFilter )( 
-            ID3D10InfoQueue * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *PushRetrievalFilter )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_INFO_QUEUE_FILTER *pFilter);
-        
-        void ( STDMETHODCALLTYPE *PopRetrievalFilter )( 
-            ID3D10InfoQueue * This);
-        
-        UINT ( STDMETHODCALLTYPE *GetRetrievalFilterStackSize )( 
-            ID3D10InfoQueue * This);
-        
-        HRESULT ( STDMETHODCALLTYPE *AddMessage )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_CATEGORY Category,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_SEVERITY Severity,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_ID ID,
-            /* [annotation] */ 
-            _In_  LPCSTR pDescription);
-        
-        HRESULT ( STDMETHODCALLTYPE *AddApplicationMessage )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_SEVERITY Severity,
-            /* [annotation] */ 
-            _In_  LPCSTR pDescription);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetBreakOnCategory )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_CATEGORY Category,
-            /* [annotation] */ 
-            _In_  BOOL bEnable);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetBreakOnSeverity )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_SEVERITY Severity,
-            /* [annotation] */ 
-            _In_  BOOL bEnable);
-        
-        HRESULT ( STDMETHODCALLTYPE *SetBreakOnID )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_ID ID,
-            /* [annotation] */ 
-            _In_  BOOL bEnable);
-        
-        BOOL ( STDMETHODCALLTYPE *GetBreakOnCategory )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_CATEGORY Category);
-        
-        BOOL ( STDMETHODCALLTYPE *GetBreakOnSeverity )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_SEVERITY Severity);
-        
-        BOOL ( STDMETHODCALLTYPE *GetBreakOnID )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  D3D10_MESSAGE_ID ID);
-        
-        void ( STDMETHODCALLTYPE *SetMuteDebugOutput )( 
-            ID3D10InfoQueue * This,
-            /* [annotation] */ 
-            _In_  BOOL bMute);
-        
-        BOOL ( STDMETHODCALLTYPE *GetMuteDebugOutput )( 
-            ID3D10InfoQueue * This);
-        
-        END_INTERFACE
-    } ID3D10InfoQueueVtbl;
-
-    interface ID3D10InfoQueue
-    {
-        CONST_VTBL struct ID3D10InfoQueueVtbl *lpVtbl;
-    };
-
-    
-
-#ifdef COBJMACROS
-
-
-#define ID3D10InfoQueue_QueryInterface(This,riid,ppvObject)	\
-    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 
-
-#define ID3D10InfoQueue_AddRef(This)	\
-    ( (This)->lpVtbl -> AddRef(This) ) 
-
-#define ID3D10InfoQueue_Release(This)	\
-    ( (This)->lpVtbl -> Release(This) ) 
-
-
-#define ID3D10InfoQueue_SetMessageCountLimit(This,MessageCountLimit)	\
-    ( (This)->lpVtbl -> SetMessageCountLimit(This,MessageCountLimit) ) 
-
-#define ID3D10InfoQueue_ClearStoredMessages(This)	\
-    ( (This)->lpVtbl -> ClearStoredMessages(This) ) 
-
-#define ID3D10InfoQueue_GetMessage(This,MessageIndex,pMessage,pMessageByteLength)	\
-    ( (This)->lpVtbl -> GetMessage(This,MessageIndex,pMessage,pMessageByteLength) ) 
-
-#define ID3D10InfoQueue_GetNumMessagesAllowedByStorageFilter(This)	\
-    ( (This)->lpVtbl -> GetNumMessagesAllowedByStorageFilter(This) ) 
-
-#define ID3D10InfoQueue_GetNumMessagesDeniedByStorageFilter(This)	\
-    ( (This)->lpVtbl -> GetNumMessagesDeniedByStorageFilter(This) ) 
-
-#define ID3D10InfoQueue_GetNumStoredMessages(This)	\
-    ( (This)->lpVtbl -> GetNumStoredMessages(This) ) 
-
-#define ID3D10InfoQueue_GetNumStoredMessagesAllowedByRetrievalFilter(This)	\
-    ( (This)->lpVtbl -> GetNumStoredMessagesAllowedByRetrievalFilter(This) ) 
-
-#define ID3D10InfoQueue_GetNumMessagesDiscardedByMessageCountLimit(This)	\
-    ( (This)->lpVtbl -> GetNumMessagesDiscardedByMessageCountLimit(This) ) 
-
-#define ID3D10InfoQueue_GetMessageCountLimit(This)	\
-    ( (This)->lpVtbl -> GetMessageCountLimit(This) ) 
-
-#define ID3D10InfoQueue_AddStorageFilterEntries(This,pFilter)	\
-    ( (This)->lpVtbl -> AddStorageFilterEntries(This,pFilter) ) 
-
-#define ID3D10InfoQueue_GetStorageFilter(This,pFilter,pFilterByteLength)	\
-    ( (This)->lpVtbl -> GetStorageFilter(This,pFilter,pFilterByteLength) ) 
-
-#define ID3D10InfoQueue_ClearStorageFilter(This)	\
-    ( (This)->lpVtbl -> ClearStorageFilter(This) ) 
-
-#define ID3D10InfoQueue_PushEmptyStorageFilter(This)	\
-    ( (This)->lpVtbl -> PushEmptyStorageFilter(This) ) 
-
-#define ID3D10InfoQueue_PushCopyOfStorageFilter(This)	\
-    ( (This)->lpVtbl -> PushCopyOfStorageFilter(This) ) 
-
-#define ID3D10InfoQueue_PushStorageFilter(This,pFilter)	\
-    ( (This)->lpVtbl -> PushStorageFilter(This,pFilter) ) 
-
-#define ID3D10InfoQueue_PopStorageFilter(This)	\
-    ( (This)->lpVtbl -> PopStorageFilter(This) ) 
-
-#define ID3D10InfoQueue_GetStorageFilterStackSize(This)	\
-    ( (This)->lpVtbl -> GetStorageFilterStackSize(This) ) 
-
-#define ID3D10InfoQueue_AddRetrievalFilterEntries(This,pFilter)	\
-    ( (This)->lpVtbl -> AddRetrievalFilterEntries(This,pFilter) ) 
-
-#define ID3D10InfoQueue_GetRetrievalFilter(This,pFilter,pFilterByteLength)	\
-    ( (This)->lpVtbl -> GetRetrievalFilter(This,pFilter,pFilterByteLength) ) 
-
-#define ID3D10InfoQueue_ClearRetrievalFilter(This)	\
-    ( (This)->lpVtbl -> ClearRetrievalFilter(This) ) 
-
-#define ID3D10InfoQueue_PushEmptyRetrievalFilter(This)	\
-    ( (This)->lpVtbl -> PushEmptyRetrievalFilter(This) ) 
-
-#define ID3D10InfoQueue_PushCopyOfRetrievalFilter(This)	\
-    ( (This)->lpVtbl -> PushCopyOfRetrievalFilter(This) ) 
-
-#define ID3D10InfoQueue_PushRetrievalFilter(This,pFilter)	\
-    ( (This)->lpVtbl -> PushRetrievalFilter(This,pFilter) ) 
-
-#define ID3D10InfoQueue_PopRetrievalFilter(This)	\
-    ( (This)->lpVtbl -> PopRetrievalFilter(This) ) 
-
-#define ID3D10InfoQueue_GetRetrievalFilterStackSize(This)	\
-    ( (This)->lpVtbl -> GetRetrievalFilterStackSize(This) ) 
-
-#define ID3D10InfoQueue_AddMessage(This,Category,Severity,ID,pDescription)	\
-    ( (This)->lpVtbl -> AddMessage(This,Category,Severity,ID,pDescription) ) 
-
-#define ID3D10InfoQueue_AddApplicationMessage(This,Severity,pDescription)	\
-    ( (This)->lpVtbl -> AddApplicationMessage(This,Severity,pDescription) ) 
-
-#define ID3D10InfoQueue_SetBreakOnCategory(This,Category,bEnable)	\
-    ( (This)->lpVtbl -> SetBreakOnCategory(This,Category,bEnable) ) 
-
-#define ID3D10InfoQueue_SetBreakOnSeverity(This,Severity,bEnable)	\
-    ( (This)->lpVtbl -> SetBreakOnSeverity(This,Severity,bEnable) ) 
-
-#define ID3D10InfoQueue_SetBreakOnID(This,ID,bEnable)	\
-    ( (This)->lpVtbl -> SetBreakOnID(This,ID,bEnable) ) 
-
-#define ID3D10InfoQueue_GetBreakOnCategory(This,Category)	\
-    ( (This)->lpVtbl -> GetBreakOnCategory(This,Category) ) 
-
-#define ID3D10InfoQueue_GetBreakOnSeverity(This,Severity)	\
-    ( (This)->lpVtbl -> GetBreakOnSeverity(This,Severity) ) 
-
-#define ID3D10InfoQueue_GetBreakOnID(This,ID)	\
-    ( (This)->lpVtbl -> GetBreakOnID(This,ID) ) 
-
-#define ID3D10InfoQueue_SetMuteDebugOutput(This,bMute)	\
-    ( (This)->lpVtbl -> SetMuteDebugOutput(This,bMute) ) 
-
-#define ID3D10InfoQueue_GetMuteDebugOutput(This)	\
-    ( (This)->lpVtbl -> GetMuteDebugOutput(This) ) 
-
-#endif /* COBJMACROS */
-
-
-#endif 	/* C style interface */
-
-
-
-
-#endif 	/* __ID3D10InfoQueue_INTERFACE_DEFINED__ */
-
-
-/* interface __MIDL_itf_d3d10sdklayers_0000_0003 */
-/* [local] */ 
-
-DEFINE_GUID(IID_ID3D10Debug,0x9B7E4E01,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
-DEFINE_GUID(IID_ID3D10SwitchToRef,0x9B7E4E02,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,0xF6,0x89,0xF0);
-DEFINE_GUID(IID_ID3D10InfoQueue,0x1b940b17,0x2642,0x4d1f,0xab,0x1f,0xb9,0x9b,0xad,0x0c,0x39,0x5f);
-
-
-extern RPC_IF_HANDLE __MIDL_itf_d3d10sdklayers_0000_0003_v0_0_c_ifspec;
-extern RPC_IF_HANDLE __MIDL_itf_d3d10sdklayers_0000_0003_v0_0_s_ifspec;
-
-/* Additional Prototypes for ALL interfaces */
-
-/* end of Additional Prototypes */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
-
-

+ 0 - 547
3rdparty/dxsdk/include/d3d10shader.h

@@ -1,547 +0,0 @@
-//////////////////////////////////////////////////////////////////////////////
-//
-//  Copyright (c) Microsoft Corporation.  All rights reserved.
-//
-//  File:       D3D10Shader.h
-//  Content:    D3D10 Shader Types and APIs
-//
-//////////////////////////////////////////////////////////////////////////////
-
-#ifndef __D3D10SHADER_H__
-#define __D3D10SHADER_H__
-
-
-#include "d3d10.h"
-
-
-
-
-//---------------------------------------------------------------------------
-// D3D10_TX_VERSION:
-// --------------
-// Version token used to create a procedural texture filler in effects
-// Used by D3D10Fill[]TX functions
-//---------------------------------------------------------------------------
-#define D3D10_TX_VERSION(_Major,_Minor) (('T' << 24) | ('X' << 16) | ((_Major) << 8) | (_Minor))
-
-
-//----------------------------------------------------------------------------
-// D3D10SHADER flags:
-// -----------------
-// D3D10_SHADER_DEBUG
-//   Insert debug file/line/type/symbol information.
-//
-// D3D10_SHADER_SKIP_VALIDATION
-//   Do not validate the generated code against known capabilities and
-//   constraints.  This option is only recommended when compiling shaders
-//   you KNOW will work.  (ie. have compiled before without this option.)
-//   Shaders are always validated by D3D before they are set to the device.
-//
-// D3D10_SHADER_SKIP_OPTIMIZATION 
-//   Instructs the compiler to skip optimization steps during code generation.
-//   Unless you are trying to isolate a problem in your code using this option 
-//   is not recommended.
-//
-// D3D10_SHADER_PACK_MATRIX_ROW_MAJOR
-//   Unless explicitly specified, matrices will be packed in row-major order
-//   on input and output from the shader.
-//
-// D3D10_SHADER_PACK_MATRIX_COLUMN_MAJOR
-//   Unless explicitly specified, matrices will be packed in column-major 
-//   order on input and output from the shader.  This is generally more 
-//   efficient, since it allows vector-matrix multiplication to be performed
-//   using a series of dot-products.
-//
-// D3D10_SHADER_PARTIAL_PRECISION
-//   Force all computations in resulting shader to occur at partial precision.
-//   This may result in faster evaluation of shaders on some hardware.
-//
-// D3D10_SHADER_FORCE_VS_SOFTWARE_NO_OPT
-//   Force compiler to compile against the next highest available software
-//   target for vertex shaders.  This flag also turns optimizations off, 
-//   and debugging on.  
-//
-// D3D10_SHADER_FORCE_PS_SOFTWARE_NO_OPT
-//   Force compiler to compile against the next highest available software
-//   target for pixel shaders.  This flag also turns optimizations off, 
-//   and debugging on.
-//
-// D3D10_SHADER_NO_PRESHADER
-//   Disables Preshaders. Using this flag will cause the compiler to not 
-//   pull out static expression for evaluation on the host cpu
-//
-// D3D10_SHADER_AVOID_FLOW_CONTROL
-//   Hint compiler to avoid flow-control constructs where possible.
-//
-// D3D10_SHADER_PREFER_FLOW_CONTROL
-//   Hint compiler to prefer flow-control constructs where possible.
-//
-// D3D10_SHADER_ENABLE_STRICTNESS
-//   By default, the HLSL/Effect compilers are not strict on deprecated syntax.
-//   Specifying this flag enables the strict mode. Deprecated syntax may be
-//   removed in a future release, and enabling syntax is a good way to make sure
-//   your shaders comply to the latest spec.
-//
-// D3D10_SHADER_ENABLE_BACKWARDS_COMPATIBILITY
-//   This enables older shaders to compile to 4_0 targets.
-//
-//----------------------------------------------------------------------------
-
-#define D3D10_SHADER_DEBUG                          (1 << 0)
-#define D3D10_SHADER_SKIP_VALIDATION                (1 << 1)
-#define D3D10_SHADER_SKIP_OPTIMIZATION              (1 << 2)
-#define D3D10_SHADER_PACK_MATRIX_ROW_MAJOR          (1 << 3)
-#define D3D10_SHADER_PACK_MATRIX_COLUMN_MAJOR       (1 << 4)
-#define D3D10_SHADER_PARTIAL_PRECISION              (1 << 5)
-#define D3D10_SHADER_FORCE_VS_SOFTWARE_NO_OPT       (1 << 6)
-#define D3D10_SHADER_FORCE_PS_SOFTWARE_NO_OPT       (1 << 7)
-#define D3D10_SHADER_NO_PRESHADER                   (1 << 8)
-#define D3D10_SHADER_AVOID_FLOW_CONTROL             (1 << 9)
-#define D3D10_SHADER_PREFER_FLOW_CONTROL            (1 << 10)
-#define D3D10_SHADER_ENABLE_STRICTNESS              (1 << 11)
-#define D3D10_SHADER_ENABLE_BACKWARDS_COMPATIBILITY (1 << 12)
-#define D3D10_SHADER_IEEE_STRICTNESS                (1 << 13)
-#define D3D10_SHADER_WARNINGS_ARE_ERRORS            (1 << 18)
-#define D3D10_SHADER_RESOURCES_MAY_ALIAS            (1 << 19)
-#define D3D10_ENABLE_UNBOUNDED_DESCRIPTOR_TABLES    (1 << 20)
-#define D3D10_ALL_RESOURCES_BOUND                   (1 << 21)
-
-
-// optimization level flags
-#define D3D10_SHADER_OPTIMIZATION_LEVEL0            (1 << 14)
-#define D3D10_SHADER_OPTIMIZATION_LEVEL1            0
-#define D3D10_SHADER_OPTIMIZATION_LEVEL2            ((1 << 14) | (1 << 15))
-#define D3D10_SHADER_OPTIMIZATION_LEVEL3            (1 << 15)
-
-
-
-
-typedef D3D_SHADER_MACRO D3D10_SHADER_MACRO;
-typedef D3D10_SHADER_MACRO* LPD3D10_SHADER_MACRO;
-
-
-typedef D3D_SHADER_VARIABLE_CLASS D3D10_SHADER_VARIABLE_CLASS;
-typedef D3D10_SHADER_VARIABLE_CLASS* LPD3D10_SHADER_VARIABLE_CLASS;
-
-typedef D3D_SHADER_VARIABLE_FLAGS D3D10_SHADER_VARIABLE_FLAGS;
-typedef D3D10_SHADER_VARIABLE_FLAGS* LPD3D10_SHADER_VARIABLE_FLAGS;
-
-typedef D3D_SHADER_VARIABLE_TYPE D3D10_SHADER_VARIABLE_TYPE;
-typedef D3D10_SHADER_VARIABLE_TYPE* LPD3D10_SHADER_VARIABLE_TYPE;
-
-typedef D3D_SHADER_INPUT_FLAGS D3D10_SHADER_INPUT_FLAGS;
-typedef D3D10_SHADER_INPUT_FLAGS* LPD3D10_SHADER_INPUT_FLAGS;
-
-typedef D3D_SHADER_INPUT_TYPE D3D10_SHADER_INPUT_TYPE;
-typedef D3D10_SHADER_INPUT_TYPE* LPD3D10_SHADER_INPUT_TYPE;
-
-typedef D3D_SHADER_CBUFFER_FLAGS D3D10_SHADER_CBUFFER_FLAGS;
-typedef D3D10_SHADER_CBUFFER_FLAGS* LPD3D10_SHADER_CBUFFER_FLAGS;
-
-typedef D3D_CBUFFER_TYPE D3D10_CBUFFER_TYPE;
-typedef D3D10_CBUFFER_TYPE* LPD3D10_CBUFFER_TYPE;
-
-typedef D3D_NAME D3D10_NAME;
-
-typedef D3D_RESOURCE_RETURN_TYPE D3D10_RESOURCE_RETURN_TYPE;
-
-typedef D3D_REGISTER_COMPONENT_TYPE D3D10_REGISTER_COMPONENT_TYPE;
-
-typedef D3D_INCLUDE_TYPE D3D10_INCLUDE_TYPE;
-
-// ID3D10Include has been made version-neutral and moved to d3dcommon.h.
-typedef interface ID3DInclude ID3D10Include;
-typedef interface ID3DInclude* LPD3D10INCLUDE;
-#define IID_ID3D10Include IID_ID3DInclude
-
-
-//----------------------------------------------------------------------------
-// ID3D10ShaderReflection:
-//----------------------------------------------------------------------------
-
-//
-// Structure definitions
-//
-
-typedef struct _D3D10_SHADER_DESC
-{
-    UINT                    Version;                     // Shader version
-    LPCSTR                  Creator;                     // Creator string
-    UINT                    Flags;                       // Shader compilation/parse flags
-    
-    UINT                    ConstantBuffers;             // Number of constant buffers
-    UINT                    BoundResources;              // Number of bound resources
-    UINT                    InputParameters;             // Number of parameters in the input signature
-    UINT                    OutputParameters;            // Number of parameters in the output signature
-
-    UINT                    InstructionCount;            // Number of emitted instructions
-    UINT                    TempRegisterCount;           // Number of temporary registers used 
-    UINT                    TempArrayCount;              // Number of temporary arrays used
-    UINT                    DefCount;                    // Number of constant defines 
-    UINT                    DclCount;                    // Number of declarations (input + output)
-    UINT                    TextureNormalInstructions;   // Number of non-categorized texture instructions
-    UINT                    TextureLoadInstructions;     // Number of texture load instructions
-    UINT                    TextureCompInstructions;     // Number of texture comparison instructions
-    UINT                    TextureBiasInstructions;     // Number of texture bias instructions
-    UINT                    TextureGradientInstructions; // Number of texture gradient instructions
-    UINT                    FloatInstructionCount;       // Number of floating point arithmetic instructions used
-    UINT                    IntInstructionCount;         // Number of signed integer arithmetic instructions used
-    UINT                    UintInstructionCount;        // Number of unsigned integer arithmetic instructions used
-    UINT                    StaticFlowControlCount;      // Number of static flow control instructions used
-    UINT                    DynamicFlowControlCount;     // Number of dynamic flow control instructions used
-    UINT                    MacroInstructionCount;       // Number of macro instructions used
-    UINT                    ArrayInstructionCount;       // Number of array instructions used
-    UINT                    CutInstructionCount;         // Number of cut instructions used
-    UINT                    EmitInstructionCount;        // Number of emit instructions used
-    D3D10_PRIMITIVE_TOPOLOGY GSOutputTopology;           // Geometry shader output topology
-    UINT                    GSMaxOutputVertexCount;      // Geometry shader maximum output vertex count
-} D3D10_SHADER_DESC;
-
-typedef struct _D3D10_SHADER_BUFFER_DESC
-{
-    LPCSTR                  Name;           // Name of the constant buffer
-    D3D10_CBUFFER_TYPE      Type;           // Indicates that this is a CBuffer or TBuffer
-    UINT                    Variables;      // Number of member variables
-    UINT                    Size;           // Size of CB (in bytes)
-    UINT                    uFlags;         // Buffer description flags
-} D3D10_SHADER_BUFFER_DESC;
-
-typedef struct _D3D10_SHADER_VARIABLE_DESC
-{
-    LPCSTR                  Name;           // Name of the variable
-    UINT                    StartOffset;    // Offset in constant buffer's backing store
-    UINT                    Size;           // Size of variable (in bytes)
-    UINT                    uFlags;         // Variable flags
-    LPVOID                  DefaultValue;   // Raw pointer to default value
-} D3D10_SHADER_VARIABLE_DESC;
-
-typedef struct _D3D10_SHADER_TYPE_DESC
-{
-    D3D10_SHADER_VARIABLE_CLASS Class;          // Variable class (e.g. object, matrix, etc.)
-    D3D10_SHADER_VARIABLE_TYPE  Type;           // Variable type (e.g. float, sampler, etc.)
-    UINT                        Rows;           // Number of rows (for matrices, 1 for other numeric, 0 if not applicable)
-    UINT                        Columns;        // Number of columns (for vectors & matrices, 1 for other numeric, 0 if not applicable)
-    UINT                        Elements;       // Number of elements (0 if not an array)
-    UINT                        Members;        // Number of members (0 if not a structure)
-    UINT                        Offset;         // Offset from the start of structure (0 if not a structure member) 
-} D3D10_SHADER_TYPE_DESC;
-
-typedef struct _D3D10_SHADER_INPUT_BIND_DESC
-{
-    LPCSTR                      Name;           // Name of the resource
-    D3D10_SHADER_INPUT_TYPE     Type;           // Type of resource (e.g. texture, cbuffer, etc.)
-    UINT                        BindPoint;      // Starting bind point
-    UINT                        BindCount;      // Number of contiguous bind points (for arrays)
-    
-    UINT                        uFlags;         // Input binding flags
-    D3D10_RESOURCE_RETURN_TYPE  ReturnType;     // Return type (if texture)
-    D3D10_SRV_DIMENSION         Dimension;      // Dimension (if texture)
-    UINT                        NumSamples;     // Number of samples (0 if not MS texture)
-} D3D10_SHADER_INPUT_BIND_DESC;
-
-typedef struct _D3D10_SIGNATURE_PARAMETER_DESC
-{
-    LPCSTR                      SemanticName;   // Name of the semantic
-    UINT                        SemanticIndex;  // Index of the semantic
-    UINT                        Register;       // Number of member variables
-    D3D10_NAME                  SystemValueType;// A predefined system value, or D3D10_NAME_UNDEFINED if not applicable
-    D3D10_REGISTER_COMPONENT_TYPE ComponentType;// Scalar type (e.g. uint, float, etc.)
-    BYTE                        Mask;           // Mask to indicate which components of the register
-                                                // are used (combination of D3D10_COMPONENT_MASK values)
-    BYTE                        ReadWriteMask;  // Mask to indicate whether a given component is 
-                                                // never written (if this is an output signature) or
-                                                // always read (if this is an input signature).
-                                                // (combination of D3D10_COMPONENT_MASK values)
-    
-} D3D10_SIGNATURE_PARAMETER_DESC;
-
-
-//
-// Interface definitions
-//
-
-
-
-
-typedef interface ID3D10ShaderReflectionType ID3D10ShaderReflectionType;
-typedef interface ID3D10ShaderReflectionType *LPD3D10SHADERREFLECTIONTYPE;
-
-// {C530AD7D-9B16-4395-A979-BA2ECFF83ADD}
-interface DECLSPEC_UUID("C530AD7D-9B16-4395-A979-BA2ECFF83ADD") ID3D10ShaderReflectionType;
-DEFINE_GUID(IID_ID3D10ShaderReflectionType, 
-0xc530ad7d, 0x9b16, 0x4395, 0xa9, 0x79, 0xba, 0x2e, 0xcf, 0xf8, 0x3a, 0xdd);
-
-#undef INTERFACE
-#define INTERFACE ID3D10ShaderReflectionType
-
-DECLARE_INTERFACE(ID3D10ShaderReflectionType)
-{
-    STDMETHOD(GetDesc)(THIS_ D3D10_SHADER_TYPE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10ShaderReflectionType*, GetMemberTypeByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10ShaderReflectionType*, GetMemberTypeByName)(THIS_ LPCSTR Name) PURE;
-    STDMETHOD_(LPCSTR, GetMemberTypeName)(THIS_ UINT Index) PURE;
-};
-
-typedef interface ID3D10ShaderReflectionVariable ID3D10ShaderReflectionVariable;
-typedef interface ID3D10ShaderReflectionVariable *LPD3D10SHADERREFLECTIONVARIABLE;
-
-// {1BF63C95-2650-405d-99C1-3636BD1DA0A1}
-interface DECLSPEC_UUID("1BF63C95-2650-405d-99C1-3636BD1DA0A1") ID3D10ShaderReflectionVariable;
-DEFINE_GUID(IID_ID3D10ShaderReflectionVariable, 
-0x1bf63c95, 0x2650, 0x405d, 0x99, 0xc1, 0x36, 0x36, 0xbd, 0x1d, 0xa0, 0xa1);
-
-#undef INTERFACE
-#define INTERFACE ID3D10ShaderReflectionVariable
-
-DECLARE_INTERFACE(ID3D10ShaderReflectionVariable)
-{
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_SHADER_VARIABLE_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10ShaderReflectionType*, GetType)(THIS) PURE;
-};
-
-typedef interface ID3D10ShaderReflectionConstantBuffer ID3D10ShaderReflectionConstantBuffer;
-typedef interface ID3D10ShaderReflectionConstantBuffer *LPD3D10SHADERREFLECTIONCONSTANTBUFFER;
-
-// {66C66A94-DDDD-4b62-A66A-F0DA33C2B4D0}
-interface DECLSPEC_UUID("66C66A94-DDDD-4b62-A66A-F0DA33C2B4D0") ID3D10ShaderReflectionConstantBuffer;
-DEFINE_GUID(IID_ID3D10ShaderReflectionConstantBuffer, 
-0x66c66a94, 0xdddd, 0x4b62, 0xa6, 0x6a, 0xf0, 0xda, 0x33, 0xc2, 0xb4, 0xd0);
-
-#undef INTERFACE
-#define INTERFACE ID3D10ShaderReflectionConstantBuffer
-
-DECLARE_INTERFACE(ID3D10ShaderReflectionConstantBuffer)
-{
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_SHADER_BUFFER_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10ShaderReflectionVariable*, GetVariableByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10ShaderReflectionVariable*, GetVariableByName)(THIS_ LPCSTR Name) PURE;
-};
-
-typedef interface ID3D10ShaderReflection ID3D10ShaderReflection;
-typedef interface ID3D10ShaderReflection *LPD3D10SHADERREFLECTION;
-
-// {D40E20B6-F8F7-42ad-AB20-4BAF8F15DFAA}
-interface DECLSPEC_UUID("D40E20B6-F8F7-42ad-AB20-4BAF8F15DFAA") ID3D10ShaderReflection;
-DEFINE_GUID(IID_ID3D10ShaderReflection, 
-0xd40e20b6, 0xf8f7, 0x42ad, 0xab, 0x20, 0x4b, 0xaf, 0x8f, 0x15, 0xdf, 0xaa);
-
-#undef INTERFACE
-#define INTERFACE ID3D10ShaderReflection
-
-DECLARE_INTERFACE_(ID3D10ShaderReflection, IUnknown)
-{
-    STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
-    STDMETHOD_(ULONG, AddRef)(THIS) PURE;
-    STDMETHOD_(ULONG, Release)(THIS) PURE;
-
-    STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_SHADER_DESC *pDesc) PURE;
-    
-    STDMETHOD_(ID3D10ShaderReflectionConstantBuffer*, GetConstantBufferByIndex)(THIS_ UINT Index) PURE;
-    STDMETHOD_(ID3D10ShaderReflectionConstantBuffer*, GetConstantBufferByName)(THIS_ LPCSTR Name) PURE;
-    
-    STDMETHOD(GetResourceBindingDesc)(THIS_ UINT ResourceIndex, _Out_ D3D10_SHADER_INPUT_BIND_DESC *pDesc) PURE;
-    
-    STDMETHOD(GetInputParameterDesc)(THIS_ UINT ParameterIndex, _Out_ D3D10_SIGNATURE_PARAMETER_DESC *pDesc) PURE;
-    STDMETHOD(GetOutputParameterDesc)(THIS_ UINT ParameterIndex, _Out_ D3D10_SIGNATURE_PARAMETER_DESC *pDesc) PURE;
-    
-};
-
-//////////////////////////////////////////////////////////////////////////////
-// APIs //////////////////////////////////////////////////////////////////////
-//////////////////////////////////////////////////////////////////////////////
-
-#ifdef __cplusplus
-extern "C" {
-#endif //__cplusplus
-
-//----------------------------------------------------------------------------
-// D3D10CompileShader:
-// ------------------
-// Compiles a shader.
-//
-// Parameters:
-//  pSrcFile
-//      Source file name.
-//  hSrcModule
-//      Module handle. if NULL, current module will be used.
-//  pSrcResource
-//      Resource name in module.
-//  pSrcData
-//      Pointer to source code.
-//  SrcDataSize
-//      Size of source code, in bytes.
-//  pDefines
-//      Optional NULL-terminated array of preprocessor macro definitions.
-//  pInclude
-//      Optional interface pointer to use for handling #include directives.
-//      If this parameter is NULL, #includes will be honored when compiling
-//      from file, and will error when compiling from resource or memory.
-//  pFunctionName
-//      Name of the entrypoint function where execution should begin.
-//  pProfile
-//      Instruction set to be used when generating code.  The D3D10 entry
-//      point currently supports only "vs_4_0", "ps_4_0", and "gs_4_0".
-//  Flags
-//      See D3D10_SHADER_xxx flags.
-//  ppShader
-//      Returns a buffer containing the created shader.  This buffer contains
-//      the compiled shader code, as well as any embedded debug and symbol
-//      table info.  (See D3D10GetShaderConstantTable)
-//  ppErrorMsgs
-//      Returns a buffer containing a listing of errors and warnings that were
-//      encountered during the compile.  If you are running in a debugger,
-//      these are the same messages you will see in your debug output.
-//----------------------------------------------------------------------------
-
-HRESULT WINAPI D3D10CompileShader(_In_reads_bytes_(SrcDataSize) LPCSTR pSrcData, SIZE_T SrcDataSize, _In_opt_ LPCSTR pFileName, _In_opt_ CONST D3D10_SHADER_MACRO* pDefines, _In_opt_ LPD3D10INCLUDE pInclude, 
-    LPCSTR pFunctionName, LPCSTR pProfile, UINT Flags, _Out_ ID3D10Blob** ppShader, _Out_opt_ ID3D10Blob** ppErrorMsgs);
-
-//----------------------------------------------------------------------------
-// D3D10DisassembleShader:
-// ----------------------
-// Takes a binary shader, and returns a buffer containing text assembly.
-//
-// Parameters:
-//  pShader
-//      Pointer to the shader byte code.
-//  BytecodeLength
-//      Size of the shader byte code in bytes.
-//  EnableColorCode
-//      Emit HTML tags for color coding the output?
-//  pComments
-//      Pointer to a comment string to include at the top of the shader.
-//  ppDisassembly
-//      Returns a buffer containing the disassembled shader.
-//----------------------------------------------------------------------------
-
-HRESULT WINAPI D3D10DisassembleShader(_In_reads_bytes_(BytecodeLength) CONST void *pShader, SIZE_T BytecodeLength, BOOL EnableColorCode, _In_opt_ LPCSTR pComments, _Out_ ID3D10Blob** ppDisassembly);
-
-
-//----------------------------------------------------------------------------
-// D3D10GetPixelShaderProfile/D3D10GetVertexShaderProfile/D3D10GetGeometryShaderProfile:
-// -----------------------------------------------------
-// Returns the name of the HLSL profile best suited to a given device.
-//
-// Parameters:
-//  pDevice
-//      Pointer to the device in question
-//----------------------------------------------------------------------------
-
-LPCSTR WINAPI D3D10GetPixelShaderProfile(_In_ ID3D10Device *pDevice);
-
-LPCSTR WINAPI D3D10GetVertexShaderProfile(_In_ ID3D10Device *pDevice);
-
-LPCSTR WINAPI D3D10GetGeometryShaderProfile(_In_ ID3D10Device *pDevice);
-
-//----------------------------------------------------------------------------
-// D3D10ReflectShader:
-// ------------------
-// Creates a shader reflection object that can be used to retrieve information
-// about a compiled shader
-//
-// Parameters:
-//  pShaderBytecode
-//      Pointer to a compiled shader (same pointer that is passed into
-//      ID3D10Device::CreateShader)
-//  BytecodeLength
-//      Length of the shader bytecode buffer
-//  ppReflector
-//      [out] Returns a ID3D10ShaderReflection object that can be used to 
-//      retrieve shader resource and constant buffer information
-//
-//----------------------------------------------------------------------------
-
-HRESULT WINAPI D3D10ReflectShader(_In_reads_bytes_(BytecodeLength) CONST void *pShaderBytecode, SIZE_T BytecodeLength, _Out_ ID3D10ShaderReflection **ppReflector);
-
-//----------------------------------------------------------------------------
-// D3D10PreprocessShader
-// ---------------------
-// Creates a shader reflection object that can be used to retrieve information
-// about a compiled shader
-//
-// Parameters:
-//  pSrcData
-//      Pointer to source code
-//  SrcDataSize
-//      Size of source code, in bytes
-//  pFileName
-//      Source file name (used for error output)
-//  pDefines
-//      Optional NULL-terminated array of preprocessor macro definitions.
-//  pInclude
-//      Optional interface pointer to use for handling #include directives.
-//      If this parameter is NULL, #includes will be honored when assembling
-//      from file, and will error when assembling from resource or memory.
-//  ppShaderText
-//      Returns a buffer containing a single large string that represents
-//      the resulting formatted token stream
-//  ppErrorMsgs
-//      Returns a buffer containing a listing of errors and warnings that were
-//      encountered during assembly.  If you are running in a debugger,
-//      these are the same messages you will see in your debug output.
-//----------------------------------------------------------------------------
-
-HRESULT WINAPI D3D10PreprocessShader(_In_reads_bytes_(SrcDataSize) LPCSTR pSrcData, SIZE_T SrcDataSize, _In_opt_ LPCSTR pFileName, _In_opt_ CONST D3D10_SHADER_MACRO* pDefines, 
-    _In_opt_ LPD3D10INCLUDE pInclude, _Out_ ID3D10Blob** ppShaderText, _Out_opt_ ID3D10Blob** ppErrorMsgs);
-
-//////////////////////////////////////////////////////////////////////////
-//
-// Shader blob manipulation routines
-// ---------------------------------
-//
-// void *pShaderBytecode - a buffer containing the result of an HLSL
-//  compilation.  Typically this opaque buffer contains several 
-//  discrete sections including the shader executable code, the input
-//  signature, and the output signature.  This can typically be retrieved 
-//  by calling ID3D10Blob::GetBufferPointer() on the returned blob
-//  from HLSL's compile APIs.
-//
-// UINT BytecodeLength - the length of pShaderBytecode.  This can 
-//  typically be retrieved by calling ID3D10Blob::GetBufferSize() 
-//  on the returned blob from HLSL's compile APIs.
-//
-// ID3D10Blob **ppSignatureBlob(s) - a newly created buffer that
-//  contains only the signature portions of the original bytecode.
-//  This is a copy; the original bytecode is not modified.  You may
-//  specify NULL for this parameter to have the bytecode validated
-//  for the presence of the corresponding signatures without actually
-//  copying them and creating a new blob.
-//
-// Returns E_INVALIDARG if any required parameters are NULL
-// Returns E_FAIL is the bytecode is corrupt or missing signatures
-// Returns S_OK on success
-//
-//////////////////////////////////////////////////////////////////////////
-
-HRESULT WINAPI D3D10GetInputSignatureBlob(_In_reads_bytes_(BytecodeLength) CONST void *pShaderBytecode, SIZE_T BytecodeLength, _Out_ ID3D10Blob **ppSignatureBlob);
-HRESULT WINAPI D3D10GetOutputSignatureBlob(_In_reads_bytes_(BytecodeLength) CONST void *pShaderBytecode, SIZE_T BytecodeLength, _Out_ ID3D10Blob **ppSignatureBlob);
-HRESULT WINAPI D3D10GetInputAndOutputSignatureBlob(_In_reads_bytes_(BytecodeLength) CONST void *pShaderBytecode, SIZE_T BytecodeLength, _Out_ ID3D10Blob **ppSignatureBlob);
-
-//----------------------------------------------------------------------------
-// D3D10GetShaderDebugInfo:
-// -----------------------
-// Gets shader debug info.  Debug info is generated by D3D10CompileShader and is
-// embedded in the body of the shader.
-//
-// Parameters:
-//  pShaderBytecode
-//      Pointer to the function bytecode
-//  BytecodeLength
-//      Length of the shader bytecode buffer
-//  ppDebugInfo
-//      Buffer used to return debug info.  For information about the layout
-//      of this buffer, see definition of D3D10_SHADER_DEBUG_INFO above.
-//----------------------------------------------------------------------------
-
-HRESULT WINAPI D3D10GetShaderDebugInfo(_In_reads_bytes_(BytecodeLength) CONST void *pShaderBytecode, SIZE_T BytecodeLength, _Out_ ID3D10Blob** ppDebugInfo);
-
-#ifdef __cplusplus
-}
-#endif //__cplusplus
-
-    
-#endif //__D3D10SHADER_H__
-