On Fri Mar 8 11:49:57 2024 +0000, Bartosz Kosiorek wrote:
Done. How I should implement it to return `ERROR_INVALID_PARAMETER` on Windows 7+, and `0xdeadbeef` on previous OS (e.g. WIndows XP)?
You can use `RtlGetVersion()` to get the currently configured version.
That said, you have to justify it with an actual app that expects Windows XP behavior if you want to include it in a MR submission to Wine.