[PATCH 2/3] dxgi: Add interface for IDXGISurface1

Martell Malone martellmalone at gmail.com
Fri Feb 13 07:06:01 CST 2015


---
 include/dxgi.idl | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/include/dxgi.idl b/include/dxgi.idl
index bc9538e..330a2c3 100644
--- a/include/dxgi.idl
+++ b/include/dxgi.idl
@@ -1,5 +1,6 @@
 /*
  * Copyright 2007 Andras Kovacs
+ * Copyright 2015 Martell Malone
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -222,6 +223,24 @@ interface IDXGISurface : IDXGIDeviceSubObject
 
 [
     object,
+    uuid(4ae63092-6327-4c1b-80ae-bfe12ea32b86),
+    local,
+    pointer_default(unique)
+]
+interface IDXGISurface1 : IDXGISurface
+{
+    HRESULT GetDC(
+        [in] BOOL Discard,
+        [out] HDC *dc
+    );
+
+    HRESULT ReleaseDC(
+        [in] RECT *rect
+    );
+}
+
+[
+    object,
     local,
     uuid(ae02eedb-c735-4690-8d52-5a8dc20213aa)
 ]
-- 
2.3.0




More information about the wine-patches mailing list