FOLDERENTRY

The FOLDERENTRY structure contains the members of an entry of the list retrieved by FolderGet.

typedef struct tagFOLDERENTRY {
  unsigned char filename[FLD_MAXFILENAME + FLD_MAXEXTENSION + 1];
  GPFILEATTR attr;
} FOLDERENTRY;


Members

filename

The filename of the entry including the file extension.

attr

The attributes of the entry as returned by the GpFileAttr function of the official SDK.


Remarks

The pObject member of each item in the pEntries list in the FOLDER structure points to a FOLDERENTRY structure. To access the members of this structure you will have to cast the pObject member.


Example

// Retrieves the first entry in the list
FOLDERENTRY *pEntry;
pEntry = (FOLDERENTRY *) folder.pEntries->pFirst->pObject;


See Also

Folder Routines, Folder Structures, Folder Constants, FolderGet