Sebastian Lackner : kernel32: NtOpenFile returns STATUS_SUCCESS on success.
Alexandre Julliard
julliard at winehq.org
Wed Sep 14 10:28:51 CDT 2016
Module: wine
Branch: master
Commit: c7a9ab82b7c8504e9eb568955dfb15718eed42e6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c7a9ab82b7c8504e9eb568955dfb15718eed42e6
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Wed Sep 14 07:45:30 2016 +0200
kernel32: NtOpenFile returns STATUS_SUCCESS on success.
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/sync.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c
index b8222db..494db9c 100644
--- a/dlls/kernel32/sync.c
+++ b/dlls/kernel32/sync.c
@@ -1555,7 +1555,7 @@ BOOL WINAPI WaitNamedPipeW (LPCWSTR name, DWORD nTimeOut)
status = NtOpenFile( &pipe_dev, FILE_READ_ATTRIBUTES | SYNCHRONIZE, &attr,
&iosb, FILE_SHARE_READ | FILE_SHARE_WRITE,
FILE_SYNCHRONOUS_IO_NONALERT);
- if (status != ERROR_SUCCESS)
+ if (status != STATUS_SUCCESS)
{
HeapFree( GetProcessHeap(), 0, pipe_wait);
RtlFreeUnicodeString( &nt_name );
More information about the wine-cvs
mailing list