コード例 #1
0
HRESULT CThreadCopyFrom::ProcessVirt()
{
  UStringVector fileNames;
  CRecordVector<const wchar_t *> fileNamePointers;
  fileNames.Add(Name);
  fileNamePointers.Add(fileNames[0]);
  return FolderOperations->CopyFrom(PathPrefix, &fileNamePointers.Front(), fileNamePointers.Size(), UpdateCallback);
};
コード例 #2
0
ファイル: PanelCopy.cpp プロジェクト: OwenTan/AndroidP7zip
 void Process()
 {
   try
   {
     CProgressCloser closer(ProgressDialog);
     Result = FolderOperations->CopyFrom(
       MoveMode,
       FolderPrefix,
       &FileNamePointers.Front(),
       FileNamePointers.Size(),
       UpdateCallback);
   }
   catch(...) { Result = E_FAIL; }
 }