On Tue, Dec 4, 2018 at 4:14 PM Henri Verbeet hverbeet@gmail.com wrote:
On Mon, 3 Dec 2018 at 22:22, Józef Kucia jkucia@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).
It's possible this properly is available only on Windows 10.