public static extern Int32 RecoveryFile(IntPtr mountHandle, IntPtr newFileHandle, LpfnRecoveryFileProgress callback, ref FILE_RECOVERY_INFO recoveryFileInfo);
/// <summary> /// 恢复文件 /// </summary> /// <param name="mountHandle">装载的分区句柄</param> /// <param name="newFileHandle">新建文件句柄</param> /// <param name="callback">文件恢复进度回调函数</param> /// <param name="recoveryFileInfo">被恢复文件结构</param> /// <returns></returns> public Int32 RecoveryFileEx(IntPtr mountHandle, IntPtr newFileHandle, LpfnRecoveryFileProgress callback, ref FILE_RECOVERY_INFO recoveryFileInfo) { return(RecoveryFile(mountHandle, newFileHandle, callback, ref recoveryFileInfo)); }