wineoss: Initialized wReserved1 field returned to auxGetDevCapsW().

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2015-11-24 22:02:35 +03:00 committed by Alexandre Julliard
parent 468fa3e125
commit 074d909235
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ static DWORD AUX_GetDevCaps(WORD wDevID, LPAUXCAPSW lpCaps, DWORD dwSize)
strcpyW(lpCaps->szPname, ini); strcpyW(lpCaps->szPname, ini);
lpCaps->szPname[9] = '0' + wDevID; /* 6 at max */ lpCaps->szPname[9] = '0' + wDevID; /* 6 at max */
lpCaps->wTechnology = wDevID == 2 ? AUXCAPS_CDAUDIO : AUXCAPS_AUXIN; lpCaps->wTechnology = wDevID == 2 ? AUXCAPS_CDAUDIO : AUXCAPS_AUXIN;
lpCaps->wReserved1 = 0;
lpCaps->dwSupport = AUXCAPS_VOLUME | AUXCAPS_LRVOLUME; lpCaps->dwSupport = AUXCAPS_VOLUME | AUXCAPS_LRVOLUME;
return MMSYSERR_NOERROR; return MMSYSERR_NOERROR;