From fddc6df9fcec17e588012cd7d5cdad2fb0556172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Tue, 15 Jul 2003 10:49:52 +0000 Subject: [PATCH] Pass PHANDLE instead of HANDLE in NtOpenFile call svn path=/trunk/; revision=5128 --- reactos/lib/kernel32/file/cnotify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/kernel32/file/cnotify.c b/reactos/lib/kernel32/file/cnotify.c index 9015f2b61cc..859f613aaa0 100644 --- a/reactos/lib/kernel32/file/cnotify.c +++ b/reactos/lib/kernel32/file/cnotify.c @@ -1,4 +1,4 @@ -/* $Id: cnotify.c,v 1.7 2003/07/10 18:50:51 chorns Exp $ +/* $Id: cnotify.c,v 1.8 2003/07/15 10:49:52 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -106,7 +106,7 @@ FindFirstChangeNotificationW ( NULL, NULL); - Status = NtOpenFile (hDir, + Status = NtOpenFile (&hDir, SYNCHRONIZE|FILE_LIST_DIRECTORY, &ObjectAttributes, &IoStatus,