Implement FsRtlAllocateResource, FsRtlIsPagingFile, FsRtlBalanceReads. Fix some incor...
[reactos.git] / reactos / ntoskrnl / fs / context.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/fs/context.c
5 * PURPOSE: File and Stream Context Functions
6 *
7 * PROGRAMMERS: Alex Ionescu (alex@relsoft.net)
8 */
9
10 /* INCLUDES *****************************************************************/
11
12 #include <ntoskrnl.h>
13 #include <internal/debug.h>
14
15 /* GLOBALS *******************************************************************/
16
17 /* PRIVATE FUNCTIONS**********************************************************/
18
19 /* FUNCTIONS *****************************************************************/
20
21 /*
22 * @unimplemented
23 */
24 NTSTATUS
25 STDCALL
26 FsRtlInsertPerStreamContext(IN PFSRTL_ADVANCED_FCB_HEADER PerStreamContext,
27 IN PFSRTL_PER_STREAM_CONTEXT Ptr)
28 {
29 UNIMPLEMENTED;
30 return STATUS_NOT_IMPLEMENTED;
31 }
32
33 /*
34 * @unimplemented
35 */
36 PFSRTL_PER_STREAM_CONTEXT
37 STDCALL
38 FsRtlRemovePerStreamContext(IN PFSRTL_ADVANCED_FCB_HEADER StreamContext,
39 IN PVOID OwnerId OPTIONAL,
40 IN PVOID InstanceId OPTIONAL)
41 {
42 UNIMPLEMENTED;
43 return NULL;
44 }
45
46 /*
47 * @unimplemented
48 */
49 NTSTATUS
50 STDCALL
51 FsRtlInsertPerFileObjectContext(IN PFSRTL_ADVANCED_FCB_HEADER PerFileObjectContext,
52 IN PVOID /* PFSRTL_PER_FILE_OBJECT_CONTEXT*/ Ptr)
53 {
54 UNIMPLEMENTED;
55 return STATUS_NOT_IMPLEMENTED;
56 }
57
58 /*
59 * @unimplemented
60 */
61 PVOID /* PFSRTL_PER_FILE_OBJECT_CONTEXT*/
62 STDCALL
63 FsRtlRemovePerFileObjectContext(IN PFSRTL_ADVANCED_FCB_HEADER PerFileObjectContext,
64 IN PVOID OwnerId OPTIONAL,
65 IN PVOID InstanceId OPTIONAL)
66 {
67 UNIMPLEMENTED;
68 return NULL;
69 }
70
71 /*
72 * @unimplemented
73 */
74 VOID
75 STDCALL
76 FsRtlTeardownPerStreamContexts(IN PFSRTL_ADVANCED_FCB_HEADER AdvancedHeader)
77 {
78 UNIMPLEMENTED;
79 }
80
81 /* EOF */