FOLDER

The FOLDER structure contains the members needed to work with the folder routines.

typedef struct tagFOLDER {
  unsigned char path[FLD_MAXPATH + 1];
  LIST *pEntries;
  LISTITEM *pTop;
  LISTITEM *pCurrent;
  int totalFiles;
  int totalSize;
} FOLDER;


Members

path

The path of the last folder processed by FolderGet.

pEntries

A chained list containing the list of files and/or folders retrieved by the last call to FolderGet. Can be NULL if an error raised.

pTop

Pointer to an item of the chained list. Not used by the folder routines. Usually it is used to point to the first entry to be listed in a file selector. 

pCurrent

Pointer to an item of the chained list. Not used by the folder routines. Usually it is used to point to the current selected entry in a file selector. 

totalFiles

The count of files correctly retrieved by the last call to FolderGet. Folders are not computed.

totalSize

The total size in bytes of all files correctly retrieved by the last call to FolderGet. Folders are not computed.


See Also

Folder Routines, Folder Structures, Folder Constants, List Routines, FolderGet