From 60de2d686cac484d1784b14872c7a86f762a0fa8 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 19 May 2014 08:21:00 +0200 Subject: [PATCH] d2d1: Add the ID2D1DCRenderTarget interface. --- include/d2d1.idl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/d2d1.idl b/include/d2d1.idl index 899c1d7eb10..2c9db1a24c1 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);