Author: pschweitzer
Date: Mon Nov 22 23:51:00 2010
New Revision: 49717
URL:
http://svn.reactos.org/svn/reactos?rev=49717&view=rev
Log:
[NTOSKRNL]
Add missing prototype and define
Modified:
trunk/reactos/ntoskrnl/fsrtl/filtrctx.c
Modified: trunk/reactos/ntoskrnl/fsrtl/filtrctx.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/filtrctx.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/filtrctx.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/filtrctx.c [iso-8859-1] Mon Nov 22 23:51:00 2010
@@ -12,6 +12,20 @@
#define NDEBUG
#include <debug.h>
+/* PRIVATE FUNCTIONS *********************************************************/
+
+typedef struct _FILE_OBJECT_FILTER_CONTEXTS
+{
+ FAST_MUTEX FilterContextsMutex;
+ LIST_ENTRY FilterContexts;
+} FILE_OBJECT_FILTER_CONTEXTS, *PFILE_OBJECT_FILTER_CONTEXTS;
+
+VOID
+FsRtlPTeardownPerFileObjectContexts(IN PFILE_OBJECT FileObject)
+{
+}
+
+
/* PUBLIC FUNCTIONS **********************************************************/
/*++
@@ -33,6 +47,19 @@
FsRtlIsPagingFile(IN PFILE_OBJECT FileObject)
{
return MmIsFileObjectAPagingFile(FileObject);
+}
+
+/*
+ * @unimplemented
+ */
+PFSRTL_PER_FILEOBJECT_CONTEXT
+NTAPI
+FsRtlLookupPerFileObjectContext(IN PFILE_OBJECT FileObject,
+ IN PVOID OwnerId OPTIONAL,
+ IN PVOID InstanceId OPTIONAL)
+{
+ KeBugCheck(FILE_SYSTEM);
+ return FALSE;
}
/*
@@ -86,14 +113,13 @@
/*
* @unimplemented
*/
-PFSRTL_PER_FILEOBJECT_CONTEXT
-NTAPI
-FsRtlLookupPerFileObjectContext(IN PFILE_OBJECT FileObject,
- IN PVOID OwnerId OPTIONAL,
- IN PVOID InstanceId OPTIONAL)
+NTSTATUS
+NTAPI
+FsRtlInsertPerFileObjectContext(IN PFILE_OBJECT FileObject,
+ IN PFSRTL_PER_FILEOBJECT_CONTEXT Ptr)
{
KeBugCheck(FILE_SYSTEM);
- return FALSE;
+ return STATUS_NOT_IMPLEMENTED;
}
/*
@@ -113,6 +139,19 @@
InsertHeadList(&(AdvFcbHeader->FilterContexts),
&(PerStreamContext->Links));
ExReleaseFastMutex(AdvFcbHeader->FastMutex);
return STATUS_SUCCESS;
+}
+
+/*
+ * @unimplemented
+ */
+PFSRTL_PER_FILEOBJECT_CONTEXT
+NTAPI
+FsRtlRemovePerFileObjectContext(IN PFILE_OBJECT PerFileObjectContext,
+ IN PVOID OwnerId OPTIONAL,
+ IN PVOID InstanceId OPTIONAL)
+{
+ KeBugCheck(FILE_SYSTEM);
+ return NULL;
}
/*
@@ -171,31 +210,6 @@
}
/*
- * @unimplemented
- */
-NTSTATUS
-NTAPI
-FsRtlInsertPerFileObjectContext(IN PFILE_OBJECT FileObject,
- IN PFSRTL_PER_FILEOBJECT_CONTEXT Ptr)
-{
- KeBugCheck(FILE_SYSTEM);
- return STATUS_NOT_IMPLEMENTED;
-}
-
-/*
- * @unimplemented
- */
-PFSRTL_PER_FILEOBJECT_CONTEXT
-NTAPI
-FsRtlRemovePerFileObjectContext(IN PFILE_OBJECT PerFileObjectContext,
- IN PVOID OwnerId OPTIONAL,
- IN PVOID InstanceId OPTIONAL)
-{
- KeBugCheck(FILE_SYSTEM);
- return NULL;
-}
-
-/*
* @implemented
*/
VOID