[PATCH] include/wincodec.idl: Forward declare interfaces in the normal way.
Vincent Povirk
vincent at codeweavers.com
Sat Jun 17 18:51:29 CDT 2017
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
---
include/wincodec.idl | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/include/wincodec.idl b/include/wincodec.idl
index 1ea6e0e..7ac54bb 100644
--- a/include/wincodec.idl
+++ b/include/wincodec.idl
@@ -218,13 +218,11 @@ 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;")
+interface ID2D1Device;
+interface ID2D1Image;
typedef struct WICRect {
INT X;
--
2.7.4
More information about the wine-patches
mailing list