Piotr Caban : msvcrt: Improve error handling in _wgetenv_s.