move from branch
[reactos.git] / reactos / ntoskrnl / fsrtl / filtrctx.c
1 /*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: ntoskrnl/fsrtl/filtrctx.c
5 * PURPOSE: File Stream Filter Context support for File System Drivers
6 * PROGRAMMERS: None.
7 */
8
9 /* INCLUDES ******************************************************************/
10
11 #include <ntoskrnl.h>
12 #define NDEBUG
13 #include <debug.h>
14
15 /* PUBLIC FUNCTIONS **********************************************************/
16
17 /*++
18 * @name FsRtlIsPagingFile
19 * @implemented NT 4.0
20 *
21 * The FsRtlIsPagingFile routine checks if the FileObject is a Paging File.
22 *
23 * @param FileObject
24 * A pointer to the File Object to be tested.
25 *
26 * @return TRUE if the File is a Paging File, FALSE otherwise.
27 *
28 * @remarks None.
29 *
30 *--*/
31 LOGICAL
32 NTAPI
33 FsRtlIsPagingFile(IN PFILE_OBJECT FileObject)
34 {
35 KEBUGCHECK(0);
36 return FALSE;
37 }
38
39 /*
40 * @unimplemented
41 */
42 PFSRTL_PER_STREAM_CONTEXT
43 NTAPI
44 FsRtlLookupPerStreamContextInternal(IN PFSRTL_ADVANCED_FCB_HEADER StreamContext,
45 IN PVOID OwnerId OPTIONAL,
46 IN PVOID InstanceId OPTIONAL)
47 {
48 KEBUGCHECK(0);
49 return FALSE;
50 }
51
52 /*
53 * @unimplemented
54 */
55 PFSRTL_PER_FILEOBJECT_CONTEXT
56 NTAPI
57 FsRtlLookupPerFileObjectContext(IN PFILE_OBJECT FileObject,
58 IN PVOID OwnerId OPTIONAL,
59 IN PVOID InstanceId OPTIONAL)
60 {
61 KEBUGCHECK(0);
62 return FALSE;
63 }
64
65 /*
66 * @unimplemented
67 */
68 NTSTATUS
69 NTAPI
70 FsRtlInsertPerStreamContext(IN PFSRTL_ADVANCED_FCB_HEADER PerStreamContext,
71 IN PFSRTL_PER_STREAM_CONTEXT Ptr)
72 {
73 KEBUGCHECK(0);
74 return STATUS_NOT_IMPLEMENTED;
75 }
76
77 /*
78 * @unimplemented
79 */
80 PFSRTL_PER_STREAM_CONTEXT
81 NTAPI
82 FsRtlRemovePerStreamContext(IN PFSRTL_ADVANCED_FCB_HEADER StreamContext,
83 IN PVOID OwnerId OPTIONAL,
84 IN PVOID InstanceId OPTIONAL)
85 {
86 KEBUGCHECK(0);
87 return NULL;
88 }
89
90 /*
91 * @unimplemented
92 */
93 NTSTATUS
94 NTAPI
95 FsRtlInsertPerFileObjectContext(IN PFILE_OBJECT FileObject,
96 IN PFSRTL_PER_FILEOBJECT_CONTEXT Ptr)
97 {
98 KEBUGCHECK(0);
99 return STATUS_NOT_IMPLEMENTED;
100 }
101
102 /*
103 * @unimplemented
104 */
105 PFSRTL_PER_FILEOBJECT_CONTEXT
106 NTAPI
107 FsRtlRemovePerFileObjectContext(IN PFILE_OBJECT PerFileObjectContext,
108 IN PVOID OwnerId OPTIONAL,
109 IN PVOID InstanceId OPTIONAL)
110 {
111 KEBUGCHECK(0);
112 return NULL;
113 }
114
115 /*
116 * @unimplemented
117 */
118 VOID
119 NTAPI
120 FsRtlTeardownPerStreamContexts(IN PFSRTL_ADVANCED_FCB_HEADER AdvancedHeader)
121 {
122 KEBUGCHECK(0);
123 }
124