From: june wilde <junewilde@pm.me> --- include/Makefile.in | 1 + ...ws.graphics.directx.direct3d11.interop.idl | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 include/windows.graphics.directx.direct3d11.interop.idl diff --git a/include/Makefile.in b/include/Makefile.in index db9578e8baa..bc22e75de9e 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -1040,6 +1040,7 @@ SOURCES = \ windows.graphics.capture.idl \ windows.graphics.capture.interop.idl \ windows.graphics.directx.direct3d11.idl \ + windows.graphics.directx.direct3d11.interop.idl \ windows.graphics.directx.idl \ windows.graphics.display.idl \ windows.graphics.effects.idl \ diff --git a/include/windows.graphics.directx.direct3d11.interop.idl b/include/windows.graphics.directx.direct3d11.interop.idl new file mode 100644 index 00000000000..b5ca72e40d6 --- /dev/null +++ b/include/windows.graphics.directx.direct3d11.interop.idl @@ -0,0 +1,34 @@ +/* + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifdef __WIDL__ +#pragma winrt ns_prefix +#endif + +import "dxgi.idl"; +import "inspectable.idl"; +import "windows.graphics.directx.direct3d11.idl"; + +namespace Windows.Graphics.DirectX.Direct3D11 { + HRESULT CreateDirect3D11DeviceFromDXGIDevice([in] IDXGIDevice* dxgiDevice, [out] IInspectable** graphicsDevice); + + [ + uuid(A9B3D012-3DF2-4EE3-B8D1-8695F457D3C1) + ] + interface IDirect3DDxgiInterfaceAccess : IUnknown { + HRESULT GetInterface([in] REFIID iid, [out, iid_is(iid)] void **object); + }; +} -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10431