From a8a4e37cba526f2c749c8697042f1dc7b5744b0d Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sun, 9 Sep 2001 12:21:37 +0000 Subject: [PATCH] Change the return value in CreateFileW() from FALSE to INVALID_HANDLE_VALUE. svn path=/trunk/; revision=2248 --- reactos/lib/kernel32/file/create.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/kernel32/file/create.c b/reactos/lib/kernel32/file/create.c index 5f7753c4bfc..d549188c61a 100644 --- a/reactos/lib/kernel32/file/create.c +++ b/reactos/lib/kernel32/file/create.c @@ -1,4 +1,4 @@ -/* $Id: create.c,v 1.21 2000/06/03 14:47:31 ea Exp $ +/* $Id: create.c,v 1.22 2001/09/09 12:21:37 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -121,7 +121,7 @@ HANDLE STDCALL CreateFileW (LPCWSTR lpFileName, &NtPathU, NULL, NULL)) - return FALSE; + return INVALID_HANDLE_VALUE; DPRINT("NtPathU \'%S\'\n", NtPathU.Buffer);