2014-08-13 05:48:16 +00:00
|
|
|
|
<!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/getlabel.html">
|
|
|
|
|
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
|
|
|
|
|
<title>FatFs - f_getlabel</title>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div class="para func">
|
|
|
|
|
<h2>f_getlabel</h2>
|
|
|
|
|
<p><EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>E<EFBFBD><45><EFBFBD>x<EFBFBD><78><EFBFBD><EFBFBD><EFBFBD>擾<EFBFBD><E693BE><EFBFBD>܂<EFBFBD><DC82>B</p>
|
|
|
|
|
<pre>
|
|
|
|
|
FRESULT f_getlabel (
|
|
|
|
|
const TCHAR* <span class="arg">path</span>, <span class="c">/* [IN] <20>Ώۃh<DB83><68><EFBFBD>C<EFBFBD>u */</span>
|
|
|
|
|
TCHAR* <span class="arg">label</span>, <span class="c">/* [OUT] <20>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>b<EFBFBD>t<EFBFBD>@ */</span>
|
|
|
|
|
DWORD* <span class="arg">vsn</span> <span class="c">/* [OUT] <20>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>E<EFBFBD>V<EFBFBD><56><EFBFBD>A<EFBFBD><41><EFBFBD>ԍ<EFBFBD><D48D><EFBFBD><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>ϐ<EFBFBD> */</span>
|
|
|
|
|
);
|
|
|
|
|
</pre>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="para arg">
|
|
|
|
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|
|
|
|
<dl class="par">
|
|
|
|
|
<dt>path</dt>
|
|
|
|
|
<dd><EFBFBD>ΏۂƂȂ<EFBFBD><EFBFBD>_<EFBFBD><EFBFBD><EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>C<EFBFBD>u<EFBFBD><EFBFBD><a href="filename.html"><EFBFBD>p<EFBFBD>X<EFBFBD><EFBFBD></a><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>k<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><tt>'\0'</tt><EFBFBD>I<EFBFBD>[<5B>̕<EFBFBD><CC95><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ւ̃|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD>w<EFBFBD>肵<EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̏ꍇ<CC8F>́A<CD81>f<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>g<EFBFBD>E<EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD><75><EFBFBD>w<EFBFBD>肵<EFBFBD><E882B5><EFBFBD><EFBFBD><EFBFBD>ƂɂȂ<C982><C882>܂<EFBFBD><DC82>B</dd>
|
|
|
|
|
<dt>label</dt>
|
|
|
|
|
<dd><EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>z<EFBFBD><7A><EFBFBD>ւ̃|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD>w<EFBFBD>肵<EFBFBD>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD>Ȃ<EFBFBD><C882>Ƃ<EFBFBD>12<31>v<EFBFBD>f<EFBFBD>̃T<CC83>C<EFBFBD>Y<EFBFBD><59><EFBFBD>K<EFBFBD>v<EFBFBD>ł<EFBFBD><C582>B<EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882>ꍇ<EFBFBD>̓k<CD83><6B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԃ<F182AA95><D482><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD>̏<EFBFBD><CC8F>s<F182AA95>v<EFBFBD>ȂƂ<C882><C682>̓k<CD83><6B><EFBFBD>E<EFBFBD>|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD>w<EFBFBD>肵<EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B</dd>
|
|
|
|
|
<dt>vsn</dt>
|
|
|
|
|
<dd><EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>E<EFBFBD>V<EFBFBD><56><EFBFBD>A<EFBFBD><41><EFBFBD>ԍ<EFBFBD><D48D><EFBFBD><EFBFBD>i<EFBFBD>[<5B><><EFBFBD><EFBFBD><tt>DWORD</tt><EFBFBD>^<5E>ϐ<EFBFBD><CF90>ւ̃|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD>w<EFBFBD>肵<EFBFBD>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD>̏<EFBFBD><CC8F>s<F182AA95>v<EFBFBD>ȂƂ<C882><C682>̓k<CD83><6B><EFBFBD>E<EFBFBD>|<7C>C<EFBFBD><43><EFBFBD>^<5E><><EFBFBD>w<EFBFBD>肵<EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para ret">
|
|
|
|
|
<h4><EFBFBD>߂<EFBFBD><EFBFBD>l</h4>
|
|
|
|
|
<p>
|
|
|
|
|
<a href="rc.html#ok">FR_OK</a>,
|
|
|
|
|
<a href="rc.html#de">FR_DISK_ERR</a>,
|
|
|
|
|
<a href="rc.html#ie">FR_INT_ERR</a>,
|
|
|
|
|
<a href="rc.html#nr">FR_NOT_READY</a>,
|
|
|
|
|
<a href="rc.html#id">FR_INVALID_DRIVE</a>,
|
|
|
|
|
<a href="rc.html#ne">FR_NOT_ENABLED</a>,
|
|
|
|
|
<a href="rc.html#ns">FR_NO_FILESYSTEM</a>,
|
|
|
|
|
<a href="rc.html#tm">FR_TIMEOUT</a>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para comp">
|
|
|
|
|
<h4><EFBFBD>Ή<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|
|
|
|
<p><tt>_USE_LABEL == 1</tt><EFBFBD>̂Ƃ<EFBFBD><EFBFBD>Ɏg<EFBFBD>p<EFBFBD>\<5C>ł<EFBFBD><C582>B</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para use">
|
|
|
|
|
<h4><EFBFBD>g<EFBFBD>p<EFBFBD><EFBFBD></h4>
|
|
|
|
|
<pre>
|
|
|
|
|
char str[12];
|
|
|
|
|
|
|
|
|
|
<span class="c">/* <20>f<EFBFBD>t<EFBFBD>H<EFBFBD><48><EFBFBD>g<EFBFBD>E<EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>̃{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */</span>
|
|
|
|
|
f_getlabel("", str, 0);
|
|
|
|
|
|
|
|
|
|
<span class="c">/* <20>h<EFBFBD><68><EFBFBD>C<EFBFBD>u2<75>̃{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */</span>
|
|
|
|
|
f_getlabel("2:", str, 0);
|
|
|
|
|
</pre>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para ref">
|
|
|
|
|
<h4><EFBFBD>Q<EFBFBD><EFBFBD></h4>
|
|
|
|
|
<tt><a href="setlabel.html">f_setlabel</a></tt>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p class="foot"><a href="../00index_j.html"><EFBFBD>߂<EFBFBD></a></p>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|