kernel32: SetNamedPipeHandleState() is a stub, so for now don't check its return value.

This commit is contained in:
Huw Davies 2007-07-11 12:39:03 +01:00 committed by Alexandre Julliard
parent f2894533d5
commit 154389ce8e
1 changed files with 5 additions and 1 deletions

View File

@ -1538,11 +1538,15 @@ BOOL WINAPI CallNamedPipeW(
mode = PIPE_READMODE_MESSAGE;
ret = SetNamedPipeHandleState(pipe, &mode, NULL, NULL);
/* Currently SetNamedPipeHandleState() is a stub returning FALSE */
if (ret) FIXME("Now that SetNamedPipeHandleState() is more than a stub, please update CallNamedPipeW\n");
/*
if (!ret)
{
CloseHandle(pipe);
return FALSE;
}
}*/
ret = TransactNamedPipe(pipe, lpInput, lpInputSize, lpOutput, lpOutputSize, lpBytesRead, NULL);
CloseHandle(pipe);