21 Jul
2025
21 Jul
'25
6:41 a.m.
Huw Davies (@huw) commented about dlls/dsound/tests/propset.c:
"Shouldn't be able to set DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1: " "support = 0x%lx\n",support);
+ if (support & KSPROPERTY_SUPPORT_GET) { + struct + { + GUID DeviceId; + int reserved; + } data;
Could we just use `DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_1_DATA` here and pass `sizeof(data) - 1` to the method call? Let's also pass the correct size and test for success. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8596#note_110473