FoxSDK API Reference
ContentsIndexHome
PreviousUpNext
SFileToAddEx Structure
Syntax
C++
struct SFileToAddEx {
  const TCHAR* lpszSourceFilePath;
  const TCHAR* lpszDestinationPath;
  const TCHAR* lpszFileName;
  int32 nSavePath;
  int64 nFileOffset;
  int64 nSegmentSize;
};

FoxSDKDefinitions.h

Members 
Description 
const TCHAR* lpszSourceFilePath; 
Pointer to the null-terminated string with the path of the folder containing the file you want to add to the project. 
const TCHAR* lpszDestinationPath; 
Pointer to the null-terminated string with the path of the destination folder of the project. 
const TCHAR* lpszFileName; 
Pointer to the null-terminated string with the name of the file that you want to add to the project. 
int32 nSavePath; 
This argument states if and how the super ordinate directory is added as a folder to the project. The following values are allowed: BS_DONT_SAVE_PATH,
BS_WHOLE_PATH,
BS_PARENTDIR_ONLY 
int64 nFileOffset; 
The start position of the segment in the file in bytes. 
int64 nSegmentSize; 
The size of the segment in bytes. 

A structure that contains the information about the file segment you want to add to the project.

The value lpszDestinationPath is basing on the rootDirectory The rootDirectory is always "\\" expected MixedMode project. Here the root for audio is "\\audio" and for data files "\\data".

Copyright (c) 2019 IFoerster Development. All rights reserved.
What do you think about this topic? Send feedback!