Signed-off-by: Ziqing Hui zhui@codeweavers.com --- include/d2d1_3.idl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
diff --git a/include/d2d1_3.idl b/include/d2d1_3.idl index c64f353b60c..e4e9f48f5ff 100644 --- a/include/d2d1_3.idl +++ b/include/d2d1_3.idl @@ -318,3 +318,22 @@ interface ID2D1DeviceContext2 : ID2D1DeviceContext1 [in, optional] const D2D1_RECT_F *src_rect ); } + +[ + object, + uuid(a44472e1-8dfb-4e60-8492-6e2861c9ca8b), + local, +] +interface ID2D1Device2 : ID2D1Device1 +{ + HRESULT CreateDeviceContext( + [in] D2D1_DEVICE_CONTEXT_OPTIONS options, + [out] ID2D1DeviceContext2 **context + ); + void FlushDeviceContexts( + [in] ID2D1Bitmap *bitmap + ); + HRESULT GetDxgiDevice( + [out] IDXGIDevice **dxgi_device + ); +}