[ros-kernel] stdcall
Skywing
skywing at valhallalegends.com
Sat Feb 7 18:25:43 CET 2004
Note that it's still exported...
C:\WINDOWS\system32>dumpbin /exports ntoskrnl.exe | find /i "RtlZeroMemory"
1238 4D3 00007135 RtlZeroMemory
(NT 5.2)
-----Original Message-----
From: ros-kernel-bounces at reactos.com [mailto:ros-kernel-bounces at reactos.com]
On Behalf Of Casper Hornstrup
Sent: Saturday, February 07, 2004 6:16 PM
To: 'ReactOS Kernel List'
Subject: RE: [ros-kernel] stdcall
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
_______________________________________________
Ros-kernel mailing list
Ros-kernel at reactos.com
http://reactos.com/mailman/listinfo/ros-kernel
More information about the Ros-kernel
mailing list