[PATCH] include: Added IDXGISurface1 definition

Nikolay Sivov nsivov at codeweavers.com
Sun Mar 27 03:40:11 CDT 2016


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 include/dxgi.idl | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/include/dxgi.idl b/include/dxgi.idl
index cc98970..c7ba584 100644
--- a/include/dxgi.idl
+++ b/include/dxgi.idl
@@ -227,6 +227,22 @@ interface IDXGISurface : IDXGIDeviceSubObject
 [
     object,
     local,
+    uuid(4ae63092-6327-4c1b-80ae-bfe12ea32b86)
+]
+interface IDXGISurface1 : IDXGISurface
+{
+    HRESULT GetDC(
+        [in] BOOL discard,
+        [out] HDC *hdc
+    );
+    HRESULT ReleaseDC(
+        [in] RECT *dirty_rect
+    );
+}
+
+[
+    object,
+    local,
     uuid(ae02eedb-c735-4690-8d52-5a8dc20213aa)
 ]
 interface IDXGIOutput : IDXGIObject
-- 
2.8.0.rc3




More information about the wine-patches mailing list