From fe4f7632a7c48251bc3e1792db8babd3074f09aa Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 15 Feb 2024 15:06:55 +0000 Subject: [PATCH] include: Add IDirect3DSurface in windows.graphics.directx.direct3d11.idl. --- .../windows.graphics.directx.direct3d11.idl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/include/windows.graphics.directx.direct3d11.idl b/include/windows.graphics.directx.direct3d11.idl index f53140545b0..cf58cee4256 100644 --- a/include/windows.graphics.directx.direct3d11.idl +++ b/include/windows.graphics.directx.direct3d11.idl @@ -32,6 +32,13 @@ namespace Windows.Graphics.DirectX.Direct3D11 { typedef struct Direct3DSurfaceDescription Direct3DSurfaceDescription; interface IDirect3DDevice; + interface IDirect3DSurface; + + declare { + interface Windows.Foundation.Collections.IIterable; + interface Windows.Foundation.Collections.IIterator; + interface Windows.Foundation.Collections.IVectorView; + } [ contract(Windows.Foundation.UniversalApiContract, 1.0) @@ -62,4 +69,15 @@ namespace Windows.Graphics.DirectX.Direct3D11 { { HRESULT Trim(); } + + [ + contract(Windows.Foundation.UniversalApiContract, 1.0), + uuid(0bf4a146-13c1-4694-bee3-7abf15eaf586) + ] + interface IDirect3DSurface : IInspectable + requires Windows.Foundation.IClosable + { + [propget] HRESULT Description( + [out, retval] Windows.Graphics.DirectX.Direct3D11.Direct3DSurfaceDescription *value); + } }