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/setlabel.html">
|
|
|
|
|
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
|
|
|
|
|
<title>FatFs - f_setlabel</title>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div class="para func">
|
|
|
|
|
<h2>f_setlabel</h2>
|
|
|
|
|
<p><EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>Ƀ{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>E<EFBFBD><45><EFBFBD>x<EFBFBD><78><EFBFBD><EFBFBD><EFBFBD>ݒ肵<DD92>܂<EFBFBD><DC82>B</p>
|
|
|
|
|
<pre>
|
|
|
|
|
FRESULT f_setlabel (
|
|
|
|
|
const TCHAR* <span class="arg">label</span> <span class="c">/* [IN] <20>ݒ肷<DD92><E882B7><EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>E<EFBFBD><45><EFBFBD>x<EFBFBD><78><EFBFBD>ւ̃|<7C>C<EFBFBD><43><EFBFBD>^ */</span>
|
|
|
|
|
);
|
|
|
|
|
</pre>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="para arg">
|
|
|
|
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|
|
|
|
<dl class="par">
|
|
|
|
|
<dt>label</dt>
|
|
|
|
|
<dd><EFBFBD>ݒ肷<EFBFBD><EFBFBD><EFBFBD>{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>E<EFBFBD><45><EFBFBD>x<EFBFBD><78><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>k<EFBFBD><6B><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</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#in">FR_INVALID_NAME</a>,
|
|
|
|
|
<a href="rc.html#wp">FR_WRITE_PROTECTED</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 desc">
|
|
|
|
|
<h4><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|
|
|
|
<p><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̐擪<EFBFBD>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>
|
|
|
|
|
<ul>
|
|
|
|
|
<li><EFBFBD><EFBFBD><EFBFBD>[<5B>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD>Z<EFBFBD><5A>11<31>o<EFBFBD>C<EFBFBD>g<EFBFBD>ȉ<EFBFBD><C889>BLFN<46>g<EFBFBD><67><EFBFBD>͓K<CD93>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B</li>
|
|
|
|
|
<li><EFBFBD>s<EFBFBD><EFBFBD><EFBFBD>I<EFBFBD>h<EFBFBD><EFBFBD><EFBFBD>܂ނ<EFBFBD><EFBFBD>Ƃ͂ł<EFBFBD><EFBFBD>Ȃ<EFBFBD><EFBFBD>B</li>
|
|
|
|
|
<li><EFBFBD>C<EFBFBD>ӂ̈ʒu<EFBFBD>ɃX<EFBFBD>y<EFBFBD>[<5B>X<EFBFBD><58><EFBFBD>u<EFBFBD><75><EFBFBD><EFBFBD><EFBFBD>Ƃ<EFBFBD><C682>ł<EFBFBD><C582><EFBFBD><EFBFBD>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>Ō<EFBFBD><C58C><EFBFBD><EFBFBD>ƂȂ<C682><C882>X<EFBFBD>y<EFBFBD>[<5B>X<EFBFBD>͏<EFBFBD><CD8F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="para comp">
|
|
|
|
|
<h4><EFBFBD>Ή<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></h4>
|
|
|
|
|
<p><tt>_FS_READONLY == 0</tt><EFBFBD>ŁA<EFBFBD><EFBFBD><EFBFBD><EFBFBD><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>
|
|
|
|
|
<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>E<EFBFBD><45><EFBFBD>x<EFBFBD><78><EFBFBD><EFBFBD><EFBFBD>ݒ<EFBFBD> */</span>
|
|
|
|
|
f_setlabel("DATA DISK");
|
|
|
|
|
|
|
|
|
|
<span class="c">/* <20>h<EFBFBD><68><EFBFBD>C<EFBFBD>u2<75>Ƀ{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>E<EFBFBD><45><EFBFBD>x<EFBFBD><78><EFBFBD><EFBFBD><EFBFBD>ݒ<EFBFBD> */</span>
|
|
|
|
|
f_setlabel("2:DISK 3 OF 4");
|
|
|
|
|
|
|
|
|
|
<span class="c">/* <20>h<EFBFBD><68><EFBFBD>C<EFBFBD>u2<75>̃{<7B><><EFBFBD><EFBFBD><EFBFBD>[<5B><><EFBFBD>E<EFBFBD><45><EFBFBD>x<EFBFBD><78><EFBFBD><EFBFBD><EFBFBD>폜 */</span>
|
|
|
|
|
f_setlabel("2:");
|
|
|
|
|
</pre>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="para ref">
|
|
|
|
|
<h4><EFBFBD>Q<EFBFBD><EFBFBD></h4>
|
|
|
|
|
<tt><a href="getlabel.html">f_getlabel</a></tt>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p class="foot"><a href="../00index_j.html"><EFBFBD>߂<EFBFBD></a></p>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|