Commit in reactos/lib/kernel32/file on MAIN
cnotify.c+8-21.10 -> 1.11
fixed return value of FindCloseChangeNotification()

reactos/lib/kernel32/file
cnotify.c 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- cnotify.c	23 Jan 2004 21:16:03 -0000	1.10
+++ cnotify.c	8 Oct 2004 21:29:40 -0000	1.11
@@ -1,4 +1,4 @@
-/* $Id: cnotify.c,v 1.10 2004/01/23 21:16:03 ekohl Exp $
+/* $Id: cnotify.c,v 1.11 2004/10/08 21:29:40 weiden Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -20,7 +20,13 @@
 BOOL STDCALL
 FindCloseChangeNotification (HANDLE hChangeHandle)
 {
-   NtClose(hChangeHandle);
+   NTSTATUS Status = NtClose(hChangeHandle);
+   if(!NT_SUCCESS(Status))
+   {
+     SetLastErrorByStatus(Status);
+     return FALSE;
+   }
+   
    return TRUE;
 }
 
CVSspam 0.2.8