shell32/shfldr_mycomp.c: Fixed GetDisplayNameOf

Michael Jung mjung at iss.tu-darmstadt.de
Thu May 5 04:30:15 CDT 2005


In case of a complex pidl MyComputer's GetDisplayNameOf method calls 
SHELL32_GetDisplayNameOfChild while OR'ing a SHGDN_INFOLDER to the dwFlags 
parameter. This doesn't seem to be right: First we should not modify the 
dwFlags parameter specified by the caller. Second, according to MSDN, if the 
SHGDN_INFOLDER flag is set in a call to GetDisplayNameOf, then the pidl 
paramter has to contain exactly one non null SHITEMID with a terminating zero 
USHORT value.

Changelog:
	Fixed MyComputer's GetDisplayNameOf method

-- 
Michael Jung
mjung at iss.tu-darmstadt.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlls_shell32_shfldr_mycomp_c.diff
Type: text/x-diff
Size: 3795 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050505/5ca8c0ea/dlls_shell32_shfldr_mycomp_c.bin


More information about the wine-patches mailing list