rfc: _thiscall and msvcrt

Ann and Jason Edmeades us at the-edmeades.demon.co.uk
Sat May 24 16:15:17 CDT 2003


OK, i'll take a look at adding __reg stubs if this is the preferred
method.

> don't forget also that register functions return their result in
> context->Eax...

so should for example:
exception * MSVCRT_exception_opequals(const exception * rhs, CONTEXT86*
context)
{
   :
  return _this;
}

Be
void MSVCRT_exception_opequals(const exception * rhs, CONTEXT86*
context)
{
   :
  context->Eax = (DWORD)_this;
}
?

I assume the caller will look in the context structure passed in for the
return val?
Jason



More information about the wine-devel mailing list