RICHED20: add textserv.h (3rd try)

Robert Shearman rob at codeweavers.com
Fri Jul 1 11:13:36 CDT 2005


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?

-- 
Rob Shearman




More information about the wine-devel mailing list