shell32: shfldr_fs: delete files through SHFileOperation (corrected)

Mikołaj Zalewski mikolaj at
Thu Jun 29 14:03:41 CDT 2006

Changelog: use SHFileOperationW to delete files.
This prevents code duplication for confirmation message boxes and in the 
future for error messages, progress dialog etc.

Of course it would be better for the shell change notifications to be 
sent from SHFileOperationW but currently it doesn't work - the 
SHSimpleIDListFromPathW fails for non-existent files and if called 
before the file is deleted it returns a unixfs pidl and not a My 
Computer pidl. Also the filesystem folders can be accessed e.g. through
My Documents so a My Computer pidl wouldn't resolve all problems. Hence the
change notifies are genereted in the ISFHelper like it was before.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: shell-delfileop.patch
Type: text/x-patch
Size: 4583 bytes
Desc: not available
Url :

More information about the wine-patches mailing list