unixfs: Apply FILESYSANCESTOR and FILESYSTEM flags
Michael Jung
mjung at iss.tu-darmstadt.de
Fri Jun 10 12:55:27 CDT 2005
An IShellFolder that sets the FILESYSTEM flag in it's GetAttributesOf method
tells the system that it has a corresponding dos path.
An IShellFolder that returns a FILESYSANCESTOR flag from it's GetAttributesOf
method, tells the system that while itself might not be accessible by a dos
path, on of it's childs is.
With this patch applied, users can only select files and folders that have a
valid corresponding dos path. Tested with wine's own file dialogs, the
SHBrowseForFolder dialog and MS Office 2000's file dialogs.
If you would like to test it, please register the namespace extension with the
appended registry file. If you start with a clean .wine directory, Juan's
recent patch will set the Desktop's path to Z:\home\julliard. The file
dialogs won't work any more if you remove Z: afterwards. So you have to remap
the Desktop path or use an old .wine directory.
Changelog:
Set the FILESYSANCESTOR and FILESYSTEM flags correctly in GetAttributesOf
Bye,
--
Michael Jung
mjung at iss.tu-darmstadt.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlls_shell32_shfldr_unixfs_c.diff
Type: text/x-diff
Size: 11223 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050610/0ae6309b/dlls_shell32_shfldr_unixfs_c.bin
-------------- next part --------------
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\Namespace\{9D20AAE8-0625-44B0-9CA7-71889C2254D9}]
More information about the wine-patches
mailing list