Cleanup of ntdll.h

Robert Collins robert.collins@itdomain.com.au
Thu May 30 01:04:00 GMT 2002



> -----Original Message-----
> From: cygwin-patches-owner@cygwin.com 
> [mailto:cygwin-patches-owner@cygwin.com] On Behalf Of Corinna Vinschen
> Sent: Thursday, 30 May 2002 5:57 PM
> To: cygpatch
> Subject: Cleanup of ntdll.h
> 
> 
> Hi,
> 
> I've cleaned up the usage of NTDLL.DLL functions slightly.  For some
> reason the function ZwQueryInformationProcess has been additionally
> defined even though NtQueryInformationProcess was already available.
> Additional functions have been defined as ZwXXX while formerly
> already defined functions did use the NtXXX style.
> 
> 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.

Rob



More information about the Cygwin-patches mailing list