winmm: Correctly fill the yield-data parameter in mciGetYieldProc.
This commit is contained in:
parent
5cdd8a2a48
commit
dd6b7b7f36
|
@ -2393,6 +2393,7 @@ YIELDPROC WINAPI mciGetYieldProc(MCIDEVICEID uDeviceID, DWORD* lpdwYieldData)
|
|||
WARN("Proc is 32 bit\n");
|
||||
return NULL;
|
||||
}
|
||||
if (lpdwYieldData) *lpdwYieldData = wmd->dwYieldData;
|
||||
return wmd->lpfnYieldProc;
|
||||
}
|
||||
|
||||
|
|
|
@ -647,6 +647,7 @@ YIELDPROC16 WINAPI mciGetYieldProc16(UINT16 uDeviceID, DWORD* lpdwYieldData)
|
|||
WARN("Proc is 32 bit\n");
|
||||
return NULL;
|
||||
}
|
||||
if (lpdwYieldData) *lpdwYieldData = wmd->dwYieldData;
|
||||
return (YIELDPROC16)wmd->lpfnYieldProc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue