Matteo Bruni (@Mystral) commented about dlls/dsound/tests/dsound.c:
+ { + rc=IDirectSoundBuffer_GetVolume(primary2,&vol); + ok(rc==DS_OK, + "IDirectSoundBuffer_GetVolume(primary2) failed: %08lx\n",rc); + } + + /* Verify dso2's primary buffer has CTRLVOLUME */ + ZeroMemory(&bufcaps, sizeof(bufcaps)); + bufcaps.dwSize=sizeof(bufcaps); + rc=IDirectSoundBuffer_GetCaps(primary2,&bufcaps); + ok(rc==DS_OK,"IDirectSoundBuffer_GetCaps(primary2) failed: %08lx\n",rc); + if (rc==DS_OK) { + todo_wine + ok(bufcaps.dwFlags & DSBCAPS_CTRLVOLUME, + "primary2 should have DSBCAPS_CTRLVOLUME: %08lx\n",bufcaps.dwFlags); + }
memset(&caps, 0, sizeof(caps));
caps.dwSize = sizeof(caps);
hr = IDirectSoundBuffer_GetCaps(primary2, &caps);
ok(hr == DS_OK, "Unexpected hr %08lx\n", hr);
todo_wine ok(bufcaps.dwFlags & DSBCAPS_CTRLVOLUME, "Unexpected dwFlags %08lx\n", caps.dwFlags);
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10735#note_137958