On Wed Jul 31 13:55:13 2024 +0000, Zhiyi Zhang wrote:
I don't think you're going in the right direction. Why did you remove all this code? You should be able to parse the resolution from the command line and set it as the resolution for the virtual desktop window and resolve the regression.
There is no need for parsing, because parse resolution is doing by explorer.exe, explorer.exe parse resolution by arguments and setting by NtUserChangeDisplaySetting