http://bugs.winehq.org/show_bug.cgi?id=22732
--- Comment #1 from Lucas canolucas@gmail.com 2010-05-17 12:21:46 --- yet one more link, this one related to some documentation about this function, found on msdn: http://msdn.microsoft.com/en-us/library/tb2sfw2z(VS.80).aspx
it seems that _wgetenv_s is the "security enhanced" version of _wgetenv (this last one already implemented?)