[1/2] kernel32: Add a test for protections accepted by CreateFileMapping, make it pass under Wine.

Dmitry Timoshkov dmitry at baikal.ru
Mon Nov 28 11:18:12 CST 2011

Francois Gouget <fgouget at free.fr> wrote:

> Heer is the adjusted patch and corresponding log (still on Windows 
> Millenium).

> virtual.c:1744: Test failed: 0: CreateFileMapping should fail
> virtual.c:1745: Test failed: 0: expected ERROR_INVALID_PARAMETER, got 0

Thanks. Apparently CreateFileMapping never fails under Win9x, but Wine has
a workaround only for protect == 0 at the moment, and there are not much
complaints about that.

I'll add a workaround for the test with protect = 0 being running with
emulated version set to win9x, hopefully that will be enough.

Thanks once again.


More information about the wine-devel mailing list