PDA

View Full Version : FILE_SHELLDELETE RETURNED NUMBER



sandyrepope
13-11-2007, 02:41
The help file says that for file_shelldelete, file_shellcopy and file_shellmove that they all return a number but it doesn't say just what that number will be.

I'd appreciate finding out about this returned number.

Thanks
Sandy

RobertoBianchi
13-11-2007, 10:30
Hi Sandy,

both these functions are implemented using the SHFileOperation() API that should returns zero if successful; otherwise nonzero.
If you want understand the nonzero values look at this page: http://msdn2.microsoft.com/en-us/library/bb762164.aspx

Ciao,
Roberto

sandyrepope
13-11-2007, 17:06
returns zero if successful; otherwise nonzero.

This is the information I needed. I wish the help file had this in it.

Thanks
Sandy

ErosOlmi
13-11-2007, 17:41
Added, sorry.