Cleanup of ntdll.h

Corinna Vinschen cygwin-patches@cygwin.com
Thu May 30 01:23:00 GMT 2002


On Thu, May 30, 2002 at 06:04:19PM +1000, Robert Collins wrote:
> > [mailto:cygwin-patches-owner@cygwin.com] On Behalf Of Corinna Vinschen
> > I changed that now so that all functions are called with Nt prefix.
> 
> This is incorrect. BOTH definitions should exist. NtXXX are kernel mode
> calls, ZwXXX are user mode calls that gate through to kernel mode calls
> via int 2eh.

Nope.  From user mode both call types are identical.  There's no need
to use both forms in Cygwin and since the header is only used inside
of Cygwin there's also no need to define both variations.  One is enough.
It's all one to me if it's the Zw or Nt version but we should at least
use always the same.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list