如何确定 Folder.CopyHere 的真实结果?
How can I determine the true result of Folder.CopyHere?
我正在使用 Folder.CopyHere
复制文件夹,此方法 returns S_OK
即使用户中止了该过程。
有没有办法查明用户是否中止?
好的,所以答案似乎是不可能从 Folder.CopyHere
获得真实结果,解决方案是按照 IInspectable 的建议改为使用 IFileOperation
接口。
我正在使用 Folder.CopyHere
复制文件夹,此方法 returns S_OK
即使用户中止了该过程。
有没有办法查明用户是否中止?
好的,所以答案似乎是不可能从 Folder.CopyHere
获得真实结果,解决方案是按照 IInspectable 的建议改为使用 IFileOperation
接口。