dsound/tests: Use nameless unions.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0536299a99
commit
fa54a0b306
|
@ -1,6 +1,5 @@
|
||||||
TESTDLL = dsound.dll
|
TESTDLL = dsound.dll
|
||||||
IMPORTS = dmoguids dsound msdmo ole32 version user32
|
IMPORTS = dmoguids dsound msdmo ole32 version user32
|
||||||
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
|
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
capture.c \
|
capture.c \
|
||||||
|
|
|
@ -1112,7 +1112,7 @@ static void test_first_device(void)
|
||||||
hr = IPropertyStore_GetValue(ps, &PKEY_AudioEndpoint_GUID, &pv);
|
hr = IPropertyStore_GetValue(ps, &PKEY_AudioEndpoint_GUID, &pv);
|
||||||
ok(hr == S_OK, "GetValue failed: %08x\n", hr);
|
ok(hr == S_OK, "GetValue failed: %08x\n", hr);
|
||||||
|
|
||||||
CLSIDFromString(pv.u.pwszVal, &default_info.guid);
|
CLSIDFromString(pv.pwszVal, &default_info.guid);
|
||||||
|
|
||||||
PropVariantClear(&pv);
|
PropVariantClear(&pv);
|
||||||
IPropertyStore_Release(ps);
|
IPropertyStore_Release(ps);
|
||||||
|
|
Loading…
Reference in New Issue