| dxgi.h (6.3.9600.17415-Windows 8.1) | | dxgi.h (10.0.10586.494-Windows 10 1511 10586.494) |
| | |
| /* 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 8.00.0603 */ | | /* File created by MIDL compiler version 8.00.0613 */ |
| /* @@MIDL_FILE_HEADING( ) */ | | /* @@MIDL_FILE_HEADING( ) */ |
| | |
|
| #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__ |
| #define __REQUIRED_RPCSAL_H_VERSION__ 100 | | #define __REQUIRED_RPCSAL_H_VERSION__ 100 |
| #endif | | #endif |
| | |
| #include "rpc.h" | | #include "rpc.h" |
| #include "rpcndr.h" | | #include "rpcndr.h" |
| | |
| #ifndef __RPCNDR_H_VERSION__ | | #ifndef __RPCNDR_H_VERSION__ |
| #error this stub requires an updated version of <rpcndr.h> | | #error this stub requires an updated version of <rpcndr.h> |
|
| #endif // __RPCNDR_H_VERSION__ | | #endif /* __RPCNDR_H_VERSION__ */ |
| | |
| #ifndef COM_NO_WINDOWS_H | | #ifndef COM_NO_WINDOWS_H |
| #include "windows.h" | | #include "windows.h" |
| #include "ole2.h" | | #include "ole2.h" |
| #endif /*COM_NO_WINDOWS_H*/ | | #endif /*COM_NO_WINDOWS_H*/ |
| | |
| #ifndef __dxgi_h__ | | #ifndef __dxgi_h__ |
| #define __dxgi_h__ | | #define __dxgi_h__ |
| | |
| #if defined(_MSC_VER) && (_MSC_VER >= 1020) | | #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
| | |
| skipping to change at line 142 | | skipping to change at line 140 |
| | |
| /* interface __MIDL_itf_dxgi_0000_0000 */ | | /* interface __MIDL_itf_dxgi_0000_0000 */ |
| /* [local] */ | | /* [local] */ |
| | |
| #include <winapifamily.h> | | #include <winapifamily.h> |
| #define DXGI_CPU_ACCESS_NONE ( 0 ) | | #define DXGI_CPU_ACCESS_NONE ( 0 ) |
| #define DXGI_CPU_ACCESS_DYNAMIC ( 1 ) | | #define DXGI_CPU_ACCESS_DYNAMIC ( 1 ) |
| #define DXGI_CPU_ACCESS_READ_WRITE ( 2 ) | | #define DXGI_CPU_ACCESS_READ_WRITE ( 2 ) |
| #define DXGI_CPU_ACCESS_SCRATCH ( 3 ) | | #define DXGI_CPU_ACCESS_SCRATCH ( 3 ) |
| #define DXGI_CPU_ACCESS_FIELD 15 | | #define DXGI_CPU_ACCESS_FIELD 15 |
|
| #define DXGI_USAGE_SHADER_INPUT ( 1L << (0 + 4) ) | | #define DXGI_USAGE_SHADER_INPUT 0x00000010UL |
| #define DXGI_USAGE_RENDER_TARGET_OUTPUT ( 1L << (1 + 4) ) | | #define DXGI_USAGE_RENDER_TARGET_OUTPUT 0x00000020UL |
| #define DXGI_USAGE_BACK_BUFFER ( 1L << (2 + 4) ) | | #define DXGI_USAGE_BACK_BUFFER 0x00000040UL |
| #define DXGI_USAGE_SHARED ( 1L << (3 + 4) ) | | #define DXGI_USAGE_SHARED 0x00000080UL |
| #define DXGI_USAGE_READ_ONLY ( 1L << (4 + 4) ) | | #define DXGI_USAGE_READ_ONLY 0x00000100UL |
| #define DXGI_USAGE_DISCARD_ON_PRESENT ( 1L << (5 + 4) ) | | #define DXGI_USAGE_DISCARD_ON_PRESENT 0x00000200UL |
| #define DXGI_USAGE_UNORDERED_ACCESS ( 1L << (6 + 4) ) | | #define DXGI_USAGE_UNORDERED_ACCESS 0x00000400UL |
| typedef UINT DXGI_USAGE; | | typedef UINT DXGI_USAGE; |
| | |
| typedef struct DXGI_FRAME_STATISTICS | | typedef struct DXGI_FRAME_STATISTICS |
| { | | { |
| UINT PresentCount; | | UINT PresentCount; |
| UINT PresentRefreshCount; | | UINT PresentRefreshCount; |
| UINT SyncRefreshCount; | | UINT SyncRefreshCount; |
| LARGE_INTEGER SyncQPCTime; | | LARGE_INTEGER SyncQPCTime; |
| LARGE_INTEGER SyncGPUTime; | | LARGE_INTEGER SyncGPUTime; |
| } DXGI_FRAME_STATISTICS; | | } DXGI_FRAME_STATISTICS; |
| | |
| skipping to change at line 242 | | skipping to change at line 240 |
| UINT Height; | | UINT Height; |
| DXGI_FORMAT Format; | | DXGI_FORMAT Format; |
| DXGI_SAMPLE_DESC SampleDesc; | | DXGI_SAMPLE_DESC SampleDesc; |
| } DXGI_SURFACE_DESC; | | } DXGI_SURFACE_DESC; |
| | |
| typedef | | typedef |
| enum DXGI_SWAP_EFFECT | | enum DXGI_SWAP_EFFECT |
| { | | { |
| DXGI_SWAP_EFFECT_DISCARD = 0, | | DXGI_SWAP_EFFECT_DISCARD = 0, |
| DXGI_SWAP_EFFECT_SEQUENTIAL = 1, | | DXGI_SWAP_EFFECT_SEQUENTIAL = 1, |
|
| DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL = 3 | | DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL = 3, |
| | DXGI_SWAP_EFFECT_FLIP_DISCARD = 4 |
| } DXGI_SWAP_EFFECT; | | } DXGI_SWAP_EFFECT; |
| | |
| typedef | | typedef |
| enum DXGI_SWAP_CHAIN_FLAG | | enum DXGI_SWAP_CHAIN_FLAG |
| { | | { |
| DXGI_SWAP_CHAIN_FLAG_NONPREROTATED = 1, | | DXGI_SWAP_CHAIN_FLAG_NONPREROTATED = 1, |
| DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH = 2, | | DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH = 2, |
| DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE = 4, | | DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE = 4, |
| DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTENT = 8, | | DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTENT = 8, |
| DXGI_SWAP_CHAIN_FLAG_RESTRICT_SHARED_RESOURCE_DRIVER = 16, | | DXGI_SWAP_CHAIN_FLAG_RESTRICT_SHARED_RESOURCE_DRIVER = 16, |
| DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY = 32, | | DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY = 32, |
| DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT = 64, | | DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT = 64, |
| DXGI_SWAP_CHAIN_FLAG_FOREGROUND_LAYER = 128, | | DXGI_SWAP_CHAIN_FLAG_FOREGROUND_LAYER = 128, |
| DXGI_SWAP_CHAIN_FLAG_FULLSCREEN_VIDEO = 256, | | DXGI_SWAP_CHAIN_FLAG_FULLSCREEN_VIDEO = 256, |
|
| DXGI_SWAP_CHAIN_FLAG_YUV_VIDEO = 512 | | DXGI_SWAP_CHAIN_FLAG_YUV_VIDEO = 512, |
| | DXGI_SWAP_CHAIN_FLAG_HW_PROTECTED = 1024 |
| } DXGI_SWAP_CHAIN_FLAG; | | } DXGI_SWAP_CHAIN_FLAG; |
| | |
| typedef struct DXGI_SWAP_CHAIN_DESC | | typedef struct DXGI_SWAP_CHAIN_DESC |
| { | | { |
| DXGI_MODE_DESC BufferDesc; | | DXGI_MODE_DESC BufferDesc; |
| DXGI_SAMPLE_DESC SampleDesc; | | DXGI_SAMPLE_DESC SampleDesc; |
| DXGI_USAGE BufferUsage; | | DXGI_USAGE BufferUsage; |
| UINT BufferCount; | | UINT BufferCount; |
| HWND OutputWindow; | | HWND OutputWindow; |
| BOOL Windowed; | | BOOL Windowed; |
| | |
| skipping to change at line 314 | | skipping to change at line 314 |
| _In_ REFGUID Name, | | _In_ REFGUID Name, |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData) = 0; | | _Out_writes_bytes_(*pDataSize) void *pData) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetParent( | | virtual HRESULT STDMETHODCALLTYPE GetParent( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent) = 0; | | _COM_Outptr_ void **ppParent) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IDXGIObjectVtbl | | typedef struct IDXGIObjectVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| | |
| skipping to change at line 365 | | skipping to change at line 365 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIObject * This, | | IDXGIObject * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IDXGIObjectVtbl; | | } IDXGIObjectVtbl; |
| | |
| interface IDXGIObject | | interface IDXGIObject |
| { | | { |
| CONST_VTBL struct IDXGIObjectVtbl *lpVtbl; | | CONST_VTBL struct IDXGIObjectVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 422 | | skipping to change at line 422 |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("3d3e0379-f9de-4d58-bb6c-18d62992f1a6") | | MIDL_INTERFACE("3d3e0379-f9de-4d58-bb6c-18d62992f1a6") |
| IDXGIDeviceSubObject : public IDXGIObject | | IDXGIDeviceSubObject : public IDXGIObject |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE GetDevice( | | virtual HRESULT STDMETHODCALLTYPE GetDevice( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppDevice) = 0; | | _COM_Outptr_ void **ppDevice) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IDXGIDeviceSubObjectVtbl | | typedef struct IDXGIDeviceSubObjectVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| | |
| skipping to change at line 473 | | skipping to change at line 473 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIDeviceSubObject * This, | | IDXGIDeviceSubObject * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDevice )( | | HRESULT ( STDMETHODCALLTYPE *GetDevice )( |
| IDXGIDeviceSubObject * This, | | IDXGIDeviceSubObject * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppDevice); | | _COM_Outptr_ void **ppDevice); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IDXGIDeviceSubObjectVtbl; | | } IDXGIDeviceSubObjectVtbl; |
| | |
| interface IDXGIDeviceSubObject | | interface IDXGIDeviceSubObject |
| { | | { |
| CONST_VTBL struct IDXGIDeviceSubObjectVtbl *lpVtbl; | | CONST_VTBL struct IDXGIDeviceSubObjectVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 541 | | skipping to change at line 541 |
| | |
| MIDL_INTERFACE("035f3ab4-482e-4e50-b41f-8a7f8bd8960b") | | MIDL_INTERFACE("035f3ab4-482e-4e50-b41f-8a7f8bd8960b") |
| IDXGIResource : public IDXGIDeviceSubObject | | IDXGIResource : public IDXGIDeviceSubObject |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE GetSharedHandle( | | virtual HRESULT STDMETHODCALLTYPE GetSharedHandle( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ HANDLE *pSharedHandle) = 0; | | _Out_ HANDLE *pSharedHandle) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetUsage( | | virtual HRESULT STDMETHODCALLTYPE GetUsage( |
|
| /* [annotation][out] */ | | /* [out] */ DXGI_USAGE *pUsage) = 0; |
| _Out_ DXGI_USAGE *pUsage) = 0; | | |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetEvictionPriority( | | virtual HRESULT STDMETHODCALLTYPE SetEvictionPriority( |
| /* [in] */ UINT EvictionPriority) = 0; | | /* [in] */ UINT EvictionPriority) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetEvictionPriority( | | virtual HRESULT STDMETHODCALLTYPE GetEvictionPriority( |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
| _Out_ UINT *pEvictionPriority) = 0; | | _Out_ UINT *pEvictionPriority) = 0; |
| | |
| }; | | }; |
| | |
| | |
| skipping to change at line 600 | | skipping to change at line 599 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIResource * This, | | IDXGIResource * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDevice )( | | HRESULT ( STDMETHODCALLTYPE *GetDevice )( |
| IDXGIResource * This, | | IDXGIResource * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppDevice); | | _COM_Outptr_ void **ppDevice); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetSharedHandle )( | | HRESULT ( STDMETHODCALLTYPE *GetSharedHandle )( |
| IDXGIResource * This, | | IDXGIResource * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ HANDLE *pSharedHandle); | | _Out_ HANDLE *pSharedHandle); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetUsage )( | | HRESULT ( STDMETHODCALLTYPE *GetUsage )( |
| IDXGIResource * This, | | IDXGIResource * This, |
|
| /* [annotation][out] */ | | /* [out] */ DXGI_USAGE *pUsage); |
| _Out_ DXGI_USAGE *pUsage); | | |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetEvictionPriority )( | | HRESULT ( STDMETHODCALLTYPE *SetEvictionPriority )( |
| IDXGIResource * This, | | IDXGIResource * This, |
| /* [in] */ UINT EvictionPriority); | | /* [in] */ UINT EvictionPriority); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetEvictionPriority )( | | HRESULT ( STDMETHODCALLTYPE *GetEvictionPriority )( |
| IDXGIResource * This, | | IDXGIResource * This, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
| _Out_ UINT *pEvictionPriority); | | _Out_ UINT *pEvictionPriority); |
| | |
| | |
| skipping to change at line 750 | | skipping to change at line 748 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIKeyedMutex * This, | | IDXGIKeyedMutex * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDevice )( | | HRESULT ( STDMETHODCALLTYPE *GetDevice )( |
| IDXGIKeyedMutex * This, | | IDXGIKeyedMutex * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppDevice); | | _COM_Outptr_ void **ppDevice); |
| | |
| HRESULT ( STDMETHODCALLTYPE *AcquireSync )( | | HRESULT ( STDMETHODCALLTYPE *AcquireSync )( |
| IDXGIKeyedMutex * This, | | IDXGIKeyedMutex * This, |
| /* [in] */ UINT64 Key, | | /* [in] */ UINT64 Key, |
| /* [in] */ DWORD dwMilliseconds); | | /* [in] */ DWORD dwMilliseconds); |
| | |
| HRESULT ( STDMETHODCALLTYPE *ReleaseSync )( | | HRESULT ( STDMETHODCALLTYPE *ReleaseSync )( |
| IDXGIKeyedMutex * This, | | IDXGIKeyedMutex * This, |
| /* [in] */ UINT64 Key); | | /* [in] */ UINT64 Key); |
| | |
| | |
| skipping to change at line 900 | | skipping to change at line 898 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGISurface * This, | | IDXGISurface * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDevice )( | | HRESULT ( STDMETHODCALLTYPE *GetDevice )( |
| IDXGISurface * This, | | IDXGISurface * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppDevice); | | _COM_Outptr_ void **ppDevice); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDesc )( | | HRESULT ( STDMETHODCALLTYPE *GetDesc )( |
| IDXGISurface * This, | | IDXGISurface * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_SURFACE_DESC *pDesc); | | _Out_ DXGI_SURFACE_DESC *pDesc); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Map )( | | HRESULT ( STDMETHODCALLTYPE *Map )( |
| IDXGISurface * This, | | IDXGISurface * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_MAPPED_RECT *pLockedRect, | | _Out_ DXGI_MAPPED_RECT *pLockedRect, |
| | |
| skipping to change at line 1044 | | skipping to change at line 1042 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGISurface1 * This, | | IDXGISurface1 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDevice )( | | HRESULT ( STDMETHODCALLTYPE *GetDevice )( |
| IDXGISurface1 * This, | | IDXGISurface1 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppDevice); | | _COM_Outptr_ void **ppDevice); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDesc )( | | HRESULT ( STDMETHODCALLTYPE *GetDesc )( |
| IDXGISurface1 * This, | | IDXGISurface1 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_SURFACE_DESC *pDesc); | | _Out_ DXGI_SURFACE_DESC *pDesc); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Map )( | | HRESULT ( STDMETHODCALLTYPE *Map )( |
| IDXGISurface1 * This, | | IDXGISurface1 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_MAPPED_RECT *pLockedRect, | | _Out_ DXGI_MAPPED_RECT *pLockedRect, |
| | |
| skipping to change at line 1156 | | skipping to change at line 1154 |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("2411e7e1-12ac-4ccf-bd14-9798e8534dc0") | | MIDL_INTERFACE("2411e7e1-12ac-4ccf-bd14-9798e8534dc0") |
| IDXGIAdapter : public IDXGIObject | | IDXGIAdapter : public IDXGIObject |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE EnumOutputs( | | virtual HRESULT STDMETHODCALLTYPE EnumOutputs( |
| /* [in] */ UINT Output, | | /* [in] */ UINT Output, |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
|
| _Out_ IDXGIOutput **ppOutput) = 0; | | _COM_Outptr_ IDXGIOutput **ppOutput) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetDesc( | | virtual HRESULT STDMETHODCALLTYPE GetDesc( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_ADAPTER_DESC *pDesc) = 0; | | _Out_ DXGI_ADAPTER_DESC *pDesc) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE CheckInterfaceSupport( | | virtual HRESULT STDMETHODCALLTYPE CheckInterfaceSupport( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFGUID InterfaceName, | | _In_ REFGUID InterfaceName, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ LARGE_INTEGER *pUMDVersion) = 0; | | _Out_ LARGE_INTEGER *pUMDVersion) = 0; |
| | |
| skipping to change at line 1217 | | skipping to change at line 1215 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIAdapter * This, | | IDXGIAdapter * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *EnumOutputs )( | | HRESULT ( STDMETHODCALLTYPE *EnumOutputs )( |
| IDXGIAdapter * This, | | IDXGIAdapter * This, |
| /* [in] */ UINT Output, | | /* [in] */ UINT Output, |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
|
| _Out_ IDXGIOutput **ppOutput); | | _COM_Outptr_ IDXGIOutput **ppOutput); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDesc )( | | HRESULT ( STDMETHODCALLTYPE *GetDesc )( |
| IDXGIAdapter * This, | | IDXGIAdapter * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_ADAPTER_DESC *pDesc); | | _Out_ DXGI_ADAPTER_DESC *pDesc); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CheckInterfaceSupport )( | | HRESULT ( STDMETHODCALLTYPE *CheckInterfaceSupport )( |
| IDXGIAdapter * This, | | IDXGIAdapter * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFGUID InterfaceName, | | _In_ REFGUID InterfaceName, |
| | |
| skipping to change at line 1409 | | skipping to change at line 1407 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIOutput * This, | | IDXGIOutput * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDesc )( | | HRESULT ( STDMETHODCALLTYPE *GetDesc )( |
| IDXGIOutput * This, | | IDXGIOutput * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_OUTPUT_DESC *pDesc); | | _Out_ DXGI_OUTPUT_DESC *pDesc); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList )( |
| IDXGIOutput * This, | | IDXGIOutput * This, |
| /* [in] */ DXGI_FORMAT EnumFormat, | | /* [in] */ DXGI_FORMAT EnumFormat, |
| /* [in] */ UINT Flags, | | /* [in] */ UINT Flags, |
| | |
| skipping to change at line 1588 | | skipping to change at line 1586 |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE Present( | | virtual HRESULT STDMETHODCALLTYPE Present( |
| /* [in] */ UINT SyncInterval, | | /* [in] */ UINT SyncInterval, |
| /* [in] */ UINT Flags) = 0; | | /* [in] */ UINT Flags) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetBuffer( | | virtual HRESULT STDMETHODCALLTYPE GetBuffer( |
| /* [in] */ UINT Buffer, | | /* [in] */ UINT Buffer, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
|
| _Out_ void **ppSurface) = 0; | | _COM_Outptr_ void **ppSurface) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetFullscreenState( | | virtual HRESULT STDMETHODCALLTYPE SetFullscreenState( |
| /* [in] */ BOOL Fullscreen, | | /* [in] */ BOOL Fullscreen, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ IDXGIOutput *pTarget) = 0; | | _In_opt_ IDXGIOutput *pTarget) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetFullscreenState( | | virtual HRESULT STDMETHODCALLTYPE GetFullscreenState( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_opt_ BOOL *pFullscreen, | | _Out_opt_ BOOL *pFullscreen, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_opt_ IDXGIOutput **ppTarget) = 0; | | _COM_Outptr_opt_result_maybenull_ IDXGIOutput **ppTarget) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetDesc( | | virtual HRESULT STDMETHODCALLTYPE GetDesc( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_SWAP_CHAIN_DESC *pDesc) = 0; | | _Out_ DXGI_SWAP_CHAIN_DESC *pDesc) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE ResizeBuffers( | | virtual HRESULT STDMETHODCALLTYPE ResizeBuffers( |
| /* [in] */ UINT BufferCount, | | /* [in] */ UINT BufferCount, |
| /* [in] */ UINT Width, | | /* [in] */ UINT Width, |
| /* [in] */ UINT Height, | | /* [in] */ UINT Height, |
| /* [in] */ DXGI_FORMAT NewFormat, | | /* [in] */ DXGI_FORMAT NewFormat, |
| /* [in] */ UINT SwapChainFlags) = 0; | | /* [in] */ UINT SwapChainFlags) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE ResizeTarget( | | virtual HRESULT STDMETHODCALLTYPE ResizeTarget( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_MODE_DESC *pNewTargetParameters) = 0; | | _In_ const DXGI_MODE_DESC *pNewTargetParameters) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetContainingOutput( | | virtual HRESULT STDMETHODCALLTYPE GetContainingOutput( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIOutput **ppOutput) = 0; | | _COM_Outptr_ IDXGIOutput **ppOutput) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetFrameStatistics( | | virtual HRESULT STDMETHODCALLTYPE GetFrameStatistics( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_FRAME_STATISTICS *pStats) = 0; | | _Out_ DXGI_FRAME_STATISTICS *pStats) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetLastPresentCount( | | virtual HRESULT STDMETHODCALLTYPE GetLastPresentCount( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ UINT *pLastPresentCount) = 0; | | _Out_ UINT *pLastPresentCount) = 0; |
| | |
| }; | | }; |
| | |
| skipping to change at line 1677 | | skipping to change at line 1675 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDevice )( | | HRESULT ( STDMETHODCALLTYPE *GetDevice )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppDevice); | | _COM_Outptr_ void **ppDevice); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Present )( | | HRESULT ( STDMETHODCALLTYPE *Present )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [in] */ UINT SyncInterval, | | /* [in] */ UINT SyncInterval, |
| /* [in] */ UINT Flags); | | /* [in] */ UINT Flags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetBuffer )( | | HRESULT ( STDMETHODCALLTYPE *GetBuffer )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [in] */ UINT Buffer, | | /* [in] */ UINT Buffer, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
|
| _Out_ void **ppSurface); | | _COM_Outptr_ void **ppSurface); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetFullscreenState )( | | HRESULT ( STDMETHODCALLTYPE *SetFullscreenState )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [in] */ BOOL Fullscreen, | | /* [in] */ BOOL Fullscreen, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ IDXGIOutput *pTarget); | | _In_opt_ IDXGIOutput *pTarget); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetFullscreenState )( | | HRESULT ( STDMETHODCALLTYPE *GetFullscreenState )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_opt_ BOOL *pFullscreen, | | _Out_opt_ BOOL *pFullscreen, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_opt_ IDXGIOutput **ppTarget); | | _COM_Outptr_opt_result_maybenull_ IDXGIOutput **ppTarget); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDesc )( | | HRESULT ( STDMETHODCALLTYPE *GetDesc )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_SWAP_CHAIN_DESC *pDesc); | | _Out_ DXGI_SWAP_CHAIN_DESC *pDesc); |
| | |
| HRESULT ( STDMETHODCALLTYPE *ResizeBuffers )( | | HRESULT ( STDMETHODCALLTYPE *ResizeBuffers )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [in] */ UINT BufferCount, | | /* [in] */ UINT BufferCount, |
| /* [in] */ UINT Width, | | /* [in] */ UINT Width, |
| | |
| skipping to change at line 1733 | | skipping to change at line 1731 |
| /* [in] */ UINT SwapChainFlags); | | /* [in] */ UINT SwapChainFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *ResizeTarget )( | | HRESULT ( STDMETHODCALLTYPE *ResizeTarget )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_MODE_DESC *pNewTargetParameters); | | _In_ const DXGI_MODE_DESC *pNewTargetParameters); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetContainingOutput )( | | HRESULT ( STDMETHODCALLTYPE *GetContainingOutput )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIOutput **ppOutput); | | _COM_Outptr_ IDXGIOutput **ppOutput); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetFrameStatistics )( | | HRESULT ( STDMETHODCALLTYPE *GetFrameStatistics )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_FRAME_STATISTICS *pStats); | | _Out_ DXGI_FRAME_STATISTICS *pStats); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetLastPresentCount )( | | HRESULT ( STDMETHODCALLTYPE *GetLastPresentCount )( |
| IDXGISwapChain * This, | | IDXGISwapChain * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ UINT *pLastPresentCount); | | _Out_ UINT *pLastPresentCount); |
| | |
| skipping to change at line 1843 | | skipping to change at line 1841 |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("7b7166ec-21c7-44ae-b21a-c9ae321ae369") | | MIDL_INTERFACE("7b7166ec-21c7-44ae-b21a-c9ae321ae369") |
| IDXGIFactory : public IDXGIObject | | IDXGIFactory : public IDXGIObject |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE EnumAdapters( | | virtual HRESULT STDMETHODCALLTYPE EnumAdapters( |
| /* [in] */ UINT Adapter, | | /* [in] */ UINT Adapter, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **ppAdapter) = 0; | | _COM_Outptr_ IDXGIAdapter **ppAdapter) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE MakeWindowAssociation( | | virtual HRESULT STDMETHODCALLTYPE MakeWindowAssociation( |
| HWND WindowHandle, | | HWND WindowHandle, |
| UINT Flags) = 0; | | UINT Flags) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE GetWindowAssociation( | | virtual HRESULT STDMETHODCALLTYPE GetWindowAssociation( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ HWND *pWindowHandle) = 0; | | _Out_ HWND *pWindowHandle) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE CreateSwapChain( | | virtual HRESULT STDMETHODCALLTYPE CreateSwapChain( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pDevice, | | _In_ IUnknown *pDevice, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ DXGI_SWAP_CHAIN_DESC *pDesc, | | _In_ DXGI_SWAP_CHAIN_DESC *pDesc, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISwapChain **ppSwapChain) = 0; | | _COM_Outptr_ IDXGISwapChain **ppSwapChain) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE CreateSoftwareAdapter( | | virtual HRESULT STDMETHODCALLTYPE CreateSoftwareAdapter( |
| /* [in] */ HMODULE Module, | | /* [in] */ HMODULE Module, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **ppAdapter) = 0; | | _COM_Outptr_ IDXGIAdapter **ppAdapter) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IDXGIFactoryVtbl | | typedef struct IDXGIFactoryVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| | |
| skipping to change at line 1915 | | skipping to change at line 1913 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIFactory * This, | | IDXGIFactory * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *EnumAdapters )( | | HRESULT ( STDMETHODCALLTYPE *EnumAdapters )( |
| IDXGIFactory * This, | | IDXGIFactory * This, |
| /* [in] */ UINT Adapter, | | /* [in] */ UINT Adapter, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **ppAdapter); | | _COM_Outptr_ IDXGIAdapter **ppAdapter); |
| | |
| HRESULT ( STDMETHODCALLTYPE *MakeWindowAssociation )( | | HRESULT ( STDMETHODCALLTYPE *MakeWindowAssociation )( |
| IDXGIFactory * This, | | IDXGIFactory * This, |
| HWND WindowHandle, | | HWND WindowHandle, |
| UINT Flags); | | UINT Flags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetWindowAssociation )( | | HRESULT ( STDMETHODCALLTYPE *GetWindowAssociation )( |
| IDXGIFactory * This, | | IDXGIFactory * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ HWND *pWindowHandle); | | _Out_ HWND *pWindowHandle); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSwapChain )( | | HRESULT ( STDMETHODCALLTYPE *CreateSwapChain )( |
| IDXGIFactory * This, | | IDXGIFactory * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pDevice, | | _In_ IUnknown *pDevice, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ DXGI_SWAP_CHAIN_DESC *pDesc, | | _In_ DXGI_SWAP_CHAIN_DESC *pDesc, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISwapChain **ppSwapChain); | | _COM_Outptr_ IDXGISwapChain **ppSwapChain); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSoftwareAdapter )( | | HRESULT ( STDMETHODCALLTYPE *CreateSoftwareAdapter )( |
| IDXGIFactory * This, | | IDXGIFactory * This, |
| /* [in] */ HMODULE Module, | | /* [in] */ HMODULE Module, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **ppAdapter); | | _COM_Outptr_ IDXGIAdapter **ppAdapter); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IDXGIFactoryVtbl; | | } IDXGIFactoryVtbl; |
| | |
| interface IDXGIFactory | | interface IDXGIFactory |
| { | | { |
| CONST_VTBL struct IDXGIFactoryVtbl *lpVtbl; | | CONST_VTBL struct IDXGIFactoryVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 2005 | | skipping to change at line 2003 |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IDXGIFactory_INTERFACE_DEFINED__ */ | | #endif /* __IDXGIFactory_INTERFACE_DEFINED__ */ |
| | |
| /* interface __MIDL_itf_dxgi_0000_0010 */ | | /* interface __MIDL_itf_dxgi_0000_0010 */ |
| /* [local] */ | | /* [local] */ |
| | |
| #pragma region Desktop Family | | #pragma region Desktop Family |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) | | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
|
| HRESULT WINAPI CreateDXGIFactory(REFIID riid, _Out_ void **ppFactory); | | HRESULT WINAPI CreateDXGIFactory(REFIID riid, _COM_Outptr_ void **ppFactory); |
| #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ | | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ |
| #pragma endregion | | #pragma endregion |
|
| HRESULT WINAPI CreateDXGIFactory1(REFIID riid, _Out_ void **ppFactory); | | HRESULT WINAPI CreateDXGIFactory1(REFIID riid, _COM_Outptr_ void **ppFactory); |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_dxgi_0000_0010_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_dxgi_0000_0010_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_dxgi_0000_0010_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_dxgi_0000_0010_v0_0_s_ifspec; |
| | |
| #ifndef __IDXGIDevice_INTERFACE_DEFINED__ | | #ifndef __IDXGIDevice_INTERFACE_DEFINED__ |
| #define __IDXGIDevice_INTERFACE_DEFINED__ | | #define __IDXGIDevice_INTERFACE_DEFINED__ |
| | |
| /* interface IDXGIDevice */ | | /* interface IDXGIDevice */ |
| /* [unique][local][uuid][object] */ | | /* [unique][local][uuid][object] */ |
| | |
| EXTERN_C const IID IID_IDXGIDevice; | | EXTERN_C const IID IID_IDXGIDevice; |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("54ec77fa-1377-44e6-8c32-88fd5f44c84c") | | MIDL_INTERFACE("54ec77fa-1377-44e6-8c32-88fd5f44c84c") |
| IDXGIDevice : public IDXGIObject | | IDXGIDevice : public IDXGIObject |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE GetAdapter( | | virtual HRESULT STDMETHODCALLTYPE GetAdapter( |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **pAdapter) = 0; | | _COM_Outptr_ IDXGIAdapter **pAdapter) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE CreateSurface( | | virtual HRESULT STDMETHODCALLTYPE CreateSurface( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_SURFACE_DESC *pDesc, | | _In_ const DXGI_SURFACE_DESC *pDesc, |
| /* [in] */ UINT NumSurfaces, | | /* [in] */ UINT NumSurfaces, |
| /* [in] */ DXGI_USAGE Usage, | | /* [in] */ DXGI_USAGE Usage, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ const DXGI_SHARED_RESOURCE *pSharedResource, | | _In_opt_ const DXGI_SHARED_RESOURCE *pSharedResource, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISurface **ppSurface) = 0; | | _COM_Outptr_ IDXGISurface **ppSurface) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE QueryResourceResidency( | | virtual HRESULT STDMETHODCALLTYPE QueryResourceResidency( |
| /* [annotation][size_is][in] */ | | /* [annotation][size_is][in] */ |
| _In_reads_(NumResources) IUnknown *const *ppResources, | | _In_reads_(NumResources) IUnknown *const *ppResources, |
| /* [annotation][size_is][out] */ | | /* [annotation][size_is][out] */ |
| _Out_writes_(NumResources) DXGI_RESIDENCY *pResidencyStatus, | | _Out_writes_(NumResources) DXGI_RESIDENCY *pResidencyStatus, |
| /* [in] */ UINT NumResources) = 0; | | /* [in] */ UINT NumResources) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE SetGPUThreadPriority( | | virtual HRESULT STDMETHODCALLTYPE SetGPUThreadPriority( |
| /* [in] */ INT Priority) = 0; | | /* [in] */ INT Priority) = 0; |
| | |
| skipping to change at line 2104 | | skipping to change at line 2102 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIDevice * This, | | IDXGIDevice * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAdapter )( | | HRESULT ( STDMETHODCALLTYPE *GetAdapter )( |
| IDXGIDevice * This, | | IDXGIDevice * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **pAdapter); | | _COM_Outptr_ IDXGIAdapter **pAdapter); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSurface )( | | HRESULT ( STDMETHODCALLTYPE *CreateSurface )( |
| IDXGIDevice * This, | | IDXGIDevice * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_SURFACE_DESC *pDesc, | | _In_ const DXGI_SURFACE_DESC *pDesc, |
| /* [in] */ UINT NumSurfaces, | | /* [in] */ UINT NumSurfaces, |
| /* [in] */ DXGI_USAGE Usage, | | /* [in] */ DXGI_USAGE Usage, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ const DXGI_SHARED_RESOURCE *pSharedResource, | | _In_opt_ const DXGI_SHARED_RESOURCE *pSharedResource, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISurface **ppSurface); | | _COM_Outptr_ IDXGISurface **ppSurface); |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryResourceResidency )( | | HRESULT ( STDMETHODCALLTYPE *QueryResourceResidency )( |
| IDXGIDevice * This, | | IDXGIDevice * This, |
| /* [annotation][size_is][in] */ | | /* [annotation][size_is][in] */ |
| _In_reads_(NumResources) IUnknown *const *ppResources, | | _In_reads_(NumResources) IUnknown *const *ppResources, |
| /* [annotation][size_is][out] */ | | /* [annotation][size_is][out] */ |
| _Out_writes_(NumResources) DXGI_RESIDENCY *pResidencyStatus, | | _Out_writes_(NumResources) DXGI_RESIDENCY *pResidencyStatus, |
| /* [in] */ UINT NumResources); | | /* [in] */ UINT NumResources); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetGPUThreadPriority )( | | HRESULT ( STDMETHODCALLTYPE *SetGPUThreadPriority )( |
| | |
| skipping to change at line 2243 | | skipping to change at line 2241 |
| | |
| #if defined(__cplusplus) && !defined(CINTERFACE) | | #if defined(__cplusplus) && !defined(CINTERFACE) |
| | |
| MIDL_INTERFACE("770aae78-f26f-4dba-a829-253c83d1b387") | | MIDL_INTERFACE("770aae78-f26f-4dba-a829-253c83d1b387") |
| IDXGIFactory1 : public IDXGIFactory | | IDXGIFactory1 : public IDXGIFactory |
| { | | { |
| public: | | public: |
| virtual HRESULT STDMETHODCALLTYPE EnumAdapters1( | | virtual HRESULT STDMETHODCALLTYPE EnumAdapters1( |
| /* [in] */ UINT Adapter, | | /* [in] */ UINT Adapter, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter1 **ppAdapter) = 0; | | _COM_Outptr_ IDXGIAdapter1 **ppAdapter) = 0; |
| | |
| virtual BOOL STDMETHODCALLTYPE IsCurrent( void) = 0; | | virtual BOOL STDMETHODCALLTYPE IsCurrent( void) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IDXGIFactory1Vtbl | | typedef struct IDXGIFactory1Vtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| skipping to change at line 2296 | | skipping to change at line 2294 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIFactory1 * This, | | IDXGIFactory1 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *EnumAdapters )( | | HRESULT ( STDMETHODCALLTYPE *EnumAdapters )( |
| IDXGIFactory1 * This, | | IDXGIFactory1 * This, |
| /* [in] */ UINT Adapter, | | /* [in] */ UINT Adapter, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **ppAdapter); | | _COM_Outptr_ IDXGIAdapter **ppAdapter); |
| | |
| HRESULT ( STDMETHODCALLTYPE *MakeWindowAssociation )( | | HRESULT ( STDMETHODCALLTYPE *MakeWindowAssociation )( |
| IDXGIFactory1 * This, | | IDXGIFactory1 * This, |
| HWND WindowHandle, | | HWND WindowHandle, |
| UINT Flags); | | UINT Flags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetWindowAssociation )( | | HRESULT ( STDMETHODCALLTYPE *GetWindowAssociation )( |
| IDXGIFactory1 * This, | | IDXGIFactory1 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ HWND *pWindowHandle); | | _Out_ HWND *pWindowHandle); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSwapChain )( | | HRESULT ( STDMETHODCALLTYPE *CreateSwapChain )( |
| IDXGIFactory1 * This, | | IDXGIFactory1 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pDevice, | | _In_ IUnknown *pDevice, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ DXGI_SWAP_CHAIN_DESC *pDesc, | | _In_ DXGI_SWAP_CHAIN_DESC *pDesc, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISwapChain **ppSwapChain); | | _COM_Outptr_ IDXGISwapChain **ppSwapChain); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSoftwareAdapter )( | | HRESULT ( STDMETHODCALLTYPE *CreateSoftwareAdapter )( |
| IDXGIFactory1 * This, | | IDXGIFactory1 * This, |
| /* [in] */ HMODULE Module, | | /* [in] */ HMODULE Module, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **ppAdapter); | | _COM_Outptr_ IDXGIAdapter **ppAdapter); |
| | |
| HRESULT ( STDMETHODCALLTYPE *EnumAdapters1 )( | | HRESULT ( STDMETHODCALLTYPE *EnumAdapters1 )( |
| IDXGIFactory1 * This, | | IDXGIFactory1 * This, |
| /* [in] */ UINT Adapter, | | /* [in] */ UINT Adapter, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter1 **ppAdapter); | | _COM_Outptr_ IDXGIAdapter1 **ppAdapter); |
| | |
| BOOL ( STDMETHODCALLTYPE *IsCurrent )( | | BOOL ( STDMETHODCALLTYPE *IsCurrent )( |
| IDXGIFactory1 * This); | | IDXGIFactory1 * This); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IDXGIFactory1Vtbl; | | } IDXGIFactory1Vtbl; |
| | |
| interface IDXGIFactory1 | | interface IDXGIFactory1 |
| { | | { |
| CONST_VTBL struct IDXGIFactory1Vtbl *lpVtbl; | | CONST_VTBL struct IDXGIFactory1Vtbl *lpVtbl; |
| | |
| skipping to change at line 2463 | | skipping to change at line 2461 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIAdapter1 * This, | | IDXGIAdapter1 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *EnumOutputs )( | | HRESULT ( STDMETHODCALLTYPE *EnumOutputs )( |
| IDXGIAdapter1 * This, | | IDXGIAdapter1 * This, |
| /* [in] */ UINT Output, | | /* [in] */ UINT Output, |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
|
| _Out_ IDXGIOutput **ppOutput); | | _COM_Outptr_ IDXGIOutput **ppOutput); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDesc )( | | HRESULT ( STDMETHODCALLTYPE *GetDesc )( |
| IDXGIAdapter1 * This, | | IDXGIAdapter1 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_ADAPTER_DESC *pDesc); | | _Out_ DXGI_ADAPTER_DESC *pDesc); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CheckInterfaceSupport )( | | HRESULT ( STDMETHODCALLTYPE *CheckInterfaceSupport )( |
| IDXGIAdapter1 * This, | | IDXGIAdapter1 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFGUID InterfaceName, | | _In_ REFGUID InterfaceName, |
| | |
| skipping to change at line 2607 | | skipping to change at line 2605 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIDevice1 * This, | | IDXGIDevice1 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAdapter )( | | HRESULT ( STDMETHODCALLTYPE *GetAdapter )( |
| IDXGIDevice1 * This, | | IDXGIDevice1 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **pAdapter); | | _COM_Outptr_ IDXGIAdapter **pAdapter); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSurface )( | | HRESULT ( STDMETHODCALLTYPE *CreateSurface )( |
| IDXGIDevice1 * This, | | IDXGIDevice1 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_SURFACE_DESC *pDesc, | | _In_ const DXGI_SURFACE_DESC *pDesc, |
| /* [in] */ UINT NumSurfaces, | | /* [in] */ UINT NumSurfaces, |
| /* [in] */ DXGI_USAGE Usage, | | /* [in] */ DXGI_USAGE Usage, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ const DXGI_SHARED_RESOURCE *pSharedResource, | | _In_opt_ const DXGI_SHARED_RESOURCE *pSharedResource, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISurface **ppSurface); | | _COM_Outptr_ IDXGISurface **ppSurface); |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryResourceResidency )( | | HRESULT ( STDMETHODCALLTYPE *QueryResourceResidency )( |
| IDXGIDevice1 * This, | | IDXGIDevice1 * This, |
| /* [annotation][size_is][in] */ | | /* [annotation][size_is][in] */ |
| _In_reads_(NumResources) IUnknown *const *ppResources, | | _In_reads_(NumResources) IUnknown *const *ppResources, |
| /* [annotation][size_is][out] */ | | /* [annotation][size_is][out] */ |
| _Out_writes_(NumResources) DXGI_RESIDENCY *pResidencyStatus, | | _Out_writes_(NumResources) DXGI_RESIDENCY *pResidencyStatus, |
| /* [in] */ UINT NumResources); | | /* [in] */ UINT NumResources); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetGPUThreadPriority )( | | HRESULT ( STDMETHODCALLTYPE *SetGPUThreadPriority )( |
| | |
| End of changes. 58 change blocks. |
| 67 lines changed or deleted | | 65 lines changed or added |
|
| dxgi1_3.h (6.3.9600.17415-Windows 8.1) | | dxgi1_3.h (10.0.10586.494-Windows 10 1511 10586.494) |
| | |
| /* 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 8.00.0603 */ | | /* File created by MIDL compiler version 8.00.0613 */ |
| /* @@MIDL_FILE_HEADING( ) */ | | /* @@MIDL_FILE_HEADING( ) */ |
| | |
|
| #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__ |
| #define __REQUIRED_RPCSAL_H_VERSION__ 100 | | #define __REQUIRED_RPCSAL_H_VERSION__ 100 |
| #endif | | #endif |
| | |
| #include "rpc.h" | | #include "rpc.h" |
| #include "rpcndr.h" | | #include "rpcndr.h" |
| | |
| #ifndef __RPCNDR_H_VERSION__ | | #ifndef __RPCNDR_H_VERSION__ |
| #error this stub requires an updated version of <rpcndr.h> | | #error this stub requires an updated version of <rpcndr.h> |
|
| #endif // __RPCNDR_H_VERSION__ | | #endif /* __RPCNDR_H_VERSION__ */ |
| | |
| #ifndef COM_NO_WINDOWS_H | | #ifndef COM_NO_WINDOWS_H |
| #include "windows.h" | | #include "windows.h" |
| #include "ole2.h" | | #include "ole2.h" |
| #endif /*COM_NO_WINDOWS_H*/ | | #endif /*COM_NO_WINDOWS_H*/ |
| | |
| #ifndef __dxgi1_3_h__ | | #ifndef __dxgi1_3_h__ |
| #define __dxgi1_3_h__ | | #define __dxgi1_3_h__ |
| | |
| #if defined(_MSC_VER) && (_MSC_VER >= 1020) | | #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
| | |
| skipping to change at line 102 | | skipping to change at line 100 |
| extern "C"{ | | extern "C"{ |
| #endif | | #endif |
| | |
| /* interface __MIDL_itf_dxgi1_3_0000_0000 */ | | /* interface __MIDL_itf_dxgi1_3_0000_0000 */ |
| /* [local] */ | | /* [local] */ |
| | |
| #include <winapifamily.h> | | #include <winapifamily.h> |
| #pragma region App Family | | #pragma region App Family |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) | | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| #define DXGI_CREATE_FACTORY_DEBUG 0x1 | | #define DXGI_CREATE_FACTORY_DEBUG 0x1 |
|
| HRESULT WINAPI CreateDXGIFactory2(UINT Flags, REFIID riid, _Out_ void **ppFactor
y); | | HRESULT WINAPI CreateDXGIFactory2(UINT Flags, REFIID riid, _COM_Outptr_ void **p
pFactory); |
| HRESULT WINAPI DXGIGetDebugInterface1(UINT Flags, REFIID riid, _COM_Outptr_ void
**pDebug); | | HRESULT WINAPI DXGIGetDebugInterface1(UINT Flags, REFIID riid, _COM_Outptr_ void
**pDebug); |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0000_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0000_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0000_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0000_v0_0_s_ifspec; |
| | |
| #ifndef __IDXGIDevice3_INTERFACE_DEFINED__ | | #ifndef __IDXGIDevice3_INTERFACE_DEFINED__ |
| #define __IDXGIDevice3_INTERFACE_DEFINED__ | | #define __IDXGIDevice3_INTERFACE_DEFINED__ |
| | |
| /* interface IDXGIDevice3 */ | | /* interface IDXGIDevice3 */ |
| /* [unique][local][uuid][object] */ | | /* [unique][local][uuid][object] */ |
| | |
| skipping to change at line 173 | | skipping to change at line 171 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIDevice3 * This, | | IDXGIDevice3 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetAdapter )( | | HRESULT ( STDMETHODCALLTYPE *GetAdapter )( |
| IDXGIDevice3 * This, | | IDXGIDevice3 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **pAdapter); | | _COM_Outptr_ IDXGIAdapter **pAdapter); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSurface )( | | HRESULT ( STDMETHODCALLTYPE *CreateSurface )( |
| IDXGIDevice3 * This, | | IDXGIDevice3 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_SURFACE_DESC *pDesc, | | _In_ const DXGI_SURFACE_DESC *pDesc, |
| /* [in] */ UINT NumSurfaces, | | /* [in] */ UINT NumSurfaces, |
| /* [in] */ DXGI_USAGE Usage, | | /* [in] */ DXGI_USAGE Usage, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ const DXGI_SHARED_RESOURCE *pSharedResource, | | _In_opt_ const DXGI_SHARED_RESOURCE *pSharedResource, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISurface **ppSurface); | | _COM_Outptr_ IDXGISurface **ppSurface); |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryResourceResidency )( | | HRESULT ( STDMETHODCALLTYPE *QueryResourceResidency )( |
| IDXGIDevice3 * This, | | IDXGIDevice3 * This, |
| /* [annotation][size_is][in] */ | | /* [annotation][size_is][in] */ |
| _In_reads_(NumResources) IUnknown *const *ppResources, | | _In_reads_(NumResources) IUnknown *const *ppResources, |
| /* [annotation][size_is][out] */ | | /* [annotation][size_is][out] */ |
| _Out_writes_(NumResources) DXGI_RESIDENCY *pResidencyStatus, | | _Out_writes_(NumResources) DXGI_RESIDENCY *pResidencyStatus, |
| /* [in] */ UINT NumResources); | | /* [in] */ UINT NumResources); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetGPUThreadPriority )( | | HRESULT ( STDMETHODCALLTYPE *SetGPUThreadPriority )( |
| | |
| skipping to change at line 418 | | skipping to change at line 416 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDevice )( | | HRESULT ( STDMETHODCALLTYPE *GetDevice )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppDevice); | | _COM_Outptr_ void **ppDevice); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Present )( | | HRESULT ( STDMETHODCALLTYPE *Present )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [in] */ UINT SyncInterval, | | /* [in] */ UINT SyncInterval, |
| /* [in] */ UINT Flags); | | /* [in] */ UINT Flags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetBuffer )( | | HRESULT ( STDMETHODCALLTYPE *GetBuffer )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [in] */ UINT Buffer, | | /* [in] */ UINT Buffer, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
|
| _Out_ void **ppSurface); | | _COM_Outptr_ void **ppSurface); |
| | |
| HRESULT ( STDMETHODCALLTYPE *SetFullscreenState )( | | HRESULT ( STDMETHODCALLTYPE *SetFullscreenState )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [in] */ BOOL Fullscreen, | | /* [in] */ BOOL Fullscreen, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ IDXGIOutput *pTarget); | | _In_opt_ IDXGIOutput *pTarget); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetFullscreenState )( | | HRESULT ( STDMETHODCALLTYPE *GetFullscreenState )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_opt_ BOOL *pFullscreen, | | _Out_opt_ BOOL *pFullscreen, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_opt_ IDXGIOutput **ppTarget); | | _COM_Outptr_opt_result_maybenull_ IDXGIOutput **ppTarget); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDesc )( | | HRESULT ( STDMETHODCALLTYPE *GetDesc )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_SWAP_CHAIN_DESC *pDesc); | | _Out_ DXGI_SWAP_CHAIN_DESC *pDesc); |
| | |
| HRESULT ( STDMETHODCALLTYPE *ResizeBuffers )( | | HRESULT ( STDMETHODCALLTYPE *ResizeBuffers )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [in] */ UINT BufferCount, | | /* [in] */ UINT BufferCount, |
| /* [in] */ UINT Width, | | /* [in] */ UINT Width, |
| | |
| skipping to change at line 474 | | skipping to change at line 472 |
| /* [in] */ UINT SwapChainFlags); | | /* [in] */ UINT SwapChainFlags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *ResizeTarget )( | | HRESULT ( STDMETHODCALLTYPE *ResizeTarget )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_MODE_DESC *pNewTargetParameters); | | _In_ const DXGI_MODE_DESC *pNewTargetParameters); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetContainingOutput )( | | HRESULT ( STDMETHODCALLTYPE *GetContainingOutput )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIOutput **ppOutput); | | _COM_Outptr_ IDXGIOutput **ppOutput); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetFrameStatistics )( | | HRESULT ( STDMETHODCALLTYPE *GetFrameStatistics )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_FRAME_STATISTICS *pStats); | | _Out_ DXGI_FRAME_STATISTICS *pStats); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetLastPresentCount )( | | HRESULT ( STDMETHODCALLTYPE *GetLastPresentCount )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ UINT *pLastPresentCount); | | _Out_ UINT *pLastPresentCount); |
| | |
| skipping to change at line 506 | | skipping to change at line 504 |
| HRESULT ( STDMETHODCALLTYPE *GetHwnd )( | | HRESULT ( STDMETHODCALLTYPE *GetHwnd )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ HWND *pHwnd); | | _Out_ HWND *pHwnd); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetCoreWindow )( | | HRESULT ( STDMETHODCALLTYPE *GetCoreWindow )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID refiid, | | _In_ REFIID refiid, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ void **ppUnk); | | _COM_Outptr_ void **ppUnk); |
| | |
| HRESULT ( STDMETHODCALLTYPE *Present1 )( | | HRESULT ( STDMETHODCALLTYPE *Present1 )( |
| IDXGISwapChain2 * This, | | IDXGISwapChain2 * This, |
| /* [in] */ UINT SyncInterval, | | /* [in] */ UINT SyncInterval, |
| /* [in] */ UINT PresentFlags, | | /* [in] */ UINT PresentFlags, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_PRESENT_PARAMETERS *pPresentParameters); | | _In_ const DXGI_PRESENT_PARAMETERS *pPresentParameters); |
| | |
| BOOL ( STDMETHODCALLTYPE *IsTemporaryMonoSupported )( | | BOOL ( STDMETHODCALLTYPE *IsTemporaryMonoSupported )( |
| IDXGISwapChain2 * This); | | IDXGISwapChain2 * This); |
| | |
| skipping to change at line 765 | | skipping to change at line 763 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIOutput2 * This, | | IDXGIOutput2 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDesc )( | | HRESULT ( STDMETHODCALLTYPE *GetDesc )( |
| IDXGIOutput2 * This, | | IDXGIOutput2 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_OUTPUT_DESC *pDesc); | | _Out_ DXGI_OUTPUT_DESC *pDesc); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList )( |
| IDXGIOutput2 * This, | | IDXGIOutput2 * This, |
| /* [in] */ DXGI_FORMAT EnumFormat, | | /* [in] */ DXGI_FORMAT EnumFormat, |
| /* [in] */ UINT Flags, | | /* [in] */ UINT Flags, |
| | |
| skipping to change at line 860 | | skipping to change at line 858 |
| HRESULT ( STDMETHODCALLTYPE *GetDisplaySurfaceData1 )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplaySurfaceData1 )( |
| IDXGIOutput2 * This, | | IDXGIOutput2 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IDXGIResource *pDestination); | | _In_ IDXGIResource *pDestination); |
| | |
| HRESULT ( STDMETHODCALLTYPE *DuplicateOutput )( | | HRESULT ( STDMETHODCALLTYPE *DuplicateOutput )( |
| IDXGIOutput2 * This, | | IDXGIOutput2 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pDevice, | | _In_ IUnknown *pDevice, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIOutputDuplication **ppOutputDuplication); | | _COM_Outptr_ IDXGIOutputDuplication **ppOutputDuplication); |
| | |
| BOOL ( STDMETHODCALLTYPE *SupportsOverlays )( | | BOOL ( STDMETHODCALLTYPE *SupportsOverlays )( |
| IDXGIOutput2 * This); | | IDXGIOutput2 * This); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IDXGIOutput2Vtbl; | | } IDXGIOutput2Vtbl; |
| | |
| interface IDXGIOutput2 | | interface IDXGIOutput2 |
| { | | { |
| CONST_VTBL struct IDXGIOutput2Vtbl *lpVtbl; | | CONST_VTBL struct IDXGIOutput2Vtbl *lpVtbl; |
| | |
| skipping to change at line 1018 | | skipping to change at line 1016 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *EnumAdapters )( | | HRESULT ( STDMETHODCALLTYPE *EnumAdapters )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| /* [in] */ UINT Adapter, | | /* [in] */ UINT Adapter, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **ppAdapter); | | _COM_Outptr_ IDXGIAdapter **ppAdapter); |
| | |
| HRESULT ( STDMETHODCALLTYPE *MakeWindowAssociation )( | | HRESULT ( STDMETHODCALLTYPE *MakeWindowAssociation )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| HWND WindowHandle, | | HWND WindowHandle, |
| UINT Flags); | | UINT Flags); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetWindowAssociation )( | | HRESULT ( STDMETHODCALLTYPE *GetWindowAssociation )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ HWND *pWindowHandle); | | _Out_ HWND *pWindowHandle); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSwapChain )( | | HRESULT ( STDMETHODCALLTYPE *CreateSwapChain )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pDevice, | | _In_ IUnknown *pDevice, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ DXGI_SWAP_CHAIN_DESC *pDesc, | | _In_ DXGI_SWAP_CHAIN_DESC *pDesc, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISwapChain **ppSwapChain); | | _COM_Outptr_ IDXGISwapChain **ppSwapChain); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSoftwareAdapter )( | | HRESULT ( STDMETHODCALLTYPE *CreateSoftwareAdapter )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| /* [in] */ HMODULE Module, | | /* [in] */ HMODULE Module, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter **ppAdapter); | | _COM_Outptr_ IDXGIAdapter **ppAdapter); |
| | |
| HRESULT ( STDMETHODCALLTYPE *EnumAdapters1 )( | | HRESULT ( STDMETHODCALLTYPE *EnumAdapters1 )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| /* [in] */ UINT Adapter, | | /* [in] */ UINT Adapter, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIAdapter1 **ppAdapter); | | _COM_Outptr_ IDXGIAdapter1 **ppAdapter); |
| | |
| BOOL ( STDMETHODCALLTYPE *IsCurrent )( | | BOOL ( STDMETHODCALLTYPE *IsCurrent )( |
| IDXGIFactory3 * This); | | IDXGIFactory3 * This); |
| | |
| BOOL ( STDMETHODCALLTYPE *IsWindowedStereoEnabled )( | | BOOL ( STDMETHODCALLTYPE *IsWindowedStereoEnabled )( |
| IDXGIFactory3 * This); | | IDXGIFactory3 * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForHwnd )( | | HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForHwnd )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pDevice, | | _In_ IUnknown *pDevice, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ HWND hWnd, | | _In_ HWND hWnd, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc, | | _In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc, | | _In_opt_ const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ IDXGIOutput *pRestrictToOutput, | | _In_opt_ IDXGIOutput *pRestrictToOutput, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISwapChain1 **ppSwapChain); | | _COM_Outptr_ IDXGISwapChain1 **ppSwapChain); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForCoreWindow )( | | HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForCoreWindow )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pDevice, | | _In_ IUnknown *pDevice, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pWindow, | | _In_ IUnknown *pWindow, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc, | | _In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ IDXGIOutput *pRestrictToOutput, | | _In_opt_ IDXGIOutput *pRestrictToOutput, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISwapChain1 **ppSwapChain); | | _COM_Outptr_ IDXGISwapChain1 **ppSwapChain); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetSharedResourceAdapterLuid )( | | HRESULT ( STDMETHODCALLTYPE *GetSharedResourceAdapterLuid )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| /* [annotation] */ | | /* [annotation] */ |
| _In_ HANDLE hResource, | | _In_ HANDLE hResource, |
| /* [annotation] */ | | /* [annotation] */ |
| _Out_ LUID *pLuid); | | _Out_ LUID *pLuid); |
| | |
| HRESULT ( STDMETHODCALLTYPE *RegisterStereoStatusWindow )( | | HRESULT ( STDMETHODCALLTYPE *RegisterStereoStatusWindow )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| | |
| skipping to change at line 1149 | | skipping to change at line 1147 |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForComposition )( | | HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForComposition )( |
| IDXGIFactory3 * This, | | IDXGIFactory3 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pDevice, | | _In_ IUnknown *pDevice, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc, | | _In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ IDXGIOutput *pRestrictToOutput, | | _In_opt_ IDXGIOutput *pRestrictToOutput, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Outptr_ IDXGISwapChain1 **ppSwapChain); | | _COM_Outptr_ IDXGISwapChain1 **ppSwapChain); |
| | |
| UINT ( STDMETHODCALLTYPE *GetCreationFlags )( | | UINT ( STDMETHODCALLTYPE *GetCreationFlags )( |
| IDXGIFactory3 * This); | | IDXGIFactory3 * This); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IDXGIFactory3Vtbl; | | } IDXGIFactory3Vtbl; |
| | |
| interface IDXGIFactory3 | | interface IDXGIFactory3 |
| { | | { |
| CONST_VTBL struct IDXGIFactory3Vtbl *lpVtbl; | | CONST_VTBL struct IDXGIFactory3Vtbl *lpVtbl; |
| | |
| skipping to change at line 1458 | | skipping to change at line 1456 |
| virtual HRESULT STDMETHODCALLTYPE CreateSwapChainForCompositionSurfaceHa
ndle( | | virtual HRESULT STDMETHODCALLTYPE CreateSwapChainForCompositionSurfaceHa
ndle( |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pDevice, | | _In_ IUnknown *pDevice, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ HANDLE hSurface, | | _In_opt_ HANDLE hSurface, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc, | | _In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ IDXGIOutput *pRestrictToOutput, | | _In_opt_ IDXGIOutput *pRestrictToOutput, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISwapChain1 **ppSwapChain) = 0; | | _COM_Outptr_ IDXGISwapChain1 **ppSwapChain) = 0; |
| | |
| virtual HRESULT STDMETHODCALLTYPE CreateDecodeSwapChainForCompositionSur
faceHandle( | | virtual HRESULT STDMETHODCALLTYPE CreateDecodeSwapChainForCompositionSur
faceHandle( |
|
| IUnknown *pDevice, | | /* [annotation][in] */ |
| HANDLE hSurface, | | _In_ IUnknown *pDevice, |
| DXGI_DECODE_SWAP_CHAIN_DESC *pDesc, | | /* [annotation][in] */ |
| IDXGIResource *pYuvDecodeBuffers, | | _In_opt_ HANDLE hSurface, |
| IDXGIOutput *pRestrictToOutput, | | /* [annotation][in] */ |
| | _In_ DXGI_DECODE_SWAP_CHAIN_DESC *pDesc, |
| | /* [annotation][in] */ |
| | _In_ IDXGIResource *pYuvDecodeBuffers, |
| | /* [annotation][in] */ |
| | _In_opt_ IDXGIOutput *pRestrictToOutput, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIDecodeSwapChain **ppSwapChain) = 0; | | _COM_Outptr_ IDXGIDecodeSwapChain **ppSwapChain) = 0; |
| | |
| }; | | }; |
| | |
| #else /* C style interface */ | | #else /* C style interface */ |
| | |
| typedef struct IDXGIFactoryMediaVtbl | | typedef struct IDXGIFactoryMediaVtbl |
| { | | { |
| BEGIN_INTERFACE | | BEGIN_INTERFACE |
| | |
| HRESULT ( STDMETHODCALLTYPE *QueryInterface )( | | HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| | |
| skipping to change at line 1500 | | skipping to change at line 1503 |
| IDXGIFactoryMedia * This, | | IDXGIFactoryMedia * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pDevice, | | _In_ IUnknown *pDevice, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ HANDLE hSurface, | | _In_opt_ HANDLE hSurface, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc, | | _In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_opt_ IDXGIOutput *pRestrictToOutput, | | _In_opt_ IDXGIOutput *pRestrictToOutput, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGISwapChain1 **ppSwapChain); | | _COM_Outptr_ IDXGISwapChain1 **ppSwapChain); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CreateDecodeSwapChainForCompositionSurfaceH
andle )( | | HRESULT ( STDMETHODCALLTYPE *CreateDecodeSwapChainForCompositionSurfaceH
andle )( |
| IDXGIFactoryMedia * This, | | IDXGIFactoryMedia * This, |
|
| IUnknown *pDevice, | | /* [annotation][in] */ |
| HANDLE hSurface, | | _In_ IUnknown *pDevice, |
| DXGI_DECODE_SWAP_CHAIN_DESC *pDesc, | | /* [annotation][in] */ |
| IDXGIResource *pYuvDecodeBuffers, | | _In_opt_ HANDLE hSurface, |
| IDXGIOutput *pRestrictToOutput, | | /* [annotation][in] */ |
| | _In_ DXGI_DECODE_SWAP_CHAIN_DESC *pDesc, |
| | /* [annotation][in] */ |
| | _In_ IDXGIResource *pYuvDecodeBuffers, |
| | /* [annotation][in] */ |
| | _In_opt_ IDXGIOutput *pRestrictToOutput, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIDecodeSwapChain **ppSwapChain); | | _COM_Outptr_ IDXGIDecodeSwapChain **ppSwapChain); |
| | |
| END_INTERFACE | | END_INTERFACE |
| } IDXGIFactoryMediaVtbl; | | } IDXGIFactoryMediaVtbl; |
| | |
| interface IDXGIFactoryMedia | | interface IDXGIFactoryMedia |
| { | | { |
| CONST_VTBL struct IDXGIFactoryMediaVtbl *lpVtbl; | | CONST_VTBL struct IDXGIFactoryMediaVtbl *lpVtbl; |
| }; | | }; |
| | |
| #ifdef COBJMACROS | | #ifdef COBJMACROS |
| | |
| skipping to change at line 1551 | | skipping to change at line 1559 |
| #endif /* __IDXGIFactoryMedia_INTERFACE_DEFINED__ */ | | #endif /* __IDXGIFactoryMedia_INTERFACE_DEFINED__ */ |
| | |
| /* interface __MIDL_itf_dxgi1_3_0000_0006 */ | | /* interface __MIDL_itf_dxgi1_3_0000_0006 */ |
| /* [local] */ | | /* [local] */ |
| | |
| typedef | | typedef |
| enum DXGI_FRAME_PRESENTATION_MODE | | enum DXGI_FRAME_PRESENTATION_MODE |
| { | | { |
| DXGI_FRAME_PRESENTATION_MODE_COMPOSED = 0, | | DXGI_FRAME_PRESENTATION_MODE_COMPOSED = 0, |
| DXGI_FRAME_PRESENTATION_MODE_OVERLAY = 1, | | DXGI_FRAME_PRESENTATION_MODE_OVERLAY = 1, |
|
| DXGI_FRAME_PRESENTATION_MODE_NONE = 2 | | DXGI_FRAME_PRESENTATION_MODE_NONE = 2, |
| | DXGI_FRAME_PRESENTATION_MODE_COMPOSITION_FAILURE = 3 |
| } DXGI_FRAME_PRESENTATION_MODE; | | } DXGI_FRAME_PRESENTATION_MODE; |
| | |
| typedef struct DXGI_FRAME_STATISTICS_MEDIA | | typedef struct DXGI_FRAME_STATISTICS_MEDIA |
| { | | { |
| UINT PresentCount; | | UINT PresentCount; |
| UINT PresentRefreshCount; | | UINT PresentRefreshCount; |
| UINT SyncRefreshCount; | | UINT SyncRefreshCount; |
| LARGE_INTEGER SyncQPCTime; | | LARGE_INTEGER SyncQPCTime; |
| LARGE_INTEGER SyncGPUTime; | | LARGE_INTEGER SyncGPUTime; |
| DXGI_FRAME_PRESENTATION_MODE CompositionMode; | | DXGI_FRAME_PRESENTATION_MODE CompositionMode; |
| | |
| skipping to change at line 1677 | | skipping to change at line 1686 |
| /* interface __MIDL_itf_dxgi1_3_0000_0007 */ | | /* interface __MIDL_itf_dxgi1_3_0000_0007 */ |
| /* [local] */ | | /* [local] */ |
| | |
| typedef | | typedef |
| enum DXGI_OVERLAY_SUPPORT_FLAG | | enum DXGI_OVERLAY_SUPPORT_FLAG |
| { | | { |
| DXGI_OVERLAY_SUPPORT_FLAG_DIRECT = 0x1, | | DXGI_OVERLAY_SUPPORT_FLAG_DIRECT = 0x1, |
| DXGI_OVERLAY_SUPPORT_FLAG_SCALING = 0x2 | | DXGI_OVERLAY_SUPPORT_FLAG_SCALING = 0x2 |
| } DXGI_OVERLAY_SUPPORT_FLAG; | | } DXGI_OVERLAY_SUPPORT_FLAG; |
| | |
|
| | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ |
| | #pragma endregion |
| | #pragma region App Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| | |
| extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0007_v0_0_c_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0007_v0_0_c_ifspec; |
| extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0007_v0_0_s_ifspec; | | extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0007_v0_0_s_ifspec; |
| | |
| #ifndef __IDXGIOutput3_INTERFACE_DEFINED__ | | #ifndef __IDXGIOutput3_INTERFACE_DEFINED__ |
| #define __IDXGIOutput3_INTERFACE_DEFINED__ | | #define __IDXGIOutput3_INTERFACE_DEFINED__ |
| | |
| /* interface IDXGIOutput3 */ | | /* interface IDXGIOutput3 */ |
| /* [unique][local][uuid][object] */ | | /* [unique][local][uuid][object] */ |
| | |
| EXTERN_C const IID IID_IDXGIOutput3; | | EXTERN_C const IID IID_IDXGIOutput3; |
| | |
| skipping to change at line 1751 | | skipping to change at line 1765 |
| /* [annotation][out][in] */ | | /* [annotation][out][in] */ |
| _Inout_ UINT *pDataSize, | | _Inout_ UINT *pDataSize, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_writes_bytes_(*pDataSize) void *pData); | | _Out_writes_bytes_(*pDataSize) void *pData); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetParent )( | | HRESULT ( STDMETHODCALLTYPE *GetParent )( |
| IDXGIOutput3 * This, | | IDXGIOutput3 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ REFIID riid, | | _In_ REFIID riid, |
| /* [annotation][retval][out] */ | | /* [annotation][retval][out] */ |
|
| _Out_ void **ppParent); | | _COM_Outptr_ void **ppParent); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDesc )( | | HRESULT ( STDMETHODCALLTYPE *GetDesc )( |
| IDXGIOutput3 * This, | | IDXGIOutput3 * This, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _Out_ DXGI_OUTPUT_DESC *pDesc); | | _Out_ DXGI_OUTPUT_DESC *pDesc); |
| | |
| HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList )( |
| IDXGIOutput3 * This, | | IDXGIOutput3 * This, |
| /* [in] */ DXGI_FORMAT EnumFormat, | | /* [in] */ DXGI_FORMAT EnumFormat, |
| /* [in] */ UINT Flags, | | /* [in] */ UINT Flags, |
| | |
| skipping to change at line 1846 | | skipping to change at line 1860 |
| HRESULT ( STDMETHODCALLTYPE *GetDisplaySurfaceData1 )( | | HRESULT ( STDMETHODCALLTYPE *GetDisplaySurfaceData1 )( |
| IDXGIOutput3 * This, | | IDXGIOutput3 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IDXGIResource *pDestination); | | _In_ IDXGIResource *pDestination); |
| | |
| HRESULT ( STDMETHODCALLTYPE *DuplicateOutput )( | | HRESULT ( STDMETHODCALLTYPE *DuplicateOutput )( |
| IDXGIOutput3 * This, | | IDXGIOutput3 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ IUnknown *pDevice, | | _In_ IUnknown *pDevice, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
|
| _Out_ IDXGIOutputDuplication **ppOutputDuplication); | | _COM_Outptr_ IDXGIOutputDuplication **ppOutputDuplication); |
| | |
| BOOL ( STDMETHODCALLTYPE *SupportsOverlays )( | | BOOL ( STDMETHODCALLTYPE *SupportsOverlays )( |
| IDXGIOutput3 * This); | | IDXGIOutput3 * This); |
| | |
| HRESULT ( STDMETHODCALLTYPE *CheckOverlaySupport )( | | HRESULT ( STDMETHODCALLTYPE *CheckOverlaySupport )( |
| IDXGIOutput3 * This, | | IDXGIOutput3 * This, |
| /* [annotation][in] */ | | /* [annotation][in] */ |
| _In_ DXGI_FORMAT EnumFormat, | | _In_ DXGI_FORMAT EnumFormat, |
| /* [annotation][out] */ | | /* [annotation][out] */ |
| _In_ IUnknown *pConcernedDevice, | | _In_ IUnknown *pConcernedDevice, |
| | |
| skipping to change at line 1954 | | skipping to change at line 1968 |
| | |
| #endif /* COBJMACROS */ | | #endif /* COBJMACROS */ |
| | |
| #endif /* C style interface */ | | #endif /* C style interface */ |
| | |
| #endif /* __IDXGIOutput3_INTERFACE_DEFINED__ */ | | #endif /* __IDXGIOutput3_INTERFACE_DEFINED__ */ |
| | |
| /* interface __MIDL_itf_dxgi1_3_0000_0008 */ | | /* interface __MIDL_itf_dxgi1_3_0000_0008 */ |
| /* [local] */ | | /* [local] */ |
| | |
|
| #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ | | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ |
| #pragma endregion | | #pragma endregion |
| DEFINE_GUID(IID_IDXGIDevice3,0x6007896c,0x3244,0x4afd,0xbf,0x18,0xa6,0xd3,0xbe,0
xda,0x50,0x23); | | DEFINE_GUID(IID_IDXGIDevice3,0x6007896c,0x3244,0x4afd,0xbf,0x18,0xa6,0xd3,0xbe,0
xda,0x50,0x23); |
| DEFINE_GUID(IID_IDXGISwapChain2,0xa8be2ac4,0x199f,0x4946,0xb3,0x31,0x79,0x59,0x9
f,0xb9,0x8d,0xe7); | | DEFINE_GUID(IID_IDXGISwapChain2,0xa8be2ac4,0x199f,0x4946,0xb3,0x31,0x79,0x59,0x9
f,0xb9,0x8d,0xe7); |
| DEFINE_GUID(IID_IDXGIOutput2,0x595e39d1,0x2724,0x4663,0x99,0xb1,0xda,0x96,0x9d,0
xe2,0x83,0x64); | | DEFINE_GUID(IID_IDXGIOutput2,0x595e39d1,0x2724,0x4663,0x99,0xb1,0xda,0x96,0x9d,0
xe2,0x83,0x64); |
| DEFINE_GUID(IID_IDXGIFactory3,0x25483823,0xcd46,0x4c7d,0x86,0xca,0x47,0xaa,0x95,
0xb8,0x37,0xbd); | | DEFINE_GUID(IID_IDXGIFactory3,0x25483823,0xcd46,0x4c7d,0x86,0xca,0x47,0xaa,0x95,
0xb8,0x37,0xbd); |
| DEFINE_GUID(IID_IDXGIDecodeSwapChain,0x2633066b,0x4514,0x4c7a,0x8f,0xd8,0x12,0xe
a,0x98,0x05,0x9d,0x18); | | DEFINE_GUID(IID_IDXGIDecodeSwapChain,0x2633066b,0x4514,0x4c7a,0x8f,0xd8,0x12,0xe
a,0x98,0x05,0x9d,0x18); |
| DEFINE_GUID(IID_IDXGIFactoryMedia,0x41e7d1f2,0xa591,0x4f7b,0xa2,0xe5,0xfa,0x9c,0
x84,0x3e,0x1c,0x12); | | DEFINE_GUID(IID_IDXGIFactoryMedia,0x41e7d1f2,0xa591,0x4f7b,0xa2,0xe5,0xfa,0x9c,0
x84,0x3e,0x1c,0x12); |
| DEFINE_GUID(IID_IDXGISwapChainMedia,0xdd95b90b,0xf05f,0x4f6a,0xbd,0x65,0x25,0xbf
,0xb2,0x64,0xbd,0x84); | | DEFINE_GUID(IID_IDXGISwapChainMedia,0xdd95b90b,0xf05f,0x4f6a,0xbd,0x65,0x25,0xbf
,0xb2,0x64,0xbd,0x84); |
| DEFINE_GUID(IID_IDXGIOutput3,0x8a6bb301,0x7e7e,0x41F4,0xa8,0xe0,0x5b,0x32,0xf7,0
xf9,0x9b,0x18); | | DEFINE_GUID(IID_IDXGIOutput3,0x8a6bb301,0x7e7e,0x41F4,0xa8,0xe0,0x5b,0x32,0xf7,0
xf9,0x9b,0x18); |
| | |
| | |
| End of changes. 34 change blocks. |
| 42 lines changed or deleted | | 56 lines changed or added |
|