FoxSDK API Reference
ContentsIndexHome
PreviousUpNext
SFileToAdd Structure
Syntax
C++
struct SFileToAdd {
  const TCHAR* lpszSourceFilePath;
  const TCHAR* lpszDestinationPath;
  const TCHAR* lpszFileName;
  BS_BOOL bVideoFile;
  int32 nSavePath;
};

FoxSDKDefinitions.h

Members 
Description 
const TCHAR* lpszSourceFilePath; 
Pointer to the null-terminated string with the path and file name of 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.
Deprecated! Please leave this value NULL 
BS_BOOL bVideoFile; 
This value says whether the file is a video file. BS_TRUE describes a video file, BS_FALSE marks all other types. 
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 

A structure that contains the information about the file 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!