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