Author: pschweitzer
Date: Tue Aug 26 06:14:43 2008
New Revision: 35665
URL:
http://svn.reactos.org/svn/reactos?rev=35665&view=rev
Log:
- Implemented FsRtlGetPerStreamContextPointer, FsRtlSupportsPerStreamContexts
- Updated header with last changes
Modified:
branches/pierre-fsd/include/ddk/ntifs.h
Modified: branches/pierre-fsd/include/ddk/ntifs.h
URL:
http://svn.reactos.org/svn/reactos/branches/pierre-fsd/include/ddk/ntifs.h?…
==============================================================================
--- branches/pierre-fsd/include/ddk/ntifs.h [iso-8859-1] (original)
+++ branches/pierre-fsd/include/ddk/ntifs.h [iso-8859-1] Tue Aug 26 06:14:43 2008
@@ -2894,6 +2894,10 @@
OUT PULONG SectorCount
);
+#define FsRtlGetPerStreamContextPointer(FO) ( \
+ (PFSRTL_ADVANCED_FCB_HEADER) FO->FsContext \
+)
+
NTKERNELAPI
VOID
NTAPI
@@ -2939,6 +2943,14 @@
NTAPI
FsRtlInitializeTunnelCache (
IN PTUNNEL Cache
+);
+
+NTKERNELAPI
+NTSTATUS
+NTAPI
+FsRtlInsertPerStreamContext (
+ IN PFSRTL_ADVANCED_FCB_HEADER PerStreamContext,
+ IN PFSRTL_PER_STREAM_CONTEXT Ptr
);
NTKERNELAPI
@@ -3080,6 +3092,15 @@
OUT PLBN Lbn,
OUT PULONG SectorCount OPTIONAL,
OUT PULONG Index
+);
+
+NTKERNELAPI
+PFSRTL_PER_STREAM_CONTEXT
+NTAPI
+FsRtlLookupPerStreamContextInternal (
+ IN PFSRTL_ADVANCED_FCB_HEADER StreamContext,
+ IN PVOID OwnerId OPTIONAL,
+ IN PVOID InstanceId OPTIONAL
);
NTKERNELAPI
@@ -3434,6 +3455,15 @@
);
NTKERNELAPI
+PFSRTL_PER_STREAM_CONTEXT
+NTAPI
+FsRtlRemovePerStreamContext (
+ IN PFSRTL_ADVANCED_FCB_HEADER StreamContext,
+ IN PVOID OwnerId OPTIONAL,
+ IN PVOID InstanceId OPTIONAL
+);
+
+NTKERNELAPI
VOID
NTAPI
FsRtlResetBaseMcb (
@@ -3465,6 +3495,12 @@
IN LONGLONG Vbn,
IN LONGLONG Amount
);
+
+#define FsRtlSupportsPerStreamContexts(FO) ( \
+ (BOOLEAN)((NULL != FsRtlGetPerStreamContextPointer(FO) && \
+ FlagOn(FsRtlGetPerStreamContextPointer(FO)->Flags2, \
+ FSRTL_FLAG2_SUPPORTS_FILTER_CONTEXTS)) \
+)
NTKERNELAPI
VOID