| d3d10_1.h (6.2.9200.16492-Windows_7.0) | | d3d10_1.h (6.3.9600.17415-Windows_8.1) |
| /*------------------------------------------------------------------------------
------- | | /*------------------------------------------------------------------------------
------- |
| * | | * |
| * Copyright (c) Microsoft Corporation | | * 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.0555 */ | | /* File created by MIDL compiler version 8.00.0603 */ |
| /* Compiler settings for d3d10_1.idl: | | |
| Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 | | |
| protocol : dce , ms_ext, c_ext, robust | | |
| error checks: allocation ref bounds_check enum stub_data | | |
| VC __declspec() decoration level: | | |
| __declspec(uuid()), __declspec(selectany), __declspec(novtable) | | |
| 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*/ |
| | |
| skipping to change at line 126 | | skipping to change at line 121 |
| | |
| #define D3D10_1_STANDARD_VERTEX_ELEMENT_COUNT ( 32 ) | | #define D3D10_1_STANDARD_VERTEX_ELEMENT_COUNT ( 32 ) |
| | |
| #define D3D10_1_SUBPIXEL_FRACTIONAL_BIT_COUNT ( 8 ) | | #define D3D10_1_SUBPIXEL_FRACTIONAL_BIT_COUNT ( 8 ) |
| | |
| #define D3D10_1_VS_INPUT_REGISTER_COUNT ( 32 ) | | #define D3D10_1_VS_INPUT_REGISTER_COUNT ( 32 ) |
| | |
| #define D3D10_1_VS_OUTPUT_REGISTER_COUNT ( 32 ) | | #define D3D10_1_VS_OUTPUT_REGISTER_COUNT ( 32 ) |
| | |
| #endif | | #endif |
|
| | #include <winapifamily.h> |
| #include "d3d10.h" // | | #include "d3d10.h" // |
|
| | #pragma region Desktop Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| | |
| typedef | | typedef |
| enum D3D10_FEATURE_LEVEL1 | | enum D3D10_FEATURE_LEVEL1 |
|
| { D3D10_FEATURE_LEVEL_10_0 = 0xa000, | | { |
| D3D10_FEATURE_LEVEL_10_1 = 0xa100, | | D3D10_FEATURE_LEVEL_10_0 = 0xa000, |
| D3D10_FEATURE_LEVEL_9_1 = 0x9100, | | D3D10_FEATURE_LEVEL_10_1 = 0xa100, |
| D3D10_FEATURE_LEVEL_9_2 = 0x9200, | | D3D10_FEATURE_LEVEL_9_1 = 0x9100, |
| D3D10_FEATURE_LEVEL_9_3 = 0x9300 | | D3D10_FEATURE_LEVEL_9_2 = 0x9200, |
| | D3D10_FEATURE_LEVEL_9_3 = 0x9300 |
| } D3D10_FEATURE_LEVEL1; | | } D3D10_FEATURE_LEVEL1; |
| | |
| typedef struct D3D10_RENDER_TARGET_BLEND_DESC1 | | typedef struct D3D10_RENDER_TARGET_BLEND_DESC1 |
| { | | { |
| BOOL BlendEnable; | | BOOL BlendEnable; |
| D3D10_BLEND SrcBlend; | | D3D10_BLEND SrcBlend; |
| D3D10_BLEND DestBlend; | | D3D10_BLEND DestBlend; |
| D3D10_BLEND_OP BlendOp; | | D3D10_BLEND_OP BlendOp; |
| D3D10_BLEND SrcBlendAlpha; | | D3D10_BLEND SrcBlendAlpha; |
| D3D10_BLEND DestBlendAlpha; | | D3D10_BLEND DestBlendAlpha; |
| | |
| skipping to change at line 175 | | skipping to change at line 174 |
| EXTERN_C const IID IID_ID3D10BlendState1; | | EXTERN_C const IID IID_ID3D10BlendState1; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("EDAD8D99-8A35-4d6d-8566-2EA276CDE161") | | MIDL_INTERFACE("EDAD8D99-8A35-4d6d-8566-2EA276CDE161") |
| ID3D10BlendState1 : public ID3D10BlendState | | ID3D10BlendState1 : public ID3D10BlendState |
| { | | { |
| public: | | public: |
| virtual void STDMETHODCALLTYPE GetDesc1( | | virtual void STDMETHODCALLTYPE GetDesc1( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out D3D10_BLEND_DESC1 *pDesc) = 0; | | _Out_ D3D10_BLEND_DESC1 *pDesc) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct ID3D10BlendState1Vtbl | | typedef struct ID3D10BlendState1Vtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| ID3D10BlendState1 * This, | | ID3D10BlendState1 * This, |
| /* [in] */ REFIID riid, | | /* [in] */ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __RPC__deref_out void **ppvObject); | | _COM_Outptr_ void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| ID3D10BlendState1 * This); | | ID3D10BlendState1 * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| ID3D10BlendState1 * This); | | ID3D10BlendState1 * This); |
| | |
| void ( STDMETHODCALLTYPE *GetDevice )( | | void ( STDMETHODCALLTYPE *GetDevice )( |
| ID3D10BlendState1 * This, | | ID3D10BlendState1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out ID3D10Device **ppDevice); | | _Out_ ID3D10Device **ppDevice); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( | | HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( |
| ID3D10BlendState1 * This, | | ID3D10BlendState1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in REFGUID guid, | | _In_ REFGUID guid, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __inout UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_bcount_opt(*pDataSize) void *pData); | | _Out_writes_bytes_opt_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( | | HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( |
| ID3D10BlendState1 * This, | | ID3D10BlendState1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in REFGUID guid, | | _In_ REFGUID guid, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT DataSize, | | _In_ UINT DataSize, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_bcount_opt(DataSize) const void *pData); | | _In_reads_bytes_opt_(DataSize) const void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( | | HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( |
| ID3D10BlendState1 * This, | | ID3D10BlendState1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in REFGUID guid, | | _In_ REFGUID guid, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt const IUnknown *pData); | | _In_opt_ const IUnknown *pData); |
| | |
| void ( STDMETHODCALLTYPE *GetDesc )( | | void ( STDMETHODCALLTYPE *GetDesc )( |
| ID3D10BlendState1 * This, | | ID3D10BlendState1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out D3D10_BLEND_DESC *pDesc); | | _Out_ D3D10_BLEND_DESC *pDesc); |
| | |
| void ( STDMETHODCALLTYPE *GetDesc1 )( | | void ( STDMETHODCALLTYPE *GetDesc1 )( |
| ID3D10BlendState1 * This, | | ID3D10BlendState1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out D3D10_BLEND_DESC1 *pDesc); | | _Out_ D3D10_BLEND_DESC1 *pDesc); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } ID3D10BlendState1Vtbl; | | } ID3D10BlendState1Vtbl; |
| | |
| interface ID3D10BlendState1 | | interface ID3D10BlendState1 |
| { | | { |
| CONST_VTBL struct ID3D10BlendState1Vtbl *lpVtbl; | | CONST_VTBL struct ID3D10BlendState1Vtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 291 | | skipping to change at line 290 |
| /* [local] */ | | /* [local] */ |
| | |
| typedef struct D3D10_TEXCUBE_ARRAY_SRV1 | | typedef struct D3D10_TEXCUBE_ARRAY_SRV1 |
| { | | { |
| UINT MostDetailedMip; | | UINT MostDetailedMip; |
| UINT MipLevels; | | UINT MipLevels; |
| UINT First2DArrayFace; | | UINT First2DArrayFace; |
| UINT NumCubes; | | UINT NumCubes; |
| } D3D10_TEXCUBE_ARRAY_SRV1; | | } D3D10_TEXCUBE_ARRAY_SRV1; |
| | |
|
| typedef | | typedef D3D_SRV_DIMENSION D3D10_SRV_DIMENSION1; |
| enum D3D10_SRV_DIMENSION1 | | |
| { D3D10_1_SRV_DIMENSION_UNKNOWN = 0, | | |
| D3D10_1_SRV_DIMENSION_BUFFER = 1, | | |
| D3D10_1_SRV_DIMENSION_TEXTURE1D = 2, | | |
| D3D10_1_SRV_DIMENSION_TEXTURE1DARRAY = 3, | | |
| D3D10_1_SRV_DIMENSION_TEXTURE2D = 4, | | |
| D3D10_1_SRV_DIMENSION_TEXTURE2DARRAY = 5, | | |
| D3D10_1_SRV_DIMENSION_TEXTURE2DMS = 6, | | |
| D3D10_1_SRV_DIMENSION_TEXTURE2DMSARRAY = 7, | | |
| D3D10_1_SRV_DIMENSION_TEXTURE3D = 8, | | |
| D3D10_1_SRV_DIMENSION_TEXTURECUBE = 9, | | |
| D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY = 10 | | |
| } D3D10_SRV_DIMENSION1; | | |
| | |
| typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC1 | | typedef struct D3D10_SHADER_RESOURCE_VIEW_DESC1 |
| { | | { |
| DXGI_FORMAT Format; | | DXGI_FORMAT Format; |
| D3D10_SRV_DIMENSION1 ViewDimension; | | D3D10_SRV_DIMENSION1 ViewDimension; |
| union | | union |
| { | | { |
| D3D10_BUFFER_SRV Buffer; | | D3D10_BUFFER_SRV Buffer; |
| D3D10_TEX1D_SRV Texture1D; | | D3D10_TEX1D_SRV Texture1D; |
| D3D10_TEX1D_ARRAY_SRV Texture1DArray; | | D3D10_TEX1D_ARRAY_SRV Texture1DArray; |
| | |
| skipping to change at line 344 | | skipping to change at line 330 |
| EXTERN_C const IID IID_ID3D10ShaderResourceView1; | | EXTERN_C const IID IID_ID3D10ShaderResourceView1; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("9B7E4C87-342C-4106-A19F-4F2704F689F0") | | MIDL_INTERFACE("9B7E4C87-342C-4106-A19F-4F2704F689F0") |
| ID3D10ShaderResourceView1 : public ID3D10ShaderResourceView | | ID3D10ShaderResourceView1 : public ID3D10ShaderResourceView |
| { | | { |
| public: | | public: |
| virtual void STDMETHODCALLTYPE GetDesc1( | | virtual void STDMETHODCALLTYPE GetDesc1( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc) = 0; | | _Out_ D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct ID3D10ShaderResourceView1Vtbl | | typedef struct ID3D10ShaderResourceView1Vtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| ID3D10ShaderResourceView1 * This, | | ID3D10ShaderResourceView1 * This, |
| /* [in] */ REFIID riid, | | /* [in] */ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __RPC__deref_out void **ppvObject); | | _COM_Outptr_ void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| ID3D10ShaderResourceView1 * This); | | ID3D10ShaderResourceView1 * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| ID3D10ShaderResourceView1 * This); | | ID3D10ShaderResourceView1 * This); |
| | |
| void ( STDMETHODCALLTYPE *GetDevice )( | | void ( STDMETHODCALLTYPE *GetDevice )( |
| ID3D10ShaderResourceView1 * This, | | ID3D10ShaderResourceView1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out ID3D10Device **ppDevice); | | _Out_ ID3D10Device **ppDevice); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( | | HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( |
| ID3D10ShaderResourceView1 * This, | | ID3D10ShaderResourceView1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in REFGUID guid, | | _In_ REFGUID guid, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __inout UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_bcount_opt(*pDataSize) void *pData); | | _Out_writes_bytes_opt_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( | | HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( |
| ID3D10ShaderResourceView1 * This, | | ID3D10ShaderResourceView1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in REFGUID guid, | | _In_ REFGUID guid, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT DataSize, | | _In_ UINT DataSize, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_bcount_opt(DataSize) const void *pData); | | _In_reads_bytes_opt_(DataSize) const void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( | | HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( |
| ID3D10ShaderResourceView1 * This, | | ID3D10ShaderResourceView1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in REFGUID guid, | | _In_ REFGUID guid, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt const IUnknown *pData); | | _In_opt_ const IUnknown *pData); |
| | |
| void ( STDMETHODCALLTYPE *GetResource )( | | void ( STDMETHODCALLTYPE *GetResource )( |
| ID3D10ShaderResourceView1 * This, | | ID3D10ShaderResourceView1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out ID3D10Resource **ppResource); | | _Out_ ID3D10Resource **ppResource); |
| | |
| void ( STDMETHODCALLTYPE *GetDesc )( | | void ( STDMETHODCALLTYPE *GetDesc )( |
| ID3D10ShaderResourceView1 * This, | | ID3D10ShaderResourceView1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc); | | _Out_ D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc); |
| | |
| void ( STDMETHODCALLTYPE *GetDesc1 )( | | void ( STDMETHODCALLTYPE *GetDesc1 )( |
| ID3D10ShaderResourceView1 * This, | | ID3D10ShaderResourceView1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc); | | _Out_ D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } ID3D10ShaderResourceView1Vtbl; | | } ID3D10ShaderResourceView1Vtbl; |
| | |
| interface ID3D10ShaderResourceView1 | | interface ID3D10ShaderResourceView1 |
| { | | { |
| CONST_VTBL struct ID3D10ShaderResourceView1Vtbl *lpVtbl; | | CONST_VTBL struct ID3D10ShaderResourceView1Vtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 462 | | skipping to change at line 448 |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __ID3D10ShaderResourceView1_INTERFACE_DEFINED__ */ | | #endif /* __ID3D10ShaderResourceView1_INTERFACE_DEFINED__ */ |
| | |
| /* interface __MIDL_itf_d3d10_1_0000_0002 */ | | /* interface __MIDL_itf_d3d10_1_0000_0002 */ |
| /* [local] */ | | /* [local] */ |
| | |
| typedef | | typedef |
| enum D3D10_STANDARD_MULTISAMPLE_QUALITY_LEVELS | | enum D3D10_STANDARD_MULTISAMPLE_QUALITY_LEVELS |
|
| { D3D10_STANDARD_MULTISAMPLE_PATTERN = 0xffffffff, | | { |
| D3D10_CENTER_MULTISAMPLE_PATTERN = 0xfffffffe | | D3D10_STANDARD_MULTISAMPLE_PATTERN = 0xffffffff, |
| | D3D10_CENTER_MULTISAMPLE_PATTERN = 0xfffffffe |
| } D3D10_STANDARD_MULTISAMPLE_QUALITY_LEVELS; | | } D3D10_STANDARD_MULTISAMPLE_QUALITY_LEVELS; |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0002_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0002_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0002_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0002_v0_0_s_ifspec; |
| | |
| #ifndef __ID3D10Device1_INTERFACE_DEFINED__ | | #ifndef __ID3D10Device1_INTERFACE_DEFINED__ |
| #define __ID3D10Device1_INTERFACE_DEFINED__ | | #define __ID3D10Device1_INTERFACE_DEFINED__ |
| | |
| /* interface ID3D10Device1 */ | | /* interface ID3D10Device1 */ |
| /* [unique][local][object][uuid] */ | | /* [unique][local][object][uuid] */ |
| | |
| skipping to change at line 485 | | skipping to change at line 472 |
| EXTERN_C const IID IID_ID3D10Device1; | | EXTERN_C const IID IID_ID3D10Device1; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("9B7E4C8F-342C-4106-A19F-4F2704F689F0") | | MIDL_INTERFACE("9B7E4C8F-342C-4106-A19F-4F2704F689F0") |
| ID3D10Device1 : public ID3D10Device | | ID3D10Device1 : public ID3D10Device |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView1( | | virtual HRESULT STDMETHODCALLTYPE CreateShaderResourceView1( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pResource, | | _In_ ID3D10Resource *pResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc, | | _In_opt_ const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10ShaderResourceView1 **ppSRView) = 0; | | _Out_opt_ ID3D10ShaderResourceView1 **ppSRView) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE CreateBlendState1( | | virtual HRESULT STDMETHODCALLTYPE CreateBlendState1( |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_BLEND_DESC1 *pBlendStateDesc, | | _In_ const D3D10_BLEND_DESC1 *pBlendStateDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10BlendState1 **ppBlendState) = 0; | | _Out_opt_ ID3D10BlendState1 **ppBlendState) = 0; |
| | |
| virtual D3D10_FEATURE_LEVEL1 STDMETHODCALLTYPE GetFeatureLevel( void) =
0; | | virtual D3D10_FEATURE_LEVEL1 STDMETHODCALLTYPE GetFeatureLevel( void) =
0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct ID3D10Device1Vtbl | | typedef struct ID3D10Device1Vtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [in] */ REFIID riid, | | /* [in] */ REFIID riid, |
| /* [annotation][iid_is][out] */ | | /* [annotation][iid_is][out] */ |
|
| __RPC__deref_out void **ppvObject); | | _COM_Outptr_ void **ppvObject); |
| | |
| ULONG ( STDMETHODCALLTYPE *AddRef )( | | ULONG ( STDMETHODCALLTYPE *AddRef )( |
| ID3D10Device1 * This); | | ID3D10Device1 * This); |
| | |
| ULONG ( STDMETHODCALLTYPE *Release )( | | ULONG ( STDMETHODCALLTYPE *Release )( |
| ID3D10Device1 * This); | | ID3D10Device1 * This); |
| | |
| void ( STDMETHODCALLTYPE *VSSetConstantBuffers )( | | void ( STDMETHODCALLTYPE *VSSetConstantBuffers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers); | | _In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppConstantBuffers); |
| | |
| void ( STDMETHODCALLTYPE *PSSetShaderResources )( | | void ( STDMETHODCALLTYPE *PSSetShaderResources )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso
urceViews); | | _In_reads_opt_(NumViews) ID3D10ShaderResourceView *const *ppShaderR
esourceViews); |
| | |
| void ( STDMETHODCALLTYPE *PSSetShader )( | | void ( STDMETHODCALLTYPE *PSSetShader )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt ID3D10PixelShader *pPixelShader); | | _In_opt_ ID3D10PixelShader *pPixelShader); |
| | |
| void ( STDMETHODCALLTYPE *PSSetSamplers )( | | void ( STDMETHODCALLTYPE *PSSetSamplers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, | | _In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers); | | _In_reads_opt_(NumSamplers) ID3D10SamplerState *const *ppSamplers); |
| | |
| void ( STDMETHODCALLTYPE *VSSetShader )( | | void ( STDMETHODCALLTYPE *VSSetShader )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt ID3D10VertexShader *pVertexShader); | | _In_opt_ ID3D10VertexShader *pVertexShader); |
| | |
| void ( STDMETHODCALLTYPE *DrawIndexed )( | | void ( STDMETHODCALLTYPE *DrawIndexed )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT IndexCount, | | _In_ UINT IndexCount, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT StartIndexLocation, | | _In_ UINT StartIndexLocation, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in INT BaseVertexLocation); | | _In_ INT BaseVertexLocation); |
| | |
| void ( STDMETHODCALLTYPE *Draw )( | | void ( STDMETHODCALLTYPE *Draw )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT VertexCount, | | _In_ UINT VertexCount, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT StartVertexLocation); | | _In_ UINT StartVertexLocation); |
| | |
| void ( STDMETHODCALLTYPE *PSSetConstantBuffers )( | | void ( STDMETHODCALLTYPE *PSSetConstantBuffers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers); | | _In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppConstantBuffers); |
| | |
| void ( STDMETHODCALLTYPE *IASetInputLayout )( | | void ( STDMETHODCALLTYPE *IASetInputLayout )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt ID3D10InputLayout *pInputLayout); | | _In_opt_ ID3D10InputLayout *pInputLayout); |
| | |
| void ( STDMETHODCALLTYPE *IASetVertexBuffers )( | | void ( STDMETHODCALLTYPE *IASetVertexBuffers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UI
NT StartSlot, | | _In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UI
NT StartSlot, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSl
ot ) UINT NumBuffers, | | _In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSl
ot ) UINT NumBuffers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount(NumBuffers) ID3D10Buffer *const *ppVertexBuffers, | | _In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppVertexBuffers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount(NumBuffers) const UINT *pStrides, | | _In_reads_opt_(NumBuffers) const UINT *pStrides, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount(NumBuffers) const UINT *pOffsets); | | _In_reads_opt_(NumBuffers) const UINT *pOffsets); |
| | |
| void ( STDMETHODCALLTYPE *IASetIndexBuffer )( | | void ( STDMETHODCALLTYPE *IASetIndexBuffer )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt ID3D10Buffer *pIndexBuffer, | | _In_opt_ ID3D10Buffer *pIndexBuffer, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in DXGI_FORMAT Format, | | _In_ DXGI_FORMAT Format, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT Offset); | | _In_ UINT Offset); |
| | |
| void ( STDMETHODCALLTYPE *DrawIndexedInstanced )( | | void ( STDMETHODCALLTYPE *DrawIndexedInstanced )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT IndexCountPerInstance, | | _In_ UINT IndexCountPerInstance, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT InstanceCount, | | _In_ UINT InstanceCount, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT StartIndexLocation, | | _In_ UINT StartIndexLocation, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in INT BaseVertexLocation, | | _In_ INT BaseVertexLocation, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT StartInstanceLocation); | | _In_ UINT StartInstanceLocation); |
| | |
| void ( STDMETHODCALLTYPE *DrawInstanced )( | | void ( STDMETHODCALLTYPE *DrawInstanced )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT VertexCountPerInstance, | | _In_ UINT VertexCountPerInstance, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT InstanceCount, | | _In_ UINT InstanceCount, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT StartVertexLocation, | | _In_ UINT StartVertexLocation, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT StartInstanceLocation); | | _In_ UINT StartInstanceLocation); |
| | |
| void ( STDMETHODCALLTYPE *GSSetConstantBuffers )( | | void ( STDMETHODCALLTYPE *GSSetConstantBuffers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_ecount(NumBuffers) ID3D10Buffer *const *ppConstantBuffers); | | _In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppConstantBuffers); |
| | |
| void ( STDMETHODCALLTYPE *GSSetShader )( | | void ( STDMETHODCALLTYPE *GSSetShader )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt ID3D10GeometryShader *pShader); | | _In_opt_ ID3D10GeometryShader *pShader); |
| | |
| void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )( | | void ( STDMETHODCALLTYPE *IASetPrimitiveTopology )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in D3D10_PRIMITIVE_TOPOLOGY Topology); | | _In_ D3D10_PRIMITIVE_TOPOLOGY Topology); |
| | |
| void ( STDMETHODCALLTYPE *VSSetShaderResources )( | | void ( STDMETHODCALLTYPE *VSSetShaderResources )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso
urceViews); | | _In_reads_opt_(NumViews) ID3D10ShaderResourceView *const *ppShaderR
esourceViews); |
| | |
| void ( STDMETHODCALLTYPE *VSSetSamplers )( | | void ( STDMETHODCALLTYPE *VSSetSamplers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, | | _In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers); | | _In_reads_opt_(NumSamplers) ID3D10SamplerState *const *ppSamplers); |
| | |
| void ( STDMETHODCALLTYPE *SetPredication )( | | void ( STDMETHODCALLTYPE *SetPredication )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt ID3D10Predicate *pPredicate, | | _In_opt_ ID3D10Predicate *pPredicate, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in BOOL PredicateValue); | | _In_ BOOL PredicateValue); |
| | |
| void ( STDMETHODCALLTYPE *GSSetShaderResources )( | | void ( STDMETHODCALLTYPE *GSSetShaderResources )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_ecount(NumViews) ID3D10ShaderResourceView *const *ppShaderReso
urceViews); | | _In_reads_opt_(NumViews) ID3D10ShaderResourceView *const *ppShaderR
esourceViews); |
| | |
| void ( STDMETHODCALLTYPE *GSSetSamplers )( | | void ( STDMETHODCALLTYPE *GSSetSamplers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, | | _In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount(NumSamplers) ID3D10SamplerState *const *ppSamplers); | | _In_reads_opt_(NumSamplers) ID3D10SamplerState *const *ppSamplers); |
| | |
| void ( STDMETHODCALLTYPE *OMSetRenderTargets )( | | void ( STDMETHODCALLTYPE *OMSetRenderTargets )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie
ws, | | _In_range_( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie
ws, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount_opt(NumViews) ID3D10RenderTargetView *const *ppRenderTa
rgetViews, | | _In_reads_opt_(NumViews) ID3D10RenderTargetView *const *ppRenderTar
getViews, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt ID3D10DepthStencilView *pDepthStencilView); | | _In_opt_ ID3D10DepthStencilView *pDepthStencilView); |
| | |
| void ( STDMETHODCALLTYPE *OMSetBlendState )( | | void ( STDMETHODCALLTYPE *OMSetBlendState )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt ID3D10BlendState *pBlendState, | | _In_opt_ ID3D10BlendState *pBlendState, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const FLOAT BlendFactor[ 4 ], | | _In_ const FLOAT BlendFactor[ 4 ], |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT SampleMask); | | _In_ UINT SampleMask); |
| | |
| void ( STDMETHODCALLTYPE *OMSetDepthStencilState )( | | void ( STDMETHODCALLTYPE *OMSetDepthStencilState )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt ID3D10DepthStencilState *pDepthStencilState, | | _In_opt_ ID3D10DepthStencilState *pDepthStencilState, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT StencilRef); | | _In_ UINT StencilRef); |
| | |
| void ( STDMETHODCALLTYPE *SOSetTargets )( | | void ( STDMETHODCALLTYPE *SOSetTargets )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT) UINT NumBuffers, | | _In_range_( 0, D3D10_SO_BUFFER_SLOT_COUNT) UINT NumBuffers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount_opt(NumBuffers) ID3D10Buffer *const *ppSOTargets, | | _In_reads_opt_(NumBuffers) ID3D10Buffer *const *ppSOTargets, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount_opt(NumBuffers) const UINT *pOffsets); | | _In_reads_opt_(NumBuffers) const UINT *pOffsets); |
| | |
| void ( STDMETHODCALLTYPE *DrawAuto )( | | void ( STDMETHODCALLTYPE *DrawAuto )( |
| ID3D10Device1 * This); | | ID3D10Device1 * This); |
| | |
| void ( STDMETHODCALLTYPE *RSSetState )( | | void ( STDMETHODCALLTYPE *RSSetState )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt ID3D10RasterizerState *pRasterizerState); | | _In_opt_ ID3D10RasterizerState *pRasterizerState); |
| | |
| void ( STDMETHODCALLTYPE *RSSetViewports )( | | void ( STDMETHODCALLTYPE *RSSetViewports )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_ecount_opt(NumViewports) const D3D10_VIEWPORT *pViewports); | | _In_reads_opt_(NumViewports) const D3D10_VIEWPORT *pViewports); |
| | |
| void ( STDMETHODCALLTYPE *RSSetScissorRects )( | | void ( STDMETHODCALLTYPE *RSSetScissorRects )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_ecount_opt(NumRects) const D3D10_RECT *pRects); | | _In_reads_opt_(NumRects) const D3D10_RECT *pRects); |
| | |
| void ( STDMETHODCALLTYPE *CopySubresourceRegion )( | | void ( STDMETHODCALLTYPE *CopySubresourceRegion )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pDstResource, | | _In_ ID3D10Resource *pDstResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT DstSubresource, | | _In_ UINT DstSubresource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT DstX, | | _In_ UINT DstX, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT DstY, | | _In_ UINT DstY, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT DstZ, | | _In_ UINT DstZ, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pSrcResource, | | _In_ ID3D10Resource *pSrcResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT SrcSubresource, | | _In_ UINT SrcSubresource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt const D3D10_BOX *pSrcBox); | | _In_opt_ const D3D10_BOX *pSrcBox); |
| | |
| void ( STDMETHODCALLTYPE *CopyResource )( | | void ( STDMETHODCALLTYPE *CopyResource )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pDstResource, | | _In_ ID3D10Resource *pDstResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pSrcResource); | | _In_ ID3D10Resource *pSrcResource); |
| | |
| void ( STDMETHODCALLTYPE *UpdateSubresource )( | | void ( STDMETHODCALLTYPE *UpdateSubresource )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pDstResource, | | _In_ ID3D10Resource *pDstResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT DstSubresource, | | _In_ UINT DstSubresource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt const D3D10_BOX *pDstBox, | | _In_opt_ const D3D10_BOX *pDstBox, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const void *pSrcData, | | _In_ const void *pSrcData, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT SrcRowPitch, | | _In_ UINT SrcRowPitch, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT SrcDepthPitch); | | _In_ UINT SrcDepthPitch); |
| | |
| void ( STDMETHODCALLTYPE *ClearRenderTargetView )( | | void ( STDMETHODCALLTYPE *ClearRenderTargetView )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10RenderTargetView *pRenderTargetView, | | _In_ ID3D10RenderTargetView *pRenderTargetView, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const FLOAT ColorRGBA[ 4 ]); | | _In_ const FLOAT ColorRGBA[ 4 ]); |
| | |
| void ( STDMETHODCALLTYPE *ClearDepthStencilView )( | | void ( STDMETHODCALLTYPE *ClearDepthStencilView )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10DepthStencilView *pDepthStencilView, | | _In_ ID3D10DepthStencilView *pDepthStencilView, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT ClearFlags, | | _In_ UINT ClearFlags, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in FLOAT Depth, | | _In_ FLOAT Depth, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT8 Stencil); | | _In_ UINT8 Stencil); |
| | |
| void ( STDMETHODCALLTYPE *GenerateMips )( | | void ( STDMETHODCALLTYPE *GenerateMips )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10ShaderResourceView *pShaderResourceView); | | _In_ ID3D10ShaderResourceView *pShaderResourceView); |
| | |
| void ( STDMETHODCALLTYPE *ResolveSubresource )( | | void ( STDMETHODCALLTYPE *ResolveSubresource )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pDstResource, | | _In_ ID3D10Resource *pDstResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT DstSubresource, | | _In_ UINT DstSubresource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pSrcResource, | | _In_ ID3D10Resource *pSrcResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT SrcSubresource, | | _In_ UINT SrcSubresource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in DXGI_FORMAT Format); | | _In_ DXGI_FORMAT Format); |
| | |
| void ( STDMETHODCALLTYPE *VSGetConstantBuffers )( | | void ( STDMETHODCALLTYPE *VSGetConstantBuffers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers); | | _Out_writes_opt_(NumBuffers) ID3D10Buffer **ppConstantBuffers); |
| | |
| void ( STDMETHODCALLTYPE *PSGetShaderResources )( | | void ( STDMETHODCALLTYPE *PSGetShaderResources )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV
iews); | | _Out_writes_opt_(NumViews) ID3D10ShaderResourceView **ppShaderResou
rceViews); |
| | |
| void ( STDMETHODCALLTYPE *PSGetShader )( | | void ( STDMETHODCALLTYPE *PSGetShader )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out ID3D10PixelShader **ppPixelShader); | | _Out_ ID3D10PixelShader **ppPixelShader); |
| | |
| void ( STDMETHODCALLTYPE *PSGetSamplers )( | | void ( STDMETHODCALLTYPE *PSGetSamplers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, | | _In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers); | | _Out_writes_opt_(NumSamplers) ID3D10SamplerState **ppSamplers); |
| | |
| void ( STDMETHODCALLTYPE *VSGetShader )( | | void ( STDMETHODCALLTYPE *VSGetShader )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out ID3D10VertexShader **ppVertexShader); | | _Out_ ID3D10VertexShader **ppVertexShader); |
| | |
| void ( STDMETHODCALLTYPE *PSGetConstantBuffers )( | | void ( STDMETHODCALLTYPE *PSGetConstantBuffers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers); | | _Out_writes_opt_(NumBuffers) ID3D10Buffer **ppConstantBuffers); |
| | |
| void ( STDMETHODCALLTYPE *IAGetInputLayout )( | | void ( STDMETHODCALLTYPE *IAGetInputLayout )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out ID3D10InputLayout **ppInputLayout); | | _Out_ ID3D10InputLayout **ppInputLayout); |
| | |
| void ( STDMETHODCALLTYPE *IAGetVertexBuffers )( | | void ( STDMETHODCALLTYPE *IAGetVertexBuffers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UI
NT StartSlot, | | _In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - 1 ) UI
NT StartSlot, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSl
ot ) UINT NumBuffers, | | _In_range_( 0, D3D10_1_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT - StartSl
ot ) UINT NumBuffers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount_opt(NumBuffers) ID3D10Buffer **ppVertexBuffers, | | _Out_writes_opt_(NumBuffers) ID3D10Buffer **ppVertexBuffers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount_opt(NumBuffers) UINT *pStrides, | | _Out_writes_opt_(NumBuffers) UINT *pStrides, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount_opt(NumBuffers) UINT *pOffsets); | | _Out_writes_opt_(NumBuffers) UINT *pOffsets); |
| | |
| void ( STDMETHODCALLTYPE *IAGetIndexBuffer )( | | void ( STDMETHODCALLTYPE *IAGetIndexBuffer )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10Buffer **pIndexBuffer, | | _Out_opt_ ID3D10Buffer **pIndexBuffer, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt DXGI_FORMAT *Format, | | _Out_opt_ DXGI_FORMAT *Format, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *Offset); | | _Out_opt_ UINT *Offset); |
| | |
| void ( STDMETHODCALLTYPE *GSGetConstantBuffers )( | | void ( STDMETHODCALLTYPE *GSGetConstantBuffers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __out_ecount(NumBuffers) ID3D10Buffer **ppConstantBuffers); | | _Out_writes_opt_(NumBuffers) ID3D10Buffer **ppConstantBuffers); |
| | |
| void ( STDMETHODCALLTYPE *GSGetShader )( | | void ( STDMETHODCALLTYPE *GSGetShader )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out ID3D10GeometryShader **ppGeometryShader); | | _Out_ ID3D10GeometryShader **ppGeometryShader); |
| | |
| void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )( | | void ( STDMETHODCALLTYPE *IAGetPrimitiveTopology )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out D3D10_PRIMITIVE_TOPOLOGY *pTopology); | | _Out_ D3D10_PRIMITIVE_TOPOLOGY *pTopology); |
| | |
| void ( STDMETHODCALLTYPE *VSGetShaderResources )( | | void ( STDMETHODCALLTYPE *VSGetShaderResources )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV
iews); | | _Out_writes_opt_(NumViews) ID3D10ShaderResourceView **ppShaderResou
rceViews); |
| | |
| void ( STDMETHODCALLTYPE *VSGetSamplers )( | | void ( STDMETHODCALLTYPE *VSGetSamplers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, | | _In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers); | | _Out_writes_opt_(NumSamplers) ID3D10SamplerState **ppSamplers); |
| | |
| void ( STDMETHODCALLTYPE *GetPredication )( | | void ( STDMETHODCALLTYPE *GetPredication )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10Predicate **ppPredicate, | | _Out_opt_ ID3D10Predicate **ppPredicate, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt BOOL *pPredicateValue); | | _Out_opt_ BOOL *pPredicateValue); |
| | |
| void ( STDMETHODCALLTYPE *GSGetShaderResources )( | | void ( STDMETHODCALLTYPE *GSGetShaderResources )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [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] */ | | /* [annotation] */ |
|
| __out_ecount(NumViews) ID3D10ShaderResourceView **ppShaderResourceV
iews); | | _Out_writes_opt_(NumViews) ID3D10ShaderResourceView **ppShaderResou
rceViews); |
| | |
| void ( STDMETHODCALLTYPE *GSGetSamplers )( | | void ( STDMETHODCALLTYPE *GSGetSamplers )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, | | _In_range_( 0, D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT - StartSlot )
UINT NumSamplers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount(NumSamplers) ID3D10SamplerState **ppSamplers); | | _Out_writes_opt_(NumSamplers) ID3D10SamplerState **ppSamplers); |
| | |
| void ( STDMETHODCALLTYPE *OMGetRenderTargets )( | | void ( STDMETHODCALLTYPE *OMGetRenderTargets )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie
ws, | | _In_range_( 0, D3D10_SIMULTANEOUS_RENDER_TARGET_COUNT ) UINT NumVie
ws, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount_opt(NumViews) ID3D10RenderTargetView **ppRenderTargetV
iews, | | _Out_writes_opt_(NumViews) ID3D10RenderTargetView **ppRenderTargetV
iews, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10DepthStencilView **ppDepthStencilView); | | _Out_opt_ ID3D10DepthStencilView **ppDepthStencilView); |
| | |
| void ( STDMETHODCALLTYPE *OMGetBlendState )( | | void ( STDMETHODCALLTYPE *OMGetBlendState )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10BlendState **ppBlendState, | | _Out_opt_ ID3D10BlendState **ppBlendState, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt FLOAT BlendFactor[ 4 ], | | _Out_opt_ FLOAT BlendFactor[ 4 ], |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pSampleMask); | | _Out_opt_ UINT *pSampleMask); |
| | |
| void ( STDMETHODCALLTYPE *OMGetDepthStencilState )( | | void ( STDMETHODCALLTYPE *OMGetDepthStencilState )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10DepthStencilState **ppDepthStencilState, | | _Out_opt_ ID3D10DepthStencilState **ppDepthStencilState, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pStencilRef); | | _Out_opt_ UINT *pStencilRef); |
| | |
| void ( STDMETHODCALLTYPE *SOGetTargets )( | | void ( STDMETHODCALLTYPE *SOGetTargets )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers, | | _In_range_( 0, D3D10_SO_BUFFER_SLOT_COUNT ) UINT NumBuffers, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount_opt(NumBuffers) ID3D10Buffer **ppSOTargets, | | _Out_writes_opt_(NumBuffers) ID3D10Buffer **ppSOTargets, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount_opt(NumBuffers) UINT *pOffsets); | | _Out_writes_opt_(NumBuffers) UINT *pOffsets); |
| | |
| void ( STDMETHODCALLTYPE *RSGetState )( | | void ( STDMETHODCALLTYPE *RSGetState )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out ID3D10RasterizerState **ppRasterizerState); | | _Out_ ID3D10RasterizerState **ppRasterizerState); |
| | |
| void ( STDMETHODCALLTYPE *RSGetViewports )( | | void ( STDMETHODCALLTYPE *RSGetViewports )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [annotation] */ |
|
| __out_ecount_opt(*NumViewports) D3D10_VIEWPORT *pViewports); | | _Out_writes_opt_(*NumViewports) D3D10_VIEWPORT *pViewports); |
| | |
| void ( STDMETHODCALLTYPE *RSGetScissorRects )( | | void ( STDMETHODCALLTYPE *RSGetScissorRects )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [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] */ | | /* [annotation] */ |
|
| __out_ecount_opt(*NumRects) D3D10_RECT *pRects); | | _Out_writes_opt_(*NumRects) D3D10_RECT *pRects); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )( | | HRESULT ( STDMETHODCALLTYPE *GetDeviceRemovedReason )( |
| ID3D10Device1 * This); | | ID3D10Device1 * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )( | | HRESULT ( STDMETHODCALLTYPE *SetExceptionMode )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| UINT RaiseFlags); | | UINT RaiseFlags); |
| | |
| UINT ( STDMETHODCALLTYPE *GetExceptionMode )( | | UINT ( STDMETHODCALLTYPE *GetExceptionMode )( |
| ID3D10Device1 * This); | | ID3D10Device1 * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( | | HRESULT ( STDMETHODCALLTYPE *GetPrivateData )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in REFGUID guid, | | _In_ REFGUID guid, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __inout UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_bcount_opt(*pDataSize) void *pData); | | _Out_writes_bytes_opt_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( | | HRESULT ( STDMETHODCALLTYPE *SetPrivateData )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in REFGUID guid, | | _In_ REFGUID guid, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT DataSize, | | _In_ UINT DataSize, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_bcount_opt(DataSize) const void *pData); | | _In_reads_bytes_opt_(DataSize) const void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( | | HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in REFGUID guid, | | _In_ REFGUID guid, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt const IUnknown *pData); | | _In_opt_ const IUnknown *pData); |
| | |
| void ( STDMETHODCALLTYPE *ClearState )( | | void ( STDMETHODCALLTYPE *ClearState )( |
| ID3D10Device1 * This); | | ID3D10Device1 * This); |
| | |
| void ( STDMETHODCALLTYPE *Flush )( | | void ( STDMETHODCALLTYPE *Flush )( |
| ID3D10Device1 * This); | | ID3D10Device1 * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateBuffer )( | | HRESULT ( STDMETHODCALLTYPE *CreateBuffer )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_BUFFER_DESC *pDesc, | | _In_ const D3D10_BUFFER_DESC *pDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt const D3D10_SUBRESOURCE_DATA *pInitialData, | | _In_opt_ const D3D10_SUBRESOURCE_DATA *pInitialData, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10Buffer **ppBuffer); | | _Out_opt_ ID3D10Buffer **ppBuffer); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )( | | HRESULT ( STDMETHODCALLTYPE *CreateTexture1D )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_TEXTURE1D_DESC *pDesc, | | _In_ const D3D10_TEXTURE1D_DESC *pDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SU
BRESOURCE_DATA *pInitialData, | | _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize))
const D3D10_SUBRESOURCE_DATA *pInitialData, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out ID3D10Texture1D **ppTexture1D); | | _Out_ ID3D10Texture1D **ppTexture1D); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )( | | HRESULT ( STDMETHODCALLTYPE *CreateTexture2D )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_TEXTURE2D_DESC *pDesc, | | _In_ const D3D10_TEXTURE2D_DESC *pDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_xcount_opt(pDesc->MipLevels * pDesc->ArraySize) const D3D10_SU
BRESOURCE_DATA *pInitialData, | | _In_reads_opt_(_Inexpressible_(pDesc->MipLevels * pDesc->ArraySize))
const D3D10_SUBRESOURCE_DATA *pInitialData, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out ID3D10Texture2D **ppTexture2D); | | _Out_ ID3D10Texture2D **ppTexture2D); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )( | | HRESULT ( STDMETHODCALLTYPE *CreateTexture3D )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_TEXTURE3D_DESC *pDesc, | | _In_ const D3D10_TEXTURE3D_DESC *pDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_xcount_opt(pDesc->MipLevels) const D3D10_SUBRESOURCE_DATA *pIn
itialData, | | _In_reads_opt_(_Inexpressible_(pDesc->MipLevels)) const D3D10_SUBRE
SOURCE_DATA *pInitialData, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out ID3D10Texture3D **ppTexture3D); | | _Out_ ID3D10Texture3D **ppTexture3D); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )( | | HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pResource, | | _In_ ID3D10Resource *pResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc, | | _In_opt_ const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10ShaderResourceView **ppSRView); | | _Out_opt_ ID3D10ShaderResourceView **ppSRView); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )( | | HRESULT ( STDMETHODCALLTYPE *CreateRenderTargetView )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pResource, | | _In_ ID3D10Resource *pResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt const D3D10_RENDER_TARGET_VIEW_DESC *pDesc, | | _In_opt_ const D3D10_RENDER_TARGET_VIEW_DESC *pDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10RenderTargetView **ppRTView); | | _Out_opt_ ID3D10RenderTargetView **ppRTView); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )( | | HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilView )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pResource, | | _In_ ID3D10Resource *pResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc, | | _In_opt_ const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10DepthStencilView **ppDepthStencilView); | | _Out_opt_ ID3D10DepthStencilView **ppDepthStencilView); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )( | | HRESULT ( STDMETHODCALLTYPE *CreateInputLayout )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount(NumElements) const D3D10_INPUT_ELEMENT_DESC *pInputElem
entDescs, | | _In_reads_(NumElements) const D3D10_INPUT_ELEMENT_DESC *pInputEleme
ntDescs, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_range( 0, D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UI
NT NumElements, | | _In_range_( 0, D3D10_1_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT ) UI
NT NumElements, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const void *pShaderBytecodeWithInputSignature, | | _In_reads_(BytecodeLength) const void *pShaderBytecodeWithInputSign
ature, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in SIZE_T BytecodeLength, | | _In_ SIZE_T BytecodeLength, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10InputLayout **ppInputLayout); | | _Out_opt_ ID3D10InputLayout **ppInputLayout); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )( | | HRESULT ( STDMETHODCALLTYPE *CreateVertexShader )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const void *pShaderBytecode, | | _In_reads_(BytecodeLength) const void *pShaderBytecode, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in SIZE_T BytecodeLength, | | _In_ SIZE_T BytecodeLength, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10VertexShader **ppVertexShader); | | _Out_opt_ ID3D10VertexShader **ppVertexShader); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )( | | HRESULT ( STDMETHODCALLTYPE *CreateGeometryShader )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const void *pShaderBytecode, | | _In_reads_(BytecodeLength) const void *pShaderBytecode, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in SIZE_T BytecodeLength, | | _In_ SIZE_T BytecodeLength, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10GeometryShader **ppGeometryShader); | | _Out_opt_ ID3D10GeometryShader **ppGeometryShader); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )( | | HRESULT ( STDMETHODCALLTYPE *CreateGeometryShaderWithStreamOutput )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const void *pShaderBytecode, | | _In_reads_(BytecodeLength) const void *pShaderBytecode, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in SIZE_T BytecodeLength, | | _In_ SIZE_T BytecodeLength, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_ecount_opt(NumEntries) const D3D10_SO_DECLARATION_ENTRY *pSODe
claration, | | _In_reads_opt_(NumEntries) const D3D10_SO_DECLARATION_ENTRY *pSODec
laration, |
| /* [annotation] */ | | /* [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] */ | | /* [annotation] */ |
|
| __in UINT OutputStreamStride, | | _In_ UINT OutputStreamStride, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10GeometryShader **ppGeometryShader); | | _Out_opt_ ID3D10GeometryShader **ppGeometryShader); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )( | | HRESULT ( STDMETHODCALLTYPE *CreatePixelShader )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const void *pShaderBytecode, | | _In_reads_(BytecodeLength) const void *pShaderBytecode, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in SIZE_T BytecodeLength, | | _In_ SIZE_T BytecodeLength, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10PixelShader **ppPixelShader); | | _Out_opt_ ID3D10PixelShader **ppPixelShader); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateBlendState )( | | HRESULT ( STDMETHODCALLTYPE *CreateBlendState )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_BLEND_DESC *pBlendStateDesc, | | _In_ const D3D10_BLEND_DESC *pBlendStateDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10BlendState **ppBlendState); | | _Out_opt_ ID3D10BlendState **ppBlendState); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )( | | HRESULT ( STDMETHODCALLTYPE *CreateDepthStencilState )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc, | | _In_ const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10DepthStencilState **ppDepthStencilState); | | _Out_opt_ ID3D10DepthStencilState **ppDepthStencilState); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )( | | HRESULT ( STDMETHODCALLTYPE *CreateRasterizerState )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_RASTERIZER_DESC *pRasterizerDesc, | | _In_ const D3D10_RASTERIZER_DESC *pRasterizerDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10RasterizerState **ppRasterizerState); | | _Out_opt_ ID3D10RasterizerState **ppRasterizerState); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )( | | HRESULT ( STDMETHODCALLTYPE *CreateSamplerState )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_SAMPLER_DESC *pSamplerDesc, | | _In_ const D3D10_SAMPLER_DESC *pSamplerDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10SamplerState **ppSamplerState); | | _Out_opt_ ID3D10SamplerState **ppSamplerState); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateQuery )( | | HRESULT ( STDMETHODCALLTYPE *CreateQuery )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_QUERY_DESC *pQueryDesc, | | _In_ const D3D10_QUERY_DESC *pQueryDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10Query **ppQuery); | | _Out_opt_ ID3D10Query **ppQuery); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreatePredicate )( | | HRESULT ( STDMETHODCALLTYPE *CreatePredicate )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_QUERY_DESC *pPredicateDesc, | | _In_ const D3D10_QUERY_DESC *pPredicateDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10Predicate **ppPredicate); | | _Out_opt_ ID3D10Predicate **ppPredicate); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateCounter )( | | HRESULT ( STDMETHODCALLTYPE *CreateCounter )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_COUNTER_DESC *pCounterDesc, | | _In_ const D3D10_COUNTER_DESC *pCounterDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10Counter **ppCounter); | | _Out_opt_ ID3D10Counter **ppCounter); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )( | | HRESULT ( STDMETHODCALLTYPE *CheckFormatSupport )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in DXGI_FORMAT Format, | | _In_ DXGI_FORMAT Format, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out UINT *pFormatSupport); | | _Out_ UINT *pFormatSupport); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )( | | HRESULT ( STDMETHODCALLTYPE *CheckMultisampleQualityLevels )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in DXGI_FORMAT Format, | | _In_ DXGI_FORMAT Format, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT SampleCount, | | _In_ UINT SampleCount, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out UINT *pNumQualityLevels); | | _Out_ UINT *pNumQualityLevels); |
| | |
| void ( STDMETHODCALLTYPE *CheckCounterInfo )( | | void ( STDMETHODCALLTYPE *CheckCounterInfo )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out D3D10_COUNTER_INFO *pCounterInfo); | | _Out_ D3D10_COUNTER_INFO *pCounterInfo); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CheckCounter )( | | HRESULT ( STDMETHODCALLTYPE *CheckCounter )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_COUNTER_DESC *pDesc, | | _In_ const D3D10_COUNTER_DESC *pDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out D3D10_COUNTER_TYPE *pType, | | _Out_ D3D10_COUNTER_TYPE *pType, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out UINT *pActiveCounters, | | _Out_ UINT *pActiveCounters, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount_opt(*pNameLength) LPSTR szName, | | _Out_writes_opt_(*pNameLength) LPSTR szName, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __inout_opt UINT *pNameLength, | | _Inout_opt_ UINT *pNameLength, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount_opt(*pUnitsLength) LPSTR szUnits, | | _Out_writes_opt_(*pUnitsLength) LPSTR szUnits, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __inout_opt UINT *pUnitsLength, | | _Inout_opt_ UINT *pUnitsLength, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_ecount_opt(*pDescriptionLength) LPSTR szDescription, | | _Out_writes_opt_(*pDescriptionLength) LPSTR szDescription, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __inout_opt UINT *pDescriptionLength); | | _Inout_opt_ UINT *pDescriptionLength); |
| | |
| UINT ( STDMETHODCALLTYPE *GetCreationFlags )( | | UINT ( STDMETHODCALLTYPE *GetCreationFlags )( |
| ID3D10Device1 * This); | | ID3D10Device1 * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )( | | HRESULT ( STDMETHODCALLTYPE *OpenSharedResource )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in HANDLE hResource, | | _In_ HANDLE hResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in REFIID ReturnedInterface, | | _In_ REFIID ReturnedInterface, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt void **ppResource); | | _Out_opt_ void **ppResource); |
| | |
| void ( STDMETHODCALLTYPE *SetTextFilterSize )( | | void ( STDMETHODCALLTYPE *SetTextFilterSize )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT Width, | | _In_ UINT Width, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in UINT Height); | | _In_ UINT Height); |
| | |
| void ( STDMETHODCALLTYPE *GetTextFilterSize )( | | void ( STDMETHODCALLTYPE *GetTextFilterSize )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pWidth, | | _Out_opt_ UINT *pWidth, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt UINT *pHeight); | | _Out_opt_ UINT *pHeight); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView1 )( | | HRESULT ( STDMETHODCALLTYPE *CreateShaderResourceView1 )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in ID3D10Resource *pResource, | | _In_ ID3D10Resource *pResource, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in_opt const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc, | | _In_opt_ const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10ShaderResourceView1 **ppSRView); | | _Out_opt_ ID3D10ShaderResourceView1 **ppSRView); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateBlendState1 )( | | HRESULT ( STDMETHODCALLTYPE *CreateBlendState1 )( |
| ID3D10Device1 * This, | | ID3D10Device1 * This, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __in const D3D10_BLEND_DESC1 *pBlendStateDesc, | | _In_ const D3D10_BLEND_DESC1 *pBlendStateDesc, |
| /* [annotation] */ | | /* [annotation] */ |
|
| __out_opt ID3D10BlendState1 **ppBlendState); | | _Out_opt_ ID3D10BlendState1 **ppBlendState); |
| | |
| D3D10_FEATURE_LEVEL1 ( STDMETHODCALLTYPE *GetFeatureLevel )( | | D3D10_FEATURE_LEVEL1 ( STDMETHODCALLTYPE *GetFeatureLevel )( |
| ID3D10Device1 * This); | | ID3D10Device1 * This); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } ID3D10Device1Vtbl; | | } ID3D10Device1Vtbl; |
| | |
| interface ID3D10Device1 | | interface ID3D10Device1 |
| { | | { |
| CONST_VTBL struct ID3D10Device1Vtbl *lpVtbl; | | CONST_VTBL struct ID3D10Device1Vtbl *lpVtbl; |
| | |
| skipping to change at line 1673 | | skipping to change at line 1660 |
| // CreateDXGIFactory | | // CreateDXGIFactory |
| // IDXGIFactory::EnumAdapters | | // IDXGIFactory::EnumAdapters |
| // IDXGIAdapter::RegisterDriver | | // IDXGIAdapter::RegisterDriver |
| // D3D10CreateDevice1 | | // D3D10CreateDevice1 |
| // | | // |
| /////////////////////////////////////////////////////////////////////////// | | /////////////////////////////////////////////////////////////////////////// |
| typedef HRESULT (WINAPI* PFN_D3D10_CREATE_DEVICE1)(IDXGIAdapter *, | | typedef HRESULT (WINAPI* PFN_D3D10_CREATE_DEVICE1)(IDXGIAdapter *, |
| D3D10_DRIVER_TYPE, HMODULE, UINT, D3D10_FEATURE_LEVEL1, UINT, ID3D10Device1*
*); | | D3D10_DRIVER_TYPE, HMODULE, UINT, D3D10_FEATURE_LEVEL1, UINT, ID3D10Device1*
*); |
| | |
| HRESULT WINAPI D3D10CreateDevice1( | | HRESULT WINAPI D3D10CreateDevice1( |
|
| IDXGIAdapter *pAdapter, | | _In_opt_ IDXGIAdapter *pAdapter, |
| D3D10_DRIVER_TYPE DriverType, | | D3D10_DRIVER_TYPE DriverType, |
| HMODULE Software, | | HMODULE Software, |
| UINT Flags, | | UINT Flags, |
| D3D10_FEATURE_LEVEL1 HardwareLevel, | | D3D10_FEATURE_LEVEL1 HardwareLevel, |
| UINT SDKVersion, | | UINT SDKVersion, |
|
| ID3D10Device1 **ppDevice); | | _Out_opt_ ID3D10Device1 **ppDevice); |
| | |
| /////////////////////////////////////////////////////////////////////////// | | /////////////////////////////////////////////////////////////////////////// |
| // D3D10CreateDeviceAndSwapChain1 | | // D3D10CreateDeviceAndSwapChain1 |
| // ------------------------------ | | // ------------------------------ |
| // | | // |
| // ppAdapter | | // ppAdapter |
| // If NULL, D3D10CreateDevice1 will choose the primary adapter and | | // If NULL, D3D10CreateDevice1 will choose the primary adapter and |
| // create a new instance from a temporarily created IDXGIFactory. | | // create a new instance from a temporarily created IDXGIFactory. |
| // If non-NULL, D3D10CreateDevice1 will register the appropriate | | // If non-NULL, D3D10CreateDevice1 will register the appropriate |
| // device, if necessary (via IDXGIAdapter::RegisterDrver), before | | // device, if necessary (via IDXGIAdapter::RegisterDrver), before |
| | |
| skipping to change at line 1725 | | skipping to change at line 1712 |
| // IDXGIFactory::EnumAdapters | | // IDXGIFactory::EnumAdapters |
| // IDXGIAdapter::RegisterDriver | | // IDXGIAdapter::RegisterDriver |
| // D3D10CreateDevice1 | | // D3D10CreateDevice1 |
| // IDXGIFactory::CreateSwapChain | | // IDXGIFactory::CreateSwapChain |
| // | | // |
| /////////////////////////////////////////////////////////////////////////// | | /////////////////////////////////////////////////////////////////////////// |
| typedef HRESULT (WINAPI* PFN_D3D10_CREATE_DEVICE_AND_SWAP_CHAIN1)(IDXGIAdapter *
, | | typedef HRESULT (WINAPI* PFN_D3D10_CREATE_DEVICE_AND_SWAP_CHAIN1)(IDXGIAdapter *
, |
| D3D10_DRIVER_TYPE, HMODULE, UINT, D3D10_FEATURE_LEVEL1, UINT, DXGI_SWAP_CHAI
N_DESC *, IDXGISwapChain **, ID3D10Device1 **); | | D3D10_DRIVER_TYPE, HMODULE, UINT, D3D10_FEATURE_LEVEL1, UINT, DXGI_SWAP_CHAI
N_DESC *, IDXGISwapChain **, ID3D10Device1 **); |
| | |
| HRESULT WINAPI D3D10CreateDeviceAndSwapChain1( | | HRESULT WINAPI D3D10CreateDeviceAndSwapChain1( |
|
| IDXGIAdapter *pAdapter, | | _In_opt_ IDXGIAdapter *pAdapter, |
| D3D10_DRIVER_TYPE DriverType, | | D3D10_DRIVER_TYPE DriverType, |
| HMODULE Software, | | HMODULE Software, |
| UINT Flags, | | UINT Flags, |
| D3D10_FEATURE_LEVEL1 HardwareLevel, | | D3D10_FEATURE_LEVEL1 HardwareLevel, |
| UINT SDKVersion, | | UINT SDKVersion, |
|
| DXGI_SWAP_CHAIN_DESC *pSwapChainDesc, | | _In_opt_ DXGI_SWAP_CHAIN_DESC *pSwapChainDesc, |
| IDXGISwapChain **ppSwapChain, | | _Out_opt_ IDXGISwapChain **ppSwapChain, |
| ID3D10Device1 **ppDevice); | | _Out_opt_ ID3D10Device1 **ppDevice); |
| | |
| | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ |
| | #pragma endregion |
| DEFINE_GUID(IID_ID3D10BlendState1,0xEDAD8D99,0x8A35,0x4d6d,0x85,0x66,0x2E,0xA2,0
x76,0xCD,0xE1,0x61); | | DEFINE_GUID(IID_ID3D10BlendState1,0xEDAD8D99,0x8A35,0x4d6d,0x85,0x66,0x2E,0xA2,0
x76,0xCD,0xE1,0x61); |
| DEFINE_GUID(IID_ID3D10ShaderResourceView1,0x9B7E4C87,0x342C,0x4106,0xA1,0x9F,0x4
F,0x27,0x04,0xF6,0x89,0xF0); | | DEFINE_GUID(IID_ID3D10ShaderResourceView1,0x9B7E4C87,0x342C,0x4106,0xA1,0x9F,0x4
F,0x27,0x04,0xF6,0x89,0xF0); |
| DEFINE_GUID(IID_ID3D10Device1,0x9B7E4C8F,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,
0xF6,0x89,0xF0); | | DEFINE_GUID(IID_ID3D10Device1,0x9B7E4C8F,0x342C,0x4106,0xA1,0x9F,0x4F,0x27,0x04,
0xF6,0x89,0xF0); |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0003_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0003_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0003_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_d3d10_1_0000_0003_v0_0_s_ifspec; |
| | |
| /* Additional Prototypes for ALL interfaces */ | | /* Additional Prototypes for ALL interfaces */ |
| | |
| /* end of Additional Prototypes */ | | /* end of Additional Prototypes */ |
| | |
| End of changes. 291 change blocks. |
| 317 lines changed or deleted | | 304 lines changed or added |
|