22#ifndef FF_TYPES_DEFINED
23#define FF_TYPES_DEFINED
40typedef unsigned int UINT;
41typedef unsigned char BYTE;
43typedef uint32_t DWORD;
52#error exFAT feature wants C99 or later
62#error exFAT needs to be enabled when enable 64-bit LBA
72#if FF_USE_LFN && FF_LFN_UNICODE == 1
75#define _TEXT(x) L ## x
76#elif FF_USE_LFN && FF_LFN_UNICODE == 2
79#define _TEXT(x) u8 ## x
80#elif FF_USE_LFN && FF_LFN_UNICODE == 3
83#define _TEXT(x) U ## x
84#elif FF_USE_LFN && (FF_LFN_UNICODE < 0 || FF_LFN_UNICODE > 3)
85#error Wrong FF_LFN_UNICODE setting
101extern PARTITION VolToPart[];
105#ifndef FF_VOLUME_STRS
106extern const char* __generic_ptr VolumeStr[FF_VOLUMES];
124#if FF_MAX_SS != FF_MIN_SS
219 const TCHAR* __generic_ptr pat;
233 TCHAR altname[FF_SFN_BUF + 1];
234 TCHAR fname[FF_LFN_BUF + 1];
275 FR_TOO_MANY_OPEN_FILES,
293#if !FF_FS_READONLY && !FF_FS_NORTC
294DWORD get_fattime (
void);
301WCHAR ff_oem2uni (WCHAR oem, WORD cp);
302WCHAR ff_uni2oem (DWORD uni, WORD cp);
303DWORD ff_wtoupper (DWORD uni);
310void* ff_memalloc (UINT msize);
311void ff_memfree (
void* mblock);
314int ff_mutex_create (
int vol);
315void ff_mutex_delete (
int vol);
316int ff_mutex_take (
int vol);
317void ff_mutex_give (
int vol);
330#define FA_OPEN_EXISTING 0x00
331#define FA_CREATE_NEW 0x04
332#define FA_CREATE_ALWAYS 0x08
333#define FA_OPEN_ALWAYS 0x10
334#define FA_OPEN_APPEND 0x30
337#define CREATE_LINKMAP ((FSIZE_t)0 - 1)
Definition ff_types.h:208
Definition ff_types.h:114
Definition ff_types.h:162
Definition ff_types.h:227
Definition ff_types.h:185
Definition ff_types.h:244