On 22 Jun 2002 at 1:32, Casper Hornstrup wrote:
> lør, 2002-06-22 kl. 01:18 skrev Paul G.:
> > On 21 Jun 2002 at 16:29, Casper Hornstrup wrote:
> > > I have a header file with NT status codes (STATUS_*). A few of
> > > these are already in w32api (winbase.h), but I'm not sure this is
> > > where they are supposed to be since they are not defined in Win32.
> > > Should we remove those that are in winbase.h (and add them to
> > > ntstatus.h instead) and add this header file to w32api or to the
> > > the DDK?
> > Depends on which STATUS_* Return Variables you are wanting to
> > define. Some go in winbase.h, others go in other header files
> > (According to MS Platform SDK, November 2001). Some STATUS_* return
> > variables (eg. STATUS_WAIT_0, that is a "zero", not an "Oh".) simply
> > do not exist within the Platform SDK (November 2001) and have been
> > added for the sole reason of facilitating the Mingw runtime.
> > eg. STATUS_FLOAT_DENORMAL_OPERAND, (NT4, Win2k, XP only) according
> > to MS Platform SDK, is not supported for Win9x/Me. According to the
> > Platform SDK that particular return variable is supposed to be
> > declared (again, according to MS Platform SDK) in Winnt.h.
> > So, can you be more specific about "which" NT/Win2k/XP STATUS_*
> > return variables you are wondering about?
> > Paul G.
> So Win32 defines some STATUS_* codes?
Can't make an empiracal statement on that. More accurately, at least in my mind, is that Mingw runtime
defines some STATUS_* codes, depending on what the need (or desire) is where the folks who are using Mingw are
> I thought all Win32 error codes
> where ERROR_*. I'll look into which of them should be in w32api.
As an aside, ERROR_* codes may also have specific placements as well -- again depending on