Headers diff for d3d10.dll between 6.0.6001.18000-Windows 6.0 and 6.2.9200.16492-Windows 7.0 versions



 d3d10.h (6.0.6001.18000-Windows 6.0)   d3d10.h (6.2.9200.16492-Windows 7.0) 
/*------------------------------------------------------------------------------
-------
*
* Copyright (c) Microsoft Corporation
*
*------------------------------------------------------------------------------
-------*/
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0499 */ /* File created by MIDL compiler version 7.00.0555 */
/* Compiler settings for d3d10.idl: /* Compiler settings for d3d10.idl:
Oicf, W1, Zp8, env=Win32 (32b run) Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555
protocol : dce , ms_ext, c_ext, robust protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level: VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable) __declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE() DECLSPEC_UUID(), MIDL_INTERFACE()
*/ */
//@@MIDL_FILE_HEADING( ) /* @@MIDL_FILE_HEADING( ) */
#pragma warning( disable: 4049 ) /* more than 64k source lines */ #pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/ /* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__ #ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500 #define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif #endif
/* verify that the <rpcsal.h> version is high enough to compile this file*/ /* verify that the <rpcsal.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCSAL_H_VERSION__ #ifndef __REQUIRED_RPCSAL_H_VERSION__
skipping to change at line 572 skipping to change at line 577
#define D3D_MINOR_VERSION ( 0 ) #define D3D_MINOR_VERSION ( 0 )
#define D3D_SPEC_DATE_DAY ( 8 ) #define D3D_SPEC_DATE_DAY ( 8 )
#define D3D_SPEC_DATE_MONTH ( 8 ) #define D3D_SPEC_DATE_MONTH ( 8 )
#define D3D_SPEC_DATE_YEAR ( 2006 ) #define D3D_SPEC_DATE_YEAR ( 2006 )
#define D3D_SPEC_VERSION ( 1.050005 ) #define D3D_SPEC_VERSION ( 1.050005 )
#endif #endif
#if !defined( __d3d10_1_h__ ) && !(D3D10_HEADER_MINOR_VERSION >= 1)
#define D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT D3D10_IA_VERTEX_INPUT_ST
RUCTURE_ELEMENT_COUNT
#define D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT D3D10_IA_VERTEX_INPUT_STRUCT
URE_ELEMENT_COUNT
#endif
#define _FACD3D10 ( 0x879 ) #define _FACD3D10 ( 0x879 )
#define _FACD3D10DEBUG ( ( _FACD3D10 + 1 ) ) #define _FACD3D10DEBUG ( ( _FACD3D10 + 1 ) )
#define MAKE_D3D10_HRESULT( code ) MAKE_HRESULT( 1, _FACD3D10, code ) #define MAKE_D3D10_HRESULT( code ) MAKE_HRESULT( 1, _FACD3D10, code )
#define MAKE_D3D10_STATUS( code ) MAKE_HRESULT( 0, _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_TOO_MANY_UNIQUE_STATE_OBJECTS MAKE_D3D10_HRESULT(1)
#define D3D10_ERROR_FILE_NOT_FOUND MAKE_D3D10_HRESULT(2) #define D3D10_ERROR_FILE_NOT_FOUND MAKE_D3D10_HRESULT(2)
#if __SAL_H_FULL_VER < 140050727 #if __SAL_H_FULL_VER < 140050727
#undef __in_range #undef __in_range
skipping to change at line 626 skipping to change at line 635
D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP = 3, D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP = 3,
D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4, D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST = 4,
D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5, D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP = 5,
D3D10_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10, D3D10_PRIMITIVE_TOPOLOGY_LINELIST_ADJ = 10,
D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11, D3D10_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ = 11,
D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12, D3D10_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ = 12,
D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13 D3D10_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ = 13
} D3D10_PRIMITIVE_TOPOLOGY; } D3D10_PRIMITIVE_TOPOLOGY;
typedef typedef
enum D3D10_PRIMITIVE
{ D3D10_PRIMITIVE_UNDEFINED = 0,
D3D10_PRIMITIVE_POINT = 1,
D3D10_PRIMITIVE_LINE = 2,
D3D10_PRIMITIVE_TRIANGLE = 3,
D3D10_PRIMITIVE_LINE_ADJ = 6,
D3D10_PRIMITIVE_TRIANGLE_ADJ = 7
} D3D10_PRIMITIVE;
typedef
enum D3D10_CULL_MODE enum D3D10_CULL_MODE
{ D3D10_CULL_NONE = 1, { D3D10_CULL_NONE = 1,
D3D10_CULL_FRONT = 2, D3D10_CULL_FRONT = 2,
D3D10_CULL_BACK = 3 D3D10_CULL_BACK = 3
} D3D10_CULL_MODE; } D3D10_CULL_MODE;
typedef struct D3D10_SO_DECLARATION_ENTRY typedef struct D3D10_SO_DECLARATION_ENTRY
{ {
LPCSTR SemanticName; LPCSTR SemanticName;
UINT SemanticIndex; UINT SemanticIndex;
skipping to change at line 727 skipping to change at line 746
typedef typedef
enum D3D10_CPU_ACCESS_FLAG enum D3D10_CPU_ACCESS_FLAG
{ D3D10_CPU_ACCESS_WRITE = 0x10000L, { D3D10_CPU_ACCESS_WRITE = 0x10000L,
D3D10_CPU_ACCESS_READ = 0x20000L D3D10_CPU_ACCESS_READ = 0x20000L
} D3D10_CPU_ACCESS_FLAG; } D3D10_CPU_ACCESS_FLAG;
typedef typedef
enum D3D10_RESOURCE_MISC_FLAG enum D3D10_RESOURCE_MISC_FLAG
{ D3D10_RESOURCE_MISC_GENERATE_MIPS = 0x1L, { D3D10_RESOURCE_MISC_GENERATE_MIPS = 0x1L,
D3D10_RESOURCE_MISC_SHARED = 0x2L, D3D10_RESOURCE_MISC_SHARED = 0x2L,
D3D10_RESOURCE_MISC_TEXTURECUBE = 0x4L D3D10_RESOURCE_MISC_TEXTURECUBE = 0x4L,
D3D10_RESOURCE_MISC_SHARED_KEYEDMUTEX = 0x10L,
D3D10_RESOURCE_MISC_GDI_COMPATIBLE = 0x20L
} D3D10_RESOURCE_MISC_FLAG; } D3D10_RESOURCE_MISC_FLAG;
typedef typedef
enum D3D10_MAP enum D3D10_MAP
{ D3D10_MAP_READ = 1, { D3D10_MAP_READ = 1,
D3D10_MAP_WRITE = 2, D3D10_MAP_WRITE = 2,
D3D10_MAP_READ_WRITE = 3, D3D10_MAP_READ_WRITE = 3,
D3D10_MAP_WRITE_DISCARD = 4, D3D10_MAP_WRITE_DISCARD = 4,
D3D10_MAP_WRITE_NO_OVERWRITE = 5 D3D10_MAP_WRITE_NO_OVERWRITE = 5
} D3D10_MAP; } D3D10_MAP;
skipping to change at line 785 skipping to change at line 806
EXTERN_C const IID IID_ID3D10DeviceChild; EXTERN_C const IID IID_ID3D10DeviceChild;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C00-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C00-342C-4106-A19F-4F2704F689F0")
ID3D10DeviceChild : public IUnknown ID3D10DeviceChild : public IUnknown
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDevice( virtual void STDMETHODCALLTYPE GetDevice(
/* */ /* [annotation] */
__out ID3D10Device **ppDevice) = 0; __out ID3D10Device **ppDevice) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPrivateData( virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData) = 0; __out_bcount_opt(*pDataSize) void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateData( virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData) = 0; __in_bcount_opt(DataSize) const void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData) = 0; __in_opt const IUnknown *pData) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10DeviceChildVtbl typedef struct ID3D10DeviceChildVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10DeviceChild * This, ID3D10DeviceChild * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10DeviceChild * This); ID3D10DeviceChild * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10DeviceChild * This); ID3D10DeviceChild * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10DeviceChild * This, ID3D10DeviceChild * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10DeviceChild * This, ID3D10DeviceChild * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10DeviceChild * This, ID3D10DeviceChild * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10DeviceChild * This, ID3D10DeviceChild * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D10DeviceChildVtbl; } ID3D10DeviceChildVtbl;
interface ID3D10DeviceChild interface ID3D10DeviceChild
{ {
CONST_VTBL struct ID3D10DeviceChildVtbl *lpVtbl; CONST_VTBL struct ID3D10DeviceChildVtbl *lpVtbl;
}; };
skipping to change at line 968 skipping to change at line 989
EXTERN_C const IID IID_ID3D10DepthStencilState; EXTERN_C const IID IID_ID3D10DepthStencilState;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2B4B1CC8-A4AD-41f8-8322-CA86FC3EC675") MIDL_INTERFACE("2B4B1CC8-A4AD-41f8-8322-CA86FC3EC675")
ID3D10DepthStencilState : public ID3D10DeviceChild ID3D10DepthStencilState : public ID3D10DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_DEPTH_STENCIL_DESC *pDesc) = 0; __out D3D10_DEPTH_STENCIL_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10DepthStencilStateVtbl typedef struct ID3D10DepthStencilStateVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10DepthStencilState * This, ID3D10DepthStencilState * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10DepthStencilState * This); ID3D10DepthStencilState * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10DepthStencilState * This); ID3D10DepthStencilState * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10DepthStencilState * This, ID3D10DepthStencilState * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10DepthStencilState * This, ID3D10DepthStencilState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10DepthStencilState * This, ID3D10DepthStencilState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10DepthStencilState * This, ID3D10DepthStencilState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10DepthStencilState * This, ID3D10DepthStencilState * This,
/* */ /* [annotation] */
__out D3D10_DEPTH_STENCIL_DESC *pDesc); __out D3D10_DEPTH_STENCIL_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10DepthStencilStateVtbl; } ID3D10DepthStencilStateVtbl;
interface ID3D10DepthStencilState interface ID3D10DepthStencilState
{ {
CONST_VTBL struct ID3D10DepthStencilStateVtbl *lpVtbl; CONST_VTBL struct ID3D10DepthStencilStateVtbl *lpVtbl;
}; };
skipping to change at line 1139 skipping to change at line 1160
EXTERN_C const IID IID_ID3D10BlendState; EXTERN_C const IID IID_ID3D10BlendState;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("EDAD8D19-8A35-4d6d-8566-2EA276CDE161") MIDL_INTERFACE("EDAD8D19-8A35-4d6d-8566-2EA276CDE161")
ID3D10BlendState : public ID3D10DeviceChild ID3D10BlendState : public ID3D10DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_BLEND_DESC *pDesc) = 0; __out D3D10_BLEND_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10BlendStateVtbl typedef struct ID3D10BlendStateVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10BlendState * This, ID3D10BlendState * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10BlendState * This); ID3D10BlendState * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10BlendState * This); ID3D10BlendState * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10BlendState * This, ID3D10BlendState * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10BlendState * This, ID3D10BlendState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10BlendState * This, ID3D10BlendState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10BlendState * This, ID3D10BlendState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10BlendState * This, ID3D10BlendState * This,
/* */ /* [annotation] */
__out D3D10_BLEND_DESC *pDesc); __out D3D10_BLEND_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10BlendStateVtbl; } ID3D10BlendStateVtbl;
interface ID3D10BlendState interface ID3D10BlendState
{ {
CONST_VTBL struct ID3D10BlendStateVtbl *lpVtbl; CONST_VTBL struct ID3D10BlendStateVtbl *lpVtbl;
}; };
skipping to change at line 1272 skipping to change at line 1293
EXTERN_C const IID IID_ID3D10RasterizerState; EXTERN_C const IID IID_ID3D10RasterizerState;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A2A07292-89AF-4345-BE2E-C53D9FBB6E9F") MIDL_INTERFACE("A2A07292-89AF-4345-BE2E-C53D9FBB6E9F")
ID3D10RasterizerState : public ID3D10DeviceChild ID3D10RasterizerState : public ID3D10DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_RASTERIZER_DESC *pDesc) = 0; __out D3D10_RASTERIZER_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10RasterizerStateVtbl typedef struct ID3D10RasterizerStateVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10RasterizerState * This, ID3D10RasterizerState * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10RasterizerState * This); ID3D10RasterizerState * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10RasterizerState * This); ID3D10RasterizerState * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10RasterizerState * This, ID3D10RasterizerState * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10RasterizerState * This, ID3D10RasterizerState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10RasterizerState * This, ID3D10RasterizerState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10RasterizerState * This, ID3D10RasterizerState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10RasterizerState * This, ID3D10RasterizerState * This,
/* */ /* [annotation] */
__out D3D10_RASTERIZER_DESC *pDesc); __out D3D10_RASTERIZER_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10RasterizerStateVtbl; } ID3D10RasterizerStateVtbl;
interface ID3D10RasterizerState interface ID3D10RasterizerState
{ {
CONST_VTBL struct ID3D10RasterizerStateVtbl *lpVtbl; CONST_VTBL struct ID3D10RasterizerStateVtbl *lpVtbl;
}; };
skipping to change at line 1402 skipping to change at line 1423
EXTERN_C const IID IID_ID3D10Resource; EXTERN_C const IID IID_ID3D10Resource;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C01-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C01-342C-4106-A19F-4F2704F689F0")
ID3D10Resource : public ID3D10DeviceChild ID3D10Resource : public ID3D10DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetType( virtual void STDMETHODCALLTYPE GetType(
/* */ /* [annotation] */
__out D3D10_RESOURCE_DIMENSION *rType) = 0; __out D3D10_RESOURCE_DIMENSION *rType) = 0;
virtual void STDMETHODCALLTYPE SetEvictionPriority( virtual void STDMETHODCALLTYPE SetEvictionPriority(
/* */ /* [annotation] */
__in UINT EvictionPriority) = 0; __in UINT EvictionPriority) = 0;
virtual UINT STDMETHODCALLTYPE GetEvictionPriority( void) = 0; virtual UINT STDMETHODCALLTYPE GetEvictionPriority( void) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10ResourceVtbl typedef struct ID3D10ResourceVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Resource * This, ID3D10Resource * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Resource * This); ID3D10Resource * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Resource * This); ID3D10Resource * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Resource * This, ID3D10Resource * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Resource * This, ID3D10Resource * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Resource * This, ID3D10Resource * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Resource * This, ID3D10Resource * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )( void ( STDMETHODCALLTYPE *GetType )(
ID3D10Resource * This, ID3D10Resource * This,
/* */ /* [annotation] */
__out D3D10_RESOURCE_DIMENSION *rType); __out D3D10_RESOURCE_DIMENSION *rType);
void ( STDMETHODCALLTYPE *SetEvictionPriority )( void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D10Resource * This, ID3D10Resource * This,
/* */ /* [annotation] */
__in UINT EvictionPriority); __in UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )( UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D10Resource * This); ID3D10Resource * This);
END_INTERFACE END_INTERFACE
} ID3D10ResourceVtbl; } ID3D10ResourceVtbl;
interface ID3D10Resource interface ID3D10Resource
{ {
skipping to change at line 1576 skipping to change at line 1597
EXTERN_C const IID IID_ID3D10Buffer; EXTERN_C const IID IID_ID3D10Buffer;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C02-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C02-342C-4106-A19F-4F2704F689F0")
ID3D10Buffer : public ID3D10Resource ID3D10Buffer : public ID3D10Resource
{ {
public: public:
virtual HRESULT STDMETHODCALLTYPE Map( virtual HRESULT STDMETHODCALLTYPE Map(
/* */ /* [annotation] */
__in D3D10_MAP MapType, __in D3D10_MAP MapType,
/* */ /* [annotation] */
__in UINT MapFlags, __in UINT MapFlags,
/* */ /* [annotation] */
__out void **ppData) = 0; __out void **ppData) = 0;
virtual void STDMETHODCALLTYPE Unmap( void) = 0; virtual void STDMETHODCALLTYPE Unmap( void) = 0;
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_BUFFER_DESC *pDesc) = 0; __out D3D10_BUFFER_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10BufferVtbl typedef struct ID3D10BufferVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Buffer * This, ID3D10Buffer * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Buffer * This); ID3D10Buffer * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Buffer * This); ID3D10Buffer * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Buffer * This, ID3D10Buffer * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Buffer * This, ID3D10Buffer * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Buffer * This, ID3D10Buffer * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Buffer * This, ID3D10Buffer * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )( void ( STDMETHODCALLTYPE *GetType )(
ID3D10Buffer * This, ID3D10Buffer * This,
/* */ /* [annotation] */
__out D3D10_RESOURCE_DIMENSION *rType); __out D3D10_RESOURCE_DIMENSION *rType);
void ( STDMETHODCALLTYPE *SetEvictionPriority )( void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D10Buffer * This, ID3D10Buffer * This,
/* */ /* [annotation] */
__in UINT EvictionPriority); __in UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )( UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D10Buffer * This); ID3D10Buffer * This);
HRESULT ( STDMETHODCALLTYPE *Map )( HRESULT ( STDMETHODCALLTYPE *Map )(
ID3D10Buffer * This, ID3D10Buffer * This,
/* */ /* [annotation] */
__in D3D10_MAP MapType, __in D3D10_MAP MapType,
/* */ /* [annotation] */
__in UINT MapFlags, __in UINT MapFlags,
/* */ /* [annotation] */
__out void **ppData); __out void **ppData);
void ( STDMETHODCALLTYPE *Unmap )( void ( STDMETHODCALLTYPE *Unmap )(
ID3D10Buffer * This); ID3D10Buffer * This);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Buffer * This, ID3D10Buffer * This,
/* */ /* [annotation] */
__out D3D10_BUFFER_DESC *pDesc); __out D3D10_BUFFER_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10BufferVtbl; } ID3D10BufferVtbl;
interface ID3D10Buffer interface ID3D10Buffer
{ {
CONST_VTBL struct ID3D10BufferVtbl *lpVtbl; CONST_VTBL struct ID3D10BufferVtbl *lpVtbl;
}; };
skipping to change at line 1789 skipping to change at line 1810
EXTERN_C const IID IID_ID3D10Texture1D; EXTERN_C const IID IID_ID3D10Texture1D;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C03-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C03-342C-4106-A19F-4F2704F689F0")
ID3D10Texture1D : public ID3D10Resource ID3D10Texture1D : public ID3D10Resource
{ {
public: public:
virtual HRESULT STDMETHODCALLTYPE Map( virtual HRESULT STDMETHODCALLTYPE Map(
/* */ /* [annotation] */
__in UINT Subresource, __in UINT Subresource,
/* */ /* [annotation] */
__in D3D10_MAP MapType, __in D3D10_MAP MapType,
/* */ /* [annotation] */
__in UINT MapFlags, __in UINT MapFlags,
/* */ /* [annotation] */
__out void **ppData) = 0; __out void **ppData) = 0;
virtual void STDMETHODCALLTYPE Unmap( virtual void STDMETHODCALLTYPE Unmap(
/* */ /* [annotation] */
__in UINT Subresource) = 0; __in UINT Subresource) = 0;
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_TEXTURE1D_DESC *pDesc) = 0; __out D3D10_TEXTURE1D_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10Texture1DVtbl typedef struct ID3D10Texture1DVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Texture1D * This, ID3D10Texture1D * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Texture1D * This); ID3D10Texture1D * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Texture1D * This); ID3D10Texture1D * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Texture1D * This, ID3D10Texture1D * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Texture1D * This, ID3D10Texture1D * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Texture1D * This, ID3D10Texture1D * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Texture1D * This, ID3D10Texture1D * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )( void ( STDMETHODCALLTYPE *GetType )(
ID3D10Texture1D * This, ID3D10Texture1D * This,
/* */ /* [annotation] */
__out D3D10_RESOURCE_DIMENSION *rType); __out D3D10_RESOURCE_DIMENSION *rType);
void ( STDMETHODCALLTYPE *SetEvictionPriority )( void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D10Texture1D * This, ID3D10Texture1D * This,
/* */ /* [annotation] */
__in UINT EvictionPriority); __in UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )( UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D10Texture1D * This); ID3D10Texture1D * This);
HRESULT ( STDMETHODCALLTYPE *Map )( HRESULT ( STDMETHODCALLTYPE *Map )(
ID3D10Texture1D * This, ID3D10Texture1D * This,
/* */ /* [annotation] */
__in UINT Subresource, __in UINT Subresource,
/* */ /* [annotation] */
__in D3D10_MAP MapType, __in D3D10_MAP MapType,
/* */ /* [annotation] */
__in UINT MapFlags, __in UINT MapFlags,
/* */ /* [annotation] */
__out void **ppData); __out void **ppData);
void ( STDMETHODCALLTYPE *Unmap )( void ( STDMETHODCALLTYPE *Unmap )(
ID3D10Texture1D * This, ID3D10Texture1D * This,
/* */ /* [annotation] */
__in UINT Subresource); __in UINT Subresource);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Texture1D * This, ID3D10Texture1D * This,
/* */ /* [annotation] */
__out D3D10_TEXTURE1D_DESC *pDesc); __out D3D10_TEXTURE1D_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10Texture1DVtbl; } ID3D10Texture1DVtbl;
interface ID3D10Texture1D interface ID3D10Texture1D
{ {
CONST_VTBL struct ID3D10Texture1DVtbl *lpVtbl; CONST_VTBL struct ID3D10Texture1DVtbl *lpVtbl;
}; };
skipping to change at line 2023 skipping to change at line 2044
EXTERN_C const IID IID_ID3D10Texture2D; EXTERN_C const IID IID_ID3D10Texture2D;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C04-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C04-342C-4106-A19F-4F2704F689F0")
ID3D10Texture2D : public ID3D10Resource ID3D10Texture2D : public ID3D10Resource
{ {
public: public:
virtual HRESULT STDMETHODCALLTYPE Map( virtual HRESULT STDMETHODCALLTYPE Map(
/* */ /* [annotation] */
__in UINT Subresource, __in UINT Subresource,
/* */ /* [annotation] */
__in D3D10_MAP MapType, __in D3D10_MAP MapType,
/* */ /* [annotation] */
__in UINT MapFlags, __in UINT MapFlags,
/* */ /* [annotation] */
__out D3D10_MAPPED_TEXTURE2D *pMappedTex2D) = 0; __out D3D10_MAPPED_TEXTURE2D *pMappedTex2D) = 0;
virtual void STDMETHODCALLTYPE Unmap( virtual void STDMETHODCALLTYPE Unmap(
/* */ /* [annotation] */
__in UINT Subresource) = 0; __in UINT Subresource) = 0;
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_TEXTURE2D_DESC *pDesc) = 0; __out D3D10_TEXTURE2D_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10Texture2DVtbl typedef struct ID3D10Texture2DVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Texture2D * This, ID3D10Texture2D * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Texture2D * This); ID3D10Texture2D * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Texture2D * This); ID3D10Texture2D * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Texture2D * This, ID3D10Texture2D * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Texture2D * This, ID3D10Texture2D * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Texture2D * This, ID3D10Texture2D * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Texture2D * This, ID3D10Texture2D * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )( void ( STDMETHODCALLTYPE *GetType )(
ID3D10Texture2D * This, ID3D10Texture2D * This,
/* */ /* [annotation] */
__out D3D10_RESOURCE_DIMENSION *rType); __out D3D10_RESOURCE_DIMENSION *rType);
void ( STDMETHODCALLTYPE *SetEvictionPriority )( void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D10Texture2D * This, ID3D10Texture2D * This,
/* */ /* [annotation] */
__in UINT EvictionPriority); __in UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )( UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D10Texture2D * This); ID3D10Texture2D * This);
HRESULT ( STDMETHODCALLTYPE *Map )( HRESULT ( STDMETHODCALLTYPE *Map )(
ID3D10Texture2D * This, ID3D10Texture2D * This,
/* */ /* [annotation] */
__in UINT Subresource, __in UINT Subresource,
/* */ /* [annotation] */
__in D3D10_MAP MapType, __in D3D10_MAP MapType,
/* */ /* [annotation] */
__in UINT MapFlags, __in UINT MapFlags,
/* */ /* [annotation] */
__out D3D10_MAPPED_TEXTURE2D *pMappedTex2D); __out D3D10_MAPPED_TEXTURE2D *pMappedTex2D);
void ( STDMETHODCALLTYPE *Unmap )( void ( STDMETHODCALLTYPE *Unmap )(
ID3D10Texture2D * This, ID3D10Texture2D * This,
/* */ /* [annotation] */
__in UINT Subresource); __in UINT Subresource);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Texture2D * This, ID3D10Texture2D * This,
/* */ /* [annotation] */
__out D3D10_TEXTURE2D_DESC *pDesc); __out D3D10_TEXTURE2D_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10Texture2DVtbl; } ID3D10Texture2DVtbl;
interface ID3D10Texture2D interface ID3D10Texture2D
{ {
CONST_VTBL struct ID3D10Texture2DVtbl *lpVtbl; CONST_VTBL struct ID3D10Texture2DVtbl *lpVtbl;
}; };
skipping to change at line 2253 skipping to change at line 2274
EXTERN_C const IID IID_ID3D10Texture3D; EXTERN_C const IID IID_ID3D10Texture3D;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C05-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C05-342C-4106-A19F-4F2704F689F0")
ID3D10Texture3D : public ID3D10Resource ID3D10Texture3D : public ID3D10Resource
{ {
public: public:
virtual HRESULT STDMETHODCALLTYPE Map( virtual HRESULT STDMETHODCALLTYPE Map(
/* */ /* [annotation] */
__in UINT Subresource, __in UINT Subresource,
/* */ /* [annotation] */
__in D3D10_MAP MapType, __in D3D10_MAP MapType,
/* */ /* [annotation] */
__in UINT MapFlags, __in UINT MapFlags,
/* */ /* [annotation] */
__out D3D10_MAPPED_TEXTURE3D *pMappedTex3D) = 0; __out D3D10_MAPPED_TEXTURE3D *pMappedTex3D) = 0;
virtual void STDMETHODCALLTYPE Unmap( virtual void STDMETHODCALLTYPE Unmap(
/* */ /* [annotation] */
__in UINT Subresource) = 0; __in UINT Subresource) = 0;
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_TEXTURE3D_DESC *pDesc) = 0; __out D3D10_TEXTURE3D_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10Texture3DVtbl typedef struct ID3D10Texture3DVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Texture3D * This, ID3D10Texture3D * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Texture3D * This); ID3D10Texture3D * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Texture3D * This); ID3D10Texture3D * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Texture3D * This, ID3D10Texture3D * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Texture3D * This, ID3D10Texture3D * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Texture3D * This, ID3D10Texture3D * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Texture3D * This, ID3D10Texture3D * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetType )( void ( STDMETHODCALLTYPE *GetType )(
ID3D10Texture3D * This, ID3D10Texture3D * This,
/* */ /* [annotation] */
__out D3D10_RESOURCE_DIMENSION *rType); __out D3D10_RESOURCE_DIMENSION *rType);
void ( STDMETHODCALLTYPE *SetEvictionPriority )( void ( STDMETHODCALLTYPE *SetEvictionPriority )(
ID3D10Texture3D * This, ID3D10Texture3D * This,
/* */ /* [annotation] */
__in UINT EvictionPriority); __in UINT EvictionPriority);
UINT ( STDMETHODCALLTYPE *GetEvictionPriority )( UINT ( STDMETHODCALLTYPE *GetEvictionPriority )(
ID3D10Texture3D * This); ID3D10Texture3D * This);
HRESULT ( STDMETHODCALLTYPE *Map )( HRESULT ( STDMETHODCALLTYPE *Map )(
ID3D10Texture3D * This, ID3D10Texture3D * This,
/* */ /* [annotation] */
__in UINT Subresource, __in UINT Subresource,
/* */ /* [annotation] */
__in D3D10_MAP MapType, __in D3D10_MAP MapType,
/* */ /* [annotation] */
__in UINT MapFlags, __in UINT MapFlags,
/* */ /* [annotation] */
__out D3D10_MAPPED_TEXTURE3D *pMappedTex3D); __out D3D10_MAPPED_TEXTURE3D *pMappedTex3D);
void ( STDMETHODCALLTYPE *Unmap )( void ( STDMETHODCALLTYPE *Unmap )(
ID3D10Texture3D * This, ID3D10Texture3D * This,
/* */ /* [annotation] */
__in UINT Subresource); __in UINT Subresource);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Texture3D * This, ID3D10Texture3D * This,
/* */ /* [annotation] */
__out D3D10_TEXTURE3D_DESC *pDesc); __out D3D10_TEXTURE3D_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10Texture3DVtbl; } ID3D10Texture3DVtbl;
interface ID3D10Texture3D interface ID3D10Texture3D
{ {
CONST_VTBL struct ID3D10Texture3DVtbl *lpVtbl; CONST_VTBL struct ID3D10Texture3DVtbl *lpVtbl;
}; };
skipping to change at line 2440 skipping to change at line 2461
EXTERN_C const IID IID_ID3D10View; EXTERN_C const IID IID_ID3D10View;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("C902B03F-60A7-49BA-9936-2A3AB37A7E33") MIDL_INTERFACE("C902B03F-60A7-49BA-9936-2A3AB37A7E33")
ID3D10View : public ID3D10DeviceChild ID3D10View : public ID3D10DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetResource( virtual void STDMETHODCALLTYPE GetResource(
/* */ /* [annotation] */
__out ID3D10Resource **ppResource) = 0; __out ID3D10Resource **ppResource) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10ViewVtbl typedef struct ID3D10ViewVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10View * This, ID3D10View * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10View * This); ID3D10View * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10View * This); ID3D10View * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10View * This, ID3D10View * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10View * This, ID3D10View * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10View * This, ID3D10View * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10View * This, ID3D10View * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )( void ( STDMETHODCALLTYPE *GetResource )(
ID3D10View * This, ID3D10View * This,
/* */ /* [annotation] */
__out ID3D10Resource **ppResource); __out ID3D10Resource **ppResource);
END_INTERFACE END_INTERFACE
} ID3D10ViewVtbl; } ID3D10ViewVtbl;
interface ID3D10View interface ID3D10View
{ {
CONST_VTBL struct ID3D10ViewVtbl *lpVtbl; CONST_VTBL struct ID3D10ViewVtbl *lpVtbl;
}; };
skipping to change at line 2543 skipping to change at line 2564
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D10View_INTERFACE_DEFINED__ */ #endif /* __ID3D10View_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d10_0000_0010 */ /* interface __MIDL_itf_d3d10_0000_0010 */
/* [local] */ /* [local] */
typedef struct D3D10_BUFFER_SRV typedef struct D3D10_BUFFER_SRV
{ {
UINT ElementOffset; union
UINT ElementWidth; {
UINT FirstElement;
UINT ElementOffset;
} ;
union
{
UINT NumElements;
UINT ElementWidth;
} ;
} D3D10_BUFFER_SRV; } D3D10_BUFFER_SRV;
typedef struct D3D10_TEX1D_SRV typedef struct D3D10_TEX1D_SRV
{ {
UINT MostDetailedMip; UINT MostDetailedMip;
UINT MipLevels; UINT MipLevels;
} D3D10_TEX1D_SRV; } D3D10_TEX1D_SRV;
typedef struct D3D10_TEX1D_ARRAY_SRV typedef struct D3D10_TEX1D_ARRAY_SRV
{ {
skipping to change at line 2634 skipping to change at line 2663
EXTERN_C const IID IID_ID3D10ShaderResourceView; EXTERN_C const IID IID_ID3D10ShaderResourceView;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C07-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C07-342C-4106-A19F-4F2704F689F0")
ID3D10ShaderResourceView : public ID3D10View ID3D10ShaderResourceView : public ID3D10View
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0; __out D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10ShaderResourceViewVtbl typedef struct ID3D10ShaderResourceViewVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10ShaderResourceView * This, ID3D10ShaderResourceView * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10ShaderResourceView * This); ID3D10ShaderResourceView * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10ShaderResourceView * This); ID3D10ShaderResourceView * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10ShaderResourceView * This, ID3D10ShaderResourceView * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10ShaderResourceView * This, ID3D10ShaderResourceView * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10ShaderResourceView * This, ID3D10ShaderResourceView * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10ShaderResourceView * This, ID3D10ShaderResourceView * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )( void ( STDMETHODCALLTYPE *GetResource )(
ID3D10ShaderResourceView * This, ID3D10ShaderResourceView * This,
/* */ /* [annotation] */
__out ID3D10Resource **ppResource); __out ID3D10Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10ShaderResourceView * This, ID3D10ShaderResourceView * This,
/* */ /* [annotation] */
__out D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc); __out D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10ShaderResourceViewVtbl; } ID3D10ShaderResourceViewVtbl;
interface ID3D10ShaderResourceView interface ID3D10ShaderResourceView
{ {
CONST_VTBL struct ID3D10ShaderResourceViewVtbl *lpVtbl; CONST_VTBL struct ID3D10ShaderResourceViewVtbl *lpVtbl;
}; };
skipping to change at line 2745 skipping to change at line 2774
#endif /* C style interface */ #endif /* C style interface */
#endif /* __ID3D10ShaderResourceView_INTERFACE_DEFINED__ */ #endif /* __ID3D10ShaderResourceView_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d10_0000_0011 */ /* interface __MIDL_itf_d3d10_0000_0011 */
/* [local] */ /* [local] */
typedef struct D3D10_BUFFER_RTV typedef struct D3D10_BUFFER_RTV
{ {
UINT ElementOffset; union
UINT ElementWidth; {
UINT FirstElement;
UINT ElementOffset;
} ;
union
{
UINT NumElements;
UINT ElementWidth;
} ;
} D3D10_BUFFER_RTV; } D3D10_BUFFER_RTV;
typedef struct D3D10_TEX1D_RTV typedef struct D3D10_TEX1D_RTV
{ {
UINT MipSlice; UINT MipSlice;
} D3D10_TEX1D_RTV; } D3D10_TEX1D_RTV;
typedef struct D3D10_TEX1D_ARRAY_RTV typedef struct D3D10_TEX1D_ARRAY_RTV
{ {
UINT MipSlice; UINT MipSlice;
skipping to change at line 2826 skipping to change at line 2863
EXTERN_C const IID IID_ID3D10RenderTargetView; EXTERN_C const IID IID_ID3D10RenderTargetView;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C08-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C08-342C-4106-A19F-4F2704F689F0")
ID3D10RenderTargetView : public ID3D10View ID3D10RenderTargetView : public ID3D10View
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_RENDER_TARGET_VIEW_DESC *pDesc) = 0; __out D3D10_RENDER_TARGET_VIEW_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10RenderTargetViewVtbl typedef struct ID3D10RenderTargetViewVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10RenderTargetView * This, ID3D10RenderTargetView * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10RenderTargetView * This); ID3D10RenderTargetView * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10RenderTargetView * This); ID3D10RenderTargetView * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10RenderTargetView * This, ID3D10RenderTargetView * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10RenderTargetView * This, ID3D10RenderTargetView * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10RenderTargetView * This, ID3D10RenderTargetView * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10RenderTargetView * This, ID3D10RenderTargetView * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )( void ( STDMETHODCALLTYPE *GetResource )(
ID3D10RenderTargetView * This, ID3D10RenderTargetView * This,
/* */ /* [annotation] */
__out ID3D10Resource **ppResource); __out ID3D10Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10RenderTargetView * This, ID3D10RenderTargetView * This,
/* */ /* [annotation] */
__out D3D10_RENDER_TARGET_VIEW_DESC *pDesc); __out D3D10_RENDER_TARGET_VIEW_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10RenderTargetViewVtbl; } ID3D10RenderTargetViewVtbl;
interface ID3D10RenderTargetView interface ID3D10RenderTargetView
{ {
CONST_VTBL struct ID3D10RenderTargetViewVtbl *lpVtbl; CONST_VTBL struct ID3D10RenderTargetViewVtbl *lpVtbl;
}; };
skipping to change at line 3003 skipping to change at line 3040
EXTERN_C const IID IID_ID3D10DepthStencilView; EXTERN_C const IID IID_ID3D10DepthStencilView;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C09-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C09-342C-4106-A19F-4F2704F689F0")
ID3D10DepthStencilView : public ID3D10View ID3D10DepthStencilView : public ID3D10View
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0; __out D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10DepthStencilViewVtbl typedef struct ID3D10DepthStencilViewVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10DepthStencilView * This, ID3D10DepthStencilView * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10DepthStencilView * This); ID3D10DepthStencilView * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10DepthStencilView * This); ID3D10DepthStencilView * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10DepthStencilView * This, ID3D10DepthStencilView * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10DepthStencilView * This, ID3D10DepthStencilView * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10DepthStencilView * This, ID3D10DepthStencilView * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10DepthStencilView * This, ID3D10DepthStencilView * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetResource )( void ( STDMETHODCALLTYPE *GetResource )(
ID3D10DepthStencilView * This, ID3D10DepthStencilView * This,
/* */ /* [annotation] */
__out ID3D10Resource **ppResource); __out ID3D10Resource **ppResource);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10DepthStencilView * This, ID3D10DepthStencilView * This,
/* */ /* [annotation] */
__out D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc); __out D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10DepthStencilViewVtbl; } ID3D10DepthStencilViewVtbl;
interface ID3D10DepthStencilView interface ID3D10DepthStencilView
{ {
CONST_VTBL struct ID3D10DepthStencilViewVtbl *lpVtbl; CONST_VTBL struct ID3D10DepthStencilViewVtbl *lpVtbl;
}; };
skipping to change at line 3134 skipping to change at line 3171
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10VertexShaderVtbl typedef struct ID3D10VertexShaderVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10VertexShader * This, ID3D10VertexShader * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10VertexShader * This); ID3D10VertexShader * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10VertexShader * This); ID3D10VertexShader * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10VertexShader * This, ID3D10VertexShader * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10VertexShader * This, ID3D10VertexShader * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10VertexShader * This, ID3D10VertexShader * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10VertexShader * This, ID3D10VertexShader * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D10VertexShaderVtbl; } ID3D10VertexShaderVtbl;
interface ID3D10VertexShader interface ID3D10VertexShader
{ {
CONST_VTBL struct ID3D10VertexShaderVtbl *lpVtbl; CONST_VTBL struct ID3D10VertexShaderVtbl *lpVtbl;
}; };
skipping to change at line 3235 skipping to change at line 3272
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10GeometryShaderVtbl typedef struct ID3D10GeometryShaderVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10GeometryShader * This, ID3D10GeometryShader * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10GeometryShader * This); ID3D10GeometryShader * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10GeometryShader * This); ID3D10GeometryShader * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10GeometryShader * This, ID3D10GeometryShader * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10GeometryShader * This, ID3D10GeometryShader * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10GeometryShader * This, ID3D10GeometryShader * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10GeometryShader * This, ID3D10GeometryShader * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D10GeometryShaderVtbl; } ID3D10GeometryShaderVtbl;
interface ID3D10GeometryShader interface ID3D10GeometryShader
{ {
CONST_VTBL struct ID3D10GeometryShaderVtbl *lpVtbl; CONST_VTBL struct ID3D10GeometryShaderVtbl *lpVtbl;
}; };
skipping to change at line 3336 skipping to change at line 3373
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10PixelShaderVtbl typedef struct ID3D10PixelShaderVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10PixelShader * This, ID3D10PixelShader * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10PixelShader * This); ID3D10PixelShader * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10PixelShader * This); ID3D10PixelShader * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10PixelShader * This, ID3D10PixelShader * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10PixelShader * This, ID3D10PixelShader * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10PixelShader * This, ID3D10PixelShader * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10PixelShader * This, ID3D10PixelShader * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D10PixelShaderVtbl; } ID3D10PixelShaderVtbl;
interface ID3D10PixelShader interface ID3D10PixelShader
{ {
CONST_VTBL struct ID3D10PixelShaderVtbl *lpVtbl; CONST_VTBL struct ID3D10PixelShaderVtbl *lpVtbl;
}; };
skipping to change at line 3437 skipping to change at line 3474
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10InputLayoutVtbl typedef struct ID3D10InputLayoutVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10InputLayout * This, ID3D10InputLayout * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10InputLayout * This); ID3D10InputLayout * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10InputLayout * This); ID3D10InputLayout * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10InputLayout * This, ID3D10InputLayout * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10InputLayout * This, ID3D10InputLayout * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10InputLayout * This, ID3D10InputLayout * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10InputLayout * This, ID3D10InputLayout * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
END_INTERFACE END_INTERFACE
} ID3D10InputLayoutVtbl; } ID3D10InputLayoutVtbl;
interface ID3D10InputLayout interface ID3D10InputLayout
{ {
CONST_VTBL struct ID3D10InputLayoutVtbl *lpVtbl; CONST_VTBL struct ID3D10InputLayoutVtbl *lpVtbl;
}; };
skipping to change at line 3559 skipping to change at line 3596
#define D3D10_MAG_FILTER_SHIFT ( 2 ) #define D3D10_MAG_FILTER_SHIFT ( 2 )
#define D3D10_MIP_FILTER_SHIFT ( 0 ) #define D3D10_MIP_FILTER_SHIFT ( 0 )
#define D3D10_COMPARISON_FILTERING_BIT ( 0x80 ) #define D3D10_COMPARISON_FILTERING_BIT ( 0x80 )
#define D3D10_ANISOTROPIC_FILTERING_BIT ( 0x40 ) #define D3D10_ANISOTROPIC_FILTERING_BIT ( 0x40 )
#define D3D10_TEXT_1BIT_BIT ( 0x80000000 ) #define D3D10_TEXT_1BIT_BIT ( 0x80000000 )
#define D3D10_ENCODE_BASIC_FILTER( min, mag, mip, bComparison ) #define D3D10_ENCODE_BASIC_FILTER( min, mag, mip, bComparison )
\ \
( D3D10_FILTER ) ( ( ( D3D10_FILTER ) (
\ \
( ( bComparison ) ? D3D10_COMPARISON_FILTERIN ( ( bComparison ) ? D3D10_COMPARISON_FILTERIN
G_BIT : 0 ) | \ G_BIT : 0 ) | \
( ( min & D3D10_FILTER_TYPE_MASK ) << D3D10_M ( ( ( min ) & D3D10_FILTER_TYPE_MASK ) << D3D
IN_FILTER_SHIFT ) | \ 10_MIN_FILTER_SHIFT ) | \
( ( mag & D3D10_FILTER_TYPE_MASK ) << D3D10_M ( ( ( mag ) & D3D10_FILTER_TYPE_MASK ) << D3D
AG_FILTER_SHIFT ) | \ 10_MAG_FILTER_SHIFT ) | \
( ( mip & D3D10_FILTER_TYPE_MASK ) << D3D10_M ( ( ( mip ) & D3D10_FILTER_TYPE_MASK ) << D3D
IP_FILTER_SHIFT ) ) 10_MIP_FILTER_SHIFT ) ) )
#define D3D10_ENCODE_ANISOTROPIC_FILTER( bComparison ) #define D3D10_ENCODE_ANISOTROPIC_FILTER( bComparison )
\ \
( D3D10_FILTER ) ( ( ( D3D10_FILTER ) (
\ \
D3D10_ANISOTROPIC_FILTERING_BIT | D3D10_ANISOTROPIC_FILTERING_BIT |
\ \
D3D10_ENCODE_BASIC_FILTER( D3D10_FILTER _TYPE_LINEAR, \ D3D10_ENCODE_BASIC_FILTER( D3D10_FILTER _TYPE_LINEAR, \
D3D10_FILTER _TYPE_LINEAR, \ D3D10_FILTER _TYPE_LINEAR, \
D3D10_FILTER _TYPE_LINEAR, \ D3D10_FILTER _TYPE_LINEAR, \
bComparison bComparison
) ) ) ) )
#define D3D10_DECODE_MIN_FILTER( d3d10Filter ) #define D3D10_DECODE_MIN_FILTER( d3d10Filter )
\ \
(D3D10_FILTER_TYPE) ( ( D3D10_FILTER_TYPE )
\ \
( ( d3d10Filter >> D3D10_MIN_FILTER_SHIFT ) & D ( ( ( d3d10Filter ) >> D3D10_MIN_FILTER_SHIFT )
3D10_FILTER_TYPE_MASK ) & D3D10_FILTER_TYPE_MASK ) )
#define D3D10_DECODE_MAG_FILTER( d3d10Filter ) #define D3D10_DECODE_MAG_FILTER( d3d10Filter )
\ \
(D3D10_FILTER_TYPE) ( ( D3D10_FILTER_TYPE )
\ \
( ( d3d10Filter >> D3D10_MAG_FILTER_SHIFT ) & D ( ( ( d3d10Filter ) >> D3D10_MAG_FILTER_SHIFT )
3D10_FILTER_TYPE_MASK ) & D3D10_FILTER_TYPE_MASK ) )
#define D3D10_DECODE_MIP_FILTER( d3d10Filter ) #define D3D10_DECODE_MIP_FILTER( d3d10Filter )
\ \
(D3D10_FILTER_TYPE) ( ( D3D10_FILTER_TYPE )
\ \
( ( d3d10Filter >> D3D10_MIP_FILTER_SHIFT ) & D ( ( ( d3d10Filter ) >> D3D10_MIP_FILTER_SHIFT )
3D10_FILTER_TYPE_MASK ) & D3D10_FILTER_TYPE_MASK ) )
#define D3D10_DECODE_IS_COMPARISON_FILTER( d3d10Filter ) #define D3D10_DECODE_IS_COMPARISON_FILTER( d3d10Filter )
\ \
( d3d10Filter & D3D10_COMPARISON_FILTERING_BIT ( ( d3d10Filter ) & D3D10_COMPARISON_FILTERING_
) BIT )
#define D3D10_DECODE_IS_ANISOTROPIC_FILTER( d3d10Filter ) #define D3D10_DECODE_IS_ANISOTROPIC_FILTER( d3d10Filter )
\ \
( ( d3d10Filter & D3D10_ANISOTROPIC_FILTERING_BIT ) && ( ( ( d3d10Filter ) & D3D10_ANISOTROPIC_FILTERING_BI
\ T ) && \
( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MIN_FILTE ( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MIN_FILTE
R( d3d10Filter ) ) && \ R( d3d10Filter ) ) && \
( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MAG_FILTE ( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MAG_FILTE
R( d3d10Filter ) ) && \ R( d3d10Filter ) ) && \
( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MIP_FILTE R( d3d10Filter ) ) ) ( D3D10_FILTER_TYPE_LINEAR == D3D10_DECODE_MIP_FILTE R( d3d10Filter ) ) )
#define D3D10_DECODE_IS_TEXT_1BIT_FILTER( d3d10Filter ) \ #define D3D10_DECODE_IS_TEXT_1BIT_FILTER( d3d10Filter ) \
( d3d10Filter == D3D10_TEXT_1BIT_BIT ) ( ( d3d10Filter ) == D3D10_TEXT_1BIT_BIT )
typedef typedef
enum D3D10_TEXTURE_ADDRESS_MODE enum D3D10_TEXTURE_ADDRESS_MODE
{ D3D10_TEXTURE_ADDRESS_WRAP = 1, { D3D10_TEXTURE_ADDRESS_WRAP = 1,
D3D10_TEXTURE_ADDRESS_MIRROR = 2, D3D10_TEXTURE_ADDRESS_MIRROR = 2,
D3D10_TEXTURE_ADDRESS_CLAMP = 3, D3D10_TEXTURE_ADDRESS_CLAMP = 3,
D3D10_TEXTURE_ADDRESS_BORDER = 4, D3D10_TEXTURE_ADDRESS_BORDER = 4,
D3D10_TEXTURE_ADDRESS_MIRROR_ONCE = 5 D3D10_TEXTURE_ADDRESS_MIRROR_ONCE = 5
} D3D10_TEXTURE_ADDRESS_MODE; } D3D10_TEXTURE_ADDRESS_MODE;
typedef struct D3D10_SAMPLER_DESC typedef struct D3D10_SAMPLER_DESC
skipping to change at line 3631 skipping to change at line 3668
EXTERN_C const IID IID_ID3D10SamplerState; EXTERN_C const IID IID_ID3D10SamplerState;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C0C-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C0C-342C-4106-A19F-4F2704F689F0")
ID3D10SamplerState : public ID3D10DeviceChild ID3D10SamplerState : public ID3D10DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_SAMPLER_DESC *pDesc) = 0; __out D3D10_SAMPLER_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10SamplerStateVtbl typedef struct ID3D10SamplerStateVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10SamplerState * This, ID3D10SamplerState * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10SamplerState * This); ID3D10SamplerState * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10SamplerState * This); ID3D10SamplerState * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10SamplerState * This, ID3D10SamplerState * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10SamplerState * This, ID3D10SamplerState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10SamplerState * This, ID3D10SamplerState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10SamplerState * This, ID3D10SamplerState * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10SamplerState * This, ID3D10SamplerState * This,
/* */ /* [annotation] */
__out D3D10_SAMPLER_DESC *pDesc); __out D3D10_SAMPLER_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10SamplerStateVtbl; } ID3D10SamplerStateVtbl;
interface ID3D10SamplerState interface ID3D10SamplerState
{ {
CONST_VTBL struct ID3D10SamplerStateVtbl *lpVtbl; CONST_VTBL struct ID3D10SamplerStateVtbl *lpVtbl;
}; };
skipping to change at line 3756 skipping to change at line 3793
D3D10_FORMAT_SUPPORT_MIP = 0x1000, D3D10_FORMAT_SUPPORT_MIP = 0x1000,
D3D10_FORMAT_SUPPORT_MIP_AUTOGEN = 0x2000, D3D10_FORMAT_SUPPORT_MIP_AUTOGEN = 0x2000,
D3D10_FORMAT_SUPPORT_RENDER_TARGET = 0x4000, D3D10_FORMAT_SUPPORT_RENDER_TARGET = 0x4000,
D3D10_FORMAT_SUPPORT_BLENDABLE = 0x8000, D3D10_FORMAT_SUPPORT_BLENDABLE = 0x8000,
D3D10_FORMAT_SUPPORT_DEPTH_STENCIL = 0x10000, D3D10_FORMAT_SUPPORT_DEPTH_STENCIL = 0x10000,
D3D10_FORMAT_SUPPORT_CPU_LOCKABLE = 0x20000, D3D10_FORMAT_SUPPORT_CPU_LOCKABLE = 0x20000,
D3D10_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE = 0x40000, D3D10_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE = 0x40000,
D3D10_FORMAT_SUPPORT_DISPLAY = 0x80000, D3D10_FORMAT_SUPPORT_DISPLAY = 0x80000,
D3D10_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT = 0x100000, D3D10_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT = 0x100000,
D3D10_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET = 0x200000, D3D10_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET = 0x200000,
D3D10_FORMAT_SUPPORT_MULTISAMPLE_LOAD = 0x400000 D3D10_FORMAT_SUPPORT_MULTISAMPLE_LOAD = 0x400000,
D3D10_FORMAT_SUPPORT_SHADER_GATHER = 0x800000,
D3D10_FORMAT_SUPPORT_BACK_BUFFER_CAST = 0x1000000
} D3D10_FORMAT_SUPPORT; } 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_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0018_v0_0_s_ifspec; extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0018_v0_0_s_ifspec;
#ifndef __ID3D10Asynchronous_INTERFACE_DEFINED__ #ifndef __ID3D10Asynchronous_INTERFACE_DEFINED__
#define __ID3D10Asynchronous_INTERFACE_DEFINED__ #define __ID3D10Asynchronous_INTERFACE_DEFINED__
/* interface ID3D10Asynchronous */ /* interface ID3D10Asynchronous */
/* [unique][local][object][uuid] */ /* [unique][local][object][uuid] */
skipping to change at line 3781 skipping to change at line 3820
MIDL_INTERFACE("9B7E4C0D-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C0D-342C-4106-A19F-4F2704F689F0")
ID3D10Asynchronous : public ID3D10DeviceChild ID3D10Asynchronous : public ID3D10DeviceChild
{ {
public: public:
virtual void STDMETHODCALLTYPE Begin( void) = 0; virtual void STDMETHODCALLTYPE Begin( void) = 0;
virtual void STDMETHODCALLTYPE End( void) = 0; virtual void STDMETHODCALLTYPE End( void) = 0;
virtual HRESULT STDMETHODCALLTYPE GetData( virtual HRESULT STDMETHODCALLTYPE GetData(
/* */ /* [annotation] */
__out_bcount_opt(DataSize) void *pData, __out_bcount_opt(DataSize) void *pData,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in UINT GetDataFlags) = 0; __in UINT GetDataFlags) = 0;
virtual UINT STDMETHODCALLTYPE GetDataSize( void) = 0; virtual UINT STDMETHODCALLTYPE GetDataSize( void) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10AsynchronousVtbl typedef struct ID3D10AsynchronousVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Asynchronous * This, ID3D10Asynchronous * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Asynchronous * This); ID3D10Asynchronous * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Asynchronous * This); ID3D10Asynchronous * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Asynchronous * This, ID3D10Asynchronous * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Asynchronous * This, ID3D10Asynchronous * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Asynchronous * This, ID3D10Asynchronous * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Asynchronous * This, ID3D10Asynchronous * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *Begin )( void ( STDMETHODCALLTYPE *Begin )(
ID3D10Asynchronous * This); ID3D10Asynchronous * This);
void ( STDMETHODCALLTYPE *End )( void ( STDMETHODCALLTYPE *End )(
ID3D10Asynchronous * This); ID3D10Asynchronous * This);
HRESULT ( STDMETHODCALLTYPE *GetData )( HRESULT ( STDMETHODCALLTYPE *GetData )(
ID3D10Asynchronous * This, ID3D10Asynchronous * This,
/* */ /* [annotation] */
__out_bcount_opt(DataSize) void *pData, __out_bcount_opt(DataSize) void *pData,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in UINT GetDataFlags); __in UINT GetDataFlags);
UINT ( STDMETHODCALLTYPE *GetDataSize )( UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D10Asynchronous * This); ID3D10Asynchronous * This);
END_INTERFACE END_INTERFACE
} ID3D10AsynchronousVtbl; } ID3D10AsynchronousVtbl;
interface ID3D10Asynchronous interface ID3D10Asynchronous
{ {
skipping to change at line 3956 skipping to change at line 3995
EXTERN_C const IID IID_ID3D10Query; EXTERN_C const IID IID_ID3D10Query;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C0E-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C0E-342C-4106-A19F-4F2704F689F0")
ID3D10Query : public ID3D10Asynchronous ID3D10Query : public ID3D10Asynchronous
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_QUERY_DESC *pDesc) = 0; __out D3D10_QUERY_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10QueryVtbl typedef struct ID3D10QueryVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Query * This, ID3D10Query * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Query * This); ID3D10Query * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Query * This); ID3D10Query * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Query * This, ID3D10Query * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Query * This, ID3D10Query * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Query * This, ID3D10Query * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Query * This, ID3D10Query * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *Begin )( void ( STDMETHODCALLTYPE *Begin )(
ID3D10Query * This); ID3D10Query * This);
void ( STDMETHODCALLTYPE *End )( void ( STDMETHODCALLTYPE *End )(
ID3D10Query * This); ID3D10Query * This);
HRESULT ( STDMETHODCALLTYPE *GetData )( HRESULT ( STDMETHODCALLTYPE *GetData )(
ID3D10Query * This, ID3D10Query * This,
/* */ /* [annotation] */
__out_bcount_opt(DataSize) void *pData, __out_bcount_opt(DataSize) void *pData,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in UINT GetDataFlags); __in UINT GetDataFlags);
UINT ( STDMETHODCALLTYPE *GetDataSize )( UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D10Query * This); ID3D10Query * This);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Query * This, ID3D10Query * This,
/* */ /* [annotation] */
__out D3D10_QUERY_DESC *pDesc); __out D3D10_QUERY_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10QueryVtbl; } ID3D10QueryVtbl;
interface ID3D10Query interface ID3D10Query
{ {
CONST_VTBL struct ID3D10QueryVtbl *lpVtbl; CONST_VTBL struct ID3D10QueryVtbl *lpVtbl;
}; };
skipping to change at line 4109 skipping to change at line 4148
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10PredicateVtbl typedef struct ID3D10PredicateVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Predicate * This, ID3D10Predicate * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Predicate * This); ID3D10Predicate * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Predicate * This); ID3D10Predicate * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Predicate * This, ID3D10Predicate * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Predicate * This, ID3D10Predicate * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Predicate * This, ID3D10Predicate * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Predicate * This, ID3D10Predicate * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *Begin )( void ( STDMETHODCALLTYPE *Begin )(
ID3D10Predicate * This); ID3D10Predicate * This);
void ( STDMETHODCALLTYPE *End )( void ( STDMETHODCALLTYPE *End )(
ID3D10Predicate * This); ID3D10Predicate * This);
HRESULT ( STDMETHODCALLTYPE *GetData )( HRESULT ( STDMETHODCALLTYPE *GetData )(
ID3D10Predicate * This, ID3D10Predicate * This,
/* */ /* [annotation] */
__out_bcount_opt(DataSize) void *pData, __out_bcount_opt(DataSize) void *pData,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in UINT GetDataFlags); __in UINT GetDataFlags);
UINT ( STDMETHODCALLTYPE *GetDataSize )( UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D10Predicate * This); ID3D10Predicate * This);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Predicate * This, ID3D10Predicate * This,
/* */ /* [annotation] */
__out D3D10_QUERY_DESC *pDesc); __out D3D10_QUERY_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10PredicateVtbl; } ID3D10PredicateVtbl;
interface ID3D10Predicate interface ID3D10Predicate
{ {
CONST_VTBL struct ID3D10PredicateVtbl *lpVtbl; CONST_VTBL struct ID3D10PredicateVtbl *lpVtbl;
}; };
skipping to change at line 4312 skipping to change at line 4351
EXTERN_C const IID IID_ID3D10Counter; EXTERN_C const IID IID_ID3D10Counter;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C11-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C11-342C-4106-A19F-4F2704F689F0")
ID3D10Counter : public ID3D10Asynchronous ID3D10Counter : public ID3D10Asynchronous
{ {
public: public:
virtual void STDMETHODCALLTYPE GetDesc( virtual void STDMETHODCALLTYPE GetDesc(
/* */ /* [annotation] */
__out D3D10_COUNTER_DESC *pDesc) = 0; __out D3D10_COUNTER_DESC *pDesc) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10CounterVtbl typedef struct ID3D10CounterVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Counter * This, ID3D10Counter * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Counter * This); ID3D10Counter * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Counter * This); ID3D10Counter * This);
void ( STDMETHODCALLTYPE *GetDevice )( void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10Counter * This, ID3D10Counter * This,
/* */ /* [annotation] */
__out ID3D10Device **ppDevice); __out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Counter * This, ID3D10Counter * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Counter * This, ID3D10Counter * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Counter * This, ID3D10Counter * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *Begin )( void ( STDMETHODCALLTYPE *Begin )(
ID3D10Counter * This); ID3D10Counter * This);
void ( STDMETHODCALLTYPE *End )( void ( STDMETHODCALLTYPE *End )(
ID3D10Counter * This); ID3D10Counter * This);
HRESULT ( STDMETHODCALLTYPE *GetData )( HRESULT ( STDMETHODCALLTYPE *GetData )(
ID3D10Counter * This, ID3D10Counter * This,
/* */ /* [annotation] */
__out_bcount_opt(DataSize) void *pData, __out_bcount_opt(DataSize) void *pData,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in UINT GetDataFlags); __in UINT GetDataFlags);
UINT ( STDMETHODCALLTYPE *GetDataSize )( UINT ( STDMETHODCALLTYPE *GetDataSize )(
ID3D10Counter * This); ID3D10Counter * This);
void ( STDMETHODCALLTYPE *GetDesc )( void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10Counter * This, ID3D10Counter * This,
/* */ /* [annotation] */
__out D3D10_COUNTER_DESC *pDesc); __out D3D10_COUNTER_DESC *pDesc);
END_INTERFACE END_INTERFACE
} ID3D10CounterVtbl; } ID3D10CounterVtbl;
interface ID3D10Counter interface ID3D10Counter
{ {
CONST_VTBL struct ID3D10CounterVtbl *lpVtbl; CONST_VTBL struct ID3D10CounterVtbl *lpVtbl;
}; };
skipping to change at line 4455 skipping to change at line 4494
EXTERN_C const IID IID_ID3D10Device; EXTERN_C const IID IID_ID3D10Device;
#if defined(__cplusplus) && !defined(CINTERFACE) #if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("9B7E4C0F-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4C0F-342C-4106-A19F-4F2704F689F0")
ID3D10Device : public IUnknown ID3D10Device : public IUnknown
{ {
public: public:
virtual void STDMETHODCALLTYPE VSSetConstantBuffers( virtual void STDMETHODCALLTYPE VSSetConstantBuffers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0 ; __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0 ;
virtual void STDMETHODCALLTYPE PSSetShaderResources( virtual void STDMETHODCALLTYPE PSSetShaderResources(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews) = 0; __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews) = 0;
virtual void STDMETHODCALLTYPE PSSetShader( virtual void STDMETHODCALLTYPE PSSetShader(
/* */ /* [annotation] */
__in_opt ID3D10PixelShader *pPixelShader) = 0; __in_opt ID3D10PixelShader *pPixelShader) = 0;
virtual void STDMETHODCALLTYPE PSSetSamplers( virtual void STDMETHODCALLTYPE PSSetSamplers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0 ; __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0 ;
virtual void STDMETHODCALLTYPE VSSetShader( virtual void STDMETHODCALLTYPE VSSetShader(
/* */ /* [annotation] */
__in_opt ID3D10VertexShader *pVertexShader) = 0; __in_opt ID3D10VertexShader *pVertexShader) = 0;
virtual void STDMETHODCALLTYPE DrawIndexed( virtual void STDMETHODCALLTYPE DrawIndexed(
/* */ /* [annotation] */
__in UINT IndexCount, __in UINT IndexCount,
/* */ /* [annotation] */
__in UINT StartIndexLocation, __in UINT StartIndexLocation,
/* */ /* [annotation] */
__in INT BaseVertexLocation) = 0; __in INT BaseVertexLocation) = 0;
virtual void STDMETHODCALLTYPE Draw( virtual void STDMETHODCALLTYPE Draw(
/* */ /* [annotation] */
__in UINT VertexCount, __in UINT VertexCount,
/* */ /* [annotation] */
__in UINT StartVertexLocation) = 0; __in UINT StartVertexLocation) = 0;
virtual void STDMETHODCALLTYPE PSSetConstantBuffers( virtual void STDMETHODCALLTYPE PSSetConstantBuffers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0 ; __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0 ;
virtual void STDMETHODCALLTYPE IASetInputLayout( virtual void STDMETHODCALLTYPE IASetInputLayout(
/* */ /* [annotation] */
__in_opt ID3D10InputLayout *pInputLayout) = 0; __in_opt ID3D10InputLayout *pInputLayout) = 0;
virtual void STDMETHODCALLTYPE IASetVertexBuffers( virtual void STDMETHODCALLTYPE IASetVertexBuffers(
/* */ /* [annotation] */
__in_range( 0, D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UI
StartSlot, NT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSl
) UINT NumBuffers, ot ) UINT NumBuffers,
/* */ /* [annotation] */
__in_ecount(NumBuffers) ID3D10Buffer *const *ppVertexBuffers, __in_ecount(NumBuffers) ID3D10Buffer *const *ppVertexBuffers,
/* */ /* [annotation] */
__in_ecount(NumBuffers) const UINT *pStrides, __in_ecount(NumBuffers) const UINT *pStrides,
/* */ /* [annotation] */
__in_ecount(NumBuffers) const UINT *pOffsets) = 0; __in_ecount(NumBuffers) const UINT *pOffsets) = 0;
virtual void STDMETHODCALLTYPE IASetIndexBuffer( virtual void STDMETHODCALLTYPE IASetIndexBuffer(
/* */ /* [annotation] */
__in_opt ID3D10Buffer *pIndexBuffer, __in_opt ID3D10Buffer *pIndexBuffer,
/* */ /* [annotation] */
__in DXGI_FORMAT Format, __in DXGI_FORMAT Format,
/* */ /* [annotation] */
__in UINT Offset) = 0; __in UINT Offset) = 0;
virtual void STDMETHODCALLTYPE DrawIndexedInstanced( virtual void STDMETHODCALLTYPE DrawIndexedInstanced(
/* */ /* [annotation] */
__in UINT IndexCountPerInstance, __in UINT IndexCountPerInstance,
/* */ /* [annotation] */
__in UINT InstanceCount, __in UINT InstanceCount,
/* */ /* [annotation] */
__in UINT StartIndexLocation, __in UINT StartIndexLocation,
/* */ /* [annotation] */
__in INT BaseVertexLocation, __in INT BaseVertexLocation,
/* */ /* [annotation] */
__in UINT StartInstanceLocation) = 0; __in UINT StartInstanceLocation) = 0;
virtual void STDMETHODCALLTYPE DrawInstanced( virtual void STDMETHODCALLTYPE DrawInstanced(
/* */ /* [annotation] */
__in UINT VertexCountPerInstance, __in UINT VertexCountPerInstance,
/* */ /* [annotation] */
__in UINT InstanceCount, __in UINT InstanceCount,
/* */ /* [annotation] */
__in UINT StartVertexLocation, __in UINT StartVertexLocation,
/* */ /* [annotation] */
__in UINT StartInstanceLocation) = 0; __in UINT StartInstanceLocation) = 0;
virtual void STDMETHODCALLTYPE GSSetConstantBuffers( virtual void STDMETHODCALLTYPE GSSetConstantBuffers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0 ; __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers) = 0 ;
virtual void STDMETHODCALLTYPE GSSetShader( virtual void STDMETHODCALLTYPE GSSetShader(
/* */ /* [annotation] */
__in_opt ID3D10GeometryShader *pShader) = 0; __in_opt ID3D10GeometryShader *pShader) = 0;
virtual void STDMETHODCALLTYPE IASetPrimitiveTopology( virtual void STDMETHODCALLTYPE IASetPrimitiveTopology(
/* */ /* [annotation] */
__in D3D10_PRIMITIVE_TOPOLOGY Topology) = 0; __in D3D10_PRIMITIVE_TOPOLOGY Topology) = 0;
virtual void STDMETHODCALLTYPE VSSetShaderResources( virtual void STDMETHODCALLTYPE VSSetShaderResources(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews) = 0; __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews) = 0;
virtual void STDMETHODCALLTYPE VSSetSamplers( virtual void STDMETHODCALLTYPE VSSetSamplers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0 ; __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0 ;
virtual void STDMETHODCALLTYPE SetPredication( virtual void STDMETHODCALLTYPE SetPredication(
/* */ /* [annotation] */
__in_opt ID3D10Predicate *pPredicate, __in_opt ID3D10Predicate *pPredicate,
/* */ /* [annotation] */
__in BOOL PredicateValue) = 0; __in BOOL PredicateValue) = 0;
virtual void STDMETHODCALLTYPE GSSetShaderResources( virtual void STDMETHODCALLTYPE GSSetShaderResources(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews) = 0; __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews) = 0;
virtual void STDMETHODCALLTYPE GSSetSamplers( virtual void STDMETHODCALLTYPE GSSetSamplers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0 ; __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers) = 0 ;
virtual void STDMETHODCALLTYPE OMSetRenderTargets( virtual void STDMETHODCALLTYPE OMSetRenderTargets(
/* */ /* [annotation] */
__in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws, __in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws,
/* */ /* [annotation] */
__in_ecount_opt(NumViews) ID3D10RenderTargetView *const *ppRenderTa rgetViews, __in_ecount_opt(NumViews) ID3D10RenderTargetView *const *ppRenderTa rgetViews,
/* */ /* [annotation] */
__in_opt ID3D10DepthStencilView *pDepthStencilView) = 0; __in_opt ID3D10DepthStencilView *pDepthStencilView) = 0;
virtual void STDMETHODCALLTYPE OMSetBlendState( virtual void STDMETHODCALLTYPE OMSetBlendState(
/* */ /* [annotation] */
__in_opt ID3D10BlendState *pBlendState, __in_opt ID3D10BlendState *pBlendState,
/* */ /* [annotation] */
__in const FLOAT BlendFactor[ 4 ], __in const FLOAT BlendFactor[ 4 ],
/* */ /* [annotation] */
__in UINT SampleMask) = 0; __in UINT SampleMask) = 0;
virtual void STDMETHODCALLTYPE OMSetDepthStencilState( virtual void STDMETHODCALLTYPE OMSetDepthStencilState(
/* */ /* [annotation] */
__in_opt ID3D10DepthStencilState *pDepthStencilState, __in_opt ID3D10DepthStencilState *pDepthStencilState,
/* */ /* [annotation] */
__in UINT StencilRef) = 0; __in UINT StencilRef) = 0;
virtual void STDMETHODCALLTYPE SOSetTargets( virtual void STDMETHODCALLTYPE SOSetTargets(
/* */ /* [annotation] */
__in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT) UINT NumBuffers, __in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
/* */ /* [annotation] */
__in_ecount_opt(NumBuffers) ID3D10Buffer *const *ppSOTargets, __in_ecount_opt(NumBuffers) ID3D10Buffer *const *ppSOTargets,
/* */ /* [annotation] */
__in_ecount_opt(NumBuffers) const UINT *pOffsets) = 0; __in_ecount_opt(NumBuffers) const UINT *pOffsets) = 0;
virtual void STDMETHODCALLTYPE DrawAuto( void) = 0; virtual void STDMETHODCALLTYPE DrawAuto( void) = 0;
virtual void STDMETHODCALLTYPE RSSetState( virtual void STDMETHODCALLTYPE RSSetState(
/* */ /* [annotation] */
__in_opt ID3D10RasterizerState *pRasterizerState) = 0; __in_opt ID3D10RasterizerState *pRasterizerState) = 0;
virtual void STDMETHODCALLTYPE RSSetViewports( virtual void STDMETHODCALLTYPE RSSetViewports(
/* */ /* [annotation] */
__in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumViewports, __in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumViewports,
/* */ /* [annotation] */
__in_ecount_opt(NumViewports) const D3D10_VIEWPORT *pViewports) = 0 ; __in_ecount_opt(NumViewports) const D3D10_VIEWPORT *pViewports) = 0 ;
virtual void STDMETHODCALLTYPE RSSetScissorRects( virtual void STDMETHODCALLTYPE RSSetScissorRects(
/* */ /* [annotation] */
__in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumRects, __in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumRects,
/* */ /* [annotation] */
__in_ecount_opt(NumRects) const D3D10_RECT *pRects) = 0; __in_ecount_opt(NumRects) const D3D10_RECT *pRects) = 0;
virtual void STDMETHODCALLTYPE CopySubresourceRegion( virtual void STDMETHODCALLTYPE CopySubresourceRegion(
/* */ /* [annotation] */
__in ID3D10Resource *pDstResource, __in ID3D10Resource *pDstResource,
/* */ /* [annotation] */
__in UINT DstSubresource, __in UINT DstSubresource,
/* */ /* [annotation] */
__in UINT DstX, __in UINT DstX,
/* */ /* [annotation] */
__in UINT DstY, __in UINT DstY,
/* */ /* [annotation] */
__in UINT DstZ, __in UINT DstZ,
/* */ /* [annotation] */
__in ID3D10Resource *pSrcResource, __in ID3D10Resource *pSrcResource,
/* */ /* [annotation] */
__in UINT SrcSubresource, __in UINT SrcSubresource,
/* */ /* [annotation] */
__in_opt const D3D10_BOX *pSrcBox) = 0; __in_opt const D3D10_BOX *pSrcBox) = 0;
virtual void STDMETHODCALLTYPE CopyResource( virtual void STDMETHODCALLTYPE CopyResource(
/* */ /* [annotation] */
__in ID3D10Resource *pDstResource, __in ID3D10Resource *pDstResource,
/* */ /* [annotation] */
__in ID3D10Resource *pSrcResource) = 0; __in ID3D10Resource *pSrcResource) = 0;
virtual void STDMETHODCALLTYPE UpdateSubresource( virtual void STDMETHODCALLTYPE UpdateSubresource(
/* */ /* [annotation] */
__in ID3D10Resource *pDstResource, __in ID3D10Resource *pDstResource,
/* */ /* [annotation] */
__in UINT DstSubresource, __in UINT DstSubresource,
/* */ /* [annotation] */
__in_opt const D3D10_BOX *pDstBox, __in_opt const D3D10_BOX *pDstBox,
/* */ /* [annotation] */
__in const void *pSrcData, __in const void *pSrcData,
/* */ /* [annotation] */
__in UINT SrcRowPitch, __in UINT SrcRowPitch,
/* */ /* [annotation] */
__in UINT SrcDepthPitch) = 0; __in UINT SrcDepthPitch) = 0;
virtual void STDMETHODCALLTYPE ClearRenderTargetView( virtual void STDMETHODCALLTYPE ClearRenderTargetView(
/* */ /* [annotation] */
__in ID3D10RenderTargetView *pRenderTargetView, __in ID3D10RenderTargetView *pRenderTargetView,
/* */ /* [annotation] */
__in const FLOAT ColorRGBA[ 4 ]) = 0; __in const FLOAT ColorRGBA[ 4 ]) = 0;
virtual void STDMETHODCALLTYPE ClearDepthStencilView( virtual void STDMETHODCALLTYPE ClearDepthStencilView(
/* */ /* [annotation] */
__in ID3D10DepthStencilView *pDepthStencilView, __in ID3D10DepthStencilView *pDepthStencilView,
/* */ /* [annotation] */
__in UINT ClearFlags, __in UINT ClearFlags,
/* */ /* [annotation] */
__in FLOAT Depth, __in FLOAT Depth,
/* */ /* [annotation] */
__in UINT8 Stencil) = 0; __in UINT8 Stencil) = 0;
virtual void STDMETHODCALLTYPE GenerateMips( virtual void STDMETHODCALLTYPE GenerateMips(
/* */ /* [annotation] */
__in ID3D10ShaderResourceView *pShaderResourceView) = 0; __in ID3D10ShaderResourceView *pShaderResourceView) = 0;
virtual void STDMETHODCALLTYPE ResolveSubresource( virtual void STDMETHODCALLTYPE ResolveSubresource(
/* */ /* [annotation] */
__in ID3D10Resource *pDstResource, __in ID3D10Resource *pDstResource,
/* */ /* [annotation] */
__in UINT DstSubresource, __in UINT DstSubresource,
/* */ /* [annotation] */
__in ID3D10Resource *pSrcResource, __in ID3D10Resource *pSrcResource,
/* */ /* [annotation] */
__in UINT SrcSubresource, __in UINT SrcSubresource,
/* */ /* [annotation] */
__in DXGI_FORMAT Format) = 0; __in DXGI_FORMAT Format) = 0;
virtual void STDMETHODCALLTYPE VSGetConstantBuffers( virtual void STDMETHODCALLTYPE VSGetConstantBuffers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0; __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE PSGetShaderResources( virtual void STDMETHODCALLTYPE PSGetShaderResources(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews) = 0; __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews) = 0;
virtual void STDMETHODCALLTYPE PSGetShader( virtual void STDMETHODCALLTYPE PSGetShader(
/* */ /* [annotation] */
__out ID3D10PixelShader **ppPixelShader) = 0; __out ID3D10PixelShader **ppPixelShader) = 0;
virtual void STDMETHODCALLTYPE PSGetSamplers( virtual void STDMETHODCALLTYPE PSGetSamplers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers) = 0; __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE VSGetShader( virtual void STDMETHODCALLTYPE VSGetShader(
/* */ /* [annotation] */
__out ID3D10VertexShader **ppVertexShader) = 0; __out ID3D10VertexShader **ppVertexShader) = 0;
virtual void STDMETHODCALLTYPE PSGetConstantBuffers( virtual void STDMETHODCALLTYPE PSGetConstantBuffers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0; __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE IAGetInputLayout( virtual void STDMETHODCALLTYPE IAGetInputLayout(
/* */ /* [annotation] */
__out ID3D10InputLayout **ppInputLayout) = 0; __out ID3D10InputLayout **ppInputLayout) = 0;
virtual void STDMETHODCALLTYPE IAGetVertexBuffers( virtual void STDMETHODCALLTYPE IAGetVertexBuffers(
/* */ /* [annotation] */
__in_range( 0, D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UI
StartSlot, NT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSl
) UINT NumBuffers, ot ) UINT NumBuffers,
/* */ /* [annotation] */
__out_ecount_opt(NumBuffers) ID3D10Buffer **ppVertexBuffers, __out_ecount_opt(NumBuffers) ID3D10Buffer **ppVertexBuffers,
/* */ /* [annotation] */
__out_ecount_opt(NumBuffers) UINT *pStrides, __out_ecount_opt(NumBuffers) UINT *pStrides,
/* */ /* [annotation] */
__out_ecount_opt(NumBuffers) UINT *pOffsets) = 0; __out_ecount_opt(NumBuffers) UINT *pOffsets) = 0;
virtual void STDMETHODCALLTYPE IAGetIndexBuffer( virtual void STDMETHODCALLTYPE IAGetIndexBuffer(
/* */ /* [annotation] */
__out_opt ID3D10Buffer **pIndexBuffer, __out_opt ID3D10Buffer **pIndexBuffer,
/* */ /* [annotation] */
__out_opt DXGI_FORMAT *Format, __out_opt DXGI_FORMAT *Format,
/* */ /* [annotation] */
__out_opt UINT *Offset) = 0; __out_opt UINT *Offset) = 0;
virtual void STDMETHODCALLTYPE GSGetConstantBuffers( virtual void STDMETHODCALLTYPE GSGetConstantBuffers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0; __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers) = 0;
virtual void STDMETHODCALLTYPE GSGetShader( virtual void STDMETHODCALLTYPE GSGetShader(
/* */ /* [annotation] */
__out ID3D10GeometryShader **ppGeometryShader) = 0; __out ID3D10GeometryShader **ppGeometryShader) = 0;
virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology( virtual void STDMETHODCALLTYPE IAGetPrimitiveTopology(
/* */ /* [annotation] */
__out D3D10_PRIMITIVE_TOPOLOGY *pTopology) = 0; __out D3D10_PRIMITIVE_TOPOLOGY *pTopology) = 0;
virtual void STDMETHODCALLTYPE VSGetShaderResources( virtual void STDMETHODCALLTYPE VSGetShaderResources(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews) = 0; __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews) = 0;
virtual void STDMETHODCALLTYPE VSGetSamplers( virtual void STDMETHODCALLTYPE VSGetSamplers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers) = 0; __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE GetPredication( virtual void STDMETHODCALLTYPE GetPredication(
/* */ /* [annotation] */
__out_opt ID3D10Predicate **ppPredicate, __out_opt ID3D10Predicate **ppPredicate,
/* */ /* [annotation] */
__out_opt BOOL *pPredicateValue) = 0; __out_opt BOOL *pPredicateValue) = 0;
virtual void STDMETHODCALLTYPE GSGetShaderResources( virtual void STDMETHODCALLTYPE GSGetShaderResources(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews) = 0; __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews) = 0;
virtual void STDMETHODCALLTYPE GSGetSamplers( virtual void STDMETHODCALLTYPE GSGetSamplers(
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers) = 0; __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers) = 0;
virtual void STDMETHODCALLTYPE OMGetRenderTargets( virtual void STDMETHODCALLTYPE OMGetRenderTargets(
/* */ /* [annotation] */
__in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws, __in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws,
/* */ /* [annotation] */
__out_ecount_opt(NumViews) ID3D10RenderTargetView **ppRenderTargetV iews, __out_ecount_opt(NumViews) ID3D10RenderTargetView **ppRenderTargetV iews,
/* */ /* [annotation] */
__out_opt ID3D10DepthStencilView **ppDepthStencilView) = 0; __out_opt ID3D10DepthStencilView **ppDepthStencilView) = 0;
virtual void STDMETHODCALLTYPE OMGetBlendState( virtual void STDMETHODCALLTYPE OMGetBlendState(
/* */ /* [annotation] */
__out_opt ID3D10BlendState **ppBlendState, __out_opt ID3D10BlendState **ppBlendState,
/* */ /* [annotation] */
__out_opt FLOAT BlendFactor[ 4 ], __out_opt FLOAT BlendFactor[ 4 ],
/* */ /* [annotation] */
__out_opt UINT *pSampleMask) = 0; __out_opt UINT *pSampleMask) = 0;
virtual void STDMETHODCALLTYPE OMGetDepthStencilState( virtual void STDMETHODCALLTYPE OMGetDepthStencilState(
/* */ /* [annotation] */
__out_opt ID3D10DepthStencilState **ppDepthStencilState, __out_opt ID3D10DepthStencilState **ppDepthStencilState,
/* */ /* [annotation] */
__out_opt UINT *pStencilRef) = 0; __out_opt UINT *pStencilRef) = 0;
virtual void STDMETHODCALLTYPE SOGetTargets( virtual void STDMETHODCALLTYPE SOGetTargets(
/* */ /* [annotation] */
__in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers, __in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
/* */ /* [annotation] */
__out_ecount_opt(NumBuffers) ID3D10Buffer **ppSOTargets, __out_ecount_opt(NumBuffers) ID3D10Buffer **ppSOTargets,
/* */ /* [annotation] */
__out_ecount_opt(NumBuffers) UINT *pOffsets) = 0; __out_ecount_opt(NumBuffers) UINT *pOffsets) = 0;
virtual void STDMETHODCALLTYPE RSGetState( virtual void STDMETHODCALLTYPE RSGetState(
/* */ /* [annotation] */
__out ID3D10RasterizerState **ppRasterizerState) = 0; __out ID3D10RasterizerState **ppRasterizerState) = 0;
virtual void STDMETHODCALLTYPE RSGetViewports( virtual void STDMETHODCALLTYPE RSGetViewports(
/* */ /* [annotation] */
__inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *NumViewports, __inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *NumViewports,
/* */ /* [annotation] */
__out_ecount_opt(NumViewports) D3D10_VIEWPORT *pViewports) = 0; __out_ecount_opt(*NumViewports) D3D10_VIEWPORT *pViewports) = 0;
virtual void STDMETHODCALLTYPE RSGetScissorRects( virtual void STDMETHODCALLTYPE RSGetScissorRects(
/* */ /* [annotation] */
__inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *NumRects, __inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *NumRects,
/* */ /* [annotation] */
__out_ecount_opt(NumRects) D3D10_RECT *pRects) = 0; __out_ecount_opt(*NumRects) D3D10_RECT *pRects) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason( void) = 0; virtual HRESULT STDMETHODCALLTYPE GetDeviceRemovedReason( void) = 0;
virtual HRESULT STDMETHODCALLTYPE SetExceptionMode( virtual HRESULT STDMETHODCALLTYPE SetExceptionMode(
UINT RaiseFlags) = 0; UINT RaiseFlags) = 0;
virtual UINT STDMETHODCALLTYPE GetExceptionMode( void) = 0; virtual UINT STDMETHODCALLTYPE GetExceptionMode( void) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPrivateData( virtual HRESULT STDMETHODCALLTYPE GetPrivateData(
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData) = 0; __out_bcount_opt(*pDataSize) void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateData( virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData) = 0; __in_bcount_opt(DataSize) const void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface( virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData) = 0; __in_opt const IUnknown *pData) = 0;
virtual void STDMETHODCALLTYPE ClearState( void) = 0; virtual void STDMETHODCALLTYPE ClearState( void) = 0;
virtual void STDMETHODCALLTYPE Flush( void) = 0; virtual void STDMETHODCALLTYPE Flush( void) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateBuffer( virtual HRESULT STDMETHODCALLTYPE CreateBuffer(
/* */ /* [annotation] */
__in const D3D10_BUFFER_DESC *pDesc, __in const D3D10_BUFFER_DESC *pDesc,
/* */ /* [annotation] */
__in_opt const D3D10_SUBRESOURCE_DATA *pInitialData, __in_opt const D3D10_SUBRESOURCE_DATA *pInitialData,
/* */ /* [annotation] */
__out_opt ID3D10Buffer **ppBuffer) = 0; __out_opt ID3D10Buffer **ppBuffer) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateTexture1D( virtual HRESULT STDMETHODCALLTYPE CreateTexture1D(
/* */ /* [annotation] */
__in const D3D10_TEXTURE1D_DESC *pDesc, __in const D3D10_TEXTURE1D_DESC *pDesc,
/* */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SU BRESOURCE_DATA *pInitialData, __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SU BRESOURCE_DATA *pInitialData,
/* */ /* [annotation] */
__out ID3D10Texture1D **ppTexture1D) = 0; __out ID3D10Texture1D **ppTexture1D) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateTexture2D( virtual HRESULT STDMETHODCALLTYPE CreateTexture2D(
/* */ /* [annotation] */
__in const D3D10_TEXTURE2D_DESC *pDesc, __in const D3D10_TEXTURE2D_DESC *pDesc,
/* */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SU BRESOURCE_DATA *pInitialData, __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SU BRESOURCE_DATA *pInitialData,
/* */ /* [annotation] */
__out ID3D10Texture2D **ppTexture2D) = 0; __out ID3D10Texture2D **ppTexture2D) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateTexture3D( virtual HRESULT STDMETHODCALLTYPE CreateTexture3D(
/* */ /* [annotation] */
__in const D3D10_TEXTURE3D_DESC *pDesc, __in const D3D10_TEXTURE3D_DESC *pDesc,
/* */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels) const D3D10_SUBRESOURCE_DATA *pIn itialData, __in_xcount_opt(pDesc->MipLevels) const D3D10_SUBRESOURCE_DATA *pIn itialData,
/* */ /* [annotation] */
__out ID3D10Texture3D **ppTexture3D) = 0; __out ID3D10Texture3D **ppTexture3D) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView( virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView(
/* */ /* [annotation] */
__in ID3D10Resource *pResource, __in ID3D10Resource *pResource,
/* */ /* [annotation] */
__in_opt const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc, __in_opt const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,
/* */ /* [annotation] */
__out_opt ID3D10ShaderResourceView **ppSRView) = 0; __out_opt ID3D10ShaderResourceView **ppSRView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView( virtual HRESULT STDMETHODCALLTYPE CreateRenderTargetView(
/* */ /* [annotation] */
__in ID3D10Resource *pResource, __in ID3D10Resource *pResource,
/* */ /* [annotation] */
__in_opt const D3D10_RENDER_TARGET_VIEW_DESC *pDesc, __in_opt const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,
/* */ /* [annotation] */
__out_opt ID3D10RenderTargetView **ppRTView) = 0; __out_opt ID3D10RenderTargetView **ppRTView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView( virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilView(
/* */ /* [annotation] */
__in ID3D10Resource *pResource, __in ID3D10Resource *pResource,
/* */ /* [annotation] */
__in_opt const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc, __in_opt const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,
/* */ /* [annotation] */
__out_opt ID3D10DepthStencilView **ppDepthStencilView) = 0; __out_opt ID3D10DepthStencilView **ppDepthStencilView) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateInputLayout( virtual HRESULT STDMETHODCALLTYPE CreateInputLayout(
/* */ /* [annotation] */
__in_ecount(NumElements) const D3D10_INPUT_ELEMENT_DESC *pInputElem entDescs, __in_ecount(NumElements) const D3D10_INPUT_ELEMENT_DESC *pInputElem entDescs,
/* */ /* [annotation] */
__in_range( 0, D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT __in_range( 0, D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UI
NumElements, NT NumElements,
/* */ /* [annotation] */
__in const void *pShaderBytecodeWithInputSignature, __in const void *pShaderBytecodeWithInputSignature,
/* */ /* [annotation] */
__in SIZE_T BytecodeLength, __in SIZE_T BytecodeLength,
/* */ /* [annotation] */
__out_opt ID3D10InputLayout **ppInputLayout) = 0; __out_opt ID3D10InputLayout **ppInputLayout) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateVertexShader( virtual HRESULT STDMETHODCALLTYPE CreateVertexShader(
/* */ /* [annotation] */
__in const void *pShaderBytecode, __in const void *pShaderBytecode,
/* */ /* [annotation] */
__in SIZE_T BytecodeLength, __in SIZE_T BytecodeLength,
/* */ /* [annotation] */
__out_opt ID3D10VertexShader **ppVertexShader) = 0; __out_opt ID3D10VertexShader **ppVertexShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader( virtual HRESULT STDMETHODCALLTYPE CreateGeometryShader(
/* */ /* [annotation] */
__in const void *pShaderBytecode, __in const void *pShaderBytecode,
/* */ /* [annotation] */
__in SIZE_T BytecodeLength, __in SIZE_T BytecodeLength,
/* */ /* [annotation] */
__out_opt ID3D10GeometryShader **ppGeometryShader) = 0; __out_opt ID3D10GeometryShader **ppGeometryShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput( virtual HRESULT STDMETHODCALLTYPE CreateGeometryShaderWithStreamOutput(
/* */ /* [annotation] */
__in const void *pShaderBytecode, __in const void *pShaderBytecode,
/* */ /* [annotation] */
__in SIZE_T BytecodeLength, __in SIZE_T BytecodeLength,
/* */ /* [annotation] */
__in_ecount_opt(NumEntries) const D3D10_SO_DECLARATION_ENTRY *pSODe claration, __in_ecount_opt(NumEntries) const D3D10_SO_DECLARATION_ENTRY *pSODe claration,
/* */ /* [annotation] */
__in_range( 0, D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT ) UINT NumEnt ries, __in_range( 0, D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT ) UINT NumEnt ries,
/* */ /* [annotation] */
__in UINT OutputStreamStride, __in UINT OutputStreamStride,
/* */ /* [annotation] */
__out_opt ID3D10GeometryShader **ppGeometryShader) = 0; __out_opt ID3D10GeometryShader **ppGeometryShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePixelShader( virtual HRESULT STDMETHODCALLTYPE CreatePixelShader(
/* */ /* [annotation] */
__in const void *pShaderBytecode, __in const void *pShaderBytecode,
/* */ /* [annotation] */
__in SIZE_T BytecodeLength, __in SIZE_T BytecodeLength,
/* */ /* [annotation] */
__out_opt ID3D10PixelShader **ppPixelShader) = 0; __out_opt ID3D10PixelShader **ppPixelShader) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateBlendState( virtual HRESULT STDMETHODCALLTYPE CreateBlendState(
/* */ /* [annotation] */
__in const D3D10_BLEND_DESC *pBlendStateDesc, __in const D3D10_BLEND_DESC *pBlendStateDesc,
/* */ /* [annotation] */
__out_opt ID3D10BlendState **ppBlendState) = 0; __out_opt ID3D10BlendState **ppBlendState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState( virtual HRESULT STDMETHODCALLTYPE CreateDepthStencilState(
/* */ /* [annotation] */
__in const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc, __in const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,
/* */ /* [annotation] */
__out_opt ID3D10DepthStencilState **ppDepthStencilState) = 0; __out_opt ID3D10DepthStencilState **ppDepthStencilState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState( virtual HRESULT STDMETHODCALLTYPE CreateRasterizerState(
/* */ /* [annotation] */
__in const D3D10_RASTERIZER_DESC *pRasterizerDesc, __in const D3D10_RASTERIZER_DESC *pRasterizerDesc,
/* */ /* [annotation] */
__out_opt ID3D10RasterizerState **ppRasterizerState) = 0; __out_opt ID3D10RasterizerState **ppRasterizerState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateSamplerState( virtual HRESULT STDMETHODCALLTYPE CreateSamplerState(
/* */ /* [annotation] */
__in const D3D10_SAMPLER_DESC *pSamplerDesc, __in const D3D10_SAMPLER_DESC *pSamplerDesc,
/* */ /* [annotation] */
__out_opt ID3D10SamplerState **ppSamplerState) = 0; __out_opt ID3D10SamplerState **ppSamplerState) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateQuery( virtual HRESULT STDMETHODCALLTYPE CreateQuery(
/* */ /* [annotation] */
__in const D3D10_QUERY_DESC *pQueryDesc, __in const D3D10_QUERY_DESC *pQueryDesc,
/* */ /* [annotation] */
__out_opt ID3D10Query **ppQuery) = 0; __out_opt ID3D10Query **ppQuery) = 0;
virtual HRESULT STDMETHODCALLTYPE CreatePredicate( virtual HRESULT STDMETHODCALLTYPE CreatePredicate(
/* */ /* [annotation] */
__in const D3D10_QUERY_DESC *pPredicateDesc, __in const D3D10_QUERY_DESC *pPredicateDesc,
/* */ /* [annotation] */
__out_opt ID3D10Predicate **ppPredicate) = 0; __out_opt ID3D10Predicate **ppPredicate) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateCounter( virtual HRESULT STDMETHODCALLTYPE CreateCounter(
/* */ /* [annotation] */
__in const D3D10_COUNTER_DESC *pCounterDesc, __in const D3D10_COUNTER_DESC *pCounterDesc,
/* */ /* [annotation] */
__out_opt ID3D10Counter **ppCounter) = 0; __out_opt ID3D10Counter **ppCounter) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport( virtual HRESULT STDMETHODCALLTYPE CheckFormatSupport(
/* */ /* [annotation] */
__in DXGI_FORMAT Format, __in DXGI_FORMAT Format,
/* */ /* [annotation] */
__out UINT *pFormatSupport) = 0; __out UINT *pFormatSupport) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels( virtual HRESULT STDMETHODCALLTYPE CheckMultisampleQualityLevels(
/* */ /* [annotation] */
__in DXGI_FORMAT Format, __in DXGI_FORMAT Format,
/* */ /* [annotation] */
__in UINT SampleCount, __in UINT SampleCount,
/* */ /* [annotation] */
__out UINT *pNumQualityLevels) = 0; __out UINT *pNumQualityLevels) = 0;
virtual void STDMETHODCALLTYPE CheckCounterInfo( virtual void STDMETHODCALLTYPE CheckCounterInfo(
/* */ /* [annotation] */
__out D3D10_COUNTER_INFO *pCounterInfo) = 0; __out D3D10_COUNTER_INFO *pCounterInfo) = 0;
virtual HRESULT STDMETHODCALLTYPE CheckCounter( virtual HRESULT STDMETHODCALLTYPE CheckCounter(
/* */ /* [annotation] */
__in const D3D10_COUNTER_DESC *pDesc, __in const D3D10_COUNTER_DESC *pDesc,
/* */ /* [annotation] */
__out D3D10_COUNTER_TYPE *pType, __out D3D10_COUNTER_TYPE *pType,
/* */ /* [annotation] */
__out UINT *pActiveCounters, __out UINT *pActiveCounters,
/* */ /* [annotation] */
__out_ecount_opt(*pNameLength) LPSTR szName, __out_ecount_opt(*pNameLength) LPSTR szName,
/* */ /* [annotation] */
__inout_opt UINT *pNameLength, __inout_opt UINT *pNameLength,
/* */ /* [annotation] */
__out_ecount_opt(*pUnitsLength) LPSTR szUnits, __out_ecount_opt(*pUnitsLength) LPSTR szUnits,
/* */ /* [annotation] */
__inout_opt UINT *pUnitsLength, __inout_opt UINT *pUnitsLength,
/* */ /* [annotation] */
__out_ecount_opt(*pDescriptionLength) LPSTR szDescription, __out_ecount_opt(*pDescriptionLength) LPSTR szDescription,
/* */ /* [annotation] */
__inout_opt UINT *pDescriptionLength) = 0; __inout_opt UINT *pDescriptionLength) = 0;
virtual UINT STDMETHODCALLTYPE GetCreationFlags( void) = 0; virtual UINT STDMETHODCALLTYPE GetCreationFlags( void) = 0;
virtual HRESULT STDMETHODCALLTYPE OpenSharedResource( virtual HRESULT STDMETHODCALLTYPE OpenSharedResource(
/* */ /* [annotation] */
__in HANDLE hResource, __in HANDLE hResource,
/* */ /* [annotation] */
__in REFIID ReturnedInterface, __in REFIID ReturnedInterface,
/* */ /* [annotation] */
__out_opt void **ppResource) = 0; __out_opt void **ppResource) = 0;
virtual void STDMETHODCALLTYPE SetTextFilterSize( virtual void STDMETHODCALLTYPE SetTextFilterSize(
/* */ /* [annotation] */
__in UINT Width, __in UINT Width,
/* */ /* [annotation] */
__in UINT Height) = 0; __in UINT Height) = 0;
virtual void STDMETHODCALLTYPE GetTextFilterSize( virtual void STDMETHODCALLTYPE GetTextFilterSize(
/* */ /* [annotation] */
__out_opt UINT *pWidth, __out_opt UINT *pWidth,
/* */ /* [annotation] */
__out_opt UINT *pHeight) = 0; __out_opt UINT *pHeight) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10DeviceVtbl typedef struct ID3D10DeviceVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Device * This, ID3D10Device * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Device * This); ID3D10Device * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Device * This); ID3D10Device * This);
void ( STDMETHODCALLTYPE *VSSetConstantBuffers )( void ( STDMETHODCALLTYPE *VSSetConstantBuffers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers); __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *PSSetShaderResources )( void ( STDMETHODCALLTYPE *PSSetShaderResources )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews); __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews);
void ( STDMETHODCALLTYPE *PSSetShader )( void ( STDMETHODCALLTYPE *PSSetShader )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_opt ID3D10PixelShader *pPixelShader); __in_opt ID3D10PixelShader *pPixelShader);
void ( STDMETHODCALLTYPE *PSSetSamplers )( void ( STDMETHODCALLTYPE *PSSetSamplers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers); __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *VSSetShader )( void ( STDMETHODCALLTYPE *VSSetShader )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_opt ID3D10VertexShader *pVertexShader); __in_opt ID3D10VertexShader *pVertexShader);
void ( STDMETHODCALLTYPE *DrawIndexed )( void ( STDMETHODCALLTYPE *DrawIndexed )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in UINT IndexCount, __in UINT IndexCount,
/* */ /* [annotation] */
__in UINT StartIndexLocation, __in UINT StartIndexLocation,
/* */ /* [annotation] */
__in INT BaseVertexLocation); __in INT BaseVertexLocation);
void ( STDMETHODCALLTYPE *Draw )( void ( STDMETHODCALLTYPE *Draw )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in UINT VertexCount, __in UINT VertexCount,
/* */ /* [annotation] */
__in UINT StartVertexLocation); __in UINT StartVertexLocation);
void ( STDMETHODCALLTYPE *PSSetConstantBuffers )( void ( STDMETHODCALLTYPE *PSSetConstantBuffers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers); __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *IASetInputLayout )( void ( STDMETHODCALLTYPE *IASetInputLayout )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_opt ID3D10InputLayout *pInputLayout); __in_opt ID3D10InputLayout *pInputLayout);
void ( STDMETHODCALLTYPE *IASetVertexBuffers )( void ( STDMETHODCALLTYPE *IASetVertexBuffers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UI
StartSlot, NT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSl
) UINT NumBuffers, ot ) UINT NumBuffers,
/* */ /* [annotation] */
__in_ecount(NumBuffers) ID3D10Buffer *const *ppVertexBuffers, __in_ecount(NumBuffers) ID3D10Buffer *const *ppVertexBuffers,
/* */ /* [annotation] */
__in_ecount(NumBuffers) const UINT *pStrides, __in_ecount(NumBuffers) const UINT *pStrides,
/* */ /* [annotation] */
__in_ecount(NumBuffers) const UINT *pOffsets); __in_ecount(NumBuffers) const UINT *pOffsets);
void ( STDMETHODCALLTYPE *IASetIndexBuffer )( void ( STDMETHODCALLTYPE *IASetIndexBuffer )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_opt ID3D10Buffer *pIndexBuffer, __in_opt ID3D10Buffer *pIndexBuffer,
/* */ /* [annotation] */
__in DXGI_FORMAT Format, __in DXGI_FORMAT Format,
/* */ /* [annotation] */
__in UINT Offset); __in UINT Offset);
void ( STDMETHODCALLTYPE *DrawIndexedInstanced )( void ( STDMETHODCALLTYPE *DrawIndexedInstanced )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in UINT IndexCountPerInstance, __in UINT IndexCountPerInstance,
/* */ /* [annotation] */
__in UINT InstanceCount, __in UINT InstanceCount,
/* */ /* [annotation] */
__in UINT StartIndexLocation, __in UINT StartIndexLocation,
/* */ /* [annotation] */
__in INT BaseVertexLocation, __in INT BaseVertexLocation,
/* */ /* [annotation] */
__in UINT StartInstanceLocation); __in UINT StartInstanceLocation);
void ( STDMETHODCALLTYPE *DrawInstanced )( void ( STDMETHODCALLTYPE *DrawInstanced )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in UINT VertexCountPerInstance, __in UINT VertexCountPerInstance,
/* */ /* [annotation] */
__in UINT InstanceCount, __in UINT InstanceCount,
/* */ /* [annotation] */
__in UINT StartVertexLocation, __in UINT StartVertexLocation,
/* */ /* [annotation] */
__in UINT StartInstanceLocation); __in UINT StartInstanceLocation);
void ( STDMETHODCALLTYPE *GSSetConstantBuffers )( void ( STDMETHODCALLTYPE *GSSetConstantBuffers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers); __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers);
void ( STDMETHODCALLTYPE *GSSetShader )( void ( STDMETHODCALLTYPE *GSSetShader )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_opt ID3D10GeometryShader *pShader); __in_opt ID3D10GeometryShader *pShader);
void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )( void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in D3D10_PRIMITIVE_TOPOLOGY Topology); __in D3D10_PRIMITIVE_TOPOLOGY Topology);
void ( STDMETHODCALLTYPE *VSSetShaderResources )( void ( STDMETHODCALLTYPE *VSSetShaderResources )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews); __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews);
void ( STDMETHODCALLTYPE *VSSetSamplers )( void ( STDMETHODCALLTYPE *VSSetSamplers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers); __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *SetPredication )( void ( STDMETHODCALLTYPE *SetPredication )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_opt ID3D10Predicate *pPredicate, __in_opt ID3D10Predicate *pPredicate,
/* */ /* [annotation] */
__in BOOL PredicateValue); __in BOOL PredicateValue);
void ( STDMETHODCALLTYPE *GSSetShaderResources )( void ( STDMETHODCALLTYPE *GSSetShaderResources )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews); __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso urceViews);
void ( STDMETHODCALLTYPE *GSSetSamplers )( void ( STDMETHODCALLTYPE *GSSetSamplers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers); __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers);
void ( STDMETHODCALLTYPE *OMSetRenderTargets )( void ( STDMETHODCALLTYPE *OMSetRenderTargets )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws, __in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws,
/* */ /* [annotation] */
__in_ecount_opt(NumViews) ID3D10RenderTargetView *const *ppRenderTa rgetViews, __in_ecount_opt(NumViews) ID3D10RenderTargetView *const *ppRenderTa rgetViews,
/* */ /* [annotation] */
__in_opt ID3D10DepthStencilView *pDepthStencilView); __in_opt ID3D10DepthStencilView *pDepthStencilView);
void ( STDMETHODCALLTYPE *OMSetBlendState )( void ( STDMETHODCALLTYPE *OMSetBlendState )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_opt ID3D10BlendState *pBlendState, __in_opt ID3D10BlendState *pBlendState,
/* */ /* [annotation] */
__in const FLOAT BlendFactor[ 4 ], __in const FLOAT BlendFactor[ 4 ],
/* */ /* [annotation] */
__in UINT SampleMask); __in UINT SampleMask);
void ( STDMETHODCALLTYPE *OMSetDepthStencilState )( void ( STDMETHODCALLTYPE *OMSetDepthStencilState )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_opt ID3D10DepthStencilState *pDepthStencilState, __in_opt ID3D10DepthStencilState *pDepthStencilState,
/* */ /* [annotation] */
__in UINT StencilRef); __in UINT StencilRef);
void ( STDMETHODCALLTYPE *SOSetTargets )( void ( STDMETHODCALLTYPE *SOSetTargets )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT) UINT NumBuffers, __in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT) UINT NumBuffers,
/* */ /* [annotation] */
__in_ecount_opt(NumBuffers) ID3D10Buffer *const *ppSOTargets, __in_ecount_opt(NumBuffers) ID3D10Buffer *const *ppSOTargets,
/* */ /* [annotation] */
__in_ecount_opt(NumBuffers) const UINT *pOffsets); __in_ecount_opt(NumBuffers) const UINT *pOffsets);
void ( STDMETHODCALLTYPE *DrawAuto )( void ( STDMETHODCALLTYPE *DrawAuto )(
ID3D10Device * This); ID3D10Device * This);
void ( STDMETHODCALLTYPE *RSSetState )( void ( STDMETHODCALLTYPE *RSSetState )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_opt ID3D10RasterizerState *pRasterizerState); __in_opt ID3D10RasterizerState *pRasterizerState);
void ( STDMETHODCALLTYPE *RSSetViewports )( void ( STDMETHODCALLTYPE *RSSetViewports )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumViewports, __in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumViewports,
/* */ /* [annotation] */
__in_ecount_opt(NumViewports) const D3D10_VIEWPORT *pViewports); __in_ecount_opt(NumViewports) const D3D10_VIEWPORT *pViewports);
void ( STDMETHODCALLTYPE *RSSetScissorRects )( void ( STDMETHODCALLTYPE *RSSetScissorRects )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumRects, __in_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELI NE) UINT NumRects,
/* */ /* [annotation] */
__in_ecount_opt(NumRects) const D3D10_RECT *pRects); __in_ecount_opt(NumRects) const D3D10_RECT *pRects);
void ( STDMETHODCALLTYPE *CopySubresourceRegion )( void ( STDMETHODCALLTYPE *CopySubresourceRegion )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in ID3D10Resource *pDstResource, __in ID3D10Resource *pDstResource,
/* */ /* [annotation] */
__in UINT DstSubresource, __in UINT DstSubresource,
/* */ /* [annotation] */
__in UINT DstX, __in UINT DstX,
/* */ /* [annotation] */
__in UINT DstY, __in UINT DstY,
/* */ /* [annotation] */
__in UINT DstZ, __in UINT DstZ,
/* */ /* [annotation] */
__in ID3D10Resource *pSrcResource, __in ID3D10Resource *pSrcResource,
/* */ /* [annotation] */
__in UINT SrcSubresource, __in UINT SrcSubresource,
/* */ /* [annotation] */
__in_opt const D3D10_BOX *pSrcBox); __in_opt const D3D10_BOX *pSrcBox);
void ( STDMETHODCALLTYPE *CopyResource )( void ( STDMETHODCALLTYPE *CopyResource )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in ID3D10Resource *pDstResource, __in ID3D10Resource *pDstResource,
/* */ /* [annotation] */
__in ID3D10Resource *pSrcResource); __in ID3D10Resource *pSrcResource);
void ( STDMETHODCALLTYPE *UpdateSubresource )( void ( STDMETHODCALLTYPE *UpdateSubresource )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in ID3D10Resource *pDstResource, __in ID3D10Resource *pDstResource,
/* */ /* [annotation] */
__in UINT DstSubresource, __in UINT DstSubresource,
/* */ /* [annotation] */
__in_opt const D3D10_BOX *pDstBox, __in_opt const D3D10_BOX *pDstBox,
/* */ /* [annotation] */
__in const void *pSrcData, __in const void *pSrcData,
/* */ /* [annotation] */
__in UINT SrcRowPitch, __in UINT SrcRowPitch,
/* */ /* [annotation] */
__in UINT SrcDepthPitch); __in UINT SrcDepthPitch);
void ( STDMETHODCALLTYPE *ClearRenderTargetView )( void ( STDMETHODCALLTYPE *ClearRenderTargetView )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in ID3D10RenderTargetView *pRenderTargetView, __in ID3D10RenderTargetView *pRenderTargetView,
/* */ /* [annotation] */
__in const FLOAT ColorRGBA[ 4 ]); __in const FLOAT ColorRGBA[ 4 ]);
void ( STDMETHODCALLTYPE *ClearDepthStencilView )( void ( STDMETHODCALLTYPE *ClearDepthStencilView )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in ID3D10DepthStencilView *pDepthStencilView, __in ID3D10DepthStencilView *pDepthStencilView,
/* */ /* [annotation] */
__in UINT ClearFlags, __in UINT ClearFlags,
/* */ /* [annotation] */
__in FLOAT Depth, __in FLOAT Depth,
/* */ /* [annotation] */
__in UINT8 Stencil); __in UINT8 Stencil);
void ( STDMETHODCALLTYPE *GenerateMips )( void ( STDMETHODCALLTYPE *GenerateMips )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in ID3D10ShaderResourceView *pShaderResourceView); __in ID3D10ShaderResourceView *pShaderResourceView);
void ( STDMETHODCALLTYPE *ResolveSubresource )( void ( STDMETHODCALLTYPE *ResolveSubresource )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in ID3D10Resource *pDstResource, __in ID3D10Resource *pDstResource,
/* */ /* [annotation] */
__in UINT DstSubresource, __in UINT DstSubresource,
/* */ /* [annotation] */
__in ID3D10Resource *pSrcResource, __in ID3D10Resource *pSrcResource,
/* */ /* [annotation] */
__in UINT SrcSubresource, __in UINT SrcSubresource,
/* */ /* [annotation] */
__in DXGI_FORMAT Format); __in DXGI_FORMAT Format);
void ( STDMETHODCALLTYPE *VSGetConstantBuffers )( void ( STDMETHODCALLTYPE *VSGetConstantBuffers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers); __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *PSGetShaderResources )( void ( STDMETHODCALLTYPE *PSGetShaderResources )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews); __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews);
void ( STDMETHODCALLTYPE *PSGetShader )( void ( STDMETHODCALLTYPE *PSGetShader )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out ID3D10PixelShader **ppPixelShader); __out ID3D10PixelShader **ppPixelShader);
void ( STDMETHODCALLTYPE *PSGetSamplers )( void ( STDMETHODCALLTYPE *PSGetSamplers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers); __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *VSGetShader )( void ( STDMETHODCALLTYPE *VSGetShader )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out ID3D10VertexShader **ppVertexShader); __out ID3D10VertexShader **ppVertexShader);
void ( STDMETHODCALLTYPE *PSGetConstantBuffers )( void ( STDMETHODCALLTYPE *PSGetConstantBuffers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers); __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *IAGetInputLayout )( void ( STDMETHODCALLTYPE *IAGetInputLayout )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out ID3D10InputLayout **ppInputLayout); __out ID3D10InputLayout **ppInputLayout);
void ( STDMETHODCALLTYPE *IAGetVertexBuffers )( void ( STDMETHODCALLTYPE *IAGetVertexBuffers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UINT __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UI
StartSlot, NT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSlot __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSl
) UINT NumBuffers, ot ) UINT NumBuffers,
/* */ /* [annotation] */
__out_ecount_opt(NumBuffers) ID3D10Buffer **ppVertexBuffers, __out_ecount_opt(NumBuffers) ID3D10Buffer **ppVertexBuffers,
/* */ /* [annotation] */
__out_ecount_opt(NumBuffers) UINT *pStrides, __out_ecount_opt(NumBuffers) UINT *pStrides,
/* */ /* [annotation] */
__out_ecount_opt(NumBuffers) UINT *pOffsets); __out_ecount_opt(NumBuffers) UINT *pOffsets);
void ( STDMETHODCALLTYPE *IAGetIndexBuffer )( void ( STDMETHODCALLTYPE *IAGetIndexBuffer )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out_opt ID3D10Buffer **pIndexBuffer, __out_opt ID3D10Buffer **pIndexBuffer,
/* */ /* [annotation] */
__out_opt DXGI_FORMAT *Format, __out_opt DXGI_FORMAT *Format,
/* */ /* [annotation] */
__out_opt UINT *Offset); __out_opt UINT *Offset);
void ( STDMETHODCALLTYPE *GSGetConstantBuffers )( void ( STDMETHODCALLTYPE *GSGetConstantBuffers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers, __in_range( 0, D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - S tartSlot ) UINT NumBuffers,
/* */ /* [annotation] */
__out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers); __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers);
void ( STDMETHODCALLTYPE *GSGetShader )( void ( STDMETHODCALLTYPE *GSGetShader )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out ID3D10GeometryShader **ppGeometryShader); __out ID3D10GeometryShader **ppGeometryShader);
void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )( void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out D3D10_PRIMITIVE_TOPOLOGY *pTopology); __out D3D10_PRIMITIVE_TOPOLOGY *pTopology);
void ( STDMETHODCALLTYPE *VSGetShaderResources )( void ( STDMETHODCALLTYPE *VSGetShaderResources )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews); __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews);
void ( STDMETHODCALLTYPE *VSGetSamplers )( void ( STDMETHODCALLTYPE *VSGetSamplers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers); __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *GetPredication )( void ( STDMETHODCALLTYPE *GetPredication )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out_opt ID3D10Predicate **ppPredicate, __out_opt ID3D10Predicate **ppPredicate,
/* */ /* [annotation] */
__out_opt BOOL *pPredicateValue); __out_opt BOOL *pPredicateValue);
void ( STDMETHODCALLTYPE *GSGetShaderResources )( void ( STDMETHODCALLTYPE *GSGetShaderResources )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1 ) U INT StartSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews, __in_range( 0, D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartS lot ) UINT NumViews,
/* */ /* [annotation] */
__out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews); __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV iews);
void ( STDMETHODCALLTYPE *GSGetSamplers )( void ( STDMETHODCALLTYPE *GSGetSamplers )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - 1 ) UINT Sta rtSlot,
/* */ /* [annotation] */
__in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers, __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot ) UINT NumSamplers,
/* */ /* [annotation] */
__out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers); __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers);
void ( STDMETHODCALLTYPE *OMGetRenderTargets )( void ( STDMETHODCALLTYPE *OMGetRenderTargets )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws, __in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie ws,
/* */ /* [annotation] */
__out_ecount_opt(NumViews) ID3D10RenderTargetView **ppRenderTargetV iews, __out_ecount_opt(NumViews) ID3D10RenderTargetView **ppRenderTargetV iews,
/* */ /* [annotation] */
__out_opt ID3D10DepthStencilView **ppDepthStencilView); __out_opt ID3D10DepthStencilView **ppDepthStencilView);
void ( STDMETHODCALLTYPE *OMGetBlendState )( void ( STDMETHODCALLTYPE *OMGetBlendState )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out_opt ID3D10BlendState **ppBlendState, __out_opt ID3D10BlendState **ppBlendState,
/* */ /* [annotation] */
__out_opt FLOAT BlendFactor[ 4 ], __out_opt FLOAT BlendFactor[ 4 ],
/* */ /* [annotation] */
__out_opt UINT *pSampleMask); __out_opt UINT *pSampleMask);
void ( STDMETHODCALLTYPE *OMGetDepthStencilState )( void ( STDMETHODCALLTYPE *OMGetDepthStencilState )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out_opt ID3D10DepthStencilState **ppDepthStencilState, __out_opt ID3D10DepthStencilState **ppDepthStencilState,
/* */ /* [annotation] */
__out_opt UINT *pStencilRef); __out_opt UINT *pStencilRef);
void ( STDMETHODCALLTYPE *SOGetTargets )( void ( STDMETHODCALLTYPE *SOGetTargets )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers, __in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers,
/* */ /* [annotation] */
__out_ecount_opt(NumBuffers) ID3D10Buffer **ppSOTargets, __out_ecount_opt(NumBuffers) ID3D10Buffer **ppSOTargets,
/* */ /* [annotation] */
__out_ecount_opt(NumBuffers) UINT *pOffsets); __out_ecount_opt(NumBuffers) UINT *pOffsets);
void ( STDMETHODCALLTYPE *RSGetState )( void ( STDMETHODCALLTYPE *RSGetState )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out ID3D10RasterizerState **ppRasterizerState); __out ID3D10RasterizerState **ppRasterizerState);
void ( STDMETHODCALLTYPE *RSGetViewports )( void ( STDMETHODCALLTYPE *RSGetViewports )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *NumViewports, __inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *NumViewports,
/* */ /* [annotation] */
__out_ecount_opt(NumViewports) D3D10_VIEWPORT *pViewports); __out_ecount_opt(*NumViewports) D3D10_VIEWPORT *pViewports);
void ( STDMETHODCALLTYPE *RSGetScissorRects )( void ( STDMETHODCALLTYPE *RSGetScissorRects )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *NumRects, __inout /*_range(0, D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_ PIPELINE )*/ UINT *NumRects,
/* */ /* [annotation] */
__out_ecount_opt(NumRects) D3D10_RECT *pRects); __out_ecount_opt(*NumRects) D3D10_RECT *pRects);
HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )( HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )(
ID3D10Device * This); ID3D10Device * This);
HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )( HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )(
ID3D10Device * This, ID3D10Device * This,
UINT RaiseFlags); UINT RaiseFlags);
UINT ( STDMETHODCALLTYPE *GetExceptionMode )( UINT ( STDMETHODCALLTYPE *GetExceptionMode )(
ID3D10Device * This); ID3D10Device * This);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__inout UINT *pDataSize, __inout UINT *pDataSize,
/* */ /* [annotation] */
__out_bcount_opt(*pDataSize) void *pData); __out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in UINT DataSize, __in UINT DataSize,
/* */ /* [annotation] */
__in_bcount_opt(DataSize) const void *pData); __in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in REFGUID guid, __in REFGUID guid,
/* */ /* [annotation] */
__in_opt const IUnknown *pData); __in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *ClearState )( void ( STDMETHODCALLTYPE *ClearState )(
ID3D10Device * This); ID3D10Device * This);
void ( STDMETHODCALLTYPE *Flush )( void ( STDMETHODCALLTYPE *Flush )(
ID3D10Device * This); ID3D10Device * This);
HRESULT ( STDMETHODCALLTYPE *CreateBuffer )( HRESULT ( STDMETHODCALLTYPE *CreateBuffer )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_BUFFER_DESC *pDesc, __in const D3D10_BUFFER_DESC *pDesc,
/* */ /* [annotation] */
__in_opt const D3D10_SUBRESOURCE_DATA *pInitialData, __in_opt const D3D10_SUBRESOURCE_DATA *pInitialData,
/* */ /* [annotation] */
__out_opt ID3D10Buffer **ppBuffer); __out_opt ID3D10Buffer **ppBuffer);
HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )( HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_TEXTURE1D_DESC *pDesc, __in const D3D10_TEXTURE1D_DESC *pDesc,
/* */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SU BRESOURCE_DATA *pInitialData, __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SU BRESOURCE_DATA *pInitialData,
/* */ /* [annotation] */
__out ID3D10Texture1D **ppTexture1D); __out ID3D10Texture1D **ppTexture1D);
HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )( HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_TEXTURE2D_DESC *pDesc, __in const D3D10_TEXTURE2D_DESC *pDesc,
/* */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SU BRESOURCE_DATA *pInitialData, __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SU BRESOURCE_DATA *pInitialData,
/* */ /* [annotation] */
__out ID3D10Texture2D **ppTexture2D); __out ID3D10Texture2D **ppTexture2D);
HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )( HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_TEXTURE3D_DESC *pDesc, __in const D3D10_TEXTURE3D_DESC *pDesc,
/* */ /* [annotation] */
__in_xcount_opt(pDesc->MipLevels) const D3D10_SUBRESOURCE_DATA *pIn itialData, __in_xcount_opt(pDesc->MipLevels) const D3D10_SUBRESOURCE_DATA *pIn itialData,
/* */ /* [annotation] */
__out ID3D10Texture3D **ppTexture3D); __out ID3D10Texture3D **ppTexture3D);
HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )( HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in ID3D10Resource *pResource, __in ID3D10Resource *pResource,
/* */ /* [annotation] */
__in_opt const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc, __in_opt const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc,
/* */ /* [annotation] */
__out_opt ID3D10ShaderResourceView **ppSRView); __out_opt ID3D10ShaderResourceView **ppSRView);
HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )( HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in ID3D10Resource *pResource, __in ID3D10Resource *pResource,
/* */ /* [annotation] */
__in_opt const D3D10_RENDER_TARGET_VIEW_DESC *pDesc, __in_opt const D3D10_RENDER_TARGET_VIEW_DESC *pDesc,
/* */ /* [annotation] */
__out_opt ID3D10RenderTargetView **ppRTView); __out_opt ID3D10RenderTargetView **ppRTView);
HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )( HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in ID3D10Resource *pResource, __in ID3D10Resource *pResource,
/* */ /* [annotation] */
__in_opt const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc, __in_opt const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc,
/* */ /* [annotation] */
__out_opt ID3D10DepthStencilView **ppDepthStencilView); __out_opt ID3D10DepthStencilView **ppDepthStencilView);
HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )( HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in_ecount(NumElements) const D3D10_INPUT_ELEMENT_DESC *pInputElem entDescs, __in_ecount(NumElements) const D3D10_INPUT_ELEMENT_DESC *pInputElem entDescs,
/* */ /* [annotation] */
__in_range( 0, D3D10_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UINT __in_range( 0, D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UI
NumElements, NT NumElements,
/* */ /* [annotation] */
__in const void *pShaderBytecodeWithInputSignature, __in const void *pShaderBytecodeWithInputSignature,
/* */ /* [annotation] */
__in SIZE_T BytecodeLength, __in SIZE_T BytecodeLength,
/* */ /* [annotation] */
__out_opt ID3D10InputLayout **ppInputLayout); __out_opt ID3D10InputLayout **ppInputLayout);
HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )( HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const void *pShaderBytecode, __in const void *pShaderBytecode,
/* */ /* [annotation] */
__in SIZE_T BytecodeLength, __in SIZE_T BytecodeLength,
/* */ /* [annotation] */
__out_opt ID3D10VertexShader **ppVertexShader); __out_opt ID3D10VertexShader **ppVertexShader);
HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )( HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const void *pShaderBytecode, __in const void *pShaderBytecode,
/* */ /* [annotation] */
__in SIZE_T BytecodeLength, __in SIZE_T BytecodeLength,
/* */ /* [annotation] */
__out_opt ID3D10GeometryShader **ppGeometryShader); __out_opt ID3D10GeometryShader **ppGeometryShader);
HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )( HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const void *pShaderBytecode, __in const void *pShaderBytecode,
/* */ /* [annotation] */
__in SIZE_T BytecodeLength, __in SIZE_T BytecodeLength,
/* */ /* [annotation] */
__in_ecount_opt(NumEntries) const D3D10_SO_DECLARATION_ENTRY *pSODe claration, __in_ecount_opt(NumEntries) const D3D10_SO_DECLARATION_ENTRY *pSODe claration,
/* */ /* [annotation] */
__in_range( 0, D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT ) UINT NumEnt ries, __in_range( 0, D3D10_SO_SINGLE_BUFFER_COMPONENT_LIMIT ) UINT NumEnt ries,
/* */ /* [annotation] */
__in UINT OutputStreamStride, __in UINT OutputStreamStride,
/* */ /* [annotation] */
__out_opt ID3D10GeometryShader **ppGeometryShader); __out_opt ID3D10GeometryShader **ppGeometryShader);
HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )( HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const void *pShaderBytecode, __in const void *pShaderBytecode,
/* */ /* [annotation] */
__in SIZE_T BytecodeLength, __in SIZE_T BytecodeLength,
/* */ /* [annotation] */
__out_opt ID3D10PixelShader **ppPixelShader); __out_opt ID3D10PixelShader **ppPixelShader);
HRESULT ( STDMETHODCALLTYPE *CreateBlendState )( HRESULT ( STDMETHODCALLTYPE *CreateBlendState )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_BLEND_DESC *pBlendStateDesc, __in const D3D10_BLEND_DESC *pBlendStateDesc,
/* */ /* [annotation] */
__out_opt ID3D10BlendState **ppBlendState); __out_opt ID3D10BlendState **ppBlendState);
HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )( HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc, __in const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc,
/* */ /* [annotation] */
__out_opt ID3D10DepthStencilState **ppDepthStencilState); __out_opt ID3D10DepthStencilState **ppDepthStencilState);
HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )( HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_RASTERIZER_DESC *pRasterizerDesc, __in const D3D10_RASTERIZER_DESC *pRasterizerDesc,
/* */ /* [annotation] */
__out_opt ID3D10RasterizerState **ppRasterizerState); __out_opt ID3D10RasterizerState **ppRasterizerState);
HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )( HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_SAMPLER_DESC *pSamplerDesc, __in const D3D10_SAMPLER_DESC *pSamplerDesc,
/* */ /* [annotation] */
__out_opt ID3D10SamplerState **ppSamplerState); __out_opt ID3D10SamplerState **ppSamplerState);
HRESULT ( STDMETHODCALLTYPE *CreateQuery )( HRESULT ( STDMETHODCALLTYPE *CreateQuery )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_QUERY_DESC *pQueryDesc, __in const D3D10_QUERY_DESC *pQueryDesc,
/* */ /* [annotation] */
__out_opt ID3D10Query **ppQuery); __out_opt ID3D10Query **ppQuery);
HRESULT ( STDMETHODCALLTYPE *CreatePredicate )( HRESULT ( STDMETHODCALLTYPE *CreatePredicate )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_QUERY_DESC *pPredicateDesc, __in const D3D10_QUERY_DESC *pPredicateDesc,
/* */ /* [annotation] */
__out_opt ID3D10Predicate **ppPredicate); __out_opt ID3D10Predicate **ppPredicate);
HRESULT ( STDMETHODCALLTYPE *CreateCounter )( HRESULT ( STDMETHODCALLTYPE *CreateCounter )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_COUNTER_DESC *pCounterDesc, __in const D3D10_COUNTER_DESC *pCounterDesc,
/* */ /* [annotation] */
__out_opt ID3D10Counter **ppCounter); __out_opt ID3D10Counter **ppCounter);
HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )( HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in DXGI_FORMAT Format, __in DXGI_FORMAT Format,
/* */ /* [annotation] */
__out UINT *pFormatSupport); __out UINT *pFormatSupport);
HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )( HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in DXGI_FORMAT Format, __in DXGI_FORMAT Format,
/* */ /* [annotation] */
__in UINT SampleCount, __in UINT SampleCount,
/* */ /* [annotation] */
__out UINT *pNumQualityLevels); __out UINT *pNumQualityLevels);
void ( STDMETHODCALLTYPE *CheckCounterInfo )( void ( STDMETHODCALLTYPE *CheckCounterInfo )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out D3D10_COUNTER_INFO *pCounterInfo); __out D3D10_COUNTER_INFO *pCounterInfo);
HRESULT ( STDMETHODCALLTYPE *CheckCounter )( HRESULT ( STDMETHODCALLTYPE *CheckCounter )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in const D3D10_COUNTER_DESC *pDesc, __in const D3D10_COUNTER_DESC *pDesc,
/* */ /* [annotation] */
__out D3D10_COUNTER_TYPE *pType, __out D3D10_COUNTER_TYPE *pType,
/* */ /* [annotation] */
__out UINT *pActiveCounters, __out UINT *pActiveCounters,
/* */ /* [annotation] */
__out_ecount_opt(*pNameLength) LPSTR szName, __out_ecount_opt(*pNameLength) LPSTR szName,
/* */ /* [annotation] */
__inout_opt UINT *pNameLength, __inout_opt UINT *pNameLength,
/* */ /* [annotation] */
__out_ecount_opt(*pUnitsLength) LPSTR szUnits, __out_ecount_opt(*pUnitsLength) LPSTR szUnits,
/* */ /* [annotation] */
__inout_opt UINT *pUnitsLength, __inout_opt UINT *pUnitsLength,
/* */ /* [annotation] */
__out_ecount_opt(*pDescriptionLength) LPSTR szDescription, __out_ecount_opt(*pDescriptionLength) LPSTR szDescription,
/* */ /* [annotation] */
__inout_opt UINT *pDescriptionLength); __inout_opt UINT *pDescriptionLength);
UINT ( STDMETHODCALLTYPE *GetCreationFlags )( UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
ID3D10Device * This); ID3D10Device * This);
HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )( HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in HANDLE hResource, __in HANDLE hResource,
/* */ /* [annotation] */
__in REFIID ReturnedInterface, __in REFIID ReturnedInterface,
/* */ /* [annotation] */
__out_opt void **ppResource); __out_opt void **ppResource);
void ( STDMETHODCALLTYPE *SetTextFilterSize )( void ( STDMETHODCALLTYPE *SetTextFilterSize )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__in UINT Width, __in UINT Width,
/* */ /* [annotation] */
__in UINT Height); __in UINT Height);
void ( STDMETHODCALLTYPE *GetTextFilterSize )( void ( STDMETHODCALLTYPE *GetTextFilterSize )(
ID3D10Device * This, ID3D10Device * This,
/* */ /* [annotation] */
__out_opt UINT *pWidth, __out_opt UINT *pWidth,
/* */ /* [annotation] */
__out_opt UINT *pHeight); __out_opt UINT *pHeight);
END_INTERFACE END_INTERFACE
} ID3D10DeviceVtbl; } ID3D10DeviceVtbl;
interface ID3D10Device interface ID3D10Device
{ {
CONST_VTBL struct ID3D10DeviceVtbl *lpVtbl; CONST_VTBL struct ID3D10DeviceVtbl *lpVtbl;
}; };
skipping to change at line 6252 skipping to change at line 6291
MIDL_INTERFACE("9B7E4E00-342C-4106-A19F-4F2704F689F0") MIDL_INTERFACE("9B7E4E00-342C-4106-A19F-4F2704F689F0")
ID3D10Multithread : public IUnknown ID3D10Multithread : public IUnknown
{ {
public: public:
virtual void STDMETHODCALLTYPE Enter( void) = 0; virtual void STDMETHODCALLTYPE Enter( void) = 0;
virtual void STDMETHODCALLTYPE Leave( void) = 0; virtual void STDMETHODCALLTYPE Leave( void) = 0;
virtual BOOL STDMETHODCALLTYPE SetMultithreadProtected( virtual BOOL STDMETHODCALLTYPE SetMultithreadProtected(
/* */ /* [annotation] */
__in BOOL bMTProtect) = 0; __in BOOL bMTProtect) = 0;
virtual BOOL STDMETHODCALLTYPE GetMultithreadProtected( void) = 0; virtual BOOL STDMETHODCALLTYPE GetMultithreadProtected( void) = 0;
}; };
#else /* C style interface */ #else /* C style interface */
typedef struct ID3D10MultithreadVtbl typedef struct ID3D10MultithreadVtbl
{ {
BEGIN_INTERFACE BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10Multithread * This, ID3D10Multithread * This,
/* [in] */ REFIID riid, /* [in] */ REFIID riid,
/* [iid_is][out] */ /* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject); __RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )( ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10Multithread * This); ID3D10Multithread * This);
ULONG ( STDMETHODCALLTYPE *Release )( ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10Multithread * This); ID3D10Multithread * This);
void ( STDMETHODCALLTYPE *Enter )( void ( STDMETHODCALLTYPE *Enter )(
ID3D10Multithread * This); ID3D10Multithread * This);
void ( STDMETHODCALLTYPE *Leave )( void ( STDMETHODCALLTYPE *Leave )(
ID3D10Multithread * This); ID3D10Multithread * This);
BOOL ( STDMETHODCALLTYPE *SetMultithreadProtected )( BOOL ( STDMETHODCALLTYPE *SetMultithreadProtected )(
ID3D10Multithread * This, ID3D10Multithread * This,
/* */ /* [annotation] */
__in BOOL bMTProtect); __in BOOL bMTProtect);
BOOL ( STDMETHODCALLTYPE *GetMultithreadProtected )( BOOL ( STDMETHODCALLTYPE *GetMultithreadProtected )(
ID3D10Multithread * This); ID3D10Multithread * This);
END_INTERFACE END_INTERFACE
} ID3D10MultithreadVtbl; } ID3D10MultithreadVtbl;
interface ID3D10Multithread interface ID3D10Multithread
{ {
skipping to change at line 6336 skipping to change at line 6375
#endif /* __ID3D10Multithread_INTERFACE_DEFINED__ */ #endif /* __ID3D10Multithread_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d10_0000_0024 */ /* interface __MIDL_itf_d3d10_0000_0024 */
/* [local] */ /* [local] */
typedef typedef
enum D3D10_CREATE_DEVICE_FLAG enum D3D10_CREATE_DEVICE_FLAG
{ D3D10_CREATE_DEVICE_SINGLETHREADED = 0x1, { D3D10_CREATE_DEVICE_SINGLETHREADED = 0x1,
D3D10_CREATE_DEVICE_DEBUG = 0x2, D3D10_CREATE_DEVICE_DEBUG = 0x2,
D3D10_CREATE_DEVICE_SWITCH_TO_REF = 0x4, D3D10_CREATE_DEVICE_SWITCH_TO_REF = 0x4,
D3D10_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS = 0x8 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_STRICT_VALIDATION = 0x200
} D3D10_CREATE_DEVICE_FLAG; } D3D10_CREATE_DEVICE_FLAG;
#define D3D10_SDK_VERSION ( 29 ) #define D3D10_SDK_VERSION ( 29 )
#if !defined( D3D10_IGNORE_SDK_LAYERS ) #if !defined( D3D10_IGNORE_SDK_LAYERS )
#include "d3d10sdklayers.h" #include "d3d10sdklayers.h"
#endif #endif
#include "d3d10misc.h" #include "d3d10misc.h"
#include "d3d10shader.h" #include "d3d10shader.h"
#include "d3d10effect.h" #include "d3d10effect.h"
 End of changes. 818 change blocks. 
899 lines changed or deleted 945 lines changed or added


 d3d10misc.h (6.0.6001.18000-Windows 6.0)   d3d10misc.h (6.2.9200.16492-Windows 7.0) 
skipping to change at line 69 skipping to change at line 69
// //
// Pass one of these values to D3D10CreateDevice // Pass one of these values to D3D10CreateDevice
// //
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
typedef enum D3D10_DRIVER_TYPE typedef enum D3D10_DRIVER_TYPE
{ {
D3D10_DRIVER_TYPE_HARDWARE = 0, D3D10_DRIVER_TYPE_HARDWARE = 0,
D3D10_DRIVER_TYPE_REFERENCE = 1, D3D10_DRIVER_TYPE_REFERENCE = 1,
D3D10_DRIVER_TYPE_NULL = 2, D3D10_DRIVER_TYPE_NULL = 2,
D3D10_DRIVER_TYPE_SOFTWARE = 3, D3D10_DRIVER_TYPE_SOFTWARE = 3,
D3D10_DRIVER_TYPE_WARP = 5,
} D3D10_DRIVER_TYPE; } D3D10_DRIVER_TYPE;
DEFINE_GUID(GUID_DeviceType, DEFINE_GUID(GUID_DeviceType,
0xd722fb4d, 0x7a68, 0x437a, 0xb2, 0x0c, 0x58, 0x04, 0xee, 0x24, 0x94, 0xa6); 0xd722fb4d, 0x7a68, 0x437a, 0xb2, 0x0c, 0x58, 0x04, 0xee, 0x24, 0x94, 0xa6);
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// D3D10CreateDevice // D3D10CreateDevice
// ------------------ // ------------------
// //
// pAdapter // pAdapter
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41.