Module: wine Branch: master Commit: 50adbf9aead4e3701c9b0098ac49e2e0321f7bd8 URL: https://gitlab.winehq.org/wine/wine/-/commit/50adbf9aead4e3701c9b0098ac49e2e...
Author: Alex Henrie alexhenrie24@gmail.com Date: Fri Apr 12 02:08:44 2024 -0600
win32u: Also reset the unnamed values in prepare_devices.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56551
---
dlls/win32u/sysparams.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/win32u/sysparams.c b/dlls/win32u/sysparams.c index 7415768d40d..b0b9a5cc907 100644 --- a/dlls/win32u/sysparams.c +++ b/dlls/win32u/sysparams.c @@ -763,6 +763,7 @@ static void prepare_devices(void) snprintf( buffer, sizeof(buffer), "Class\%s", guid_devclass_monitorA ); hkey = reg_create_ascii_key( control_key, buffer, 0, NULL ); reg_empty_key( hkey, NULL ); + set_reg_ascii_value( hkey, "", "Monitors" ); set_reg_ascii_value( hkey, "Class", "Monitor" ); NtClose( hkey );
@@ -773,6 +774,7 @@ static void prepare_devices(void) snprintf( buffer, sizeof(buffer), "Class\%s", guid_devclass_displayA ); hkey = reg_create_ascii_key( control_key, buffer, 0, NULL ); reg_empty_key( hkey, NULL ); + set_reg_ascii_value( hkey, "", "Display adapters" ); set_reg_ascii_value( hkey, "Class", "Display" ); NtClose( hkey );