Synopsis
CTL_STATUS_t ctl_ms_start_enumeration(CTL_MS_VOLUME_t *vol,
                                      const char *filename,
                                      unsigned attrib,
                                      CTL_MS_DIR_ENUM_t *dir);
Description

ctl_ms_start_enumeration searches the volume vol in the folder starting at sector sector for entries that match filename and attrib.

You must provide a pointer to a directory entry structure, dir, to hold contextual information when enumerating the directory.