Zhiyi Zhang (@zhiyi) commented about dlls/win32u/sysparams.c:
return FALSE; }
- user_driver->pUpdateDisplayDevices( &device_manager, TRUE, &ctx );
- if (!user_driver->pUpdateDisplayDevices( &device_manager, TRUE, &ctx ))
- {
static const struct gdi_gpu gpu;
static const struct gdi_adapter adapter =
{
.state_flags = DISPLAY_DEVICE_ATTACHED_TO_DESKTOP | DISPLAY_DEVICE_PRIMARY_DEVICE | DISPLAY_DEVICE_VGA_COMPATIBLE,
};
struct gdi_monitor monitor =
{
.state_flags = DISPLAY_DEVICE_ACTIVE | DISPLAY_DEVICE_ATTACHED,
};
You can initialize rc_monitor and rc_work here as well.