I use the SHFileOperation API call with FO_DELETE and FOF_ALLOWUNDO flags to send a file to the recycle bin. In some cases I may need to restore a specific file. I suppose this could be done by using the SHFileOperation with FO_MOVE flag, but the filename is changed once it is put in the virtual recycle bin.
Do you have any suggestions on how to programatically restore a file from the recycle bin?
Thanks in advance!