4 Mar
2024
4 Mar
'24
2:44 a.m.
On Thu Feb 29 15:27:53 2024 +0000, Anton Baskanov wrote:
Do we need to replicate this behavior? Also, do you have any suggestions for a better way to implement this? It's better to do it in the same way.
I don't know how it's implemented. You'll need to dig deeper if possible. There are some possibilities you can try, for example, PsSetCreateProcessNotifyRoutine() as shown at [Detecting Windows NT/2K process execution](https://www.codeproject.com/Articles/2018/Detecting-Windows-NT-2K-process-ex...), or a thread in win32u? maybe window hooks? You can also try calling ChangeDisplaySettingsEx(CDS_FULLSCREEN) in a console application and see how it reacts. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5060#note_63318