[PATCH v2 1/2] include: Add dxgi1_3.idl
Andrey Gusev
andrey.goosev at gmail.com
Mon Jun 26 07:54:10 CDT 2017
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
include/Makefile.in | 1 +
include/dxgi1_3.idl | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
create mode 100644 include/dxgi1_3.idl
diff --git a/include/Makefile.in b/include/Makefile.in
index d00defd..822a803 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -65,6 +65,7 @@ IDL_SRCS = \
dwrite_3.idl \
dxgi.idl \
dxgi1_2.idl \
+ dxgi1_3.idl \
dxva2api.idl \
dyngraph.idl \
endpointvolume.idl \
diff --git a/include/dxgi1_3.idl b/include/dxgi1_3.idl
new file mode 100644
index 0000000..1e899e0
--- /dev/null
+++ b/include/dxgi1_3.idl
@@ -0,0 +1,59 @@
+/*
+ * Copyright 2017 Andrey Gusev
+ *
+ * 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
+ */
+
+import "dxgi1_2.idl";
+
+typedef struct DXGI_MATRIX_3X2_F {
+ float _11;
+ float _12;
+ float _21;
+ float _22;
+ float _31;
+ float _32;
+} DXGI_MATRIX_3X2_F;
+
+[
+ object,
+ uuid(a8be2ac4-199f-4946-b331-79599fb98de7),
+ local,
+ pointer_default(unique)
+]
+interface IDXGISwapChain2 : IDXGISwapChain1
+{
+ HRESULT SetSourceSize(
+ UINT Width,
+ UINT Height);
+
+ HRESULT GetSourceSize(
+ [out] UINT *pWidth,
+ [out] UINT *pHeight);
+
+ HRESULT SetMaximumFrameLatency(
+ UINT MaxLatency);
+
+ HRESULT GetMaximumFrameLatency(
+ [out] UINT *pMaxLatency);
+
+ HANDLE GetFrameLatencyWaitableObject();
+
+ HRESULT SetMatrixTransform(
+ const DXGI_MATRIX_3X2_F *pMatrix);
+
+ HRESULT GetMatrixTransform(
+ [out] DXGI_MATRIX_3X2_F *pMatrix);
+}
--
2.7.5
More information about the wine-patches
mailing list