Module: wine Branch: master Commit: 154389ce8e98f2f1639c3d03490174ec170a2d34 URL: http://source.winehq.org/git/wine.git/?a=commit;h=154389ce8e98f2f1639c3d0349...
Author: Huw Davies huw@codeweavers.com Date: Wed Jul 11 12:39:03 2007 +0100
kernel32: SetNamedPipeHandleState() is a stub, so for now don't check its return value.
---
dlls/kernel32/sync.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c index dd673dd..7b67948 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);