This is an alternative location to filter out this environment variables, see merge request !8292 for details.
Doing this in winetest would have the advantage to protect all tests run by it, not just kernel32:process.
--
v2: gitlab: Remove name containing CI environment variables in windows tests.
gitlab: Derive the windows tests from a common .wine-test-windows.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8299
Attached windows demo code and results run on windows as follows:
[main.cpp](/uploads/35cda6fb47c99ee464e6638653f052eb/main.cpp)
[ConsoleApplication1.exe](/uploads/8dd927ed1723a8483998ccdb990916fe/ConsoleApplication1.exe)

and after add implementation , the running results in Wine are consistent with those in Windows
Signed-off-by: chenjiangyi <chenjiangyi(a)uniontech.com>
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8386