This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Cleanup of ntdll.h




> -----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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]