Zhiyi Zhang (@zhiyi) commented about dlls/win32u/sysparams.c:
return ret;
}
+static BOOL write_registry_settings( const WCHAR *adapter_path, const DEVMODEW *mode ) +{
- HANDLE mutex;
- HKEY hkey;
- BOOL ret;
- mutex = get_display_device_init_mutex();
- if (!config_key && !(config_key = reg_open_key( NULL, config_keyW, sizeof(config_keyW) ))) return FALSE;
mutex is not released here.