[PATCH 1/2] dxgi/tests: Add test for enumerating display adapters using SetupAPI.
Henri Verbeet
hverbeet at gmail.com
Tue Dec 4 09:13:40 CST 2018
On Mon, 3 Dec 2018 at 22:22, Józef Kucia <jkucia at codeweavers.com> wrote:
> + /* LUID */
> + size = 0;
> + property_type = DEVPROP_TYPE_EMPTY;
> + ret = SetupDiGetDevicePropertyW(dev_info, &data, &DEVPROPKEY_DISPLAY_ADAPTER_LUID,
> + &property_type, NULL, 0, &size, 0);
> + last_error = GetLastError();
> + todo_wine
> + ok(!ret && last_error == ERROR_INSUFFICIENT_BUFFER,
> + "Failed to get device property size, ret %#x, last_error %#x.\n", ret, last_error);
This fails here on Windows:
dxgi.c:879: Test failed: Failed to get device property size, ret
0, last_error 0x490.
dxgi.c:927: Test failed: Failed to find display adapter for
IDXGIAdapter 0 (L"AMD Radeon HD 6310 Graphics" 1002:9802).
More information about the wine-devel
mailing list