shell32: shfldr_fs: delete files through SHFileOperation (corrected)

Mikołaj Zalewski mikolaj at
Wed Jun 28 12:02:07 CDT 2006

(in the previous patch I've made some last moment modifications and a semicolon was

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: 4576 bytes
Desc: not available
Url :

More information about the wine-patches mailing list