[ros-diffs] [ion] 25660: - Add the stuff I deleted from winnt.h to ntifs.h where it belongs, I was naively hoping we'd have it in ntifs and didn't catch this until a kernel compile.

ion at svn.reactos.org ion at svn.reactos.org
Mon Jan 29 06:16:01 CET 2007


Author: ion
Date: Mon Jan 29 08:16:00 2007
New Revision: 25660

URL: http://svn.reactos.org/svn/reactos?rev=25660&view=rev
Log:
- Add the stuff I deleted from winnt.h to ntifs.h where it belongs, I was naively hoping we'd have it in ntifs and didn't catch this until a kernel compile.

Modified:
    trunk/reactos/include/ddk/ntifs.h

Modified: trunk/reactos/include/ddk/ntifs.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/ntifs.h?rev=25660&r1=25659&r2=25660&view=diff
==============================================================================
--- trunk/reactos/include/ddk/ntifs.h (original)
+++ trunk/reactos/include/ddk/ntifs.h Mon Jan 29 08:16:00 2007
@@ -758,6 +758,36 @@
 	TokenSandBoxInert,TokenAuditPolicy,TokenOrigin,
 } TOKEN_INFORMATION_CLASS;
 
+#define SYMLINK_FLAG_RELATIVE   1
+
+typedef struct _REPARSE_DATA_BUFFER {
+    ULONG  ReparseTag;
+    USHORT ReparseDataLength;
+    USHORT Reserved;
+    union {
+        struct {
+            USHORT SubstituteNameOffset;
+            USHORT SubstituteNameLength;
+            USHORT PrintNameOffset;
+            USHORT PrintNameLength;
+            ULONG Flags;
+            WCHAR PathBuffer[1];
+        } SymbolicLinkReparseBuffer;
+        struct {
+            USHORT SubstituteNameOffset;
+            USHORT SubstituteNameLength;
+            USHORT PrintNameOffset;
+            USHORT PrintNameLength;
+            WCHAR PathBuffer[1];
+        } MountPointReparseBuffer;
+        struct {
+            UCHAR  DataBuffer[1];
+        } GenericReparseBuffer;
+    };
+} REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER;
+
+#define REPARSE_DATA_BUFFER_HEADER_SIZE   FIELD_OFFSET(REPARSE_DATA_BUFFER, GenericReparseBuffer)
+
 typedef struct _FILE_ACCESS_INFORMATION {
     ACCESS_MASK AccessFlags;
 } FILE_ACCESS_INFORMATION, *PFILE_ACCESS_INFORMATION;




More information about the Ros-diffs mailing list