|
1
|
1
|
diff --git a/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.h b/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.h
|
|
2
|
2
|
new file mode 100644
|
|
3
|
|
-index 000000000..d7ff1be23
|
|
|
3
|
+index 000000000..d92535247
|
|
4
|
4
|
--- /dev/null
|
|
5
|
5
|
+++ b/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.h
|
|
6
|
|
-@@ -0,0 +1,160 @@
|
|
|
6
|
+@@ -0,0 +1,164 @@
|
|
7
|
7
|
+/*** Autogenerated by WIDL 8.0 from include/windows.graphics.directx.direct3d11.interop.idl - Do not edit ***/
|
|
8
|
8
|
+
|
|
9
|
9
|
+#ifdef _WIN32
|
| ... |
... |
@@ -51,12 +51,16 @@ index 000000000..d7ff1be23 |
|
51
|
51
|
+
|
|
52
|
52
|
+/* Headers for imported files */
|
|
53
|
53
|
+
|
|
|
54
|
++#include <dxgi.h>
|
|
|
55
|
++#include <inspectable.h>
|
|
54
|
56
|
+#include <windows.graphics.directx.direct3d11.h>
|
|
55
|
57
|
+
|
|
56
|
58
|
+#ifdef __cplusplus
|
|
57
|
59
|
+extern "C" {
|
|
58
|
60
|
+#endif
|
|
59
|
61
|
+
|
|
|
62
|
++HRESULT CreateDirect3D11DeviceFromDXGIDevice(IDXGIDevice *dxgiDevice,IInspectable **graphicsDevice);
|
|
|
63
|
++
|
|
60
|
64
|
+/*****************************************************************************
|
|
61
|
65
|
+ * IDirect3DDxgiInterfaceAccess interface
|
|
62
|
66
|
+ */
|
| ... |
... |
@@ -166,17 +170,37 @@ index 000000000..d7ff1be23 |
|
166
|
170
|
+#endif /* __windows_graphics_directx_direct3d11_interop_h__ */
|
|
167
|
171
|
diff --git a/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.idl b/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.idl
|
|
168
|
172
|
new file mode 100644
|
|
169
|
|
-index 000000000..51e2845ea
|
|
|
173
|
+index 000000000..b5ca72e40
|
|
170
|
174
|
--- /dev/null
|
|
171
|
175
|
+++ b/mingw-w64-headers/include/windows.graphics.directx.direct3d11.interop.idl
|
|
172
|
|
-@@ -0,0 +1,14 @@
|
|
|
176
|
+@@ -0,0 +1,34 @@
|
|
|
177
|
++/*
|
|
|
178
|
++ * This library is free software; you can redistribute it and/or
|
|
|
179
|
++ * modify it under the terms of the GNU Lesser General Public
|
|
|
180
|
++ * License as published by the Free Software Foundation; either
|
|
|
181
|
++ * version 2.1 of the License, or (at your option) any later version.
|
|
|
182
|
++ *
|
|
|
183
|
++ * This library is distributed in the hope that it will be useful,
|
|
|
184
|
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
185
|
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
186
|
++ * Lesser General Public License for more details.
|
|
|
187
|
++ *
|
|
|
188
|
++ * You should have received a copy of the GNU Lesser General Public
|
|
|
189
|
++ * License along with this library; if not, write to the Free Software
|
|
|
190
|
++ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
191
|
++ */
|
|
|
192
|
++
|
|
173
|
193
|
+#ifdef __WIDL__
|
|
174
|
194
|
+#pragma winrt ns_prefix
|
|
175
|
195
|
+#endif
|
|
176
|
196
|
+
|
|
|
197
|
++import "dxgi.idl";
|
|
|
198
|
++import "inspectable.idl";
|
|
177
|
199
|
+import "windows.graphics.directx.direct3d11.idl";
|
|
178
|
200
|
+
|
|
179
|
201
|
+namespace Windows.Graphics.DirectX.Direct3D11 {
|
|
|
202
|
++ HRESULT CreateDirect3D11DeviceFromDXGIDevice([in] IDXGIDevice* dxgiDevice, [out] IInspectable** graphicsDevice);
|
|
|
203
|
++
|
|
180
|
204
|
+ [
|
|
181
|
205
|
+ uuid(A9B3D012-3DF2-4EE3-B8D1-8695F457D3C1)
|
|
182
|
206
|
+ ]
|