From 49b3837504258b7e2da295f30858a599a489c016 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 9 Jun 2006 21:10:01 +0200 Subject: [PATCH] riched32: Use the standard DEFINE_GUID macro to define GUIDs. --- dlls/riched20/richole.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/dlls/riched20/richole.c b/dlls/riched20/richole.c index 53ba7113649..497c0fc319a 100644 --- a/dlls/riched20/richole.c +++ b/dlls/riched20/richole.c @@ -36,23 +36,24 @@ WINE_DEFAULT_DEBUG_CHANNEL(richedit); -typedef struct IRichEditOleImpl { - const IRichEditOleVtbl *lpVtbl; - LONG ref; - - ME_TextEditor *editor; -} IRichEditOleImpl; - /* there is no way to be consistent across different sets of headers - mingw, Wine, Win32 SDK*/ /* FIXME: the next 6 lines should be in textserv.h */ +#include "initguid.h" #define TEXTSERV_GUID(name, l, w1, w2, b1, b2) \ - GUID name = { l, w1, w2, {b1, b2, 0x00, 0xaa, 0x00, 0x6c, 0xad, 0xc5}} + DEFINE_GUID(name, l, w1, w2, b1, b2, 0x00, 0xaa, 0x00, 0x6c, 0xad, 0xc5) TEXTSERV_GUID(IID_ITextServices, 0x8d33f740, 0xcf58, 0x11ce, 0xa8, 0x9d); TEXTSERV_GUID(IID_ITextHost, 0xc5bdd8d0, 0xd26e, 0x11ce, 0xa8, 0x9e); TEXTSERV_GUID(IID_ITextHost2, 0xc5bdd8d0, 0xd26e, 0x11ce, 0xa8, 0x9e); +typedef struct IRichEditOleImpl { + const IRichEditOleVtbl *lpVtbl; + LONG ref; + + ME_TextEditor *editor; +} IRichEditOleImpl; + static HRESULT WINAPI IRichEditOle_fnQueryInterface(IRichEditOle *me, REFIID riid, LPVOID *ppvObj) { -- 2.11.4.GIT