The
GetEnvironmentStrings function
has a long and troubled history.
The first bit of confusion is that the day it was introduced
in Windows NT 3.1, it was exported funny.
The UNICODE version was exported under the name
GetEnvironmentStringsW,
but the ANSI version was exported under the name
GetEnvironment...