CreateNamedPipe questions

Dmitry Timoshkov dmitry at
Thu Feb 13 02:52:36 CST 2003

"Dan Kegel" <dank at> wrote:

> Oddly enough, it looks like it's ok to pass
> NULL as the filename to CreateNamedPipe.

Under Win2k CreateNamedPipe(NULL) in your test returns INVALID_HANDLE_VALUE
but sets last error to ERROR_PATH_NOT_FOUND, not ERROR_INVALID_NAME as your
test expects. It worth to verify last error at least under NT 4.0 since it's
known that NT 4 either doesn't set last error at all, or often sets it
differently than win2k/XP.


More information about the wine-devel mailing list