On Thu, Apr 7, 2011 at 5:30 AM, Michael Stefaniuc <mstefani@redhat.de> wrote:
The COM methods are already __stdcall.
---
 dlls/riched20/txthost.c |  128 ++++++++++++++--------------------------------
 1 files changed, 39 insertions(+), 89 deletions(-)

COM methods are supposed to use the stdcall calling convention, but the native riched20 and the native headers just defines ITextHost and ITextServices to be a c++ class (i.e. using the thiscall calling convention).  Just look at the native TextServ.h header.