[PATCH 2/5] d2d1: Add the ID2D1DCRenderTarget interface.

Henri Verbeet hverbeet at codeweavers.com
Mon May 19 01:21:00 CDT 2014


---
 include/d2d1.idl |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/include/d2d1.idl b/include/d2d1.idl
index 899c1d7..2c9db1a 100644
--- a/include/d2d1.idl
+++ b/include/d2d1.idl
@@ -1113,5 +1113,18 @@ interface ID2D1HwndRenderTarget : ID2D1RenderTarget
     HWND GetHwnd();
 }
 
+[
+    local,
+    object,
+    uuid(1c51bc64-de61-46fd-9899-63a5d8f03950)
+]
+interface ID2D1DCRenderTarget : ID2D1RenderTarget
+{
+    HRESULT BindDC(
+        [in] const HDC dc,
+        [in] const RECT rect
+    );
+}
+
 [local] HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type, REFIID iid,
         const D2D1_FACTORY_OPTIONS *factory_options, void **factory);
-- 
1.7.10.4




More information about the wine-patches mailing list