CreateFile access/sharing problem

Michael Ost most at museresearch.com
Mon Oct 3 23:17:10 CDT 2005


On Mon, 2005-10-03 at 21:08, Dmitry Timoshkov wrote:
> > But I did notice that FILE_ALL_ACCESS is a different value in Wine and
> > my VC98 headers from DevStudio 6. In Wine it is:
> > (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x1ff)
> > In VC98:
> > (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3ff)
> > Is this a Wine bug?
> 
> Please send a patch for this.

--- wine-20050930/include/winnt.h	2005-09-22 03:58:04.000000000 -0700
+++ wine-20050930.new/include/winnt.h	2005-10-03 21:14:04.000000000 -0700
@@ -3509,7 +3509,7 @@
 #define FILE_DELETE_CHILD         0x0040    /* directory */
 #define FILE_READ_ATTRIBUTES      0x0080    /* all */
 #define FILE_WRITE_ATTRIBUTES     0x0100    /* all */
-#define FILE_ALL_ACCESS           (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x1ff)
+#define FILE_ALL_ACCESS           (STANDARD_RIGHTS_REQUIRED|SYNCHRONIZE|0x3ff)
 
 #define FILE_GENERIC_READ         (STANDARD_RIGHTS_READ | FILE_READ_DATA | \
                                    FILE_READ_ATTRIBUTES | FILE_READ_EA | \

Or did you mean post it to wine-patches? I am totally new to
wine-patches, but I can give it a go... mo




More information about the wine-devel mailing list