1991 lines
67 KiB
C
Raw Normal View History

2018-01-23 23:40:17 +01:00
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.00.0613 */
/* @@MIDL_FILE_HEADING( ) */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
/* verify that the <rpcsal.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCSAL_H_VERSION__
#define __REQUIRED_RPCSAL_H_VERSION__ 100
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif /* __RPCNDR_H_VERSION__ */
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __dxgi1_3_h__
#define __dxgi1_3_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
2019-02-03 15:49:35 -08:00
/* Forward Declarations */
2018-01-23 23:40:17 +01:00
#ifndef __IDXGIDevice3_FWD_DEFINED__
#define __IDXGIDevice3_FWD_DEFINED__
typedef interface IDXGIDevice3 IDXGIDevice3;
#endif /* __IDXGIDevice3_FWD_DEFINED__ */
#ifndef __IDXGISwapChain2_FWD_DEFINED__
#define __IDXGISwapChain2_FWD_DEFINED__
typedef interface IDXGISwapChain2 IDXGISwapChain2;
#endif /* __IDXGISwapChain2_FWD_DEFINED__ */
#ifndef __IDXGIOutput2_FWD_DEFINED__
#define __IDXGIOutput2_FWD_DEFINED__
typedef interface IDXGIOutput2 IDXGIOutput2;
#endif /* __IDXGIOutput2_FWD_DEFINED__ */
#ifndef __IDXGIFactory3_FWD_DEFINED__
#define __IDXGIFactory3_FWD_DEFINED__
typedef interface IDXGIFactory3 IDXGIFactory3;
#endif /* __IDXGIFactory3_FWD_DEFINED__ */
#ifndef __IDXGIDecodeSwapChain_FWD_DEFINED__
#define __IDXGIDecodeSwapChain_FWD_DEFINED__
typedef interface IDXGIDecodeSwapChain IDXGIDecodeSwapChain;
#endif /* __IDXGIDecodeSwapChain_FWD_DEFINED__ */
#ifndef __IDXGIFactoryMedia_FWD_DEFINED__
#define __IDXGIFactoryMedia_FWD_DEFINED__
typedef interface IDXGIFactoryMedia IDXGIFactoryMedia;
#endif /* __IDXGIFactoryMedia_FWD_DEFINED__ */
#ifndef __IDXGISwapChainMedia_FWD_DEFINED__
#define __IDXGISwapChainMedia_FWD_DEFINED__
typedef interface IDXGISwapChainMedia IDXGISwapChainMedia;
#endif /* __IDXGISwapChainMedia_FWD_DEFINED__ */
#ifndef __IDXGIOutput3_FWD_DEFINED__
#define __IDXGIOutput3_FWD_DEFINED__
typedef interface IDXGIOutput3 IDXGIOutput3;
#endif /* __IDXGIOutput3_FWD_DEFINED__ */
/* header files for imported files */
#include "dxgi1_2.h"
#ifdef __cplusplus
extern "C"{
2019-02-03 15:49:35 -08:00
#endif
2018-01-23 23:40:17 +01:00
/* interface __MIDL_itf_dxgi1_3_0000_0000 */
2019-02-03 15:49:35 -08:00
/* [local] */
2018-01-23 23:40:17 +01:00
/*#include <winapifamily.h>*/
/*#pragma region App Family*/
/*#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)*/
#define DXGI_CREATE_FACTORY_DEBUG 0x1
HRESULT WINAPI CreateDXGIFactory2(UINT Flags, REFIID riid, _COM_Outptr_ void **ppFactory);
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_s_ifspec;
#ifndef __IDXGIDevice3_INTERFACE_DEFINED__
#define __IDXGIDevice3_INTERFACE_DEFINED__
/* interface IDXGIDevice3 */
2019-02-03 15:49:35 -08:00
/* [unique][local][uuid][object] */
2018-01-23 23:40:17 +01:00
EXTERN_C const IID IID_IDXGIDevice3;
#if defined(__cplusplus) && !defined(CINTERFACE)
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
MIDL_INTERFACE("6007896c-3244-4afd-bf18-a6d3beda5023")
IDXGIDevice3 : public IDXGIDevice2
{
public:
virtual void STDMETHODCALLTYPE Trim( void) = 0;
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
};
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
#else /* C style interface */
typedef struct IDXGIDevice3Vtbl
{
BEGIN_INTERFACE
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
/* [in] */ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][iid_is][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppvObject);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *AddRef )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *Release )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
/* [in] */ UINT DataSize,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_reads_bytes_(DataSize) const void *pData);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ const IUnknown *pUnknown);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
2019-02-03 15:49:35 -08:00
/* [annotation][out][in] */
2018-01-23 23:40:17 +01:00
_Inout_ UINT *pDataSize,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_writes_bytes_(*pDataSize) void *pData);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetParent )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][retval][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppParent);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetAdapter )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGIAdapter **pAdapter);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *CreateSurface )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_SURFACE_DESC *pDesc,
/* [in] */ UINT NumSurfaces,
/* [in] */ DXGI_USAGE Usage,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ const DXGI_SHARED_RESOURCE *pSharedResource,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGISurface **ppSurface);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *QueryResourceResidency )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][size_is][in] */
2018-01-23 23:40:17 +01:00
_In_reads_(NumResources) IUnknown *const *ppResources,
2019-02-03 15:49:35 -08:00
/* [annotation][size_is][out] */
2018-01-23 23:40:17 +01:00
_Out_writes_(NumResources) DXGI_RESIDENCY *pResidencyStatus,
/* [in] */ UINT NumResources);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetGPUThreadPriority )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
/* [in] */ INT Priority);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetGPUThreadPriority )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][retval][out] */
2018-01-23 23:40:17 +01:00
_Out_ INT *pPriority);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetMaximumFrameLatency )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
/* [in] */ UINT MaxLatency);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetMaximumFrameLatency )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pMaxLatency);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *OfferResources )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ UINT NumResources,
2019-02-03 15:49:35 -08:00
/* [annotation][size_is][in] */
2018-01-23 23:40:17 +01:00
_In_reads_(NumResources) IDXGIResource *const *ppResources,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ DXGI_OFFER_RESOURCE_PRIORITY Priority);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *ReclaimResources )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ UINT NumResources,
2019-02-03 15:49:35 -08:00
/* [annotation][size_is][in] */
2018-01-23 23:40:17 +01:00
_In_reads_(NumResources) IDXGIResource *const *ppResources,
2019-02-03 15:49:35 -08:00
/* [annotation][size_is][out] */
2018-01-23 23:40:17 +01:00
_Out_writes_all_opt_(NumResources) BOOL *pDiscarded);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *EnqueueSetEvent )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ HANDLE hEvent);
2019-02-03 15:49:35 -08:00
void ( STDMETHODCALLTYPE *Trim )(
2018-01-23 23:40:17 +01:00
IDXGIDevice3 * This);
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
END_INTERFACE
} IDXGIDevice3Vtbl;
interface IDXGIDevice3
{
CONST_VTBL struct IDXGIDevice3Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IDXGIDevice3_QueryInterface(This,riid,ppvObject) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_AddRef(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> AddRef(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_Release(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> Release(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_SetPrivateData(This,Name,DataSize,pData) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_SetPrivateDataInterface(This,Name,pUnknown) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_GetPrivateData(This,Name,pDataSize,pData) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_GetParent(This,riid,ppParent) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetParent(This,riid,ppParent) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_GetAdapter(This,pAdapter) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetAdapter(This,pAdapter) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_CreateSurface(This,pDesc,NumSurfaces,Usage,pSharedResource,ppSurface) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> CreateSurface(This,pDesc,NumSurfaces,Usage,pSharedResource,ppSurface) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_QueryResourceResidency(This,ppResources,pResidencyStatus,NumResources) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> QueryResourceResidency(This,ppResources,pResidencyStatus,NumResources) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_SetGPUThreadPriority(This,Priority) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetGPUThreadPriority(This,Priority) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_GetGPUThreadPriority(This,pPriority) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetGPUThreadPriority(This,pPriority) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_SetMaximumFrameLatency(This,MaxLatency) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetMaximumFrameLatency(This,MaxLatency) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_GetMaximumFrameLatency(This,pMaxLatency) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetMaximumFrameLatency(This,pMaxLatency) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_OfferResources(This,NumResources,ppResources,Priority) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> OfferResources(This,NumResources,ppResources,Priority) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_ReclaimResources(This,NumResources,ppResources,pDiscarded) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> ReclaimResources(This,NumResources,ppResources,pDiscarded) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_EnqueueSetEvent(This,hEvent) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> EnqueueSetEvent(This,hEvent) )
2018-01-23 23:40:17 +01:00
#define IDXGIDevice3_Trim(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> Trim(This) )
2018-01-23 23:40:17 +01:00
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IDXGIDevice3_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_dxgi1_3_0000_0001 */
2019-02-03 15:49:35 -08:00
/* [local] */
2018-01-23 23:40:17 +01:00
typedef struct DXGI_MATRIX_3X2_F
{
FLOAT _11;
FLOAT _12;
FLOAT _21;
FLOAT _22;
FLOAT _31;
FLOAT _32;
} DXGI_MATRIX_3X2_F;
extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0001_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0001_v0_0_s_ifspec;
#ifndef __IDXGISwapChain2_INTERFACE_DEFINED__
#define __IDXGISwapChain2_INTERFACE_DEFINED__
/* interface IDXGISwapChain2 */
2019-02-03 15:49:35 -08:00
/* [unique][local][uuid][object] */
2018-01-23 23:40:17 +01:00
EXTERN_C const IID IID_IDXGISwapChain2;
#if defined(__cplusplus) && !defined(CINTERFACE)
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
MIDL_INTERFACE("a8be2ac4-199f-4946-b331-79599fb98de7")
IDXGISwapChain2 : public IDXGISwapChain1
{
public:
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE SetSourceSize(
2018-01-23 23:40:17 +01:00
UINT Width,
UINT Height) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE GetSourceSize(
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pWidth,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pHeight) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE SetMaximumFrameLatency(
2018-01-23 23:40:17 +01:00
UINT MaxLatency) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE GetMaximumFrameLatency(
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pMaxLatency) = 0;
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
virtual HANDLE STDMETHODCALLTYPE GetFrameLatencyWaitableObject( void) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE SetMatrixTransform(
2018-01-23 23:40:17 +01:00
const DXGI_MATRIX_3X2_F *pMatrix) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE GetMatrixTransform(
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_MATRIX_3X2_F *pMatrix) = 0;
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
};
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
#else /* C style interface */
typedef struct IDXGISwapChain2Vtbl
{
BEGIN_INTERFACE
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
/* [in] */ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][iid_is][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppvObject);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *AddRef )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *Release )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
/* [in] */ UINT DataSize,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_reads_bytes_(DataSize) const void *pData);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ const IUnknown *pUnknown);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
2019-02-03 15:49:35 -08:00
/* [annotation][out][in] */
2018-01-23 23:40:17 +01:00
_Inout_ UINT *pDataSize,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_writes_bytes_(*pDataSize) void *pData);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetParent )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][retval][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppParent);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDevice )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][retval][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppDevice);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *Present )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
/* [in] */ UINT SyncInterval,
/* [in] */ UINT Flags);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetBuffer )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
/* [in] */ UINT Buffer,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][out][in] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppSurface);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetFullscreenState )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
/* [in] */ BOOL Fullscreen,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IDXGIOutput *pTarget);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetFullscreenState )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_opt_ BOOL *pFullscreen,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_opt_result_maybenull_ IDXGIOutput **ppTarget);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDesc )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_SWAP_CHAIN_DESC *pDesc);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *ResizeBuffers )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
/* [in] */ UINT BufferCount,
/* [in] */ UINT Width,
/* [in] */ UINT Height,
/* [in] */ DXGI_FORMAT NewFormat,
/* [in] */ UINT SwapChainFlags);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *ResizeTarget )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_MODE_DESC *pNewTargetParameters);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetContainingOutput )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGIOutput **ppOutput);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetFrameStatistics )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_FRAME_STATISTICS *pStats);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetLastPresentCount )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pLastPresentCount);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDesc1 )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_SWAP_CHAIN_DESC1 *pDesc);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetFullscreenDesc )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pDesc);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetHwnd )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ HWND *pHwnd);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetCoreWindow )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFIID refiid,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppUnk);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *Present1 )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
/* [in] */ UINT SyncInterval,
/* [in] */ UINT PresentFlags,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_PRESENT_PARAMETERS *pPresentParameters);
2019-02-03 15:49:35 -08:00
BOOL ( STDMETHODCALLTYPE *IsTemporaryMonoSupported )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetRestrictToOutput )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ IDXGIOutput **ppRestrictToOutput);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetBackgroundColor )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_RGBA *pColor);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetBackgroundColor )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_RGBA *pColor);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetRotation )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ DXGI_MODE_ROTATION Rotation);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetRotation )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_MODE_ROTATION *pRotation);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetSourceSize )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
UINT Width,
UINT Height);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetSourceSize )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pWidth,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pHeight);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetMaximumFrameLatency )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
UINT MaxLatency);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetMaximumFrameLatency )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pMaxLatency);
2019-02-03 15:49:35 -08:00
HANDLE ( STDMETHODCALLTYPE *GetFrameLatencyWaitableObject )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetMatrixTransform )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
const DXGI_MATRIX_3X2_F *pMatrix);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetMatrixTransform )(
2018-01-23 23:40:17 +01:00
IDXGISwapChain2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_MATRIX_3X2_F *pMatrix);
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
END_INTERFACE
} IDXGISwapChain2Vtbl;
interface IDXGISwapChain2
{
CONST_VTBL struct IDXGISwapChain2Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IDXGISwapChain2_QueryInterface(This,riid,ppvObject) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_AddRef(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> AddRef(This) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_Release(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> Release(This) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_SetPrivateData(This,Name,DataSize,pData) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_SetPrivateDataInterface(This,Name,pUnknown) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetPrivateData(This,Name,pDataSize,pData) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetParent(This,riid,ppParent) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetParent(This,riid,ppParent) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetDevice(This,riid,ppDevice) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDevice(This,riid,ppDevice) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_Present(This,SyncInterval,Flags) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> Present(This,SyncInterval,Flags) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetBuffer(This,Buffer,riid,ppSurface) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetBuffer(This,Buffer,riid,ppSurface) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_SetFullscreenState(This,Fullscreen,pTarget) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetFullscreenState(This,Fullscreen,pTarget) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetFullscreenState(This,pFullscreen,ppTarget) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetFullscreenState(This,pFullscreen,ppTarget) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetDesc(This,pDesc) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDesc(This,pDesc) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_ResizeBuffers(This,BufferCount,Width,Height,NewFormat,SwapChainFlags) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> ResizeBuffers(This,BufferCount,Width,Height,NewFormat,SwapChainFlags) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_ResizeTarget(This,pNewTargetParameters) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> ResizeTarget(This,pNewTargetParameters) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetContainingOutput(This,ppOutput) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetContainingOutput(This,ppOutput) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetFrameStatistics(This,pStats) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetFrameStatistics(This,pStats) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetLastPresentCount(This,pLastPresentCount) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetLastPresentCount(This,pLastPresentCount) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetDesc1(This,pDesc) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDesc1(This,pDesc) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetFullscreenDesc(This,pDesc) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetFullscreenDesc(This,pDesc) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetHwnd(This,pHwnd) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetHwnd(This,pHwnd) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetCoreWindow(This,refiid,ppUnk) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetCoreWindow(This,refiid,ppUnk) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_Present1(This,SyncInterval,PresentFlags,pPresentParameters) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> Present1(This,SyncInterval,PresentFlags,pPresentParameters) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_IsTemporaryMonoSupported(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> IsTemporaryMonoSupported(This) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetRestrictToOutput(This,ppRestrictToOutput) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetRestrictToOutput(This,ppRestrictToOutput) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_SetBackgroundColor(This,pColor) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetBackgroundColor(This,pColor) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetBackgroundColor(This,pColor) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetBackgroundColor(This,pColor) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_SetRotation(This,Rotation) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetRotation(This,Rotation) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetRotation(This,pRotation) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetRotation(This,pRotation) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_SetSourceSize(This,Width,Height) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetSourceSize(This,Width,Height) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetSourceSize(This,pWidth,pHeight) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetSourceSize(This,pWidth,pHeight) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_SetMaximumFrameLatency(This,MaxLatency) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetMaximumFrameLatency(This,MaxLatency) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetMaximumFrameLatency(This,pMaxLatency) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetMaximumFrameLatency(This,pMaxLatency) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetFrameLatencyWaitableObject(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetFrameLatencyWaitableObject(This) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_SetMatrixTransform(This,pMatrix) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetMatrixTransform(This,pMatrix) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChain2_GetMatrixTransform(This,pMatrix) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetMatrixTransform(This,pMatrix) )
2018-01-23 23:40:17 +01:00
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IDXGISwapChain2_INTERFACE_DEFINED__ */
#ifndef __IDXGIOutput2_INTERFACE_DEFINED__
#define __IDXGIOutput2_INTERFACE_DEFINED__
/* interface IDXGIOutput2 */
2019-02-03 15:49:35 -08:00
/* [unique][local][uuid][object] */
2018-01-23 23:40:17 +01:00
EXTERN_C const IID IID_IDXGIOutput2;
#if defined(__cplusplus) && !defined(CINTERFACE)
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
MIDL_INTERFACE("595e39d1-2724-4663-99b1-da969de28364")
IDXGIOutput2 : public IDXGIOutput1
{
public:
virtual BOOL STDMETHODCALLTYPE SupportsOverlays( void) = 0;
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
};
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
#else /* C style interface */
typedef struct IDXGIOutput2Vtbl
{
BEGIN_INTERFACE
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
/* [in] */ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][iid_is][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppvObject);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *AddRef )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *Release )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
/* [in] */ UINT DataSize,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_reads_bytes_(DataSize) const void *pData);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ const IUnknown *pUnknown);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
2019-02-03 15:49:35 -08:00
/* [annotation][out][in] */
2018-01-23 23:40:17 +01:00
_Inout_ UINT *pDataSize,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_writes_bytes_(*pDataSize) void *pData);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetParent )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][retval][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppParent);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDesc )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_OUTPUT_DESC *pDesc);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
/* [in] */ DXGI_FORMAT EnumFormat,
/* [in] */ UINT Flags,
2019-02-03 15:49:35 -08:00
/* [annotation][out][in] */
2018-01-23 23:40:17 +01:00
_Inout_ UINT *pNumModes,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_writes_to_opt_(*pNumModes,*pNumModes) DXGI_MODE_DESC *pDesc);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *FindClosestMatchingMode )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_MODE_DESC *pModeToMatch,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_MODE_DESC *pClosestMatch,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IUnknown *pConcernedDevice);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *WaitForVBlank )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
BOOL Exclusive);
2019-02-03 15:49:35 -08:00
void ( STDMETHODCALLTYPE *ReleaseOwnership )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetGammaControlCapabilities )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_GAMMA_CONTROL_CAPABILITIES *pGammaCaps);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetGammaControl )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_GAMMA_CONTROL *pArray);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetGammaControl )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_GAMMA_CONTROL *pArray);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetDisplaySurface )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IDXGISurface *pScanoutSurface);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDisplaySurfaceData )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IDXGISurface *pDestination);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetFrameStatistics )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_FRAME_STATISTICS *pStats);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList1 )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
/* [in] */ DXGI_FORMAT EnumFormat,
/* [in] */ UINT Flags,
2019-02-03 15:49:35 -08:00
/* [annotation][out][in] */
2018-01-23 23:40:17 +01:00
_Inout_ UINT *pNumModes,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_writes_to_opt_(*pNumModes,*pNumModes) DXGI_MODE_DESC1 *pDesc);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *FindClosestMatchingMode1 )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_MODE_DESC1 *pModeToMatch,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_MODE_DESC1 *pClosestMatch,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IUnknown *pConcernedDevice);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDisplaySurfaceData1 )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IDXGIResource *pDestination);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *DuplicateOutput )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGIOutputDuplication **ppOutputDuplication);
2019-02-03 15:49:35 -08:00
BOOL ( STDMETHODCALLTYPE *SupportsOverlays )(
2018-01-23 23:40:17 +01:00
IDXGIOutput2 * This);
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
END_INTERFACE
} IDXGIOutput2Vtbl;
interface IDXGIOutput2
{
CONST_VTBL struct IDXGIOutput2Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IDXGIOutput2_QueryInterface(This,riid,ppvObject) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_AddRef(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> AddRef(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_Release(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> Release(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_SetPrivateData(This,Name,DataSize,pData) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_SetPrivateDataInterface(This,Name,pUnknown) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_GetPrivateData(This,Name,pDataSize,pData) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_GetParent(This,riid,ppParent) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetParent(This,riid,ppParent) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_GetDesc(This,pDesc) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDesc(This,pDesc) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_GetDisplayModeList(This,EnumFormat,Flags,pNumModes,pDesc) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDisplayModeList(This,EnumFormat,Flags,pNumModes,pDesc) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_FindClosestMatchingMode(This,pModeToMatch,pClosestMatch,pConcernedDevice) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> FindClosestMatchingMode(This,pModeToMatch,pClosestMatch,pConcernedDevice) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_WaitForVBlank(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> WaitForVBlank(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_TakeOwnership(This,pDevice,Exclusive) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> TakeOwnership(This,pDevice,Exclusive) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_ReleaseOwnership(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> ReleaseOwnership(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_GetGammaControlCapabilities(This,pGammaCaps) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetGammaControlCapabilities(This,pGammaCaps) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_SetGammaControl(This,pArray) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetGammaControl(This,pArray) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_GetGammaControl(This,pArray) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetGammaControl(This,pArray) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_SetDisplaySurface(This,pScanoutSurface) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetDisplaySurface(This,pScanoutSurface) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_GetDisplaySurfaceData(This,pDestination) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDisplaySurfaceData(This,pDestination) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_GetFrameStatistics(This,pStats) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetFrameStatistics(This,pStats) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_GetDisplayModeList1(This,EnumFormat,Flags,pNumModes,pDesc) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDisplayModeList1(This,EnumFormat,Flags,pNumModes,pDesc) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_FindClosestMatchingMode1(This,pModeToMatch,pClosestMatch,pConcernedDevice) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> FindClosestMatchingMode1(This,pModeToMatch,pClosestMatch,pConcernedDevice) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_GetDisplaySurfaceData1(This,pDestination) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDisplaySurfaceData1(This,pDestination) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_DuplicateOutput(This,pDevice,ppOutputDuplication) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> DuplicateOutput(This,pDevice,ppOutputDuplication) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput2_SupportsOverlays(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SupportsOverlays(This) )
2018-01-23 23:40:17 +01:00
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IDXGIOutput2_INTERFACE_DEFINED__ */
#ifndef __IDXGIFactory3_INTERFACE_DEFINED__
#define __IDXGIFactory3_INTERFACE_DEFINED__
/* interface IDXGIFactory3 */
2019-02-03 15:49:35 -08:00
/* [unique][local][uuid][object] */
2018-01-23 23:40:17 +01:00
EXTERN_C const IID IID_IDXGIFactory3;
#if defined(__cplusplus) && !defined(CINTERFACE)
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
MIDL_INTERFACE("25483823-cd46-4c7d-86ca-47aa95b837bd")
IDXGIFactory3 : public IDXGIFactory2
{
public:
virtual UINT STDMETHODCALLTYPE GetCreationFlags( void) = 0;
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
};
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
#else /* C style interface */
typedef struct IDXGIFactory3Vtbl
{
BEGIN_INTERFACE
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
/* [in] */ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][iid_is][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppvObject);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *AddRef )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *Release )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
/* [in] */ UINT DataSize,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_reads_bytes_(DataSize) const void *pData);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ const IUnknown *pUnknown);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
2019-02-03 15:49:35 -08:00
/* [annotation][out][in] */
2018-01-23 23:40:17 +01:00
_Inout_ UINT *pDataSize,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_writes_bytes_(*pDataSize) void *pData);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetParent )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][retval][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppParent);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *EnumAdapters )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
/* [in] */ UINT Adapter,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGIAdapter **ppAdapter);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *MakeWindowAssociation )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
HWND WindowHandle,
UINT Flags);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetWindowAssociation )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ HWND *pWindowHandle);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *CreateSwapChain )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ DXGI_SWAP_CHAIN_DESC *pDesc,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGISwapChain **ppSwapChain);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *CreateSoftwareAdapter )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
/* [in] */ HMODULE Module,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGIAdapter **ppAdapter);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *EnumAdapters1 )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
/* [in] */ UINT Adapter,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGIAdapter1 **ppAdapter);
2019-02-03 15:49:35 -08:00
BOOL ( STDMETHODCALLTYPE *IsCurrent )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This);
2019-02-03 15:49:35 -08:00
BOOL ( STDMETHODCALLTYPE *IsWindowedStereoEnabled )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForHwnd )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ HWND hWnd,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ const DXGI_SWAP_CHAIN_FULLSCREEN_DESC *pFullscreenDesc,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IDXGIOutput *pRestrictToOutput,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGISwapChain1 **ppSwapChain);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForCoreWindow )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pWindow,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IDXGIOutput *pRestrictToOutput,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGISwapChain1 **ppSwapChain);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetSharedResourceAdapterLuid )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation] */
2018-01-23 23:40:17 +01:00
_In_ HANDLE hResource,
2019-02-03 15:49:35 -08:00
/* [annotation] */
2018-01-23 23:40:17 +01:00
_Out_ LUID *pLuid);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *RegisterStereoStatusWindow )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ HWND WindowHandle,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ UINT wMsg,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DWORD *pdwCookie);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *RegisterStereoStatusEvent )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ HANDLE hEvent,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DWORD *pdwCookie);
2019-02-03 15:49:35 -08:00
void ( STDMETHODCALLTYPE *UnregisterStereoStatus )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ DWORD dwCookie);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *RegisterOcclusionStatusWindow )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ HWND WindowHandle,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ UINT wMsg,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DWORD *pdwCookie);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *RegisterOcclusionStatusEvent )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ HANDLE hEvent,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DWORD *pdwCookie);
2019-02-03 15:49:35 -08:00
void ( STDMETHODCALLTYPE *UnregisterOcclusionStatus )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ DWORD dwCookie);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForComposition )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IDXGIOutput *pRestrictToOutput,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGISwapChain1 **ppSwapChain);
2019-02-03 15:49:35 -08:00
UINT ( STDMETHODCALLTYPE *GetCreationFlags )(
2018-01-23 23:40:17 +01:00
IDXGIFactory3 * This);
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
END_INTERFACE
} IDXGIFactory3Vtbl;
interface IDXGIFactory3
{
CONST_VTBL struct IDXGIFactory3Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IDXGIFactory3_QueryInterface(This,riid,ppvObject) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_AddRef(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> AddRef(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_Release(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> Release(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_SetPrivateData(This,Name,DataSize,pData) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_SetPrivateDataInterface(This,Name,pUnknown) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_GetPrivateData(This,Name,pDataSize,pData) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_GetParent(This,riid,ppParent) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetParent(This,riid,ppParent) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_EnumAdapters(This,Adapter,ppAdapter) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> EnumAdapters(This,Adapter,ppAdapter) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_MakeWindowAssociation(This,WindowHandle,Flags) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> MakeWindowAssociation(This,WindowHandle,Flags) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_GetWindowAssociation(This,pWindowHandle) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetWindowAssociation(This,pWindowHandle) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_CreateSwapChain(This,pDevice,pDesc,ppSwapChain) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> CreateSwapChain(This,pDevice,pDesc,ppSwapChain) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_CreateSoftwareAdapter(This,Module,ppAdapter) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> CreateSoftwareAdapter(This,Module,ppAdapter) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_EnumAdapters1(This,Adapter,ppAdapter) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> EnumAdapters1(This,Adapter,ppAdapter) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_IsCurrent(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> IsCurrent(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_IsWindowedStereoEnabled(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> IsWindowedStereoEnabled(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> CreateSwapChainForHwnd(This,pDevice,hWnd,pDesc,pFullscreenDesc,pRestrictToOutput,ppSwapChain) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> CreateSwapChainForCoreWindow(This,pDevice,pWindow,pDesc,pRestrictToOutput,ppSwapChain) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_GetSharedResourceAdapterLuid(This,hResource,pLuid) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetSharedResourceAdapterLuid(This,hResource,pLuid) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> RegisterStereoStatusWindow(This,WindowHandle,wMsg,pdwCookie) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_RegisterStereoStatusEvent(This,hEvent,pdwCookie) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> RegisterStereoStatusEvent(This,hEvent,pdwCookie) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_UnregisterStereoStatus(This,dwCookie) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> UnregisterStereoStatus(This,dwCookie) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> RegisterOcclusionStatusWindow(This,WindowHandle,wMsg,pdwCookie) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> RegisterOcclusionStatusEvent(This,hEvent,pdwCookie) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_UnregisterOcclusionStatus(This,dwCookie) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> UnregisterOcclusionStatus(This,dwCookie) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> CreateSwapChainForComposition(This,pDevice,pDesc,pRestrictToOutput,ppSwapChain) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactory3_GetCreationFlags(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetCreationFlags(This) )
2018-01-23 23:40:17 +01:00
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IDXGIFactory3_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_dxgi1_3_0000_0004 */
2019-02-03 15:49:35 -08:00
/* [local] */
2018-01-23 23:40:17 +01:00
/*#endif*/ /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
/*#pragma endregion*/
/*#pragma region App Family*/
/*#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)*/
typedef struct DXGI_DECODE_SWAP_CHAIN_DESC
{
UINT Flags;
} DXGI_DECODE_SWAP_CHAIN_DESC;
2019-02-03 15:49:35 -08:00
typedef
2018-01-23 23:40:17 +01:00
enum DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS
{
DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_NOMINAL_RANGE = 0x1,
DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_BT709 = 0x2,
DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_xvYCC = 0x4
} DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS;
extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0004_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0004_v0_0_s_ifspec;
#ifndef __IDXGIDecodeSwapChain_INTERFACE_DEFINED__
#define __IDXGIDecodeSwapChain_INTERFACE_DEFINED__
/* interface IDXGIDecodeSwapChain */
2019-02-03 15:49:35 -08:00
/* [unique][local][uuid][object] */
2018-01-23 23:40:17 +01:00
EXTERN_C const IID IID_IDXGIDecodeSwapChain;
#if defined(__cplusplus) && !defined(CINTERFACE)
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
MIDL_INTERFACE("2633066b-4514-4c7a-8fd8-12ea98059d18")
IDXGIDecodeSwapChain : public IUnknown
{
public:
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE PresentBuffer(
2018-01-23 23:40:17 +01:00
UINT BufferToPresent,
UINT SyncInterval,
UINT Flags) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE SetSourceRect(
2018-01-23 23:40:17 +01:00
const RECT *pRect) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE SetTargetRect(
2018-01-23 23:40:17 +01:00
const RECT *pRect) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE SetDestSize(
2018-01-23 23:40:17 +01:00
UINT Width,
UINT Height) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE GetSourceRect(
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ RECT *pRect) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE GetTargetRect(
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ RECT *pRect) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE GetDestSize(
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pWidth,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pHeight) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE SetColorSpace(
2018-01-23 23:40:17 +01:00
DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS ColorSpace) = 0;
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
virtual DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS STDMETHODCALLTYPE GetColorSpace( void) = 0;
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
};
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
#else /* C style interface */
typedef struct IDXGIDecodeSwapChainVtbl
{
BEGIN_INTERFACE
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This,
/* [in] */ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][iid_is][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppvObject);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *AddRef )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *Release )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *PresentBuffer )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This,
UINT BufferToPresent,
UINT SyncInterval,
UINT Flags);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetSourceRect )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This,
const RECT *pRect);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetTargetRect )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This,
const RECT *pRect);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetDestSize )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This,
UINT Width,
UINT Height);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetSourceRect )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ RECT *pRect);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetTargetRect )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ RECT *pRect);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDestSize )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pWidth,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pHeight);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetColorSpace )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This,
DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS ColorSpace);
2019-02-03 15:49:35 -08:00
DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS ( STDMETHODCALLTYPE *GetColorSpace )(
2018-01-23 23:40:17 +01:00
IDXGIDecodeSwapChain * This);
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
END_INTERFACE
} IDXGIDecodeSwapChainVtbl;
interface IDXGIDecodeSwapChain
{
CONST_VTBL struct IDXGIDecodeSwapChainVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IDXGIDecodeSwapChain_QueryInterface(This,riid,ppvObject) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2018-01-23 23:40:17 +01:00
#define IDXGIDecodeSwapChain_AddRef(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> AddRef(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIDecodeSwapChain_Release(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> Release(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIDecodeSwapChain_PresentBuffer(This,BufferToPresent,SyncInterval,Flags) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> PresentBuffer(This,BufferToPresent,SyncInterval,Flags) )
2018-01-23 23:40:17 +01:00
#define IDXGIDecodeSwapChain_SetSourceRect(This,pRect) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetSourceRect(This,pRect) )
2018-01-23 23:40:17 +01:00
#define IDXGIDecodeSwapChain_SetTargetRect(This,pRect) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetTargetRect(This,pRect) )
2018-01-23 23:40:17 +01:00
#define IDXGIDecodeSwapChain_SetDestSize(This,Width,Height) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetDestSize(This,Width,Height) )
2018-01-23 23:40:17 +01:00
#define IDXGIDecodeSwapChain_GetSourceRect(This,pRect) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetSourceRect(This,pRect) )
2018-01-23 23:40:17 +01:00
#define IDXGIDecodeSwapChain_GetTargetRect(This,pRect) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetTargetRect(This,pRect) )
2018-01-23 23:40:17 +01:00
#define IDXGIDecodeSwapChain_GetDestSize(This,pWidth,pHeight) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDestSize(This,pWidth,pHeight) )
2018-01-23 23:40:17 +01:00
#define IDXGIDecodeSwapChain_SetColorSpace(This,ColorSpace) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetColorSpace(This,ColorSpace) )
2018-01-23 23:40:17 +01:00
#define IDXGIDecodeSwapChain_GetColorSpace(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetColorSpace(This) )
2018-01-23 23:40:17 +01:00
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IDXGIDecodeSwapChain_INTERFACE_DEFINED__ */
#ifndef __IDXGIFactoryMedia_INTERFACE_DEFINED__
#define __IDXGIFactoryMedia_INTERFACE_DEFINED__
/* interface IDXGIFactoryMedia */
2019-02-03 15:49:35 -08:00
/* [unique][local][uuid][object] */
2018-01-23 23:40:17 +01:00
EXTERN_C const IID IID_IDXGIFactoryMedia;
#if defined(__cplusplus) && !defined(CINTERFACE)
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
MIDL_INTERFACE("41e7d1f2-a591-4f7b-a2e5-fa9c843e1c12")
IDXGIFactoryMedia : public IUnknown
{
public:
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE CreateSwapChainForCompositionSurfaceHandle(
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ HANDLE hSurface,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IDXGIOutput *pRestrictToOutput,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGISwapChain1 **ppSwapChain) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE CreateDecodeSwapChainForCompositionSurfaceHandle(
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ HANDLE hSurface,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ DXGI_DECODE_SWAP_CHAIN_DESC *pDesc,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IDXGIResource *pYuvDecodeBuffers,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IDXGIOutput *pRestrictToOutput,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGIDecodeSwapChain **ppSwapChain) = 0;
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
};
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
#else /* C style interface */
typedef struct IDXGIFactoryMediaVtbl
{
BEGIN_INTERFACE
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2018-01-23 23:40:17 +01:00
IDXGIFactoryMedia * This,
/* [in] */ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][iid_is][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppvObject);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *AddRef )(
2018-01-23 23:40:17 +01:00
IDXGIFactoryMedia * This);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *Release )(
2018-01-23 23:40:17 +01:00
IDXGIFactoryMedia * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *CreateSwapChainForCompositionSurfaceHandle )(
2018-01-23 23:40:17 +01:00
IDXGIFactoryMedia * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ HANDLE hSurface,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_SWAP_CHAIN_DESC1 *pDesc,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IDXGIOutput *pRestrictToOutput,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGISwapChain1 **ppSwapChain);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *CreateDecodeSwapChainForCompositionSurfaceHandle )(
2018-01-23 23:40:17 +01:00
IDXGIFactoryMedia * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ HANDLE hSurface,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ DXGI_DECODE_SWAP_CHAIN_DESC *pDesc,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IDXGIResource *pYuvDecodeBuffers,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IDXGIOutput *pRestrictToOutput,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGIDecodeSwapChain **ppSwapChain);
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
END_INTERFACE
} IDXGIFactoryMediaVtbl;
interface IDXGIFactoryMedia
{
CONST_VTBL struct IDXGIFactoryMediaVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IDXGIFactoryMedia_QueryInterface(This,riid,ppvObject) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactoryMedia_AddRef(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> AddRef(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactoryMedia_Release(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> Release(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactoryMedia_CreateSwapChainForCompositionSurfaceHandle(This,pDevice,hSurface,pDesc,pRestrictToOutput,ppSwapChain) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> CreateSwapChainForCompositionSurfaceHandle(This,pDevice,hSurface,pDesc,pRestrictToOutput,ppSwapChain) )
2018-01-23 23:40:17 +01:00
#define IDXGIFactoryMedia_CreateDecodeSwapChainForCompositionSurfaceHandle(This,pDevice,hSurface,pDesc,pYuvDecodeBuffers,pRestrictToOutput,ppSwapChain) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> CreateDecodeSwapChainForCompositionSurfaceHandle(This,pDevice,hSurface,pDesc,pYuvDecodeBuffers,pRestrictToOutput,ppSwapChain) )
2018-01-23 23:40:17 +01:00
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IDXGIFactoryMedia_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_dxgi1_3_0000_0006 */
2019-02-03 15:49:35 -08:00
/* [local] */
2018-01-23 23:40:17 +01:00
2019-02-03 15:49:35 -08:00
typedef
2018-01-23 23:40:17 +01:00
enum DXGI_FRAME_PRESENTATION_MODE
{
DXGI_FRAME_PRESENTATION_MODE_COMPOSED = 0,
DXGI_FRAME_PRESENTATION_MODE_OVERLAY = 1,
DXGI_FRAME_PRESENTATION_MODE_NONE = 2,
DXGI_FRAME_PRESENTATION_MODE_COMPOSITION_FAILURE = 3
} DXGI_FRAME_PRESENTATION_MODE;
typedef struct DXGI_FRAME_STATISTICS_MEDIA
{
UINT PresentCount;
UINT PresentRefreshCount;
UINT SyncRefreshCount;
LARGE_INTEGER SyncQPCTime;
LARGE_INTEGER SyncGPUTime;
DXGI_FRAME_PRESENTATION_MODE CompositionMode;
UINT ApprovedPresentDuration;
} DXGI_FRAME_STATISTICS_MEDIA;
extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0006_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0006_v0_0_s_ifspec;
#ifndef __IDXGISwapChainMedia_INTERFACE_DEFINED__
#define __IDXGISwapChainMedia_INTERFACE_DEFINED__
/* interface IDXGISwapChainMedia */
2019-02-03 15:49:35 -08:00
/* [unique][local][uuid][object] */
2018-01-23 23:40:17 +01:00
EXTERN_C const IID IID_IDXGISwapChainMedia;
#if defined(__cplusplus) && !defined(CINTERFACE)
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
MIDL_INTERFACE("dd95b90b-f05f-4f6a-bd65-25bfb264bd84")
IDXGISwapChainMedia : public IUnknown
{
public:
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE GetFrameStatisticsMedia(
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_FRAME_STATISTICS_MEDIA *pStats) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE SetPresentDuration(
2018-01-23 23:40:17 +01:00
UINT Duration) = 0;
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE CheckPresentDurationSupport(
2018-01-23 23:40:17 +01:00
UINT DesiredPresentDuration,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pClosestSmallerPresentDuration,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pClosestLargerPresentDuration) = 0;
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
};
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
#else /* C style interface */
typedef struct IDXGISwapChainMediaVtbl
{
BEGIN_INTERFACE
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2018-01-23 23:40:17 +01:00
IDXGISwapChainMedia * This,
/* [in] */ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][iid_is][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppvObject);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *AddRef )(
2018-01-23 23:40:17 +01:00
IDXGISwapChainMedia * This);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *Release )(
2018-01-23 23:40:17 +01:00
IDXGISwapChainMedia * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetFrameStatisticsMedia )(
2018-01-23 23:40:17 +01:00
IDXGISwapChainMedia * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_FRAME_STATISTICS_MEDIA *pStats);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetPresentDuration )(
2018-01-23 23:40:17 +01:00
IDXGISwapChainMedia * This,
UINT Duration);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *CheckPresentDurationSupport )(
2018-01-23 23:40:17 +01:00
IDXGISwapChainMedia * This,
UINT DesiredPresentDuration,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pClosestSmallerPresentDuration,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pClosestLargerPresentDuration);
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
END_INTERFACE
} IDXGISwapChainMediaVtbl;
interface IDXGISwapChainMedia
{
CONST_VTBL struct IDXGISwapChainMediaVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IDXGISwapChainMedia_QueryInterface(This,riid,ppvObject) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChainMedia_AddRef(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> AddRef(This) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChainMedia_Release(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> Release(This) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChainMedia_GetFrameStatisticsMedia(This,pStats) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetFrameStatisticsMedia(This,pStats) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChainMedia_SetPresentDuration(This,Duration) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetPresentDuration(This,Duration) )
2018-01-23 23:40:17 +01:00
#define IDXGISwapChainMedia_CheckPresentDurationSupport(This,DesiredPresentDuration,pClosestSmallerPresentDuration,pClosestLargerPresentDuration) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> CheckPresentDurationSupport(This,DesiredPresentDuration,pClosestSmallerPresentDuration,pClosestLargerPresentDuration) )
2018-01-23 23:40:17 +01:00
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IDXGISwapChainMedia_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_dxgi1_3_0000_0007 */
2019-02-03 15:49:35 -08:00
/* [local] */
2018-01-23 23:40:17 +01:00
2019-02-03 15:49:35 -08:00
typedef
2018-01-23 23:40:17 +01:00
enum DXGI_OVERLAY_SUPPORT_FLAG
{
DXGI_OVERLAY_SUPPORT_FLAG_DIRECT = 0x1,
DXGI_OVERLAY_SUPPORT_FLAG_SCALING = 0x2
} 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_s_ifspec;
#ifndef __IDXGIOutput3_INTERFACE_DEFINED__
#define __IDXGIOutput3_INTERFACE_DEFINED__
/* interface IDXGIOutput3 */
2019-02-03 15:49:35 -08:00
/* [unique][local][uuid][object] */
2018-01-23 23:40:17 +01:00
EXTERN_C const IID IID_IDXGIOutput3;
#if defined(__cplusplus) && !defined(CINTERFACE)
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
MIDL_INTERFACE("8a6bb301-7e7e-41F4-a8e0-5b32f7f99b18")
IDXGIOutput3 : public IDXGIOutput2
{
public:
2019-02-03 15:49:35 -08:00
virtual HRESULT STDMETHODCALLTYPE CheckOverlaySupport(
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ DXGI_FORMAT EnumFormat,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pConcernedDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pFlags) = 0;
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
};
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
#else /* C style interface */
typedef struct IDXGIOutput3Vtbl
{
BEGIN_INTERFACE
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
/* [in] */ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][iid_is][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppvObject);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *AddRef )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This);
2019-02-03 15:49:35 -08:00
ULONG ( STDMETHODCALLTYPE *Release )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
/* [in] */ UINT DataSize,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_reads_bytes_(DataSize) const void *pData);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ const IUnknown *pUnknown);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFGUID Name,
2019-02-03 15:49:35 -08:00
/* [annotation][out][in] */
2018-01-23 23:40:17 +01:00
_Inout_ UINT *pDataSize,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_writes_bytes_(*pDataSize) void *pData);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetParent )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ REFIID riid,
2019-02-03 15:49:35 -08:00
/* [annotation][retval][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ void **ppParent);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDesc )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_OUTPUT_DESC *pDesc);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
/* [in] */ DXGI_FORMAT EnumFormat,
/* [in] */ UINT Flags,
2019-02-03 15:49:35 -08:00
/* [annotation][out][in] */
2018-01-23 23:40:17 +01:00
_Inout_ UINT *pNumModes,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_writes_to_opt_(*pNumModes,*pNumModes) DXGI_MODE_DESC *pDesc);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *FindClosestMatchingMode )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_MODE_DESC *pModeToMatch,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_MODE_DESC *pClosestMatch,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IUnknown *pConcernedDevice);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *WaitForVBlank )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
BOOL Exclusive);
2019-02-03 15:49:35 -08:00
void ( STDMETHODCALLTYPE *ReleaseOwnership )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetGammaControlCapabilities )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_GAMMA_CONTROL_CAPABILITIES *pGammaCaps);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetGammaControl )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_GAMMA_CONTROL *pArray);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetGammaControl )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_GAMMA_CONTROL *pArray);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *SetDisplaySurface )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IDXGISurface *pScanoutSurface);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDisplaySurfaceData )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IDXGISurface *pDestination);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetFrameStatistics )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_FRAME_STATISTICS *pStats);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDisplayModeList1 )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
/* [in] */ DXGI_FORMAT EnumFormat,
/* [in] */ UINT Flags,
2019-02-03 15:49:35 -08:00
/* [annotation][out][in] */
2018-01-23 23:40:17 +01:00
_Inout_ UINT *pNumModes,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_writes_to_opt_(*pNumModes,*pNumModes) DXGI_MODE_DESC1 *pDesc);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *FindClosestMatchingMode1 )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ const DXGI_MODE_DESC1 *pModeToMatch,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ DXGI_MODE_DESC1 *pClosestMatch,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_opt_ IUnknown *pConcernedDevice);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *GetDisplaySurfaceData1 )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IDXGIResource *pDestination);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *DuplicateOutput )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_COM_Outptr_ IDXGIOutputDuplication **ppOutputDuplication);
2019-02-03 15:49:35 -08:00
BOOL ( STDMETHODCALLTYPE *SupportsOverlays )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This);
2019-02-03 15:49:35 -08:00
HRESULT ( STDMETHODCALLTYPE *CheckOverlaySupport )(
2018-01-23 23:40:17 +01:00
IDXGIOutput3 * This,
2019-02-03 15:49:35 -08:00
/* [annotation][in] */
2018-01-23 23:40:17 +01:00
_In_ DXGI_FORMAT EnumFormat,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_In_ IUnknown *pConcernedDevice,
2019-02-03 15:49:35 -08:00
/* [annotation][out] */
2018-01-23 23:40:17 +01:00
_Out_ UINT *pFlags);
2019-02-03 15:49:35 -08:00
2018-01-23 23:40:17 +01:00
END_INTERFACE
} IDXGIOutput3Vtbl;
interface IDXGIOutput3
{
CONST_VTBL struct IDXGIOutput3Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IDXGIOutput3_QueryInterface(This,riid,ppvObject) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_AddRef(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> AddRef(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_Release(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> Release(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_SetPrivateData(This,Name,DataSize,pData) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetPrivateData(This,Name,DataSize,pData) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_SetPrivateDataInterface(This,Name,pUnknown) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetPrivateDataInterface(This,Name,pUnknown) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_GetPrivateData(This,Name,pDataSize,pData) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetPrivateData(This,Name,pDataSize,pData) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_GetParent(This,riid,ppParent) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetParent(This,riid,ppParent) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_GetDesc(This,pDesc) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDesc(This,pDesc) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_GetDisplayModeList(This,EnumFormat,Flags,pNumModes,pDesc) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDisplayModeList(This,EnumFormat,Flags,pNumModes,pDesc) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_FindClosestMatchingMode(This,pModeToMatch,pClosestMatch,pConcernedDevice) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> FindClosestMatchingMode(This,pModeToMatch,pClosestMatch,pConcernedDevice) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_WaitForVBlank(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> WaitForVBlank(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_TakeOwnership(This,pDevice,Exclusive) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> TakeOwnership(This,pDevice,Exclusive) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_ReleaseOwnership(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> ReleaseOwnership(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_GetGammaControlCapabilities(This,pGammaCaps) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetGammaControlCapabilities(This,pGammaCaps) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_SetGammaControl(This,pArray) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetGammaControl(This,pArray) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_GetGammaControl(This,pArray) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetGammaControl(This,pArray) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_SetDisplaySurface(This,pScanoutSurface) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SetDisplaySurface(This,pScanoutSurface) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_GetDisplaySurfaceData(This,pDestination) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDisplaySurfaceData(This,pDestination) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_GetFrameStatistics(This,pStats) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetFrameStatistics(This,pStats) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_GetDisplayModeList1(This,EnumFormat,Flags,pNumModes,pDesc) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDisplayModeList1(This,EnumFormat,Flags,pNumModes,pDesc) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_FindClosestMatchingMode1(This,pModeToMatch,pClosestMatch,pConcernedDevice) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> FindClosestMatchingMode1(This,pModeToMatch,pClosestMatch,pConcernedDevice) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_GetDisplaySurfaceData1(This,pDestination) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> GetDisplaySurfaceData1(This,pDestination) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_DuplicateOutput(This,pDevice,ppOutputDuplication) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> DuplicateOutput(This,pDevice,ppOutputDuplication) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_SupportsOverlays(This) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> SupportsOverlays(This) )
2018-01-23 23:40:17 +01:00
#define IDXGIOutput3_CheckOverlaySupport(This,EnumFormat,pConcernedDevice,pFlags) \
2019-02-03 15:49:35 -08:00
( (This)->lpVtbl -> CheckOverlaySupport(This,EnumFormat,pConcernedDevice,pFlags) )
2018-01-23 23:40:17 +01:00
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IDXGIOutput3_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_dxgi1_3_0000_0008 */
2019-02-03 15:49:35 -08:00
/* [local] */
2018-01-23 23:40:17 +01:00
/*#endif*/ /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */
/*#pragma endregion*/
DEFINE_GUID(IID_IDXGIDevice3,0x6007896c,0x3244,0x4afd,0xbf,0x18,0xa6,0xd3,0xbe,0xda,0x50,0x23);
DEFINE_GUID(IID_IDXGISwapChain2,0xa8be2ac4,0x199f,0x4946,0xb3,0x31,0x79,0x59,0x9f,0xb9,0x8d,0xe7);
DEFINE_GUID(IID_IDXGIOutput2,0x595e39d1,0x2724,0x4663,0x99,0xb1,0xda,0x96,0x9d,0xe2,0x83,0x64);
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,0xea,0x98,0x05,0x9d,0x18);
DEFINE_GUID(IID_IDXGIFactoryMedia,0x41e7d1f2,0xa591,0x4f7b,0xa2,0xe5,0xfa,0x9c,0x84,0x3e,0x1c,0x12);
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,0xf9,0x9b,0x18);
extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0008_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_dxgi1_3_0000_0008_v0_0_s_ifspec;
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif