This is the mail archive of the
mailing list for the Cygwin project.
Re: Minor additions to winbase.h and ntdll.def
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- To: Hartmut Honisch <hartmut_honisch at web dot de>
- Cc: cygwin-patches at cygwin dot com
- Date: Mon, 16 Dec 2002 09:07:39 -0500
- Subject: Re: Minor additions to winbase.h and ntdll.def
- References: <NFBBLLCAILKHOEOHEFMHCEBECEAA.firstname.lastname@example.org>
Hartmut Honisch wrote:
They just happen to be used in Cygwin and just happen to be CVSed in the
winsup/w32api directory, but the MinGW team maintain them.
- Changed NMPWAIT_WAIT_FOREVER constant from (-1) to 0xffffffff (like in
I have a piece of own code that passes NMPWAIT_WAIT_FOREVER as a parameter
to CallNamedPipe. The compiler gave me a warning because the function
prototype expected a DWORD value which by definition cannot be negative. So
it's obviously a (minor) bug in cygwin's header files, which I thought the
cygwin folks might be interested in to fix.
Looking at Microsoft's header files and making changes to w32api is not
Technically, I didn't do it that way. I just mentioned that to avoid
discussions like that one, since cygwin's headers shouldn't differ from
Microsoft's headers regarding the value of numeric constants.
Such differences help provide defense to copyright enfringement claims.
Then, your patch can't be accepted. The foremost prerequisite for
changes to the w32api is the documentation that warrants the change.
Here is an example of a proper bug report.
You'll have to find the MSDN documentation and provide the
There are no references in MSDN that show the numeric value of that
constant - at least I can't find any. So I wonder how (-1) got there in the
Bugs item #653761, was opened at 2002-12-14 17:19
You can respond by visiting:
Submitted By: Dimitri Papadopoulos (dimitri_at)
Assigned to: Earnie Boyd (earnie)
Summary: missing CPLPAGE_*
Header cplext.h defines only:
The following are missing from w32api:
Dimitri could have supplied a patch but the information and
documentation reference are still needed.