[ros-kernel] stdcall

Vizzini vizzini at plasmic.com
Sat Feb 7 17:03:28 CET 2004


On Sat, 2004-02-07 at 15:45, Royce Mitchell III wrote:
> >
> >
> >
> >If there is an explicit convention specified, the default will not
> >override it, so currently-decorated code will continue to work fine. 
> >Anything in the ReactOS source that expects cdecl *should* be decorated
> >as such, as that is not the standard for Microsoft interfaces.
> >
> >My $0.02 anyway.
> >
> > -Vizzini
> >  
> >
> It is not the standard for MS windows interfaces, but how about MS's 
> RTL? MS's compiler itself defaults to cdecl, so it's unfortunately not 
> that simple ;)

In the kernel, everything is stdcall, even the Rtl functions.  Look at
RtlZeroMemory() for an example.

 -Vizzini




More information about the Ros-kernel mailing list