[ros-diffs] [pschweitzer] 35678: Implemented FsRtlInitPerStreamContext

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Tue Aug 26 19:31:48 CEST 2008


Author: pschweitzer
Date: Tue Aug 26 12:31:48 2008
New Revision: 35678

URL: http://svn.reactos.org/svn/reactos?rev=35678&view=rev
Log:
Implemented FsRtlInitPerStreamContext

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?rev=35678&r1=35677&r2=35678&view=diff
==============================================================================
--- branches/pierre-fsd/include/ddk/ntifs.h [iso-8859-1] (original)
+++ branches/pierre-fsd/include/ddk/ntifs.h [iso-8859-1] Tue Aug 26 12:31:48 2008
@@ -2894,8 +2894,8 @@
     OUT PULONG  SectorCount
 );
 
-#define FsRtlGetPerStreamContextPointer(FO) (  \
-    (PFSRTL_ADVANCED_FCB_HEADER) FO->FsContext \
+#define FsRtlGetPerStreamContextPointer(FO) (   \
+    (PFSRTL_ADVANCED_FCB_HEADER)(FO)->FsContext \
 )
 
 NTKERNELAPI
@@ -2944,6 +2944,12 @@
 FsRtlInitializeTunnelCache (
     IN PTUNNEL Cache
 );
+
+#define FsRtlInitPerStreamContext(PSC, O, I, FC) ( \
+    (PSC)->OwnerId = (O),                          \
+    (PSC)->InstanceId = (I),                       \
+    (PSC)->FreeCallback = (FC)                     \
+)
 
 NTKERNELAPI
 NTSTATUS



More information about the Ros-diffs mailing list