riched20: Remove the unneeded DEFINE_STDCALL_WRAPPER.
mstefani at redhat.com
Thu Apr 7 16:28:40 CDT 2011
On 04/07/2011 07:04 PM, Dylan Smith wrote:
> On Thu, Apr 7, 2011 at 1:00 PM, Dylan Smith<dylan.ah.smith at 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).
Thanks for the explanation. It kinda makes sense but it still feels ugly.
More information about the wine-devel