From: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> --- dlls/dxcore/tests/dxcore.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/dlls/dxcore/tests/dxcore.c b/dlls/dxcore/tests/dxcore.c index 5da7dc9972d..7a51d5fbbda 100644 --- a/dlls/dxcore/tests/dxcore.c +++ b/dlls/dxcore/tests/dxcore.c @@ -83,9 +83,8 @@ static void test_DXCoreCreateAdapterFactory(void) ok(factory == factory2, "got factory %p, factory2 %p.\n", factory, factory2); IDXCoreAdapterFactory_Release(factory2); - check_interface(factory, &IID_IAgileObject, FALSE); - check_interface(factory, &IID_IDXCoreAdapter, FALSE); - check_interface(factory, &IID_IDXCoreAdapterList, FALSE); + check_interface(factory, &IID_IUnknown, TRUE); + check_interface(factory, &IID_IDXCoreAdapterFactory, TRUE); hr = IDXCoreAdapterFactory_CreateAdapterList(factory, 0, &DXCORE_ADAPTER_ATTRIBUTE_D3D12_GRAPHICS, &IID_IDXCoreAdapterList, (void **)&list); ok(hr == E_INVALIDARG, "got hr %#lx.\n", hr); @@ -105,9 +104,8 @@ static void test_DXCoreCreateAdapterFactory(void) refcount = IDXCoreAdapterList_Release(list2); ok(refcount == 0, "got refcount %ld.\n", refcount); - check_interface(list, &IID_IAgileObject, FALSE); - check_interface(list, &IID_IDXCoreAdapter, FALSE); - check_interface(list, &IID_IDXCoreAdapterFactory, FALSE); + check_interface(list, &IID_IUnknown, TRUE); + check_interface(list, &IID_IDXCoreAdapterList, TRUE); adapter_count = IDXCoreAdapterList_GetAdapterCount(list); ok(adapter_count != 0, "got adapter_count 0.\n"); @@ -129,9 +127,8 @@ static void test_DXCoreCreateAdapterFactory(void) todo_wine ok(refcount == 3, "got refcount %ld.\n", refcount); - check_interface(adapter, &IID_IAgileObject, FALSE); - check_interface(adapter, &IID_IDXCoreAdapterList, FALSE); - check_interface(adapter, &IID_IDXCoreAdapterFactory, FALSE); + check_interface(adapter, &IID_IUnknown, TRUE); + check_interface(adapter, &IID_IDXCoreAdapter, TRUE); hr = IDXCoreAdapter_GetProperty(adapter, HardwareID, 0, NULL); ok(hr == E_POINTER, "got hr %#lx.\n", hr); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8634