On Thu, Apr 7, 2011 at 1:00 PM, Dylan Smith <dylan.ah.sm...@gmail.com> wrote: > > The rest of the richedit code needs to call the ITextHost interface > using the thiscall calling convention, so on i386 it calls a thunk in > itextHostStdcallVtbl which are defined using the stdcall calling > convention, and perform stdcall->thiscall conversion before jumping to > the thiscall defined method (i.e. the actual method for user provided > ITextHost, and a thunk to reverse the calling convention in Wine).
Sorry, that last part should read (i.e. the actual method for user provided ITextHost, OR a thunk to reverse the calling convention for calling the internal ITextHostImpl).