blob: f4a34f623a4eca18e30c0e04570753cb07206261 [file] [log] [blame]
/*** Autogenerated by WIDL 6.4 from include/d3d10.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#endif
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __d3d10_h__
#define __d3d10_h__
/* Forward declarations */
#ifndef __ID3D10DeviceChild_FWD_DEFINED__
#define __ID3D10DeviceChild_FWD_DEFINED__
typedef interface ID3D10DeviceChild ID3D10DeviceChild;
#ifdef __cplusplus
interface ID3D10DeviceChild;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10Resource_FWD_DEFINED__
#define __ID3D10Resource_FWD_DEFINED__
typedef interface ID3D10Resource ID3D10Resource;
#ifdef __cplusplus
interface ID3D10Resource;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10Buffer_FWD_DEFINED__
#define __ID3D10Buffer_FWD_DEFINED__
typedef interface ID3D10Buffer ID3D10Buffer;
#ifdef __cplusplus
interface ID3D10Buffer;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10Texture1D_FWD_DEFINED__
#define __ID3D10Texture1D_FWD_DEFINED__
typedef interface ID3D10Texture1D ID3D10Texture1D;
#ifdef __cplusplus
interface ID3D10Texture1D;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10Texture2D_FWD_DEFINED__
#define __ID3D10Texture2D_FWD_DEFINED__
typedef interface ID3D10Texture2D ID3D10Texture2D;
#ifdef __cplusplus
interface ID3D10Texture2D;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10Texture3D_FWD_DEFINED__
#define __ID3D10Texture3D_FWD_DEFINED__
typedef interface ID3D10Texture3D ID3D10Texture3D;
#ifdef __cplusplus
interface ID3D10Texture3D;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10View_FWD_DEFINED__
#define __ID3D10View_FWD_DEFINED__
typedef interface ID3D10View ID3D10View;
#ifdef __cplusplus
interface ID3D10View;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10DepthStencilView_FWD_DEFINED__
#define __ID3D10DepthStencilView_FWD_DEFINED__
typedef interface ID3D10DepthStencilView ID3D10DepthStencilView;
#ifdef __cplusplus
interface ID3D10DepthStencilView;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10RenderTargetView_FWD_DEFINED__
#define __ID3D10RenderTargetView_FWD_DEFINED__
typedef interface ID3D10RenderTargetView ID3D10RenderTargetView;
#ifdef __cplusplus
interface ID3D10RenderTargetView;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10ShaderResourceView_FWD_DEFINED__
#define __ID3D10ShaderResourceView_FWD_DEFINED__
typedef interface ID3D10ShaderResourceView ID3D10ShaderResourceView;
#ifdef __cplusplus
interface ID3D10ShaderResourceView;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10BlendState_FWD_DEFINED__
#define __ID3D10BlendState_FWD_DEFINED__
typedef interface ID3D10BlendState ID3D10BlendState;
#ifdef __cplusplus
interface ID3D10BlendState;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10DepthStencilState_FWD_DEFINED__
#define __ID3D10DepthStencilState_FWD_DEFINED__
typedef interface ID3D10DepthStencilState ID3D10DepthStencilState;
#ifdef __cplusplus
interface ID3D10DepthStencilState;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10GeometryShader_FWD_DEFINED__
#define __ID3D10GeometryShader_FWD_DEFINED__
typedef interface ID3D10GeometryShader ID3D10GeometryShader;
#ifdef __cplusplus
interface ID3D10GeometryShader;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10InputLayout_FWD_DEFINED__
#define __ID3D10InputLayout_FWD_DEFINED__
typedef interface ID3D10InputLayout ID3D10InputLayout;
#ifdef __cplusplus
interface ID3D10InputLayout;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10PixelShader_FWD_DEFINED__
#define __ID3D10PixelShader_FWD_DEFINED__
typedef interface ID3D10PixelShader ID3D10PixelShader;
#ifdef __cplusplus
interface ID3D10PixelShader;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10RasterizerState_FWD_DEFINED__
#define __ID3D10RasterizerState_FWD_DEFINED__
typedef interface ID3D10RasterizerState ID3D10RasterizerState;
#ifdef __cplusplus
interface ID3D10RasterizerState;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10SamplerState_FWD_DEFINED__
#define __ID3D10SamplerState_FWD_DEFINED__
typedef interface ID3D10SamplerState ID3D10SamplerState;
#ifdef __cplusplus
interface ID3D10SamplerState;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10VertexShader_FWD_DEFINED__
#define __ID3D10VertexShader_FWD_DEFINED__
typedef interface ID3D10VertexShader ID3D10VertexShader;
#ifdef __cplusplus
interface ID3D10VertexShader;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10Asynchronous_FWD_DEFINED__
#define __ID3D10Asynchronous_FWD_DEFINED__
typedef interface ID3D10Asynchronous ID3D10Asynchronous;
#ifdef __cplusplus
interface ID3D10Asynchronous;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10Counter_FWD_DEFINED__
#define __ID3D10Counter_FWD_DEFINED__
typedef interface ID3D10Counter ID3D10Counter;
#ifdef __cplusplus
interface ID3D10Counter;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10Query_FWD_DEFINED__
#define __ID3D10Query_FWD_DEFINED__
typedef interface ID3D10Query ID3D10Query;
#ifdef __cplusplus
interface ID3D10Query;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10Predicate_FWD_DEFINED__
#define __ID3D10Predicate_FWD_DEFINED__
typedef interface ID3D10Predicate ID3D10Predicate;
#ifdef __cplusplus
interface ID3D10Predicate;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10Device_FWD_DEFINED__
#define __ID3D10Device_FWD_DEFINED__
typedef interface ID3D10Device ID3D10Device;
#ifdef __cplusplus
interface ID3D10Device;
#endif /* __cplusplus */
#endif
#ifndef __ID3D10Multithread_FWD_DEFINED__
#define __ID3D10Multithread_FWD_DEFINED__
typedef interface ID3D10Multithread ID3D10Multithread;
#ifdef __cplusplus
interface ID3D10Multithread;
#endif /* __cplusplus */
#endif
/* Headers for imported files */
#include <oaidl.h>
#include <ocidl.h>
#include <dxgi.h>
#include <d3dcommon.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _D3D10_CONSTANTS
#define _D3D10_CONSTANTS
#define D3D10_DEFAULT_BLEND_FACTOR_ALPHA (1.00000000000000)
#define D3D10_DEFAULT_BLEND_FACTOR_BLUE (1.00000000000000)
#define D3D10_DEFAULT_BLEND_FACTOR_GREEN (1.00000000000000)
#define D3D10_DEFAULT_BLEND_FACTOR_RED (1.00000000000000)
#define D3D10_DEFAULT_BORDER_COLOR_COMPONENT (0.00000000000000)
#define D3D10_DEFAULT_SLOPE_SCALED_DEPTH_BIAS (0.00000000000000)
#define D3D10_DEFAULT_DEPTH_BIAS_CLAMP (0.00000000000000)
#define D3D10_DEFAULT_MAX_ANISOTROPY (16.0000000000000)
#define D3D10_DEFAULT_MIP_LOD_BIAS (0.00000000000000)
#define D3D10_DEFAULT_VIEWPORT_MAX_DEPTH (0.00000000000000)
#define D3D10_DEFAULT_VIEWPORT_MIN_DEPTH (0.00000000000000)
#define D3D10_FLOAT16_FUSED_TOLERANCE_IN_ULP (0.600000000000000)
#define D3D10_FLOAT32_MAX (3.40282346600000e+38)
#define D3D10_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP (0.600000000000000)
#define D3D10_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR (2.40000000000000)
#define D3D10_FLOAT_TO_SRGB_EXPONENT_NUMERATOR (1.00000000000000)
#define D3D10_FLOAT_TO_SRGB_OFFSET (0.0550000000000000)
#define D3D10_FLOAT_TO_SRGB_SCALE_1 (12.9200000000000)
#define D3D10_FLOAT_TO_SRGB_SCALE_2 (1.05500000000000)
#define D3D10_FLOAT_TO_SRGB_THRESHOLD (0.00313080000000000)
#define D3D10_FTOI_INSTRUCTION_MAX_INPUT (2147483647.99900)
#define D3D10_FTOI_INSTRUCTION_MIN_INPUT (-2147483648.99900)
#define D3D10_FTOU_INSTRUCTION_MAX_INPUT (4294967295.99900)
#define D3D10_FTOU_INSTRUCTION_MIN_INPUT (0.00000000000000)
#define D3D10_LINEAR_GAMMA (1.00000000000000)
#define D3D10_MAX_BORDER_COLOR_COMPONENT (1.00000000000000)
#define D3D10_MAX_DEPTH (1.00000000000000)
#define D3D10_MAX_POSITION_VALUE (3.40282346600000e+34)
#define D3D10_MIN_BORDER_COLOR_COMPONENT (0.00000000000000)
#define D3D10_MIN_DEPTH (0.00000000000000)
#define D3D10_MIP_LOD_BIAS_MAX (15.9900000000000)
#define D3D10_MIP_LOD_BIAS_MIN (-16.0000000000000)
#define D3D10_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT (0.500000000000000)
#define D3D10_MULTISAMPLE_ANTIALIAS_LINE_WIDTH (1.40000000000000)
#define D3D10_SRGB_GAMMA (2.20000000000000)
#define D3D10_SRGB_TO_FLOAT_DENOMINATOR_1 (12.9200000000000)
#define D3D10_SRGB_TO_FLOAT_DENOMINATOR_2 (1.05500000000000)
#define D3D10_SRGB_TO_FLOAT_EXPONENT (2.40000000000000)
#define D3D10_SRGB_TO_FLOAT_OFFSET (0.0550000000000000)
#define D3D10_SRGB_TO_FLOAT_THRESHOLD (0.0404500000000000)
#define D3D10_SRGB_TO_FLOAT_TOLERANCE_IN_ULP (0.500000000000000)
#define D3D10_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT (0.00000000000000)
#define D3D_SPEC_VERSION (1.05000500000000)
#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_DEPTH_BIAS (0)
#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_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_TOPLEFTX (0)
#define D3D10_DEFAULT_VIEWPORT_TOPLEFTY (0)
#define D3D10_DEFAULT_VIEWPORT_WIDTH (0)
#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_MAX_MAXANISOTROPY (16)
#define D3D10_MAX_MULTISAMPLE_SAMPLE_COUNT (32)
#define D3D10_MAX_TEXTURE_DIMENSION_2_TO_EXP (17)
#define D3D10_MIN_MAXANISOTROPY (0)
#define D3D10_MIP_LOD_FRACTIONAL_BIT_COUNT (6)
#define D3D10_MIP_LOD_RANGE_BIT_COUNT (8)
#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_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_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_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)
#endif
#define D3D10_APPEND_ALIGNED_ELEMENT (0xffffffff)
#define _FACD3D10 (0x879)
#define _FACD3D10DEBUG (_FACD3D10 + 1)
#define D3D10_FILTER_TYPE_MASK (0x3)
#define D3D10_SDK_VERSION (29)
#define MAKE_D3D10_HRESULT(code) MAKE_HRESULT( 1, _FACD3D10, code)
#define MAKE_D3D10_STATUS(code) MAKE_HRESULT( 0, _FACD3D10, code)
#define D3D10_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTS MAKE_D3D10_HRESULT(1)
#define D3D10_ERROR_FILE_NOT_FOUND MAKE_D3D10_HRESULT(2)
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 struct D3D10_BLEND_DESC {
WINBOOL AlphaToCoverageEnable;
WINBOOL 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;
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_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_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 {
WINBOOL DepthEnable;
D3D10_DEPTH_WRITE_MASK DepthWriteMask;
D3D10_COMPARISON_FUNC DepthFunc;
WINBOOL StencilEnable;
UINT8 StencilReadMask;
UINT8 StencilWriteMask;
D3D10_DEPTH_STENCILOP_DESC FrontFace;
D3D10_DEPTH_STENCILOP_DESC BackFace;
} D3D10_DEPTH_STENCIL_DESC;
typedef enum D3D10_FILL_MODE {
D3D10_FILL_WIREFRAME = 2,
D3D10_FILL_SOLID = 3
} D3D10_FILL_MODE;
typedef enum D3D10_CULL_MODE {
D3D10_CULL_NONE = 1,
D3D10_CULL_FRONT = 2,
D3D10_CULL_BACK = 3
} D3D10_CULL_MODE;
typedef struct D3D10_RASTERIZER_DESC {
D3D10_FILL_MODE FillMode;
D3D10_CULL_MODE CullMode;
WINBOOL FrontCounterClockwise;
INT DepthBias;
FLOAT DepthBiasClamp;
FLOAT SlopeScaledDepthBias;
WINBOOL DepthClipEnable;
WINBOOL ScissorEnable;
WINBOOL MultisampleEnable;
WINBOOL AntialiasedLineEnable;
} D3D10_RASTERIZER_DESC;
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_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;
typedef enum D3D10_COUNTER {
D3D10_COUNTER_GPU_IDLE = 0,
D3D10_COUNTER_VERTEX_PROCESSING = 1,
D3D10_COUNTER_GEOMETRY_PROCESSING = 2,
D3D10_COUNTER_PIXEL_PROCESSING = 3,
D3D10_COUNTER_OTHER_GPU_PROCESSING = 4,
D3D10_COUNTER_HOST_ADAPTER_BANDWIDTH_UTILIZATION = 5,
D3D10_COUNTER_LOCAL_VIDMEM_BANDWIDTH_UTILIZATION = 6,
D3D10_COUNTER_VERTEX_THROUGHPUT_UTILIZATION = 7,
D3D10_COUNTER_TRIANGLE_SETUP_THROUGHPUT_UTILIZATION = 8,
D3D10_COUNTER_FILLRATE_THROUGHPUT_UTILIZATION = 9,
D3D10_COUNTER_VS_MEMORY_LIMITED = 10,
D3D10_COUNTER_VS_COMPUTATION_LIMITED = 11,
D3D10_COUNTER_GS_MEMORY_LIMITED = 12,
D3D10_COUNTER_GS_COMPUTATION_LIMITED = 13,
D3D10_COUNTER_PS_MEMORY_LIMITED = 14,
D3D10_COUNTER_PS_COMPUTATION_LIMITED = 15,
D3D10_COUNTER_POST_TRANSFORM_CACHE_HIT_RATE = 16,
D3D10_COUNTER_TEXTURE_CACHE_HIT_RATE = 17,
D3D10_COUNTER_DEVICE_DEPENDENT_0 = 0x40000000
} D3D10_COUNTER;
typedef struct D3D10_COUNTER_DESC {
D3D10_COUNTER Counter;
UINT MiscFlags;
} D3D10_COUNTER_DESC;
typedef enum D3D10_COUNTER_TYPE {
D3D10_COUNTER_TYPE_FLOAT32 = 0,
D3D10_COUNTER_TYPE_UINT16 = 1,
D3D10_COUNTER_TYPE_UINT32 = 2,
D3D10_COUNTER_TYPE_UINT64 = 3
} D3D10_COUNTER_TYPE;
typedef struct D3D10_COUNTER_INFO {
D3D10_COUNTER LastDeviceDependentCounter;
UINT NumSimultaneousCounters;
UINT8 NumDetectableParallelUnits;
} D3D10_COUNTER_INFO;
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 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 = 0x1,
D3D10_BIND_INDEX_BUFFER = 0x2,
D3D10_BIND_CONSTANT_BUFFER = 0x4,
D3D10_BIND_SHADER_RESOURCE = 0x8,
D3D10_BIND_STREAM_OUTPUT = 0x10,
D3D10_BIND_RENDER_TARGET = 0x20,
D3D10_BIND_DEPTH_STENCIL = 0x40
} D3D10_BIND_FLAG;
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
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 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
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_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;
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 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;
__C89_NAMELESS 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;
} __C89_NAMELESSUNIONNAME;
} D3D10_DEPTH_STENCIL_VIEW_DESC;
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 struct D3D10_BUFFER_RTV {
__C89_NAMELESS union {
UINT FirstElement;
UINT ElementOffset;
} __C89_NAMELESSUNIONNAME1;
__C89_NAMELESS union {
UINT NumElements;
UINT ElementWidth;
} __C89_NAMELESSUNIONNAME2;
} 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_TEX2D_ARRAY_RTV {
UINT MipSlice;
UINT FirstArraySlice;
UINT ArraySize;
} D3D10_TEX2D_ARRAY_RTV;
typedef struct D3D10_TEX2DMS_RTV {
UINT UnusedField_NothingToDefine;
} D3D10_TEX2DMS_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;
__C89_NAMELESS 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;
} __C89_NAMELESSUNIONNAME;
} D3D10_RENDER_TARGET_VIEW_DESC;
typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION;
typedef struct D3D10_BUFFER_SRV {
__C89_NAMELESS union {
UINT FirstElement;
UINT ElementOffset;
} __C89_NAMELESSUNIONNAME1;
__C89_NAMELESS union {
UINT NumElements;
UINT ElementWidth;
} __C89_NAMELESSUNIONNAME2;
} 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_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_TEX3D_SRV {
UINT MostDetailedMip;
UINT MipLevels;
} D3D10_TEX3D_SRV;
typedef struct D3D10_TEXCUBE_SRV {
UINT MostDetailedMip;
UINT MipLevels;
} D3D10_TEXCUBE_SRV;
typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC {
DXGI_FORMAT Format;
D3D10_SRV_DIMENSION ViewDimension;
__C89_NAMELESS 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;
} __C89_NAMELESSUNIONNAME;
} D3D10_SHADER_RESOURCE_VIEW_DESC;
typedef struct D3D10_BOX {
UINT left;
UINT top;
UINT front;
UINT right;
UINT bottom;
UINT back;
} D3D10_BOX;
typedef struct D3D10_SUBRESOURCE_DATA {
const void *pSysMem;
UINT SysMemPitch;
UINT SysMemSlicePitch;
} D3D10_SUBRESOURCE_DATA;
typedef struct D3D10_SO_DECLARATION_ENTRY {
const char *SemanticName;
UINT SemanticIndex;
BYTE StartComponent;
BYTE ComponentCount;
BYTE OutputSlot;
} D3D10_SO_DECLARATION_ENTRY;
typedef enum D3D10_INPUT_CLASSIFICATION {
D3D10_INPUT_PER_VERTEX_DATA = 0,
D3D10_INPUT_PER_INSTANCE_DATA = 1
} D3D10_INPUT_CLASSIFICATION;
typedef struct D3D10_INPUT_ELEMENT_DESC {
const char *SemanticName;
UINT SemanticIndex;
DXGI_FORMAT Format;
UINT InputSlot;
UINT AlignedByteOffset;
D3D10_INPUT_CLASSIFICATION InputSlotClass;
UINT InstanceDataStepRate;
} D3D10_INPUT_ELEMENT_DESC;
typedef enum D3D10_QUERY {
D3D10_QUERY_EVENT = 0,
D3D10_QUERY_OCCLUSION = 1,
D3D10_QUERY_TIMESTAMP = 2,
D3D10_QUERY_TIMESTAMP_DISJOINT = 3,
D3D10_QUERY_PIPELINE_STATISTICS = 4,
D3D10_QUERY_OCCLUSION_PREDICATE = 5,
D3D10_QUERY_SO_STATISTICS = 6,
D3D10_QUERY_SO_OVERFLOW_PREDICATE = 7
} D3D10_QUERY;
typedef struct D3D10_QUERY_DESC {
D3D10_QUERY Query;
UINT MiscFlags;
} D3D10_QUERY_DESC;
typedef D3D_PRIMITIVE_TOPOLOGY D3D10_PRIMITIVE_TOPOLOGY;
typedef D3D_PRIMITIVE D3D10_PRIMITIVE;
typedef RECT D3D10_RECT;
typedef struct D3D10_VIEWPORT {
INT TopLeftX;
INT TopLeftY;
UINT Width;
UINT Height;
FLOAT MinDepth;
FLOAT MaxDepth;
} D3D10_VIEWPORT;
typedef struct D3D10_MAPPED_TEXTURE2D {
void *pData;
UINT RowPitch;
} D3D10_MAPPED_TEXTURE2D;
typedef struct D3D10_MAPPED_TEXTURE3D {
void *pData;
UINT RowPitch;
UINT DepthPitch;
} D3D10_MAPPED_TEXTURE3D;
typedef enum D3D10_CPU_ACCESS_FLAG {
D3D10_CPU_ACCESS_WRITE = 0x10000,
D3D10_CPU_ACCESS_READ = 0x20000
} D3D10_CPU_ACCESS_FLAG;
typedef enum D3D10_RESOURCE_MISC_FLAG {
D3D10_RESOURCE_MISC_GENERATE_MIPS = 0x1,
D3D10_RESOURCE_MISC_SHARED = 0x2,
D3D10_RESOURCE_MISC_TEXTURECUBE = 0x4,
D3D10_RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x10,
D3D10_RESOURCE_MISC_GDI_COMPATIBLE = 0x20
} D3D10_RESOURCE_MISC_FLAG;
typedef enum D3D10_MAP_FLAG {
D3D10_MAP_FLAG_DO_NOT_WAIT = 0x100000
} D3D10_MAP_FLAG;
typedef enum D3D10_RAISE_FLAG {
D3D10_RAISE_FLAG_DRIVER_INTERNAL_ERROR = 0x1
} D3D10_RAISE_FLAG;
typedef enum D3D10_CLEAR_FLAG {
D3D10_CLEAR_DEPTH = 0x1,
D3D10_CLEAR_STENCIL = 0x2
} D3D10_CLEAR_FLAG;
typedef enum D3D10_COLOR_WRITE_ENABLE {
D3D10_COLOR_WRITE_ENABLE_RED = 0x1,
D3D10_COLOR_WRITE_ENABLE_GREEN = 0x2,
D3D10_COLOR_WRITE_ENABLE_BLUE = 0x4,
D3D10_COLOR_WRITE_ENABLE_ALPHA = 0x8,
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 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;
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;
typedef enum D3D10_ASYNC_GETDATA_FLAG {
D3D10_ASYNC_GETDATA_DONOTFLUSH = 0x1
} D3D10_ASYNC_GETDATA_FLAG;
typedef enum D3D10_FILTER_TYPE {
D3D10_FILTER_TYPE_POINT = 0,
D3D10_FILTER_TYPE_LINEAR = 1
} D3D10_FILTER_TYPE;
typedef enum D3D10_QUERY_MISC_FLAG {
D3D10_QUERY_MISC_PREDICATEHINT = 0x1
} D3D10_QUERY_MISC_FLAG;
typedef struct D3D10_QUERY_DATA_TIMESTAMP_DISJOINT {
UINT64 Frequency;
WINBOOL 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_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;
#ifndef __ID3D10Device_FWD_DEFINED__
#define __ID3D10Device_FWD_DEFINED__
typedef interface ID3D10Device ID3D10Device;
#ifdef __cplusplus
interface ID3D10Device;
#endif /* __cplusplus */
#endif
/*****************************************************************************
* ID3D10DeviceChild interface
*/
#ifndef __ID3D10DeviceChild_INTERFACE_DEFINED__
#define __ID3D10DeviceChild_INTERFACE_DEFINED__
DEFINE_GUID(IID_ID3D10DeviceChild, 0x9b7e4c00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9b7e4c00-342c-4106-a19f-4f2704f689f0")
ID3D10DeviceChild : public IUnknown
{
virtual void STDMETHODCALLTYPE GetDevice(
ID3D10Device **ppDevice) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
REFGUID guid,
UINT *pDataSize,
void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
REFGUID guid,
UINT DataSize,
const void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
REFGUID guid,
const IUnknown *pData) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ID3D10DeviceChild, 0x9b7e4c00, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
#endif
#else
typedef struct ID3D10DeviceChildVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ID3D10DeviceChild *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ID3D10DeviceChild *This);
ULONG (STDMETHODCALLTYPE *Release)(
ID3D10DeviceChild *This);
/*** ID3D10DeviceChild methods ***/
void (STDMETHODCALLTYPE *GetDevice)(
ID3D10DeviceChild *This,
ID3D10Device **ppDevice);
HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
ID3D10DeviceChild *This,
REFGUID guid,
UINT *pDataSize,
void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
ID3D10DeviceChild *This,
REFGUID guid,
UINT DataSize,
const void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
ID3D10DeviceChild *This,
REFGUID guid,
const IUnknown *pData);
END_INTERFACE
} ID3D10DeviceChildVtbl;
interface ID3D10DeviceChild {
CONST_VTBL ID3D10DeviceChildVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#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)
/*** ID3D10DeviceChild methods ***/
#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)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ID3D10DeviceChild_QueryInterface(ID3D10DeviceChild* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ID3D10DeviceChild_AddRef(ID3D10DeviceChild* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ID3D10DeviceChild_Release(ID3D10DeviceChild* This) {
return This->lpVtbl->Release(This);
}
/*** ID3D10DeviceChild methods ***/
static FORCEINLINE void ID3D10DeviceChild_GetDevice(ID3D10DeviceChild* This,ID3D10Device **ppDevice) {
This->lpVtbl->GetDevice(This,ppDevice);
}
static FORCEINLINE HRESULT ID3D10DeviceChild_GetPrivateData(ID3D10DeviceChild* This,REFGUID guid,UINT *pDataSize,void *pData) {
return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
}
static FORCEINLINE HRESULT ID3D10DeviceChild_SetPrivateData(ID3D10DeviceChild* This,REFGUID guid,UINT DataSize,const void *pData) {
return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
}
static FORCEINLINE HRESULT ID3D10DeviceChild_SetPrivateDataInterface(ID3D10DeviceChild* This,REFGUID guid,const IUnknown *pData) {
return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
}
#endif
#endif
#endif
#endif /* __ID3D10DeviceChild_INTERFACE_DEFINED__ */
/*****************************************************************************
* ID3D10Resource interface
*/
#ifndef __ID3D10Resource_INTERFACE_DEFINED__
#define __ID3D10Resource_INTERFACE_DEFINED__
DEFINE_GUID(IID_ID3D10Resource, 0x9b7e4c01, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9b7e4c01-342c-4106-a19f-4f2704f689f0")
ID3D10Resource : public ID3D10DeviceChild
{
virtual void STDMETHODCALLTYPE GetType(
D3D10_RESOURCE_DIMENSION *rType) = 0;
virtual void STDMETHODCALLTYPE SetEvictionPriority(
UINT EvictionPriority) = 0;
virtual UINT STDMETHODCALLTYPE GetEvictionPriority(
) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ID3D10Resource, 0x9b7e4c01, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
#endif
#else
typedef struct ID3D10ResourceVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ID3D10Resource *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ID3D10Resource *This);
ULONG (STDMETHODCALLTYPE *Release)(
ID3D10Resource *This);
/*** ID3D10DeviceChild methods ***/
void (STDMETHODCALLTYPE *GetDevice)(
ID3D10Resource *This,
ID3D10Device **ppDevice);
HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
ID3D10Resource *This,
REFGUID guid,
UINT *pDataSize,
void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
ID3D10Resource *This,
REFGUID guid,
UINT DataSize,
const void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
ID3D10Resource *This,
REFGUID guid,
const IUnknown *pData);
/*** ID3D10Resource methods ***/
void (STDMETHODCALLTYPE *GetType)(
ID3D10Resource *This,
D3D10_RESOURCE_DIMENSION *rType);
void (STDMETHODCALLTYPE *SetEvictionPriority)(
ID3D10Resource *This,
UINT EvictionPriority);
UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
ID3D10Resource *This);
END_INTERFACE
} ID3D10ResourceVtbl;
interface ID3D10Resource {
CONST_VTBL ID3D10ResourceVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#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)
/*** ID3D10DeviceChild methods ***/
#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)
/*** ID3D10Resource methods ***/
#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)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ID3D10Resource_QueryInterface(ID3D10Resource* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ID3D10Resource_AddRef(ID3D10Resource* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ID3D10Resource_Release(ID3D10Resource* This) {
return This->lpVtbl->Release(This);
}
/*** ID3D10DeviceChild methods ***/
static FORCEINLINE void ID3D10Resource_GetDevice(ID3D10Resource* This,ID3D10Device **ppDevice) {
This->lpVtbl->GetDevice(This,ppDevice);
}
static FORCEINLINE HRESULT ID3D10Resource_GetPrivateData(ID3D10Resource* This,REFGUID guid,UINT *pDataSize,void *pData) {
return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
}
static FORCEINLINE HRESULT ID3D10Resource_SetPrivateData(ID3D10Resource* This,REFGUID guid,UINT DataSize,const void *pData) {
return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
}
static FORCEINLINE HRESULT ID3D10Resource_SetPrivateDataInterface(ID3D10Resource* This,REFGUID guid,const IUnknown *pData) {
return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
}
/*** ID3D10Resource methods ***/
static FORCEINLINE void ID3D10Resource_GetType(ID3D10Resource* This,D3D10_RESOURCE_DIMENSION *rType) {
This->lpVtbl->GetType(This,rType);
}
static FORCEINLINE void ID3D10Resource_SetEvictionPriority(ID3D10Resource* This,UINT EvictionPriority) {
This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
}
static FORCEINLINE UINT ID3D10Resource_GetEvictionPriority(ID3D10Resource* This) {
return This->lpVtbl->GetEvictionPriority(This);
}
#endif
#endif
#endif
#endif /* __ID3D10Resource_INTERFACE_DEFINED__ */
/*****************************************************************************
* ID3D10Buffer interface
*/
#ifndef __ID3D10Buffer_INTERFACE_DEFINED__
#define __ID3D10Buffer_INTERFACE_DEFINED__
DEFINE_GUID(IID_ID3D10Buffer, 0x9b7e4c02, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9b7e4c02-342c-4106-a19f-4f2704f689f0")
ID3D10Buffer : public ID3D10Resource
{
virtual HRESULT STDMETHODCALLTYPE Map(
D3D10_MAP MapType,
UINT MapFlags,
void **ppData) = 0;
virtual void STDMETHODCALLTYPE Unmap(
) = 0;
virtual void STDMETHODCALLTYPE GetDesc(
D3D10_BUFFER_DESC *pDesc) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ID3D10Buffer, 0x9b7e4c02, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
#endif
#else
typedef struct ID3D10BufferVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ID3D10Buffer *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ID3D10Buffer *This);
ULONG (STDMETHODCALLTYPE *Release)(
ID3D10Buffer *This);
/*** ID3D10DeviceChild methods ***/
void (STDMETHODCALLTYPE *GetDevice)(
ID3D10Buffer *This,
ID3D10Device **ppDevice);
HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
ID3D10Buffer *This,
REFGUID guid,
UINT *pDataSize,
void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
ID3D10Buffer *This,
REFGUID guid,
UINT DataSize,
const void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
ID3D10Buffer *This,
REFGUID guid,
const IUnknown *pData);
/*** ID3D10Resource methods ***/
void (STDMETHODCALLTYPE *GetType)(
ID3D10Buffer *This,
D3D10_RESOURCE_DIMENSION *rType);
void (STDMETHODCALLTYPE *SetEvictionPriority)(
ID3D10Buffer *This,
UINT EvictionPriority);
UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
ID3D10Buffer *This);
/*** ID3D10Buffer methods ***/
HRESULT (STDMETHODCALLTYPE *Map)(
ID3D10Buffer *This,
D3D10_MAP MapType,
UINT MapFlags,
void **ppData);
void (STDMETHODCALLTYPE *Unmap)(
ID3D10Buffer *This);
void (STDMETHODCALLTYPE *GetDesc)(
ID3D10Buffer *This,
D3D10_BUFFER_DESC *pDesc);
END_INTERFACE
} ID3D10BufferVtbl;
interface ID3D10Buffer {
CONST_VTBL ID3D10BufferVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#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)
/*** ID3D10DeviceChild methods ***/
#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)
/*** ID3D10Resource methods ***/
#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)
/*** ID3D10Buffer methods ***/
#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)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ID3D10Buffer_QueryInterface(ID3D10Buffer* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ID3D10Buffer_AddRef(ID3D10Buffer* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ID3D10Buffer_Release(ID3D10Buffer* This) {
return This->lpVtbl->Release(This);
}
/*** ID3D10DeviceChild methods ***/
static FORCEINLINE void ID3D10Buffer_GetDevice(ID3D10Buffer* This,ID3D10Device **ppDevice) {
This->lpVtbl->GetDevice(This,ppDevice);
}
static FORCEINLINE HRESULT ID3D10Buffer_GetPrivateData(ID3D10Buffer* This,REFGUID guid,UINT *pDataSize,void *pData) {
return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
}
static FORCEINLINE HRESULT ID3D10Buffer_SetPrivateData(ID3D10Buffer* This,REFGUID guid,UINT DataSize,const void *pData) {
return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
}
static FORCEINLINE HRESULT ID3D10Buffer_SetPrivateDataInterface(ID3D10Buffer* This,REFGUID guid,const IUnknown *pData) {
return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
}
/*** ID3D10Resource methods ***/
static FORCEINLINE void ID3D10Buffer_GetType(ID3D10Buffer* This,D3D10_RESOURCE_DIMENSION *rType) {
This->lpVtbl->GetType(This,rType);
}
static FORCEINLINE void ID3D10Buffer_SetEvictionPriority(ID3D10Buffer* This,UINT EvictionPriority) {
This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
}
static FORCEINLINE UINT ID3D10Buffer_GetEvictionPriority(ID3D10Buffer* This) {
return This->lpVtbl->GetEvictionPriority(This);
}
/*** ID3D10Buffer methods ***/
static FORCEINLINE HRESULT ID3D10Buffer_Map(ID3D10Buffer* This,D3D10_MAP MapType,UINT MapFlags,void **ppData) {
return This->lpVtbl->Map(This,MapType,MapFlags,ppData);
}
static FORCEINLINE void ID3D10Buffer_Unmap(ID3D10Buffer* This) {
This->lpVtbl->Unmap(This);
}
static FORCEINLINE void ID3D10Buffer_GetDesc(ID3D10Buffer* This,D3D10_BUFFER_DESC *pDesc) {
This->lpVtbl->GetDesc(This,pDesc);
}
#endif
#endif
#endif
#endif /* __ID3D10Buffer_INTERFACE_DEFINED__ */
/*****************************************************************************
* ID3D10Texture1D interface
*/
#ifndef __ID3D10Texture1D_INTERFACE_DEFINED__
#define __ID3D10Texture1D_INTERFACE_DEFINED__
DEFINE_GUID(IID_ID3D10Texture1D, 0x9b7e4c03, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9b7e4c03-342c-4106-a19f-4f2704f689f0")
ID3D10Texture1D : public ID3D10Resource
{
virtual HRESULT STDMETHODCALLTYPE Map(
UINT Subresource,
D3D10_MAP MapType,
UINT MapFlags,
void **ppData) = 0;
virtual void STDMETHODCALLTYPE Unmap(
UINT Subresource) = 0;
virtual void STDMETHODCALLTYPE GetDesc(
D3D10_TEXTURE1D_DESC *pDesc) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ID3D10Texture1D, 0x9b7e4c03, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
#endif
#else
typedef struct ID3D10Texture1DVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ID3D10Texture1D *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ID3D10Texture1D *This);
ULONG (STDMETHODCALLTYPE *Release)(
ID3D10Texture1D *This);
/*** ID3D10DeviceChild methods ***/
void (STDMETHODCALLTYPE *GetDevice)(
ID3D10Texture1D *This,
ID3D10Device **ppDevice);
HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
ID3D10Texture1D *This,
REFGUID guid,
UINT *pDataSize,
void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
ID3D10Texture1D *This,
REFGUID guid,
UINT DataSize,
const void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
ID3D10Texture1D *This,
REFGUID guid,
const IUnknown *pData);
/*** ID3D10Resource methods ***/
void (STDMETHODCALLTYPE *GetType)(
ID3D10Texture1D *This,
D3D10_RESOURCE_DIMENSION *rType);
void (STDMETHODCALLTYPE *SetEvictionPriority)(
ID3D10Texture1D *This,
UINT EvictionPriority);
UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
ID3D10Texture1D *This);
/*** ID3D10Texture1D methods ***/
HRESULT (STDMETHODCALLTYPE *Map)(
ID3D10Texture1D *This,
UINT Subresource,
D3D10_MAP MapType,
UINT MapFlags,
void **ppData);
void (STDMETHODCALLTYPE *Unmap)(
ID3D10Texture1D *This,
UINT Subresource);
void (STDMETHODCALLTYPE *GetDesc)(
ID3D10Texture1D *This,
D3D10_TEXTURE1D_DESC *pDesc);
END_INTERFACE
} ID3D10Texture1DVtbl;
interface ID3D10Texture1D {
CONST_VTBL ID3D10Texture1DVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#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)
/*** ID3D10DeviceChild methods ***/
#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)
/*** ID3D10Resource methods ***/
#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)
/*** ID3D10Texture1D methods ***/
#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)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ID3D10Texture1D_QueryInterface(ID3D10Texture1D* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ID3D10Texture1D_AddRef(ID3D10Texture1D* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ID3D10Texture1D_Release(ID3D10Texture1D* This) {
return This->lpVtbl->Release(This);
}
/*** ID3D10DeviceChild methods ***/
static FORCEINLINE void ID3D10Texture1D_GetDevice(ID3D10Texture1D* This,ID3D10Device **ppDevice) {
This->lpVtbl->GetDevice(This,ppDevice);
}
static FORCEINLINE HRESULT ID3D10Texture1D_GetPrivateData(ID3D10Texture1D* This,REFGUID guid,UINT *pDataSize,void *pData) {
return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
}
static FORCEINLINE HRESULT ID3D10Texture1D_SetPrivateData(ID3D10Texture1D* This,REFGUID guid,UINT DataSize,const void *pData) {
return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
}
static FORCEINLINE HRESULT ID3D10Texture1D_SetPrivateDataInterface(ID3D10Texture1D* This,REFGUID guid,const IUnknown *pData) {
return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
}
/*** ID3D10Resource methods ***/
static FORCEINLINE void ID3D10Texture1D_GetType(ID3D10Texture1D* This,D3D10_RESOURCE_DIMENSION *rType) {
This->lpVtbl->GetType(This,rType);
}
static FORCEINLINE void ID3D10Texture1D_SetEvictionPriority(ID3D10Texture1D* This,UINT EvictionPriority) {
This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
}
static FORCEINLINE UINT ID3D10Texture1D_GetEvictionPriority(ID3D10Texture1D* This) {
return This->lpVtbl->GetEvictionPriority(This);
}
/*** ID3D10Texture1D methods ***/
static FORCEINLINE HRESULT ID3D10Texture1D_Map(ID3D10Texture1D* This,UINT Subresource,D3D10_MAP MapType,UINT MapFlags,void **ppData) {
return This->lpVtbl->Map(This,Subresource,MapType,MapFlags,ppData);
}
static FORCEINLINE void ID3D10Texture1D_Unmap(ID3D10Texture1D* This,UINT Subresource) {
This->lpVtbl->Unmap(This,Subresource);
}
static FORCEINLINE void ID3D10Texture1D_GetDesc(ID3D10Texture1D* This,D3D10_TEXTURE1D_DESC *pDesc) {
This->lpVtbl->GetDesc(This,pDesc);
}
#endif
#endif
#endif
#endif /* __ID3D10Texture1D_INTERFACE_DEFINED__ */
/*****************************************************************************
* ID3D10Texture2D interface
*/
#ifndef __ID3D10Texture2D_INTERFACE_DEFINED__
#define __ID3D10Texture2D_INTERFACE_DEFINED__
DEFINE_GUID(IID_ID3D10Texture2D, 0x9b7e4c04, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9b7e4c04-342c-4106-a19f-4f2704f689f0")
ID3D10Texture2D : public ID3D10Resource
{
virtual HRESULT STDMETHODCALLTYPE Map(
UINT Subresource,
D3D10_MAP MapType,
UINT MapFlags,
D3D10_MAPPED_TEXTURE2D *pMappedTex2D) = 0;
virtual void STDMETHODCALLTYPE Unmap(
UINT Subresource) = 0;
virtual void STDMETHODCALLTYPE GetDesc(
D3D10_TEXTURE2D_DESC *pDesc) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ID3D10Texture2D, 0x9b7e4c04, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
#endif
#else
typedef struct ID3D10Texture2DVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ID3D10Texture2D *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ID3D10Texture2D *This);
ULONG (STDMETHODCALLTYPE *Release)(
ID3D10Texture2D *This);
/*** ID3D10DeviceChild methods ***/
void (STDMETHODCALLTYPE *GetDevice)(
ID3D10Texture2D *This,
ID3D10Device **ppDevice);
HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
ID3D10Texture2D *This,
REFGUID guid,
UINT *pDataSize,
void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
ID3D10Texture2D *This,
REFGUID guid,
UINT DataSize,
const void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
ID3D10Texture2D *This,
REFGUID guid,
const IUnknown *pData);
/*** ID3D10Resource methods ***/
void (STDMETHODCALLTYPE *GetType)(
ID3D10Texture2D *This,
D3D10_RESOURCE_DIMENSION *rType);
void (STDMETHODCALLTYPE *SetEvictionPriority)(
ID3D10Texture2D *This,
UINT EvictionPriority);
UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
ID3D10Texture2D *This);
/*** ID3D10Texture2D methods ***/
HRESULT (STDMETHODCALLTYPE *Map)(
ID3D10Texture2D *This,
UINT Subresource,
D3D10_MAP MapType,
UINT MapFlags,
D3D10_MAPPED_TEXTURE2D *pMappedTex2D);
void (STDMETHODCALLTYPE *Unmap)(
ID3D10Texture2D *This,
UINT Subresource);
void (STDMETHODCALLTYPE *GetDesc)(
ID3D10Texture2D *This,
D3D10_TEXTURE2D_DESC *pDesc);
END_INTERFACE
} ID3D10Texture2DVtbl;
interface ID3D10Texture2D {
CONST_VTBL ID3D10Texture2DVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#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)
/*** ID3D10DeviceChild methods ***/
#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)
/*** ID3D10Resource methods ***/
#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)
/*** ID3D10Texture2D methods ***/
#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)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ID3D10Texture2D_QueryInterface(ID3D10Texture2D* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ID3D10Texture2D_AddRef(ID3D10Texture2D* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ID3D10Texture2D_Release(ID3D10Texture2D* This) {
return This->lpVtbl->Release(This);
}
/*** ID3D10DeviceChild methods ***/
static FORCEINLINE void ID3D10Texture2D_GetDevice(ID3D10Texture2D* This,ID3D10Device **ppDevice) {
This->lpVtbl->GetDevice(This,ppDevice);
}
static FORCEINLINE HRESULT ID3D10Texture2D_GetPrivateData(ID3D10Texture2D* This,REFGUID guid,UINT *pDataSize,void *pData) {
return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
}
static FORCEINLINE HRESULT ID3D10Texture2D_SetPrivateData(ID3D10Texture2D* This,REFGUID guid,UINT DataSize,const void *pData) {
return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
}
static FORCEINLINE HRESULT ID3D10Texture2D_SetPrivateDataInterface(ID3D10Texture2D* This,REFGUID guid,const IUnknown *pData) {
return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
}
/*** ID3D10Resource methods ***/
static FORCEINLINE void ID3D10Texture2D_GetType(ID3D10Texture2D* This,D3D10_RESOURCE_DIMENSION *rType) {
This->lpVtbl->GetType(This,rType);
}
static FORCEINLINE void ID3D10Texture2D_SetEvictionPriority(ID3D10Texture2D* This,UINT EvictionPriority) {
This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
}
static FORCEINLINE UINT ID3D10Texture2D_GetEvictionPriority(ID3D10Texture2D* This) {
return This->lpVtbl->GetEvictionPriority(This);
}
/*** ID3D10Texture2D methods ***/
static FORCEINLINE HRESULT ID3D10Texture2D_Map(ID3D10Texture2D* This,UINT Subresource,D3D10_MAP MapType,UINT MapFlags,D3D10_MAPPED_TEXTURE2D *pMappedTex2D) {
return This->lpVtbl->Map(This,Subresource,MapType,MapFlags,pMappedTex2D);
}
static FORCEINLINE void ID3D10Texture2D_Unmap(ID3D10Texture2D* This,UINT Subresource) {
This->lpVtbl->Unmap(This,Subresource);
}
static FORCEINLINE void ID3D10Texture2D_GetDesc(ID3D10Texture2D* This,D3D10_TEXTURE2D_DESC *pDesc) {
This->lpVtbl->GetDesc(This,pDesc);
}
#endif
#endif
#endif
#endif /* __ID3D10Texture2D_INTERFACE_DEFINED__ */
/*****************************************************************************
* ID3D10Texture3D interface
*/
#ifndef __ID3D10Texture3D_INTERFACE_DEFINED__
#define __ID3D10Texture3D_INTERFACE_DEFINED__
DEFINE_GUID(IID_ID3D10Texture3D, 0x9b7e4c05, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9b7e4c05-342c-4106-a19f-4f2704f689f0")
ID3D10Texture3D : public ID3D10Resource
{
virtual HRESULT STDMETHODCALLTYPE Map(
UINT Subresource,
D3D10_MAP MapType,
UINT MapFlags,
D3D10_MAPPED_TEXTURE3D *pMappedTex3D) = 0;
virtual void STDMETHODCALLTYPE Unmap(
UINT Subresource) = 0;
virtual void STDMETHODCALLTYPE GetDesc(
D3D10_TEXTURE3D_DESC *pDesc) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ID3D10Texture3D, 0x9b7e4c05, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
#endif
#else
typedef struct ID3D10Texture3DVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ID3D10Texture3D *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ID3D10Texture3D *This);
ULONG (STDMETHODCALLTYPE *Release)(
ID3D10Texture3D *This);
/*** ID3D10DeviceChild methods ***/
void (STDMETHODCALLTYPE *GetDevice)(
ID3D10Texture3D *This,
ID3D10Device **ppDevice);
HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
ID3D10Texture3D *This,
REFGUID guid,
UINT *pDataSize,
void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
ID3D10Texture3D *This,
REFGUID guid,
UINT DataSize,
const void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
ID3D10Texture3D *This,
REFGUID guid,
const IUnknown *pData);
/*** ID3D10Resource methods ***/
void (STDMETHODCALLTYPE *GetType)(
ID3D10Texture3D *This,
D3D10_RESOURCE_DIMENSION *rType);
void (STDMETHODCALLTYPE *SetEvictionPriority)(
ID3D10Texture3D *This,
UINT EvictionPriority);
UINT (STDMETHODCALLTYPE *GetEvictionPriority)(
ID3D10Texture3D *This);
/*** ID3D10Texture3D methods ***/
HRESULT (STDMETHODCALLTYPE *Map)(
ID3D10Texture3D *This,
UINT Subresource,
D3D10_MAP MapType,
UINT MapFlags,
D3D10_MAPPED_TEXTURE3D *pMappedTex3D);
void (STDMETHODCALLTYPE *Unmap)(
ID3D10Texture3D *This,
UINT Subresource);
void (STDMETHODCALLTYPE *GetDesc)(
ID3D10Texture3D *This,
D3D10_TEXTURE3D_DESC *pDesc);
END_INTERFACE
} ID3D10Texture3DVtbl;
interface ID3D10Texture3D {
CONST_VTBL ID3D10Texture3DVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#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)
/*** ID3D10DeviceChild methods ***/
#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)
/*** ID3D10Resource methods ***/
#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)
/*** ID3D10Texture3D methods ***/
#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)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ID3D10Texture3D_QueryInterface(ID3D10Texture3D* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ID3D10Texture3D_AddRef(ID3D10Texture3D* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ID3D10Texture3D_Release(ID3D10Texture3D* This) {
return This->lpVtbl->Release(This);
}
/*** ID3D10DeviceChild methods ***/
static FORCEINLINE void ID3D10Texture3D_GetDevice(ID3D10Texture3D* This,ID3D10Device **ppDevice) {
This->lpVtbl->GetDevice(This,ppDevice);
}
static FORCEINLINE HRESULT ID3D10Texture3D_GetPrivateData(ID3D10Texture3D* This,REFGUID guid,UINT *pDataSize,void *pData) {
return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
}
static FORCEINLINE HRESULT ID3D10Texture3D_SetPrivateData(ID3D10Texture3D* This,REFGUID guid,UINT DataSize,const void *pData) {
return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
}
static FORCEINLINE HRESULT ID3D10Texture3D_SetPrivateDataInterface(ID3D10Texture3D* This,REFGUID guid,const IUnknown *pData) {
return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
}
/*** ID3D10Resource methods ***/
static FORCEINLINE void ID3D10Texture3D_GetType(ID3D10Texture3D* This,D3D10_RESOURCE_DIMENSION *rType) {
This->lpVtbl->GetType(This,rType);
}
static FORCEINLINE void ID3D10Texture3D_SetEvictionPriority(ID3D10Texture3D* This,UINT EvictionPriority) {
This->lpVtbl->SetEvictionPriority(This,EvictionPriority);
}
static FORCEINLINE UINT ID3D10Texture3D_GetEvictionPriority(ID3D10Texture3D* This) {
return This->lpVtbl->GetEvictionPriority(This);
}
/*** ID3D10Texture3D methods ***/
static FORCEINLINE HRESULT ID3D10Texture3D_Map(ID3D10Texture3D* This,UINT Subresource,D3D10_MAP MapType,UINT MapFlags,D3D10_MAPPED_TEXTURE3D *pMappedTex3D) {
return This->lpVtbl->Map(This,Subresource,MapType,MapFlags,pMappedTex3D);
}
static FORCEINLINE void ID3D10Texture3D_Unmap(ID3D10Texture3D* This,UINT Subresource) {
This->lpVtbl->Unmap(This,Subresource);
}
static FORCEINLINE void ID3D10Texture3D_GetDesc(ID3D10Texture3D* This,D3D10_TEXTURE3D_DESC *pDesc) {
This->lpVtbl->GetDesc(This,pDesc);
}
#endif
#endif
#endif
#endif /* __ID3D10Texture3D_INTERFACE_DEFINED__ */
/*****************************************************************************
* ID3D10View interface
*/
#ifndef __ID3D10View_INTERFACE_DEFINED__
#define __ID3D10View_INTERFACE_DEFINED__
DEFINE_GUID(IID_ID3D10View, 0xc902b03f, 0x60a7, 0x49ba, 0x99,0x36, 0x2a,0x3a,0xb3,0x7a,0x7e,0x33);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c902b03f-60a7-49ba-9936-2a3ab37a7e33")
ID3D10View : public ID3D10DeviceChild
{
virtual void STDMETHODCALLTYPE GetResource(
ID3D10Resource **ppResource) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ID3D10View, 0xc902b03f, 0x60a7, 0x49ba, 0x99,0x36, 0x2a,0x3a,0xb3,0x7a,0x7e,0x33)
#endif
#else
typedef struct ID3D10ViewVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ID3D10View *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ID3D10View *This);
ULONG (STDMETHODCALLTYPE *Release)(
ID3D10View *This);
/*** ID3D10DeviceChild methods ***/
void (STDMETHODCALLTYPE *GetDevice)(
ID3D10View *This,
ID3D10Device **ppDevice);
HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
ID3D10View *This,
REFGUID guid,
UINT *pDataSize,
void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
ID3D10View *This,
REFGUID guid,
UINT DataSize,
const void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
ID3D10View *This,
REFGUID guid,
const IUnknown *pData);
/*** ID3D10View methods ***/
void (STDMETHODCALLTYPE *GetResource)(
ID3D10View *This,
ID3D10Resource **ppResource);
END_INTERFACE
} ID3D10ViewVtbl;
interface ID3D10View {
CONST_VTBL ID3D10ViewVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#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)
/*** ID3D10DeviceChild methods ***/
#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)
/*** ID3D10View methods ***/
#define ID3D10View_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ID3D10View_QueryInterface(ID3D10View* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ID3D10View_AddRef(ID3D10View* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ID3D10View_Release(ID3D10View* This) {
return This->lpVtbl->Release(This);
}
/*** ID3D10DeviceChild methods ***/
static FORCEINLINE void ID3D10View_GetDevice(ID3D10View* This,ID3D10Device **ppDevice) {
This->lpVtbl->GetDevice(This,ppDevice);
}
static FORCEINLINE HRESULT ID3D10View_GetPrivateData(ID3D10View* This,REFGUID guid,UINT *pDataSize,void *pData) {
return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
}
static FORCEINLINE HRESULT ID3D10View_SetPrivateData(ID3D10View* This,REFGUID guid,UINT DataSize,const void *pData) {
return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
}
static FORCEINLINE HRESULT ID3D10View_SetPrivateDataInterface(ID3D10View* This,REFGUID guid,const IUnknown *pData) {
return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
}
/*** ID3D10View methods ***/
static FORCEINLINE void ID3D10View_GetResource(ID3D10View* This,ID3D10Resource **ppResource) {
This->lpVtbl->GetResource(This,ppResource);
}
#endif
#endif
#endif
#endif /* __ID3D10View_INTERFACE_DEFINED__ */
/*****************************************************************************
* ID3D10DepthStencilView interface
*/
#ifndef __ID3D10DepthStencilView_INTERFACE_DEFINED__
#define __ID3D10DepthStencilView_INTERFACE_DEFINED__
DEFINE_GUID(IID_ID3D10DepthStencilView, 0x9b7e4c09, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9b7e4c09-342c-4106-a19f-4f2704f689f0")
ID3D10DepthStencilView : public ID3D10View
{
virtual void STDMETHODCALLTYPE GetDesc(
D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ID3D10DepthStencilView, 0x9b7e4c09, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
#endif
#else
typedef struct ID3D10DepthStencilViewVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ID3D10DepthStencilView *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ID3D10DepthStencilView *This);
ULONG (STDMETHODCALLTYPE *Release)(
ID3D10DepthStencilView *This);
/*** ID3D10DeviceChild methods ***/
void (STDMETHODCALLTYPE *GetDevice)(
ID3D10DepthStencilView *This,
ID3D10Device **ppDevice);
HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
ID3D10DepthStencilView *This,
REFGUID guid,
UINT *pDataSize,
void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
ID3D10DepthStencilView *This,
REFGUID guid,
UINT DataSize,
const void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
ID3D10DepthStencilView *This,
REFGUID guid,
const IUnknown *pData);
/*** ID3D10View methods ***/
void (STDMETHODCALLTYPE *GetResource)(
ID3D10DepthStencilView *This,
ID3D10Resource **ppResource);
/*** ID3D10DepthStencilView methods ***/
void (STDMETHODCALLTYPE *GetDesc)(
ID3D10DepthStencilView *This,
D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc);
END_INTERFACE
} ID3D10DepthStencilViewVtbl;
interface ID3D10DepthStencilView {
CONST_VTBL ID3D10DepthStencilViewVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#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)
/*** ID3D10DeviceChild methods ***/
#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)
/*** ID3D10View methods ***/
#define ID3D10DepthStencilView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
/*** ID3D10DepthStencilView methods ***/
#define ID3D10DepthStencilView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ID3D10DepthStencilView_QueryInterface(ID3D10DepthStencilView* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ID3D10DepthStencilView_AddRef(ID3D10DepthStencilView* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ID3D10DepthStencilView_Release(ID3D10DepthStencilView* This) {
return This->lpVtbl->Release(This);
}
/*** ID3D10DeviceChild methods ***/
static FORCEINLINE void ID3D10DepthStencilView_GetDevice(ID3D10DepthStencilView* This,ID3D10Device **ppDevice) {
This->lpVtbl->GetDevice(This,ppDevice);
}
static FORCEINLINE HRESULT ID3D10DepthStencilView_GetPrivateData(ID3D10DepthStencilView* This,REFGUID guid,UINT *pDataSize,void *pData) {
return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
}
static FORCEINLINE HRESULT ID3D10DepthStencilView_SetPrivateData(ID3D10DepthStencilView* This,REFGUID guid,UINT DataSize,const void *pData) {
return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
}
static FORCEINLINE HRESULT ID3D10DepthStencilView_SetPrivateDataInterface(ID3D10DepthStencilView* This,REFGUID guid,const IUnknown *pData) {
return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
}
/*** ID3D10View methods ***/
static FORCEINLINE void ID3D10DepthStencilView_GetResource(ID3D10DepthStencilView* This,ID3D10Resource **ppResource) {
This->lpVtbl->GetResource(This,ppResource);
}
/*** ID3D10DepthStencilView methods ***/
static FORCEINLINE void ID3D10DepthStencilView_GetDesc(ID3D10DepthStencilView* This,D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc) {
This->lpVtbl->GetDesc(This,pDesc);
}
#endif
#endif
#endif
#endif /* __ID3D10DepthStencilView_INTERFACE_DEFINED__ */
/*****************************************************************************
* ID3D10RenderTargetView interface
*/
#ifndef __ID3D10RenderTargetView_INTERFACE_DEFINED__
#define __ID3D10RenderTargetView_INTERFACE_DEFINED__
DEFINE_GUID(IID_ID3D10RenderTargetView, 0x9b7e4c08, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9b7e4c08-342c-4106-a19f-4f2704f689f0")
ID3D10RenderTargetView : public ID3D10View
{
virtual void STDMETHODCALLTYPE GetDesc(
D3D10_RENDER_TARGET_VIEW_DESC *pDesc) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ID3D10RenderTargetView, 0x9b7e4c08, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
#endif
#else
typedef struct ID3D10RenderTargetViewVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ID3D10RenderTargetView *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ID3D10RenderTargetView *This);
ULONG (STDMETHODCALLTYPE *Release)(
ID3D10RenderTargetView *This);
/*** ID3D10DeviceChild methods ***/
void (STDMETHODCALLTYPE *GetDevice)(
ID3D10RenderTargetView *This,
ID3D10Device **ppDevice);
HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
ID3D10RenderTargetView *This,
REFGUID guid,
UINT *pDataSize,
void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
ID3D10RenderTargetView *This,
REFGUID guid,
UINT DataSize,
const void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
ID3D10RenderTargetView *This,
REFGUID guid,
const IUnknown *pData);
/*** ID3D10View methods ***/
void (STDMETHODCALLTYPE *GetResource)(
ID3D10RenderTargetView *This,
ID3D10Resource **ppResource);
/*** ID3D10RenderTargetView methods ***/
void (STDMETHODCALLTYPE *GetDesc)(
ID3D10RenderTargetView *This,
D3D10_RENDER_TARGET_VIEW_DESC *pDesc);
END_INTERFACE
} ID3D10RenderTargetViewVtbl;
interface ID3D10RenderTargetView {
CONST_VTBL ID3D10RenderTargetViewVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#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)
/*** ID3D10DeviceChild methods ***/
#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)
/*** ID3D10View methods ***/
#define ID3D10RenderTargetView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
/*** ID3D10RenderTargetView methods ***/
#define ID3D10RenderTargetView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ID3D10RenderTargetView_QueryInterface(ID3D10RenderTargetView* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ID3D10RenderTargetView_AddRef(ID3D10RenderTargetView* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ID3D10RenderTargetView_Release(ID3D10RenderTargetView* This) {
return This->lpVtbl->Release(This);
}
/*** ID3D10DeviceChild methods ***/
static FORCEINLINE void ID3D10RenderTargetView_GetDevice(ID3D10RenderTargetView* This,ID3D10Device **ppDevice) {
This->lpVtbl->GetDevice(This,ppDevice);
}
static FORCEINLINE HRESULT ID3D10RenderTargetView_GetPrivateData(ID3D10RenderTargetView* This,REFGUID guid,UINT *pDataSize,void *pData) {
return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
}
static FORCEINLINE HRESULT ID3D10RenderTargetView_SetPrivateData(ID3D10RenderTargetView* This,REFGUID guid,UINT DataSize,const void *pData) {
return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
}
static FORCEINLINE HRESULT ID3D10RenderTargetView_SetPrivateDataInterface(ID3D10RenderTargetView* This,REFGUID guid,const IUnknown *pData) {
return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
}
/*** ID3D10View methods ***/
static FORCEINLINE void ID3D10RenderTargetView_GetResource(ID3D10RenderTargetView* This,ID3D10Resource **ppResource) {
This->lpVtbl->GetResource(This,ppResource);
}
/*** ID3D10RenderTargetView methods ***/
static FORCEINLINE void ID3D10RenderTargetView_GetDesc(ID3D10RenderTargetView* This,D3D10_RENDER_TARGET_VIEW_DESC *pDesc) {
This->lpVtbl->GetDesc(This,pDesc);
}
#endif
#endif
#endif
#endif /* __ID3D10RenderTargetView_INTERFACE_DEFINED__ */
/*****************************************************************************
* ID3D10ShaderResourceView interface
*/
#ifndef __ID3D10ShaderResourceView_INTERFACE_DEFINED__
#define __ID3D10ShaderResourceView_INTERFACE_DEFINED__
DEFINE_GUID(IID_ID3D10ShaderResourceView, 0x9b7e4c07, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9b7e4c07-342c-4106-a19f-4f2704f689f0")
ID3D10ShaderResourceView : public ID3D10View
{
virtual void STDMETHODCALLTYPE GetDesc(
D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ID3D10ShaderResourceView, 0x9b7e4c07, 0x342c, 0x4106, 0xa1,0x9f, 0x4f,0x27,0x04,0xf6,0x89,0xf0)
#endif
#else
typedef struct ID3D10ShaderResourceViewVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ID3D10ShaderResourceView *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ID3D10ShaderResourceView *This);
ULONG (STDMETHODCALLTYPE *Release)(
ID3D10ShaderResourceView *This);
/*** ID3D10DeviceChild methods ***/
void (STDMETHODCALLTYPE *GetDevice)(
ID3D10ShaderResourceView *This,
ID3D10Device **ppDevice);
HRESULT (STDMETHODCALLTYPE *GetPrivateData)(
ID3D10ShaderResourceView *This,
REFGUID guid,
UINT *pDataSize,
void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateData)(
ID3D10ShaderResourceView *This,
REFGUID guid,
UINT DataSize,
const void *pData);
HRESULT (STDMETHODCALLTYPE *SetPrivateDataInterface)(
ID3D10ShaderResourceView *This,
REFGUID guid,
const IUnknown *pData);
/*** ID3D10View methods ***/
void (STDMETHODCALLTYPE *GetResource)(
ID3D10ShaderResourceView *This,
ID3D10Resource **ppResource);
/*** ID3D10ShaderResourceView methods ***/
void (STDMETHODCALLTYPE *GetDesc)(
ID3D10ShaderResourceView *This,
D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc);
END_INTERFACE
} ID3D10ShaderResourceViewVtbl;
interface ID3D10ShaderResourceView {
CONST_VTBL ID3D10ShaderResourceViewVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#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)
/*** ID3D10DeviceChild methods ***/
#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)
/*** ID3D10View methods ***/
#define ID3D10ShaderResourceView_GetResource(This,ppResource) (This)->lpVtbl->GetResource(This,ppResource)
/*** ID3D10ShaderResourceView methods ***/
#define ID3D10ShaderResourceView_GetDesc(This,pDesc) (This)->lpVtbl->GetDesc(This,pDesc)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ID3D10ShaderResourceView_QueryInterface(ID3D10ShaderResourceView* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ID3D10ShaderResourceView_AddRef(ID3D10ShaderResourceView* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ID3D10ShaderResourceView_Release(ID3D10ShaderResourceView* This) {
return This->lpVtbl->Release(This);
}
/*** ID3D10DeviceChild methods ***/
static FORCEINLINE void ID3D10ShaderResourceView_GetDevice(ID3D10ShaderResourceView* This,ID3D10Device **ppDevice) {
This->lpVtbl->GetDevice(This,ppDevice);
}
static FORCEINLINE HRESULT ID3D10ShaderResourceView_GetPrivateData(ID3D10ShaderResourceView* This,REFGUID guid,UINT *pDataSize,void *pData) {
return This->lpVtbl->GetPrivateData(This,guid,pDataSize,pData);
}
static FORCEINLINE HRESULT ID3D10ShaderResourceView_SetPrivateData(ID3D10ShaderResourceView* This,REFGUID guid,UINT DataSize,const void *pData) {
return This->lpVtbl->SetPrivateData(This,guid,DataSize,pData);
}
static FORCEINLINE HRESULT ID3D10ShaderResourceView_SetPrivateDataInterface(ID3D10ShaderResourceView* This,REFGUID guid,const IUnknown *pData) {
return This->lpVtbl->SetPrivateDataInterface(This,guid,pData);
}
/*** ID3D10View methods ***/
static FORCEINLINE void ID3D10ShaderResourceView_GetResource(ID3D10ShaderResourceView* This,ID3D10Resource **ppResource) {
This->lpVtbl->GetResource(This,ppResource);
}
/*** ID3D10ShaderResourceView methods ***/