- DWORD fsize; <span class="c">/* File size */</span>\r
- WORD fdate; <span class="c">/* Last modified date */</span>\r
- WORD ftime; <span class="c">/* Last modified time */</span>\r
- BYTE fattrib; <span class="c">/* Attribute */</span>\r
- TCHAR fname[13]; <span class="c">/* Short file name (8.3 format) */</span>\r
-<span class="k">#if</span> _USE_LFN\r
- TCHAR* lfname; <span class="c">/* Pointer to the LFN buffer */</span>\r
- int lfsize; <span class="c">/* Size of the LFN buffer in unit of TCHAR */</span>\r
+ FSIZE_t fsize; <span class="c">/* File size */</span>\r
+ WORD fdate; <span class="c">/* Last modified date */</span>\r
+ WORD ftime; <span class="c">/* Last modified time */</span>\r
+ BYTE fattrib; <span class="c">/* Attribute */</span>\r
+<span class="k">#if</span> _USE_LFN != 0\r
+ TCHAR altname[13]; <span class="c">/* Alternative object name */</span>\r
+ TCHAR fname[_MAX_LFN + 1]; <span class="c">/* Primary object name */</span>\r
+<span class="k">#else</span>\r
+ TCHAR fname[13]; <span class="c">/* Object name */</span>\r