msacm32: In acmDriverDetails if we are unable to load the driver then return MMSYSERR_NOTSUPPORTED as windows does.
This commit is contained in:
parent
6215742c6e
commit
157c1629c1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue