<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="up" title="FatFs" href="../00index_j.html">
<link rel="alternate" hreflang="en" title="English" href="../en/sdir.html">
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
<title>FatFs - DIR</title>
</head>

<body>

<div class="para">
<h2>DIR</h2>
<p><tt>DIR</tt>�\���̂́A<tt>f_opendir(), f_readdir()</tt>�̃��[�N�E�G���A�Ƃ��Ďg�p����܂��B�A�v���P�[�V�����́A���̍\���̂̃����o�����������Ă͂Ȃ�܂���B</p>
<pre>
<span class="k">typedef</span> <span class="k">struct</span> {
    FATFS*  fs;        <span class="c">/* �e�t�@�C���E�V�X�e���E�I�u�W�F�N�g�ւ̃|�C���^ */</span>
    WORD    id;        <span class="c">/* �e�t�@�C���E�V�X�e���E�I�u�W�F�N�g�̃}�E���gID */</span>
    WORD    index;     <span class="c">/* ���Ɍ����J�n����f�B���N�g���E�C���f�b�N�X�ԍ� */</span>
    DWORD   sclust;    <span class="c">/* �e�[�u���J�n�N���X�^ (0:���[�g) */</span>
    DWORD   clust;     <span class="c">/* ���݂̃N���X�^�ԍ� */</span>
    DWORD   sect;      <span class="c">/* ���݂̃Z�N�^�ԍ� */</span>
    BYTE*   dir;       <span class="c">/* ���݂�SFN�G���g���ւ̃|�C���^ */</span>
    BYTE*   fn;        <span class="c">/* SFN�o�b�t�@�ւ̃|�C���^ (in/out) {file[8],ext[3],status[1]} */</span>
<span class="k">#if</span> _FS_LOCK
    UINT    lockid;    <span class="c">/* ���b�NID */</span>
<span class="k">#endif</span>
<span class="k">#if</span> _USE_LFN
    WCHAR*  lfn;       <span class="c">/* LFN�o�b�t�@�ւ̃|�C���^ (in/out) */</span>
    WORD    lfn_idx;   <span class="c">/* LFN�G���g���̐擪�C���f�b�N�X (0xFFFF:����) */</span>
<span class="k">#endif</span>
} DIR;
</pre>
</div>

<p class="foot"><a href="../00index_j.html">�߂�</a></p>
</body>
</html>