SHGetPathFromIDList problem

Michael Jung mjung at iss.tu-darmstadt.de
Sat Aug 13 06:44:34 CDT 2005


Hi Ge,

On Friday 12 August 2005 17:19, Ge van Geldorp wrote:
> Since this patch:
> http://www.winehq.org/hypermail/wine-cvs/2005/06/0338.html
> SHGetPathFromIDList() seems broken. The problem is that files stored in the
> Desktop directory don't get the path to the Desktop directory prepended.
> I've tried to fix it in the attached patch and added a testcase, but the
> shell COM interfaces easily confuse me, so perhaps someone with a better
> understanding of this stuff should look it over before I submit it to
> wine-patches.

I think the prepending of the Desktop path should happen in the Desktop 
Shellfolder, if it's GetDisplayNameOf method is called with the 
SHGDN_FORPARSING flag is set (instead of in SHGetPathFromIDList). I've 
modified your patch accordingly and added a testcase. Please submit to 
wine-patches, if you agree. 

Thanks for cleaning up all those resource leaks after me. 

Bye,
-- 
Michael Jung
mjung at iss.tu-darmstadt.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlls_shell32_shfldr_desktop_c.diff
Type: text/x-diff
Size: 6446 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20050813/70182934/dlls_shell32_shfldr_desktop_c.bin


More information about the wine-devel mailing list