[NDK] Add FILE_READ_ONLY_VOLUME definition in NTOS_MODE_USER mode. [SHELL32] Remove...
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 12 May 2015 12:51:50 +0000 (12:51 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 12 May 2015 12:51:50 +0000 (12:51 +0000)
svn path=/trunk/; revision=67691

reactos/dll/win32/shell32/CDefaultContextMenu.cpp
reactos/include/ndk/iotypes.h

index cdb97c1..56a1008 100644 (file)
@@ -14,9 +14,6 @@ TODO:
 
 #include "precomp.h"
 
-/* FIXME: ntifs.h */
-#define FILE_READ_ONLY_VOLUME 0x00080000
-
 WINE_DEFAULT_DEBUG_CHANNEL(dmenu);
 
 typedef struct _DynamicShellEntry_
index f425829..97fa35f 100644 (file)
@@ -52,6 +52,13 @@ extern POBJECT_TYPE NTSYSAPI IoDriverObjectType;
 #define SYMBOLIC_LINK_ALL_ACCESS                STANDARD_RIGHTS_REQUIRED | 0x0001
 #endif
 
+#ifdef NTOS_MODE_USER
+
+/* File System Attributes Flags */
+#define FILE_READ_ONLY_VOLUME 0x00080000
+
+#endif
+
 //
 // NtCreateFile Result Flags
 //