http://bugs.winehq.org/show_bug.cgi?id=36745
--- Comment #4 from François Gouget fgouget@codeweavers.com --- For reference here is the related set of patches (try 1 at least):
* ole32: Fix StorageImpl_LockRegionSync() to actually wait between locking attempts. http://www.winehq.org/pipermail/wine-patches/2014-June/133042.html
* server: Map ENOTSUP to STATUS_NOT_SUPPORTED. http://www.winehq.org/pipermail/wine-patches/2014-June/133043.html
* ole32: Return the correct error in FileLockBytesImpl_*LockRegion*(). http://www.winehq.org/pipermail/wine-patches/2014-June/133044.html
The last one is the most important one of the three. Even though it could be replaced by changing a set_unix_lock() to handle ENOTSUP like ENOLCK, I think it's still correct.