2 * reactos filesystem notification functions emulation of libcaptive
3 * Copyright (C) 2002 Jan Kratochvil <project-captive@jankratochvil.net>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; exactly version 2 of June 1991 is required
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 /* no prototype for FsRtlNotifyFilterChangeDirectory() */
23 #include <glib/gmessages.h>
24 #include "reactos/base.h" /* for VOID etc. */
25 #include "reactos/ddk/fstypes.h" /* for PNOTIFY_SYNC */
26 #include "reactos/ddk/fsfuncs.h" /* for PCHECK_FOR_TRAVERSE_ACCESS */
29 typedef BOOLEAN (*PFILTER_REPORT_CHANGE)(IN PVOID NotifyContext,IN PVOID FilterContext);
32 * FsRtlNotifyFilterChangeDirectory:
33 * @NotifySync: IGNORED; ignored by libcaptive.
34 * %NULL value is forbidden.
35 * @NotifyList: IGNORED; ignored by libcaptive.
36 * %NULL value is forbidden.
37 * @FsContext: IGNORED; ignored by libcaptive.
38 * @FullDirectoryName: IGNORED; ignored by libcaptive.
39 * %NULL value is permitted.
40 * @WatchTree: IGNORED; ignored by libcaptive.
41 * @IgnoreBuffer: IGNORED; ignored by libcaptive.
42 * @CompletionFilter: IGNORED; ignored by libcaptive.
43 * @NotifyIrp: IGNORED; ignored by libcaptive.
44 * %NULL value is permitted.
45 * @TraverseCallback: IGNORED; ignored by libcaptive.
46 * @SubjectContext: IGNORED; ignored by libcaptive.
47 * @FilterCallback: IGNORED; ignored by libcaptive.
49 * libcaptive does not support any filesystem filter drivers and therefore
50 * the function is implemented as no-operation.
52 VOID FsRtlNotifyFilterChangeDirectory(IN PNOTIFY_SYNC NotifySync,IN PLIST_ENTRY NotifyList,
53 IN PVOID FsContext,IN PSTRING FullDirectoryName,IN BOOLEAN WatchTree,IN BOOLEAN IgnoreBuffer,
54 IN ULONG CompletionFilter,IN PIRP NotifyIrp,IN PCHECK_FOR_TRAVERSE_ACCESS TraverseCallback OPTIONAL,
55 IN PSECURITY_SUBJECT_CONTEXT SubjectContext OPTIONAL,IN PFILTER_REPORT_CHANGE FilterCallback OPTIONAL)
57 g_return_if_fail(NotifySync!=NULL);
58 g_return_if_fail(NotifyList!=NULL);
59 /* 'FullDirectoryName' may be NULL */
60 /* 'NotifyIrp' may be NULL */