fix sharing handling for CreateFile

Bernhard Loos bernhardloos at googlemail.com
Mon Feb 21 15:16:34 CST 2011


Hello
This fixes the handling of the sharing parameter in CreateFile. I also
extended and fixed the unittest.
This should fix bug #15695 and probably also #18720.
CreateFile seems to ignore the sharing paramter for everything expect
FILE_READ_ACCESS, FILE_WRITE_ACCESS and DELETE.
The handling of file mappings did also differ from winxp.

         Bernhard Loos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sharing.patch
Type: application/octet-stream
Size: 5019 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110221/4c91d011/attachment-0001.obj>


More information about the wine-patches mailing list