[2/2] richedit: Initial testing of ITextServices methods.

Dylan Smith dylan.ah.smith at gmail.com
Thu Oct 30 10:03:38 CDT 2008


(Patches sent by Maarten Lankhorst and Austin Lund were modified to
create this patch)

Mostly this patch defines the wrappers and macros that allow the
ITextServices methods to be called, since they use the c++ thiscall
calling convention.

Assembly is used to make the conversion itself, and macros are used to
abstract away these details from the tests. The code was only tested on
an x86 machine with gcc and mingw, but it works on Windows and Wine.

The public header files should not have these macros, since the native
headers omit them, and they will cause code to crash on x86 platforms.
---
 dlls/riched20/tests/txtsrv.c |  281 ++++++++++++++++++++++++++++++++++++++++++
 include/textserv.h           |   19 ---
 2 files changed, 281 insertions(+), 19 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-richedit-Initial-testing-of-ITextServices-method.diff.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20081030/c4119847/attachment.txt 


More information about the wine-patches mailing list