From 3bccaad883cfc9ce537d70890df087fecba3e233 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 9 Dec 2020 19:24:34 +0530 Subject: [PATCH 5/5] include: Add ID2D1Multithread interface in d2d1_1.idl. Signed-off-by: Biswapriyo Nath --- include/d2d1_1.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/d2d1_1.idl b/include/d2d1_1.idl index d4bdef2..1bcadab 100644 --- a/include/d2d1_1.idl +++ b/include/d2d1_1.idl @@ -945,6 +945,18 @@ interface ID2D1Factory1 : ID2D1Factory ); } +[ + object, + uuid(31e6e7bc-e0ff-4d46-8c64-a0a8c41c15d3), + local, +] +interface ID2D1Multithread : IUnknown +{ + BOOL GetMultithreadProtected(); + void Enter(); + void Leave(); +} + [local] HRESULT __stdcall D2D1CreateDevice(IDXGIDevice *dxgi_device, const D2D1_CREATION_PROPERTIES *creation_properties, ID2D1Device **device); [local] void __stdcall D2D1SinCos(float angle, float *s, float *c); -- 2.29.2