Fixed waveInGetDevCapsW.

This commit is contained in:
Christian Costa 2004-02-24 01:02:01 +00:00 committed by Alexandre Julliard
parent 166faa455d
commit 26d73867e0
1 changed files with 1 additions and 1 deletions

View File

@ -2865,7 +2865,7 @@ UINT WINAPI waveInGetNumDevs(void)
UINT WINAPI waveInGetDevCapsW(UINT_PTR uDeviceID, LPWAVEINCAPSW lpCaps, UINT uSize) UINT WINAPI waveInGetDevCapsW(UINT_PTR uDeviceID, LPWAVEINCAPSW lpCaps, UINT uSize)
{ {
WAVEINCAPSA wicA; WAVEINCAPSA wicA;
UINT ret = waveInGetDevCapsA(uDeviceID, &wicA, uSize); UINT ret = waveInGetDevCapsA(uDeviceID, &wicA, sizeof(wicA));
if (ret == MMSYSERR_NOERROR) { if (ret == MMSYSERR_NOERROR) {
WAVEINCAPSW wicW; WAVEINCAPSW wicW;