Fabian Maurer dark.shadow4@web.de writes:
For a test program see the bug report. A test is hard to include since environment variables won't update without a reboot.
You don't need a reboot, you can test it on a private environment, or modify the environment of the current process. In fact we already have tests for RtlQueryEnvironmentVariable_U(), and that's how they are implemented.