msvcirt: Implement _mtlock() and _mtunlock().
commitd25e7429ccd7ddd30cdfc29cd565b9160e90101d
authorArkadiusz Hiler <ahiler@codeweavers.com>
Fri, 4 Sep 2020 14:16:19 +0000 (4 17:16 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Sep 2020 19:07:25 +0000 (7 21:07 +0200)
treeee69248c818d705531bb4f352a388bebcadb86c1
parente7b8911695d42ddb826c941dcd9c26da5c3312b9
msvcirt: Implement _mtlock() and _mtunlock().

Looks like they are just cdecl wrappers around stdcall EnterCriticalSection()
and LeaveCriticalSection().

The game TRON 2.0 was crashing on the stubs. Now it makes it a bit further.

Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/msvcirt/msvcirt.c
dlls/msvcirt/msvcirt.spec
dlls/msvcirt/tests/msvcirt.c
dlls/msvcrt20/msvcrt20.spec
dlls/msvcrt40/msvcrt40.spec