Module: wine Branch: master Commit: d76e60501059a29fd632a7b321da459400c8f10c URL: http://source.winehq.org/git/wine.git/?a=commit;h=d76e60501059a29fd632a7b321...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon May 19 08:20:59 2014 +0200
d2d1: Add the ID2D1HwndRenderTarget interface.
---
include/d2d1.idl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+)
diff --git a/include/d2d1.idl b/include/d2d1.idl index 722f65f..899c1d7 100644 --- a/include/d2d1.idl +++ b/include/d2d1.idl @@ -265,6 +265,13 @@ typedef enum D2D1_FEATURE_LEVEL D2D1_FEATURE_LEVEL_FORCE_DWORD = 0xffffffff, } D2D1_FEATURE_LEVEL;
+typedef enum D2D1_WINDOW_STATE +{ + D2D1_WINDOW_STATE_NONE = 0x0000000, + D2D1_WINDOW_STATE_OCCLUDED = 0x0000001, + D2D1_WINDOW_STATE_FORCE_DWORD = 0xffffffff, +} D2D1_WINDOW_STATE; + typedef struct D2D1_BEZIER_SEGMENT { D2D1_POINT_2F point1; @@ -1092,5 +1099,19 @@ interface ID2D1BitmapRenderTarget : ID2D1RenderTarget ); }
+[ + local, + object, + uuid(2cd90698-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1HwndRenderTarget : ID2D1RenderTarget +{ + D2D1_WINDOW_STATE CheckWindowState(); + HRESULT Resize( + [in] const D2D1_SIZE_U size + ); + HWND GetHwnd(); +} + [local] HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type, REFIID iid, const D2D1_FACTORY_OPTIONS *factory_options, void **factory);