Author: akhaldi
Date: Tue May 12 12:51:50 2015
New Revision: 67691
URL:
http://svn.reactos.org/svn/reactos?rev=67691&view=rev
Log:
[NDK] Add FILE_READ_ONLY_VOLUME definition in NTOS_MODE_USER mode. [SHELL32] Remove the
now unneeded FILE_READ_ONLY_VOLUME definition.
Modified:
trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp
trunk/reactos/include/ndk/iotypes.h
Modified: trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDefault…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CDefaultContextMenu.cpp [iso-8859-1] Tue May 12
12:51:50 2015
@@ -13,9 +13,6 @@
*/
#include "precomp.h"
-
-/* FIXME: ntifs.h */
-#define FILE_READ_ONLY_VOLUME 0x00080000
WINE_DEFAULT_DEBUG_CHANNEL(dmenu);
Modified: trunk/reactos/include/ndk/iotypes.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/iotypes.h?rev=…
==============================================================================
--- trunk/reactos/include/ndk/iotypes.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/iotypes.h [iso-8859-1] Tue May 12 12:51:50 2015
@@ -50,6 +50,13 @@
//
#define SYMBOLIC_LINK_QUERY 0x0001
#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
//