kernel32: NtOpenFile returns STATUS_SUCCESS on success.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-09-14 07:45:30 +02:00 committed by Alexandre Julliard
parent ab5ad7dc0b
commit c7a9ab82b7
1 changed files with 1 additions and 1 deletions

View File

@ -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 );