EU1KY AA
ff.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------/
2 / FatFs - FAT file system module include R0.11 (C)ChaN, 2015
3 /----------------------------------------------------------------------------/
4 / FatFs module is a free software that opened under license policy of
5 / following conditions.
6 /
7 / Copyright (C) 2015, ChaN, all right reserved.
8 /
9 / 1. Redistributions of source code must retain the above copyright notice,
10 / this condition and the following disclaimer.
11 /
12 / This software is provided by the copyright holder and contributors "AS IS"
13 / and any warranties related to this software are DISCLAIMED.
14 / The copyright owner or contributors be NOT LIABLE for any damages caused
15 / by use of this software.
16 /---------------------------------------------------------------------------*/
17 
18 
19 #ifndef _FATFS
20 #define _FATFS 32020 /* Revision ID */
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #include "integer.h" /* Basic integer types */
27 #include "ffconf.h" /* FatFs configuration options */
28 #if _FATFS != _FFCONF
29 #error Wrong configuration file (ffconf.h).
30 #endif
31 
32 
33 
34  /* Definitions of volume management */
35 
36 #if _MULTI_PARTITION /* Multiple partition configuration */
37  typedef struct
38  {
39  BYTE pd; /* Physical drive number */
40  BYTE pt; /* Partition: 0:Auto detect, 1-4:Forced partition) */
41  } PARTITION;
42  extern PARTITION VolToPart[]; /* Volume - Partition resolution table */
43 #define LD2PD(vol) (VolToPart[vol].pd) /* Get physical drive number */
44 #define LD2PT(vol) (VolToPart[vol].pt) /* Get partition index */
45 
46 #else /* Single partition configuration */
47 #define LD2PD(vol) (BYTE)(vol) /* Each logical drive is bound to the same physical drive number */
48 #define LD2PT(vol) 0 /* Find first valid partition or in SFD */
49 
50 #endif
51 
52 
53 
54  /* Type of path name strings on FatFs API */
55 
56 #if _LFN_UNICODE /* Unicode string */
57 #if !_USE_LFN
58 #error _LFN_UNICODE must be 0 at non-LFN cfg.
59 #endif
60 #ifndef _INC_TCHAR
61  typedef WCHAR TCHAR;
62 #define _T(x) L ## x
63 #define _TEXT(x) L ## x
64 #endif
65 
66 #else /* ANSI/OEM string */
67 #ifndef _INC_TCHAR
68  typedef char TCHAR;
69 #define _T(x) x
70 #define _TEXT(x) x
71 #endif
72 
73 #endif
74 
75 
76 
77  /* File system object structure (FATFS) */
78 
79  typedef struct
80  {
81  union
82  {
83  UINT d32[_MAX_SS/4]; /* Force 32bits alignement */
84  BYTE d8[_MAX_SS]; /* Disk access window for Directory, FAT (and file data at tiny cfg) */
85  } win;
86  BYTE fs_type; /* FAT sub-type (0:Not mounted) */
87  BYTE drv; /* Physical drive number */
88  BYTE csize; /* Sectors per cluster (1,2,4...128) */
89  BYTE n_fats; /* Number of FAT copies (1 or 2) */
90  BYTE wflag; /* win[] flag (b0:dirty) */
91  BYTE fsi_flag; /* FSINFO flags (b7:disabled, b0:dirty) */
92  WORD id; /* File system mount ID */
93  WORD n_rootdir; /* Number of root directory entries (FAT12/16) */
94 #if _MAX_SS != _MIN_SS
95  WORD ssize; /* Bytes per sector (512, 1024, 2048 or 4096) */
96 #endif
97 #if _FS_REENTRANT
98  _SYNC_t sobj; /* Identifier of sync object */
99 #endif
100 #if !_FS_READONLY
101  DWORD last_clust; /* Last allocated cluster */
102  DWORD free_clust; /* Number of free clusters */
103 #endif
104 #if _FS_RPATH
105  DWORD cdir; /* Current directory start cluster (0:root) */
106 #endif
107  DWORD n_fatent; /* Number of FAT entries, = number of clusters + 2 */
108  DWORD fsize; /* Sectors per FAT */
109  DWORD volbase; /* Volume start sector */
110  DWORD fatbase; /* FAT start sector */
111  DWORD dirbase; /* Root directory start sector (FAT32:Cluster#) */
112  DWORD database; /* Data start sector */
113  DWORD winsect; /* Current sector appearing in the win[] */
114 
115  } FATFS __attribute__((aligned(32)));
116 
117 
118 
119  /* File object structure (FIL) */
120 
121  typedef struct
122  {
123 #if !_FS_TINY
124  union
125  {
126  UINT d32[_MAX_SS/4]; /* Force 32bits alignement */
127  BYTE d8[_MAX_SS]; /* File data read/write buffer */
128  } buf;
129 #endif
130  FATFS* fs; /* Pointer to the related file system object (**do not change order**) */
131  WORD id; /* Owner file system mount ID (**do not change order**) */
132  BYTE flag; /* Status flags */
133  BYTE err; /* Abort flag (error code) */
134  DWORD fptr; /* File read/write pointer (Zeroed on file open) */
135  DWORD fsize; /* File size */
136  DWORD sclust; /* File start cluster (0:no cluster chain, always 0 when fsize is 0) */
137  DWORD clust; /* Current cluster of fpter (not valid when fprt is 0) */
138  DWORD dsect; /* Sector number appearing in buf[] (0:invalid) */
139 #if !_FS_READONLY
140  DWORD dir_sect; /* Sector number containing the directory entry */
141  BYTE* dir_ptr; /* Pointer to the directory entry in the win[] */
142 #endif
143 #if _USE_FASTSEEK
144  DWORD* cltbl; /* Pointer to the cluster link map table (Nulled on file open) */
145 #endif
146 #if _FS_LOCK
147  UINT lockid; /* File lock ID origin from 1 (index of file semaphore table Files[]) */
148 #endif
149 
150  } FIL __attribute__((aligned(32)));
151 
152 
153 
154  /* Directory object structure (DIR) */
155 
156  typedef struct
157  {
158 #if !_FS_TINY
159  union
160  {
161  UINT d32[_MAX_SS/4]; /* Force 32bits alignement */
162  BYTE d8[_MAX_SS]; /* File data read/write buffer */
163  } buf;
164 #endif
165  FATFS* fs; /* Pointer to the owner file system object (**do not change order**) */
166  WORD id; /* Owner file system mount ID (**do not change order**) */
167  WORD index; /* Current read/write index number */
168  DWORD sclust; /* Table start cluster (0:Root dir) */
169  DWORD clust; /* Current cluster */
170  DWORD sect; /* Current sector */
171  BYTE* dir; /* Pointer to the current SFN entry in the win[] */
172  BYTE* fn; /* Pointer to the SFN (in/out) {file[8],ext[3],status[1]} */
173 #if _FS_LOCK
174  UINT lockid; /* File lock ID (index of file semaphore table Files[]) */
175 #endif
176 #if _USE_LFN
177  WCHAR* lfn; /* Pointer to the LFN working buffer */
178  WORD lfn_idx; /* Last matched LFN index number (0xFFFF:No LFN) */
179 #endif
180 #if _USE_FIND
181  const TCHAR* pat; /* Pointer to the name matching pattern */
182 #endif
183  } DIR __attribute__((aligned(32)));
184 
185 
186 
187  /* File information structure (FILINFO) */
188 
189  typedef struct
190  {
191  DWORD fsize; /* File size */
192  WORD fdate; /* Last modified date */
193  WORD ftime; /* Last modified time */
194  BYTE fattrib; /* Attribute */
195  TCHAR fname[13]; /* Short file name (8.3 format) */
196 #if _USE_LFN
197  TCHAR* lfname; /* Pointer to the LFN buffer */
198  UINT lfsize; /* Size of LFN buffer in TCHAR */
199 #endif
200  } FILINFO;
201 
202 
203 
204  /* File function return code (FRESULT) */
205 
206  typedef enum
207  {
208  FR_OK = 0, /* (0) Succeeded */
209  FR_DISK_ERR, /* (1) A hard error occurred in the low level disk I/O layer */
210  FR_INT_ERR, /* (2) Assertion failed */
211  FR_NOT_READY, /* (3) The physical drive cannot work */
212  FR_NO_FILE, /* (4) Could not find the file */
213  FR_NO_PATH, /* (5) Could not find the path */
214  FR_INVALID_NAME, /* (6) The path name format is invalid */
215  FR_DENIED, /* (7) Access denied due to prohibited access or directory full */
216  FR_EXIST, /* (8) Access denied due to prohibited access */
217  FR_INVALID_OBJECT, /* (9) The file/directory object is invalid */
218  FR_WRITE_PROTECTED, /* (10) The physical drive is write protected */
219  FR_INVALID_DRIVE, /* (11) The logical drive number is invalid */
220  FR_NOT_ENABLED, /* (12) The volume has no work area */
221  FR_NO_FILESYSTEM, /* (13) There is no valid FAT volume */
222  FR_MKFS_ABORTED, /* (14) The f_mkfs() aborted due to any parameter error */
223  FR_TIMEOUT, /* (15) Could not get a grant to access the volume within defined period */
224  FR_LOCKED, /* (16) The operation is rejected according to the file sharing policy */
225  FR_NOT_ENOUGH_CORE, /* (17) LFN working buffer could not be allocated */
226  FR_TOO_MANY_OPEN_FILES, /* (18) Number of open files > _FS_SHARE */
227  FR_INVALID_PARAMETER /* (19) Given parameter is invalid */
228  } FRESULT;
229 
230 
231 
232  /*--------------------------------------------------------------*/
233  /* FatFs module application interface */
234 
235  FRESULT f_open (FIL* fp, const TCHAR* path, BYTE mode); /* Open or create a file */
236  FRESULT f_close (FIL* fp); /* Close an open file object */
237  FRESULT f_read (FIL* fp, void* buff, UINT btr, UINT* br); /* Read data from a file */
238  FRESULT f_write (FIL* fp, const void* buff, UINT btw, UINT* bw); /* Write data to a file */
239  FRESULT f_forward (FIL* fp, UINT(*func)(const BYTE*,UINT), UINT btf, UINT* bf); /* Forward data to the stream */
240  FRESULT f_lseek (FIL* fp, DWORD ofs); /* Move file pointer of a file object */
241  FRESULT f_truncate (FIL* fp); /* Truncate file */
242  FRESULT f_sync (FIL* fp); /* Flush cached data of a writing file */
243  FRESULT f_opendir (DIR* dp, const TCHAR* path); /* Open a directory */
244  FRESULT f_closedir (DIR* dp); /* Close an open directory */
245  FRESULT f_readdir (DIR* dp, FILINFO* fno); /* Read a directory item */
246  FRESULT f_findfirst (DIR* dp, FILINFO* fno, const TCHAR* path, const TCHAR* pattern); /* Find first file */
247  FRESULT f_findnext (DIR* dp, FILINFO* fno); /* Find next file */
248  FRESULT f_mkdir (const TCHAR* path); /* Create a sub directory */
249  FRESULT f_unlink (const TCHAR* path); /* Delete an existing file or directory */
250  FRESULT f_rename (const TCHAR* path_old, const TCHAR* path_new); /* Rename/Move a file or directory */
251  FRESULT f_stat (const TCHAR* path, FILINFO* fno); /* Get file status */
252  FRESULT f_chmod (const TCHAR* path, BYTE attr, BYTE mask); /* Change attribute of the file/dir */
253  FRESULT f_utime (const TCHAR* path, const FILINFO* fno); /* Change times-tamp of the file/dir */
254  FRESULT f_chdir (const TCHAR* path); /* Change current directory */
255  FRESULT f_chdrive (const TCHAR* path); /* Change current drive */
256  FRESULT f_getcwd (TCHAR* buff, UINT len); /* Get current directory */
257  FRESULT f_getfree (const TCHAR* path, DWORD* nclst, FATFS** fatfs); /* Get number of free clusters on the drive */
258  FRESULT f_getlabel (const TCHAR* path, TCHAR* label, DWORD* vsn); /* Get volume label */
259  FRESULT f_setlabel (const TCHAR* label); /* Set volume label */
260  FRESULT f_mount (FATFS* fs, const TCHAR* path, BYTE opt); /* Mount/Unmount a logical drive */
261  FRESULT f_mkfs (const TCHAR* path, BYTE sfd, UINT au); /* Create a file system on the volume */
262  FRESULT f_fdisk (BYTE pdrv, const DWORD szt[], void* work); /* Divide a physical drive into some partitions */
263  int f_putc (TCHAR c, FIL* fp); /* Put a character to the file */
264  int f_puts (const TCHAR* str, FIL* cp); /* Put a string to the file */
265  int f_printf (FIL* fp, const TCHAR* str, ...); /* Put a formatted string to the file */
266  TCHAR* f_gets (TCHAR* buff, int len, FIL* fp); /* Get a string from the file */
267 
268 #define f_eof(fp) ((int)((fp)->fptr == (fp)->fsize))
269 #define f_error(fp) ((fp)->err)
270 #define f_tell(fp) ((fp)->fptr)
271 #define f_size(fp) ((fp)->fsize)
272 #define f_rewind(fp) f_lseek((fp), 0)
273 #define f_rewinddir(dp) f_readdir((dp), 0)
274 
275 #ifndef EOF
276 #define EOF (-1)
277 #endif
278 
279 
280 
281 
282  /*--------------------------------------------------------------*/
283  /* Additional user defined functions */
284 
285  /* RTC function */
286 #if !_FS_READONLY && !_FS_NORTC
287  DWORD get_fattime (void);
288 #endif
289 
290  /* Unicode support functions */
291 #if _USE_LFN /* Unicode - OEM code conversion */
292  extern WCHAR ff_convert (WCHAR chr, UINT dir); /* OEM-Unicode bidirectional conversion */
293  extern WCHAR ff_wtoupper (WCHAR chr); /* Unicode upper-case conversion */
294 #if _USE_LFN == 3 /* Memory functions */
295  void* ff_memalloc (UINT msize); /* Allocate memory block */
296  void ff_memfree (void* mblock); /* Free memory block */
297 #endif
298 #endif
299 
300  /* Sync functions */
301 #if _FS_REENTRANT
302  int ff_cre_syncobj (BYTE vol, _SYNC_t* sobj); /* Create a sync object */
303  int ff_req_grant (_SYNC_t sobj); /* Lock sync object */
304  void ff_rel_grant (_SYNC_t sobj); /* Unlock sync object */
305  int ff_del_syncobj (_SYNC_t sobj); /* Delete a sync object */
306 #endif
307 
308 
309 
310 
311  /*--------------------------------------------------------------*/
312  /* Flags and offset address */
313 
314 
315  /* File access control and file status flags (FIL.flag) */
316 /*
317  FA_READ Specifies read access to the object. Data can be read from the file.
318  FA_WRITE Specifies write access to the object. Data can be written to the file. Combine with FA_READ for read-write access.
319  FA_OPEN_EXISTING Opens the file. The function fails if the file is not existing. (Default)
320  FA_OPEN_ALWAYS Opens the file if it is existing. If not, a new file will be created.
321  To append data to the file, use f_lseek function after the file open in this method.
322  FA_CREATE_NEW Creates a new file. The function fails with FR_EXIST if the file is existing.
323  FA_CREATE_ALWAYS Creates a new file. If the file is existing, it will be truncated and overwritten.
324 */
325 #define FA_READ 0x01
326 #define FA_OPEN_EXISTING 0x00
327 
328 #if !_FS_READONLY
329 #define FA_WRITE 0x02
330 #define FA_CREATE_NEW 0x04
331 #define FA_CREATE_ALWAYS 0x08
332 #define FA_OPEN_ALWAYS 0x10
333 #define FA__WRITTEN 0x20
334 #define FA__DIRTY 0x40
335 #endif
336 
337 
338  /* FAT sub type (FATFS.fs_type) */
339 
340 #define FS_FAT12 1
341 #define FS_FAT16 2
342 #define FS_FAT32 3
343 
344 
345  /* File attribute bits for directory entry */
346 
347 #define AM_RDO 0x01 /* Read only */
348 #define AM_HID 0x02 /* Hidden */
349 #define AM_SYS 0x04 /* System */
350 #define AM_VOL 0x08 /* Volume label */
351 #define AM_LFN 0x0F /* LFN entry */
352 #define AM_DIR 0x10 /* Directory */
353 #define AM_ARC 0x20 /* Archive */
354 #define AM_MASK 0x3F /* Mask of defined bits */
355 
356 
357  /* Fast seek feature */
358 #define CREATE_LINKMAP 0xFFFFFFFF
359 
360 
361 
362  /*--------------------------------*/
363  /* Multi-byte word access macros */
364 
365 #if _WORD_ACCESS == 1 /* Enable word access to the FAT structure */
366 #define LD_WORD(ptr) (WORD)(*(WORD*)(BYTE*)(ptr))
367 #define LD_DWORD(ptr) (DWORD)(*(DWORD*)(BYTE*)(ptr))
368 #define ST_WORD(ptr,val) *(WORD*)(BYTE*)(ptr)=(WORD)(val)
369 #define ST_DWORD(ptr,val) *(DWORD*)(BYTE*)(ptr)=(DWORD)(val)
370 #else /* Use byte-by-byte access to the FAT structure */
371 #define LD_WORD(ptr) (WORD)(((WORD)*((BYTE*)(ptr)+1)<<8)|(WORD)*(BYTE*)(ptr))
372 #define LD_DWORD(ptr) (DWORD)(((DWORD)*((BYTE*)(ptr)+3)<<24)|((DWORD)*((BYTE*)(ptr)+2)<<16)|((WORD)*((BYTE*)(ptr)+1)<<8)|*(BYTE*)(ptr))
373 #define ST_WORD(ptr,val) *(BYTE*)(ptr)=(BYTE)(val); *((BYTE*)(ptr)+1)=(BYTE)((WORD)(val)>>8)
374 #define ST_DWORD(ptr,val) *(BYTE*)(ptr)=(BYTE)(val); *((BYTE*)(ptr)+1)=(BYTE)((WORD)(val)>>8); *((BYTE*)(ptr)+2)=(BYTE)((DWORD)(val)>>16); *((BYTE*)(ptr)+3)=(BYTE)((DWORD)(val)>>24)
375 #endif
376 
377 #ifdef __cplusplus
378 }
379 #endif
380 
381 #endif /* _FATFS */
DWORD * cltbl
Definition: ff.h:144
uint16_t WORD
Definition: integer.h:15
uint16_t WCHAR
Definition: integer.h:16
FRESULT f_chdrive(const TCHAR *path)
FATFS * fs
Definition: ff.h:165
int f_puts(const TCHAR *str, FIL *cp)
WCHAR ff_wtoupper(WCHAR chr)
Definition: cc932.c:3786
WORD index
Definition: ff.h:167
DWORD n_fatent
Definition: ff.h:107
static FILINFO fno
Definition: mainwnd.c:98
UINT lockid
Definition: ff.h:147
DWORD sect
Definition: ff.h:170
int f_putc(TCHAR c, FIL *fp)
const TCHAR * pat
Definition: ff.h:181
DWORD database
Definition: ff.h:112
#define _MAX_SS
Definition: ffconf.h:203
WORD fdate
Definition: ff.h:192
DWORD last_clust
Definition: ff.h:101
Definition: ff.h:189
Definition: ff.h:214
uint32_t UINT
Definition: integer.h:20
FRESULT f_fdisk(BYTE pdrv, const DWORD szt[], void *work)
DWORD fsize
Definition: ff.h:135
Definition: ff.h:79
FRESULT f_mount(FATFS *fs, const TCHAR *path, BYTE opt)
Definition: ff.c:2741
FRESULT f_getlabel(const TCHAR *path, TCHAR *label, DWORD *vsn)
WORD ftime
Definition: ff.h:193
WORD id
Definition: ff.h:131
WORD id
Definition: ff.h:166
BYTE flag
Definition: ff.h:132
char TCHAR
Definition: ff.h:68
Definition: ff.h:219
Definition: ff.h:215
FRESULT f_chdir(const TCHAR *path)
Definition: ff.c:3302
FRESULT f_chmod(const TCHAR *path, BYTE attr, BYTE mask)
Definition: ff.c:4186
char str[6]
Definition: panvswr2.c:1674
BYTE * dir
Definition: ff.h:171
BYTE csize
Definition: ff.h:88
FRESULT f_readdir(DIR *dp, FILINFO *fno)
Definition: ff.c:3722
FRESULT f_read(FIL *fp, void *buff, UINT btr, UINT *br)
Definition: ff.c:2948
DWORD sclust
Definition: ff.h:168
FRESULT f_getfree(const TCHAR *path, DWORD *nclst, FATFS **fatfs)
Definition: ff.c:3864
BYTE fs_type
Definition: ff.h:86
WCHAR ff_convert(WCHAR chr, UINT dir)
Definition: cc932.c:3726
FRESULT f_mkdir(const TCHAR *path)
Definition: ff.c:4104
Definition: ff.h:210
FRESULT f_close(FIL *fp)
Definition: ff.c:3245
uint32_t DWORD
Definition: integer.h:24
Definition: ff.h:156
Definition: ff.h:209
FRESULT f_lseek(FIL *fp, DWORD ofs)
Definition: ff.c:3433
Definition: ff.h:216
FRESULT f_truncate(FIL *fp)
Definition: ff.c:3957
FRESULT f_forward(FIL *fp, UINT(*func)(const BYTE *, UINT), UINT btf, UINT *bf)
Definition: ff.h:212
BYTE n_fats
Definition: ff.h:89
UINT lockid
Definition: ff.h:174
DWORD winsect
Definition: ff.h:113
FRESULT f_closedir(DIR *dp)
Definition: ff.c:3689
DWORD fatbase
Definition: ff.h:110
Definition: ff.h:213
FRESULT f_stat(const TCHAR *path, FILINFO *fno)
Definition: ff.c:3824
FRESULT f_rename(const TCHAR *path_old, const TCHAR *path_new)
Definition: ff.c:4234
FRESULT f_write(FIL *fp, const void *buff, UINT btw, UINT *bw)
Definition: ff.c:3058
FRESULT
Definition: ff.h:206
Definition: ff.h:220
FRESULT f_sync(FIL *fp)
Definition: ff.c:3192
FRESULT f_open(FIL *fp, const TCHAR *path, BYTE mode)
Definition: ff.c:2790
WORD id
Definition: ff.h:92
DWORD sclust
Definition: ff.h:136
BYTE drv
Definition: ff.h:87
FRESULT f_mkfs(const TCHAR *path, BYTE sfd, UINT au)
Definition: ff.c:4630
Definition: ff.h:223
static LCDPoint pt
Definition: generator.c:35
DWORD get_fattime(void)
Gets Time from RTC.
Definition: screenshot.c:62
Definition: ff.h:226
BYTE fsi_flag
Definition: ff.h:91
DWORD cdir
Definition: ff.h:105
BYTE * dir_ptr
Definition: ff.h:141
uint8_t BYTE
Definition: integer.h:11
BYTE fattrib
Definition: ff.h:194
Definition: ff.h:222
__attribute__((aligned(32)))
Definition: main.c:70
DWORD dsect
Definition: ff.h:138
DWORD clust
Definition: ff.h:169
FRESULT f_setlabel(const TCHAR *label)
#define _SYNC_t
Definition: ffconf.h:262
BYTE err
Definition: ff.h:133
DWORD volbase
Definition: ff.h:109
Definition: ff.h:224
DWORD fsize
Definition: ff.h:191
FRESULT f_findfirst(DIR *dp, FILINFO *fno, const TCHAR *path, const TCHAR *pattern)
Definition: ff.c:3798
WORD n_rootdir
Definition: ff.h:93
FRESULT f_utime(const TCHAR *path, const FILINFO *fno)
Definition: ff.c:4325
Definition: ff.h:121
TCHAR * f_gets(TCHAR *buff, int len, FIL *fp)
int f_printf(FIL *fp, const TCHAR *str,...)
DWORD free_clust
Definition: ff.h:102
Definition: ff.h:208
BYTE wflag
Definition: ff.h:90
DWORD fptr
Definition: ff.h:134
DWORD clust
Definition: ff.h:137
Definition: ff.h:225
Definition: ff.h:227
Definition: ff.h:211
FATFS * fs
Definition: ff.h:130
DWORD dir_sect
Definition: ff.h:140
FRESULT f_findnext(DIR *dp, FILINFO *fno)
Definition: ff.c:3771
FRESULT f_opendir(DIR *dp, const TCHAR *path)
Definition: ff.c:3625
FRESULT f_unlink(const TCHAR *path)
Definition: ff.c:4024
FRESULT f_getcwd(TCHAR *buff, UINT len)
BYTE * fn
Definition: ff.h:172
Definition: ff.h:221
DWORD fsize
Definition: ff.h:108
Definition: ff.h:217
DWORD dirbase
Definition: ff.h:111
static char buf[64]
Definition: panvswr2.c:111
Definition: ff.h:218