fix: compile error, using another way to pass down SoleFolderIndex

This commit is contained in:
shunf4
2024-05-10 19:22:11 +08:00
parent e30d86c4d0
commit 866e48d73a
6 changed files with 22 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ STDMETHODIMP CAgentFolder::SetZoneIdMode(NExtract::NZoneIdMode::EEnum zoneMode)
}
STDMETHODIMP CAgentFolder::CopyTo(Int32 moveMode, const UInt32 *indices, UInt32 numItems,
Int32 includeAltStreams, Int32 replaceAltStreamCharsMode, Int64 soleFolderIndex,
Int32 includeAltStreams, Int32 replaceAltStreamCharsMode,
const wchar_t *path, IFolderOperationsExtractCallback *callback)
{
if (moveMode)
@@ -42,6 +42,9 @@ STDMETHODIMP CAgentFolder::CopyTo(Int32 moveMode, const UInt32 *indices, UInt32
NExtract::NPathMode::kNoPathsAlt :
NExtract::NPathMode::kNoPaths;
Int64 soleFolderIndex;
extractCallback2->GetSoleFolderIndex(&soleFolderIndex);
return Extract(indices, numItems,
includeAltStreams, replaceAltStreamCharsMode,
soleFolderIndex,