mirror of
https://github.com/reactos/reactos.git
synced 2025-05-09 03:37:08 +00:00
[WINMM] Fix crashing winetest
CORE-16795 CORE-16806
This commit is contained in:
parent
58bc93f164
commit
b68749c727
1 changed files with 4 additions and 0 deletions
|
@ -330,6 +330,10 @@ UINT MMDRV_PhysicalFeatures(LPWINE_MLD mld, UINT uMsg,
|
||||||
|
|
||||||
case DRVM_MAPPER_PREFERRED_GET:
|
case DRVM_MAPPER_PREFERRED_GET:
|
||||||
/* FIXME: get from registry someday */
|
/* FIXME: get from registry someday */
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
if (!dwParam1 || !dwParam2)
|
||||||
|
return MMSYSERR_INVALPARAM;
|
||||||
|
#endif
|
||||||
*((LPDWORD)dwParam1) = -1; /* No preferred device */
|
*((LPDWORD)dwParam1) = -1; /* No preferred device */
|
||||||
*((LPDWORD)dwParam2) = 0;
|
*((LPDWORD)dwParam2) = 0;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue