Shell32: Reimplement SHGetFolder functions (take 2)
Juan Lang
juan_lang at yahoo.com
Mon Oct 11 11:06:46 CDT 2004
Compared to last time I fixed the tests (I hope), and
the default profiles dir is c:\windows\profiles rather
than c:\Documents and Settings due to popular demand.
I've reimplemented SHGetFolderPath and its cousins
based on testing in WinXP and documentation. The
high-level improvements are:
- the correct registry location to override is User
Shell Folders, not Shell Folders
- if User Shell Folders doesn't exist in HKCU, HKLM
should be tried
- SHGetSpecialFolderPath should call SHGetFolderPath,
not vice-versa
- the default values should be localizable
- some of the parameter checking and returned
LPITEMIDLISTs were a bit off
--Juan
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shell32.diff
Type: text/x-patch
Size: 98389 bytes
Desc: shell32.diff
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041011/5dfa2540/shell32.bin
More information about the wine-patches
mailing list