Vladimir Panteleev git@vladimir.panteleev.md writes:
@@ -255,25 +260,31 @@ static void test_GetSetEnvironmentVariableW(void) ok(ret == TRUE, "should not fail with empty value but GetLastError=%d\n", GetLastError());
lstrcpyW(buf, fooW);
- SetLastError(0);
You should probably use 0xdeadbeef here (and also in the A test that this was copied from).