[PATCH v3] winmm: Use _lopen instead of OpenFile.
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Sun Apr 5 17:56:42 CDT 2020
Hi Andrew,
On 4/4/20 3:04 am, Andrew Eikum wrote:
> On Wed, Apr 01, 2020 at 06:41:27PM +1100, Alistair Leslie-Hughes wrote:
>> + lpmmioinfo->adwInfo[0] = _lcreat(szFileName, 0);
>
> The trouble with this approach is it's ignoring the SHARE bits, which
> OpenFile would pass through to CreateFile. Is that intended?
>
No, that wasn't my intention, it's was more another approach we could take.
Here is the patch which uses the code from kernel32.
https://source.winehq.org/patches/data/182464
Alistair.
More information about the wine-devel
mailing list