FoxSDK API Reference
ContentsIndexHome
PreviousUpNext
SFileEntry Structure
Syntax
C++
struct SFileEntry {
  TCHAR lpszFileName[_MAX_PATH];
  TCHAR lpszFilePath[_MAX_PATH];
  TCHAR lpszFileOrigin[_MAX_PATH];
  int32 nAddress;
  int64 nFileSize;
  SFileDateTime cDateTime;
  int32 nAttrib;
  SFileDateTime cCreationTime;
  SFileDateTime cAccessTime;
  void * pUserParam;
};

FoxSDKDefinitions.h

Members 
Description 
TCHAR lpszFileName[_MAX_PATH]; 
The name of the directory entry (null terminated). 
TCHAR lpszFilePath[_MAX_PATH]; 
The path to the containing directory of this entry (null terminated). 
TCHAR lpszFileOrigin[_MAX_PATH]; 
The path of the file on HDD. If the file is imported from the disk session, this field is NULL. 
int32 nAddress; 
This is the file descriptor address of the file (LBA). 
int64 nFileSize; 
The size of the file in bytes. 
SFileDateTime cDateTime; 
The last modified date of the file according the file system. Use a SFileDateTime structure as value. 
int32 nAttrib; 
Defines the file attribute of a file to add. Possible values are:
BS_FA_READONLY,
BS_FA_HIDDEN,
BS_FA_ADVANCED_HIDDEN,
BS_FA_SYSTEM,
BS_FA_DIRECTORY,
BS_FA_ARCHIVE 
SFileDateTime cCreationTime; 
The creation date of the file according the file system. Use a SFileDateTime structure as value. 
SFileDateTime cAccessTime; 
The last access date of the file according the file system. Use a SFileDateTime structure as value. 
void * pUserParam; 
This is a data value you can set yourself according to your needs. You can pass a integer or structure to the file that stores extra data. 

A structure that contains the information about the file to be used.

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