riched20: Make CreateTextServices use ITextHost.
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 01a55c1..135fe8e 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c
@@ -228,7 +228,8 @@ #include "winreg.h" #define NO_SHLWAPI_STREAM #include "shlwapi.h" - +#include "imm.h" +#include "textserv.h" #include "rtf.h" WINE_DEFAULT_DEBUG_CHANNEL(richedit); @@ -2199,12 +2200,11 @@ bResult = RegisterClassA(&wcA); assert(bResult); } + /****************************************************************** * CreateTextServices (RICHED20.4) - * - * FIXME should be ITextHost instead of void* */ -HRESULT WINAPI CreateTextServices(IUnknown *punkOuter, void *pITextHost, +HRESULT WINAPI CreateTextServices(IUnknown *punkOuter, ITextHost *pITextHost, IUnknown **ppUnk) { FIXME("stub\n");
diff --git a/include/textserv.h b/include/textserv.h index eb3b8b4..ffd9581 100644 --- a/include/textserv.h +++ b/include/textserv.h
@@ -30,8 +30,6 @@ /***************************************************************************** * ITextServices interface */ -typedef struct ITextServices ITextServices; - #define INTERFACE ITextServices DECLARE_INTERFACE_(ITextServices,IUnknown) { @@ -217,8 +215,6 @@ #define TXTBIT_CLIENTRECTCHANGE 0x100000 #define TXTBIT_USECURRENTBKG 0x200000 -typedef struct ITextHost ITextHost; - /***************************************************************************** * ITextHost interface */