[ros-kernel] stdcall
Casper Hornstrup
chorns at users.sourceforge.net
Sun Feb 8 00:16:10 CET 2004
Well, on i386 RtlZeroMemory is a macro that expands to memset which is
cdecl.
-----Original Message-----
From: ros-kernel-bounces at reactos.com [mailto:ros-kernel-bounces at reactos.com]
On Behalf Of Vizzini
Sent: 8. februar 2004 00:03
To: ReactOS Kernel List
Subject: Re: [ros-kernel] stdcall
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
_______________________________________________
Ros-kernel mailing list
Ros-kernel at reactos.com
http://reactos.com/mailman/listinfo/ros-kernel
More information about the Ros-kernel
mailing list