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?…
==============================================================================
--- 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