13 Feb
2003
13 Feb
'03
2:52 a.m.
"Dan Kegel" <dank(a)kegel.com> 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. -- Dmitry.