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:
parent
468fa3e125
commit
074d909235
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue