riched20: Make CreateTextServices use ITextHost.
This commit is contained in:
parent
fd71ef1bfa
commit
7b6f85474e
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue