reactos/lib/kernel32/file
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;
}