msacm32: In acmDriverDetails if we are unable to load the driver then return MMSYSERR_NOTSUPPORTED as windows does.

This commit is contained in:
Aric Stewart 2009-08-21 09:39:15 -05:00 committed by Alexandre Julliard
parent 6215742c6e
commit 157c1629c1
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}