[WINMM] waveInGetDevCapsW fix
Christian Costa
titan.costa at wanadoo.fr
Mon Feb 23 13:05:55 CST 2004
Hi,
Changelog :
Fixed waveInGetDevCapsW.
Christian Costa titan.costa at wanadoo.fr
-------------- next part --------------
Index: winmm.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winmm.c,v
retrieving revision 1.30
diff -u -r1.30 winmm.c
--- winmm.c 1 Jan 2004 00:07:01 -0000 1.30
+++ winmm.c 23 Feb 2004 17:57:59 -0000
@@ -2865,7 +2865,7 @@
UINT WINAPI waveInGetDevCapsW(UINT_PTR uDeviceID, LPWAVEINCAPSW lpCaps, UINT uSize)
{
WAVEINCAPSA wicA;
- UINT ret = waveInGetDevCapsA(uDeviceID, &wicA, uSize);
+ UINT ret = waveInGetDevCapsA(uDeviceID, &wicA, sizeof(wicA));
if (ret == MMSYSERR_NOERROR) {
WAVEINCAPSW wicW;
More information about the wine-patches
mailing list