[wine-devel] WINE with Trad. Chinese input (XCin) Q2

leanne leanne at thizlinux.com
Tue Mar 12 05:22:01 CST 2002


Dear all,

My second question is about include/wnd.h

The i18n35.udiff patch got the following segment:

~~~~~~~~~~~~~~~~~~~
--- 000928/include/win.h.org    Fri Sep 15 05:42:53 2000
+++ 000928/include/win.h        Mon Oct  2 12:16:03 2000
@@ -133,6 +133,9 @@
     BOOL   (*pSetHostAttr)(WND *, INT haKey, INT value);
     BOOL (*pIsSelfClipping)(WND *);
     void   (*pSetWindowRgn)(WND *, const HRGN);
+    void (*pHideCaret)(WND *);
+    void (*pSetCaretPos)(WND *, INT, INT);
+    void (*pShowCaret)(WND *);
 } WND_DRIVER;

 extern WND_DRIVER *WND_Driver;
~~~~~~~~~~~~~~~~~~~

We cannot patch into the latest version of WINE because it does not have the
following struct "tagWND_DRIVER" which is valid in 2000-09-09 release.

If we do not patch it, any harm?


Many thanks!!


include/wnd.h (wine 2000-09-09 release)
=============================================
typedef struct tagWND_DRIVER
{
    void   (*pInitialize)(WND *);
    void   (*pFinalize)(WND *);
    BOOL (*pCreateDesktopWindow)(WND *, struct tagCLASS *, BOOL);
    BOOL (*pCreateWindow)(WND *, struct tagCLASS *, CREATESTRUCTA *, BOOL);
    BOOL (*pDestroyWindow)(WND *);
    WND*   (*pSetParent)(WND *, WND *);
    void   (*pForceWindowRaise)(WND *);
    void   (*pSetWindowPos)(WND *, const WINDOWPOS *, BOOL);
    void   (*pSetText)(WND *, LPCWSTR);
    void   (*pSetFocus)(WND *);
    void   (*pPreSizeMove)(WND *);
    void   (*pPostSizeMove)(WND *);
    void   (*pSurfaceCopy)(WND *, HDC, INT, INT, const RECT *, BOOL);
    void   (*pSetDrawable)(WND *, HDC, WORD, BOOL);
    BOOL   (*pSetHostAttr)(WND *, INT haKey, INT value);
    BOOL (*pIsSelfClipping)(WND *);
    void   (*pSetWindowRgn)(WND *, const HRGN);
} WND_DRIVER;

extern WND_DRIVER *WND_Driver;
=============================================

Cheers,
Leanne Tsang





More information about the wine-devel mailing list