-
Vladimir Panteleev authored
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>
7ad5e1bc
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
tests | ||
Makefile.in | ||
advapi.c | ||
advapi32.spec | ||
advapi32_misc.h | ||
cred.c | ||
crypt.c | ||
crypt.h | ||
crypt_arc4.c | ||
crypt_des.c | ||
crypt_lmhash.c | ||
eventlog.c | ||
lsa.c | ||
registry.c | ||
security.c | ||
service.c | ||
version.rc | ||
wmi.c |