1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <meta http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
5 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
6 <link rel=
"up" title=
"FatFs" href=
"../00index_e.html">
7 <link rel=
"stylesheet" href=
"../css_e.css" type=
"text/css" media=
"screen" title=
"ELM Default">
8 <title>FatFs - DIR
</title>
15 <p>The
<tt>DIR
</tt> structure is used for the work area to read a directory by f_oepndir, f_readdir function. There is no member that can be changed by application.
</p>
17 typedef struct _DIR_ {
18 FATFS* fs; /* Pointer to the owner file system object */
19 WORD id; /* Owner file system mount ID */
20 WORD index; /* Current read/write index number */
21 DWORD sclust; /* Table start cluster (
0:Static table) */
22 DWORD clust; /* Current cluster */
23 DWORD sect; /* Current sector */
24 BYTE* dir; /* Pointer to the current SFN entry in the win[] */
25 BYTE* fn; /* Pointer to the SFN (in/out) {file[
8],ext[
3],status[
1]} */
27 WCHAR* lfn; /* Pointer to the LFN working buffer */
28 WORD lfn_idx; /* Last matched LFN index (
0xFFFF:No LFN) */
34 <p class=
"foot"><a href=
"../00index_e.html">Return
</a></p>