Commit 157c1629 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

msacm32: In acmDriverDetails if we are unable to load the driver then return…

msacm32: In acmDriverDetails if we are unable to load the driver then return MMSYSERR_NOTSUPPORTED as windows does.
parent 6215742c
......@@ -305,6 +305,8 @@ MMRESULT WINAPI acmDriverDetailsW(HACMDRIVERID hadid, PACMDRIVERDETAILSW padd, D
paddw.cbStruct = min(padd->cbStruct, sizeof(*padd));
memcpy(padd, &paddw, paddw.cbStruct);
}
else if (mmr == MMSYSERR_NODRIVER)
return MMSYSERR_NOTSUPPORTED;
return mmr;
}
......
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