Sweden-Number/dlls/advapi32/tests
Vladimir Panteleev 7ad5e1bc8a kernelbase: Preserve last error when GetEnvironmentVariableA succeeds.
Avoid clobbering last error with NO_ERROR when GetEnvironmentVariableA
succeeds, matching the behavior of GetEnvironmentVariableW and
Windows.

Instead of naively saving and restoring the last error, call
RtlQueryEnvironmentVariable_U directly to avoid unnecessarily setting
it in the first place.

Signed-off-by: Vladimir Panteleev <git@vladimir.panteleev.md>
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-15 14:08:51 +02:00
..
Makefile.in advapi32/tests: Add more RegLoadMUIString tests. 2019-05-27 14:41:53 +02:00
cred.c
crypt.c advapi32/tests: Add more cases for CryptReleaseContext(). 2020-03-17 16:04:49 +01:00
crypt_lmhash.c advapi32/tests: Spelling tweaks in ok() messages. 2019-09-02 20:46:52 +02:00
crypt_md4.c
crypt_md5.c
crypt_sha.c
eventlog.c ntdll: Add missing spec file entry for EtwEventWriteString. 2019-10-31 17:44:06 +01:00
lsa.c advapi32/tests: The Everyone group name is sometimes translated. 2020-03-23 11:37:11 +01:00
registry.c advapi32/tests: Check RegGetValueA() RRF_SUBKEY_WOW64??KEY validation. 2020-03-27 21:16:13 +01:00
rsrc.rc advapi32/tests: Add more RegLoadMUIString tests. 2019-05-27 14:41:53 +02:00
security.c kernelbase: Preserve last error when GetEnvironmentVariableA succeeds. 2020-05-15 14:08:51 +02:00
service.c advapi32: Reimplement EnumServicesStatusW() on top of EnumServicesStatusExW(). 2020-04-28 11:21:47 +02:00