Commit 7b6f8547 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

riched20: Make CreateTextServices use ITextHost.

parent fd71ef1b
......@@ -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 @@ void ME_RegisterEditorClass(HINSTANCE hInstance)
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");
......
......@@ -30,8 +30,6 @@ DEFINE_GUID(IID_ITextHost2, 0xc5bdd8d0,0xd26e,0x11ce,0xa8,0x9e,0x00,0xaa,0x00,
/*****************************************************************************
* ITextServices interface
*/
typedef struct ITextServices ITextServices;
#define INTERFACE ITextServices
DECLARE_INTERFACE_(ITextServices,IUnknown)
{
......@@ -217,8 +215,6 @@ enum TXTVIEW {
#define TXTBIT_CLIENTRECTCHANGE 0x100000
#define TXTBIT_USECURRENTBKG 0x200000
typedef struct ITextHost ITextHost;
/*****************************************************************************
* ITextHost interface
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment