1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 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="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48<title>nn::fs::DirectoryEntry</title> 49 </head> 50 <body> 51<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/fs/Overview.html">fs</a>::DirectoryEntry</CODE> Structure</h1> 52<h2>Syntax</h2> 53 <div class="section"> 54<pre class="definition">struct DirectoryEntry 55{ 56wchar_t entryName[MAX_FILE_PATH_LENGTH+1]; 57<a href="../../../nn/fs/ShortName/Overview.html">ShortName</a> shortName; 58<a href="../../../nn/fs/Attributes/Overview.html">nn::fs::Attributes</a> attributes; 59<a href="../../../nn_types/s64.html">s64</a> entrySize; 60}; 61</pre> 62 </div> 63<h2>Description</h2> 64 <div class="section"> 65<p>Structure representing a directory entry.</p><p>The <CODE>entrySize</CODE> member variable is only valid on SDMC archives. Note that it has an undefined value on any other type of archive.</p><!-- write here --></div> 66 <a name="variable" id="variable"> 67<h2>Member Variables</h2> 68 <div class="section"> 69 <table class="members"> 70 <tr> 71 <td width="100"> </td> 72 <th> 73<span class="argument">entryName</span> 74 </th> 75<td width="100">wchar_t</td> 76<td>Indicates the entry's long filename.</td> 77 </tr> 78 <tr> 79 <td width="100"> </td> 80 <th> 81<span class="argument">shortName</span> 82 </th> 83<td width="100"><a href="../../../nn/fs/ShortName/Overview.html">ShortName</a></td> 84<td>Indicates the entry's short filename.</td> 85 </tr> 86 <tr> 87 <td width="100"> </td> 88 <th> 89<span class="argument">attributes</span> 90 </th> 91<td width="100"><a href="../../../nn/fs/Attributes/Overview.html"><CODE>nn::fs::Attributes</CODE></a></td> 92<td>Indicates the entry's attributes.</td> 93 </tr> 94 <tr> 95 <td width="100"> </td> 96 <th> 97<span class="argument">entrySize</span> 98 </th> 99<td width="100"><a href="../../../nn_types/s64.html">s64</a></td> 100<td>If the entry is a file, this indicates the file size. If it is a directory, this is 0.</td> 101 </tr> </table> 102 </div> 103 </a> 104<h2>Revision History</h2> 105 <div class="section"> 106 <dl class="history"> 107 <dt>2010/12/09</dt> 108<dd>Initial version.<br /> 109 </dd> 110 </dl> 111 </div> 112 <hr><p>CONFIDENTIAL</p></body> 113</html> 114