Commit 97f4fbca authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

winmm/tests: Initialize MIXERLINECONTROLSA before calling mixerGetLineControlsA.

parent 87b5e944
...@@ -491,6 +491,8 @@ static void mixer_test_deviceA(int device) ...@@ -491,6 +491,8 @@ static void mixer_test_deviceA(int device)
array=HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY, array=HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,
mixerlineA.cControls*sizeof(MIXERCONTROLA)); mixerlineA.cControls*sizeof(MIXERCONTROLA));
if (array) { if (array) {
memset(&controls, 0, sizeof(controls));
rc=mixerGetLineControlsA((HMIXEROBJ)mix,0, rc=mixerGetLineControlsA((HMIXEROBJ)mix,0,
MIXER_GETLINECONTROLSF_ALL); MIXER_GETLINECONTROLSF_ALL);
ok(rc==MMSYSERR_INVALPARAM, ok(rc==MMSYSERR_INVALPARAM,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment