<< Back


The FVSDK_FileInfo is used by FVSDK_FindNextFile() to return the information about the current file being searched. The first call to FVSDK_FindNextFile() returns the information about the first file found in a directory. The return value identifies whether another file or directory exists. Subsequent calls retrieve information for the next file in the listing, with the return value always indicating whether more files exist.

Directory listings can be large. Therefore it is not recommended to maintain an array of these structures because this structure contains large strings for file names, permissions, etc. Instead, you should allocate the needed information in your own structures or objects.

Click on the member name to see additional information about the member. Click on the member type to view details about the type.

Structure & Members

typedef struct FVSDK_FileInfoStruct
{
// administrative variables
UINT nSize;
UINT nVersion;
 
// attributes defining the file or folder
char pszFileName[FVSDK_MAX_FILE_NAME_SZ];
BOOL bDirectory;
 
// misc. UNIX style information
BOOL bSymbolicLink;
char pszPermissions[FVSDK_MAX_PERMS_SZ];
char pszUser[FVSDK_MAX_OWNER_SZ];
char pszGroup[FVSDK_MAX_GROUP_SZ];
char pszLinkedTo[FVSDK_MAX_LINKED_TO_SZ];
 
// size
FVSDK_FILE_SIZE fsFileSize;
BOOL bSizeSet;
 
// date and time
FVSDK_TIME tmDateTime;
BOOL bDateSet;
BOOL bTimeSet;
 
// misc.
char pszType[FVSDK_MAX_TYPE_SZ];
 
} FVSDK_FileInfo;