[Bug 4202] SHGetFolderLocation() with CSIDL_MYDOCUMENTS fails

Wine Bugs wine-bugs at winehq.org
Sat Dec 31 05:47:27 CST 2005


http://bugs.winehq.org/show_bug.cgi?id=4202





------- Additional Comments From me at rupey.net  2005-31-12 05:47 -------
Created an attachment (id=1601)
 --> (http://bugs.winehq.org/attachment.cgi?id=1601&action=view)
Sample code to fetch My Documents path from shell APIs

This code uses the three methods recommended here

   
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_programming/manage.asp


to read the My Documents path from shell APIs. The first,
IShellFolder::ParseDisplayName(), fails on Wine with E_OUTOFMEMORY but works
fine on XP. The second, SHGetFolderLocation with CSIDL_MYDOCUMENTS, also fails
on XP with ERROR_INVALID_PARAMETER.

For now at least there's MBCS and Unicode binaries for this at

    http://rupey.net/temp/MyDocumentsTest.zip

built with VC71.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list