[PATCH] comctl32/treeview: Make textWidth in struct _TREEITEM compatible with native one.

Eric Zhang yi.gd.cn at gmail.com
Sat Jan 20 10:05:30 CST 2018

Sorry for the inconvenience, I just found out there is something wrong with
the tests thus the whole patch.

I will resend another one later. The patch should not be accepted.

On Sat, Jan 20, 2018 at 1:40 PM, Zhiyi Zhang <yi.gd.cn at gmail.com> wrote:

> Hi Nikolay,
> This fixes https://bugs.winehq.org/show_bug.cgi?id=35127
> As I was working through bug 35127, I noticed that you had once changed
> the layout of struct _TREEITEM in commit 6ec621e835e03f715d5fee27c5de5b
> 0d361814de.
> Now I am sure that textWidth in struct _TREEITEM is a WORD and is at the
> offset 0x1a. You can check out the bug comments for details. I tried to
> find out what is at 0x18 but no luck, thus I am adding a unknown member to
> make textWidth at the right offset.
>  What do you think of the patch? Do you know what member is at struct
> _TREEITEM+0x18? I can use your opinion with this patch.
> Thanks,
> Zhiyi Zhang
> Signed-off-by: Zhiyi Zhang <yi.gd.cn at gmail.com>
> ---
>  dlls/comctl32/tests/treeview.c | 58 ++++++++++++++++++++++++++++++
> ++++++------
>  dlls/comctl32/treeview.c       |  3 ++-
>  2 files changed, 52 insertions(+), 9 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180121/4dca37e5/attachment.html>

More information about the wine-devel mailing list