From: YeshunYe yeyeshun@uniontech.com
Signed-off-by: YeshunYe yeyeshun@uniontech.com --- dlls/winmm/tests/mixer.c | 2 -- dlls/winmm/waveform.c | 2 -- 2 files changed, 4 deletions(-)
diff --git a/dlls/winmm/tests/mixer.c b/dlls/winmm/tests/mixer.c index 828c53e723f..aeea722e75b 100644 --- a/dlls/winmm/tests/mixer.c +++ b/dlls/winmm/tests/mixer.c @@ -438,7 +438,6 @@ static void test_mixerGetLineControlsA(MIXERLINEA* mixerlineA, HMIXEROBJ mix, DW }
rc = mixerGetLineControlsA(mix, &controls, fdwControls); - todo_wine_if(fdwControls == MIXER_GETLINECONTROLSF_ONEBYID) ok(rc==MMSYSERR_NOERROR, "mixerGetLineControlsA(%s): " "MMSYSERR_NOERROR expected, got %s\n", @@ -870,7 +869,6 @@ static void test_mixerGetLineControlsW(MIXERLINEW* mixerlineW, HMIXEROBJ mix, DW }
rc = mixerGetLineControlsW(mix, &controls, fdwControls); - todo_wine_if(fdwControls == MIXER_GETLINECONTROLSF_ONEBYID) ok(rc==MMSYSERR_NOERROR, "mixerGetLineControlsW(%s): " "MMSYSERR_NOERROR expected, got %s\n", diff --git a/dlls/winmm/waveform.c b/dlls/winmm/waveform.c index ecd2acb8b28..ae4d325e7b2 100644 --- a/dlls/winmm/waveform.c +++ b/dlls/winmm/waveform.c @@ -4108,8 +4108,6 @@ UINT WINAPI mixerGetLineControlsW(HMIXEROBJ hmix, LPMIXERLINECONTROLSW lpmlcW, return MMSYSERR_INVALPARAM; if(lpmlcW->cbmxctrl < sizeof(MIXERCONTROLW)) return MMSYSERR_INVALPARAM; - if(lpmlcW->dwLineID != 0 && lpmlcW->dwLineID != 0xFFFF0000) - return MIXERR_INVALLINE; if(lpmlcW->u.dwControlID == 0) return WINMM_GetVolumeLineControl(mmdevice, lpmlcW->dwLineID, lpmlcW->pamxctrl, fdwControls);