riched20: Make CreateTextServices use ITextHost.

oldstable
Maarten Lankhorst 2006-01-30 18:16:05 +01:00 committed by Alexandre Julliard
parent fd71ef1bfa
commit 7b6f85474e
2 changed files with 4 additions and 8 deletions

View File

@ -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");

View File

@ -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
*/