mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
fixed return value of FindCloseChangeNotification()
svn path=/trunk/; revision=11238
This commit is contained in:
parent
db533baf58
commit
82a44258db
1 changed files with 8 additions and 2 deletions
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -20,7 +20,13 @@
|
||||||
BOOL STDCALL
|
BOOL STDCALL
|
||||||
FindCloseChangeNotification (HANDLE hChangeHandle)
|
FindCloseChangeNotification (HANDLE hChangeHandle)
|
||||||
{
|
{
|
||||||
NtClose(hChangeHandle);
|
NTSTATUS Status = NtClose(hChangeHandle);
|
||||||
|
if(!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
|
SetLastErrorByStatus(Status);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue