From 154389ce8e98f2f1639c3d03490174ec170a2d34 Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 11 Jul 2007 12:39:03 +0100 Subject: [PATCH] kernel32: SetNamedPipeHandleState() is a stub, so for now don't check its return value. --- dlls/kernel32/sync.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c index dd673dd3f30..7b67948c1f1 100644 --- a/dlls/kernel32/sync.c +++ b/dlls/kernel32/sync.c @@ -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);