Mike McCormack wrote:
Use DECLARE_INTERFACE macros.
Mike
ChangeLog:
- add textserv.h
+#ifndef __WINE_TEXTSERV_H +#define __WINE_TEXTSERV_H
+#ifdef __cplusplus +extern "C" { +#endif
+DEFINE_GUID(IID_ITextServices,0x8d33f740,0xcf58,0x11ce,0xa8,0x9d,0x00,0xaa,0x00,0x6c,0xad,0xc5); +DEFINE_GUID(IID_ITextHost, 0xc5bdd8d0,0xd26e,0x11ce,0xa8,0x9e,0x00,0xaa,0x00,0x6c,0xad,0xc5); +DEFINE_GUID(IID_ITextHost2, 0xc5bdd8d0,0xd26e,0x11ce,0xa8,0x9e,0x00,0xaa,0x00,0x6c,0xad,0xc5);
+/*****************************************************************************
- ITextServices interface
- */
+typedef struct ITextServices ITextServices;
+#define INTERFACE ITextServices +DECLARE_INTERFACE_(ITextServices,IUnknown)
This would be much easier in IDL. Why did you do it all by hand?
Robert Shearman wrote:
This would be much easier in IDL. Why did you do it all by hand?
http://www.winehq.org/hypermail/wine-patches/2005/06/0787.html
Alexandre didn't like the hacks.
Mike