mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:20:56 +00:00
mmsystem.dll16: Fix argument order in GlobalAlloc16 call.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fd0780cb35
commit
7260223ce5
|
@ -1943,7 +1943,7 @@ LRESULT WINAPI mmThreadCreate16(FARPROC16 fpThreadAddr, LPHANDLE16 lpHndl, DWORD
|
||||||
|
|
||||||
TRACE("(%p, %p, %08x, %08x)!\n", fpThreadAddr, lpHndl, dwPmt, dwFlags);
|
TRACE("(%p, %p, %08x, %08x)!\n", fpThreadAddr, lpHndl, dwPmt, dwFlags);
|
||||||
|
|
||||||
hndl = GlobalAlloc16(sizeof(WINE_MMTHREAD), GMEM_SHARE|GMEM_ZEROINIT);
|
hndl = GlobalAlloc16(GMEM_SHARE|GMEM_ZEROINIT, sizeof(WINE_MMTHREAD));
|
||||||
|
|
||||||
if (hndl == 0) {
|
if (hndl == 0) {
|
||||||
ret = 2;
|
ret = 2;
|
||||||
|
|
Loading…
Reference in a new issue