A failure to open a pipe should return INVALID_HANDLE_VALUE.

oldstable
Ove Kaaven 2001-09-25 22:37:32 +00:00 committed by Alexandre Julliard
parent c9f0ff2d8c
commit 7efa8e258e
1 changed files with 2 additions and 1 deletions

View File

@ -434,7 +434,8 @@ HANDLE WINAPI CreateFileA( LPCSTR filename, DWORD access, DWORD sharing,
if(!strncasecmp(&filename[4],"pipe\\",5))
{
TRACE("Opening a pipe: %s\n",filename);
return FILE_OpenPipe(filename,access);
ret = FILE_OpenPipe(filename,access);
goto done;
}
else if (!DOSFS_GetDevice( filename ))
{