From 92847874b273ec488e6eaa882cac8772005ff9ea Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Fri, 16 Jun 2017 12:18:25 +0200 Subject: [PATCH] include: Simply forward declare the required D2D interfaces in wincodec.idl. Signed-off-by: Henri Verbeet Signed-off-by: Alistair Leslie-Hughes Signed-off-by: Alexandre Julliard --- include/wincodec.idl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/wincodec.idl b/include/wincodec.idl index 1ea6e0e2038..2a8087661a3 100644 --- a/include/wincodec.idl +++ b/include/wincodec.idl @@ -218,14 +218,9 @@ cpp_quote("DEFINE_GUID(GUID_WICPixelFormat64bppPRGBA, 0x6fddc324,0x4e03,0x4bfe,0 cpp_quote("DEFINE_GUID(GUID_WICPixelFormat32bppCMYK, 0x6fddc324,0x4e03,0x4bfe,0xb1,0x85,0x3d,0x77,0x76,0x8d,0xc9,0x1c);") cpp_quote("#if 0") -typedef DWORD *ID2D1Device; -typedef DWORD *ID2D1Image; typedef DWORD *D2D1_PIXEL_FORMAT; cpp_quote ("#endif") -cpp_quote ("typedef interface ID2D1Device ID2D1Device;") -cpp_quote ("typedef interface ID2D1Image ID2D1Image;") - typedef struct WICRect { INT X; INT Y; @@ -254,6 +249,8 @@ typedef struct WICImageParameters typedef UINT32 WICColor; +interface ID2D1Device; +interface ID2D1Image; interface IWICPalette; [ -- 2.11.4.GIT