More changes about open on Win95 directories.
Thu Sep 19 03:39:00 GMT 2002
> > Is '!' invalid? It can easily be confused with '|'.
> Maybe ':' ?
> > I am bothered that the code uses 0 as an illegal
> > handle value. Is that really the case?
> /usr/include/w32api/winbase.h:232:#define INVALID_HANDLE_VALUE
It's not quite as simple as that...
Although CreateFile will return INVALID_HANDLE_VALUE when an error occurs,
other Win32 functions will return NULL instead. The only way to tell is to
read the SDK docs.
More information about the Cygwin-patches