http://bugs.winehq.org/show_bug.cgi?id=22896
--- Comment #2 from Andrew Nguyen arethusa26@gmail.com 2010-05-27 09:19:45 --- Created an attachment (id=28322) --> (http://bugs.winehq.org/attachment.cgi?id=28322) SHGetFolderPathEx hack for Java JRE 6 installer
Some searching indicates that SHGetFolderPathEx was an early variant of what is now SHGetKnownFolderPath, and it is practically now undocumented by Microsoft as it has withdrawn any documentation that had existed for it long ago. The function, prototype wise, seems to be the same as SHGetKnownFolderPath except for the output parameters being a WCHAR buffer pointer and maximum length in DWORDs. Wine does not have any of the known folders functionality implemented, so the best I could do was a really bad hack that does manage to please the installer.