mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[WINMM] Fix crashing winetest
CORE-16795 CORE-16806
This commit is contained in:
@@ -330,6 +330,10 @@ UINT MMDRV_PhysicalFeatures(LPWINE_MLD mld, UINT uMsg,
|
||||
|
||||
case DRVM_MAPPER_PREFERRED_GET:
|
||||
/* FIXME: get from registry someday */
|
||||
#ifdef __REACTOS__
|
||||
if (!dwParam1 || !dwParam2)
|
||||
return MMSYSERR_INVALPARAM;
|
||||
#endif
|
||||
*((LPDWORD)dwParam1) = -1; /* No preferred device */
|
||||
*((LPDWORD)dwParam2) = 0;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user