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=utf-8">
5 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
6 <link rel=
"up" title=
"FatFs" href=
"../00index_j.html">
7 <link rel=
"alternate" hreflang=
"en" title=
"English" href=
"../en/sdir.html">
8 <link rel=
"stylesheet" href=
"../css_j.css" type=
"text/css" media=
"screen" title=
"ELM Default">
9 <title>FatFs - DIR
</title>
16 <p><tt>DIR
</tt>構造体は、
<tt>f_opendir(), f_readdir()
</tt>のワーク エリアとして使用されます。アプリケーションは、この構造体のメンバを書き換えてはなりません。
</p>
18 <span class=
"k">typedef
</span> <span class=
"k">struct
</span> {
19 FATFS* fs;
<span class=
"c">/* 親ファイル システム オブジェクトへのポインタ */
</span>
20 WORD id;
<span class=
"c">/* 親ファイル システム オブジェクトのマウントID */
</span>
21 WORD index;
<span class=
"c">/* 次に検索開始するディレクトリ インデックス番号 */
</span>
22 DWORD sclust;
<span class=
"c">/* テーブル開始クラスタ (
0:ルート) */
</span>
23 DWORD clust;
<span class=
"c">/* 現在のクラスタ番号 */
</span>
24 DWORD sect;
<span class=
"c">/* 現在のセクタ番号 */
</span>
25 BYTE* dir;
<span class=
"c">/* 現在のSFNエントリへのポインタ */
</span>
26 BYTE* fn;
<span class=
"c">/* SFNバッファへのポインタ (in/out) {file[
8],ext[
3],status[
1]} */
</span>
27 <span class=
"k">#if
</span> _FS_LOCK
28 UINT lockid;
<span class=
"c">/* ロックID */
</span>
29 <span class=
"k">#endif
</span>
30 <span class=
"k">#if
</span> _USE_LFN
31 WCHAR* lfn;
<span class=
"c">/* LFNバッファへのポインタ (in/out) */
</span>
32 WORD lfn_idx;
<span class=
"c">/* LFNエントリの先頭インデックス (
0xFFFF:無効) */
</span>
33 <span class=
"k">#endif
</span>
38 <p class=
"foot"><a href=
"../00index_j.html">戻る
</a></p>