ReactOS  0.4.14-dev-599-g2d4d3f5
fatfs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FATEntry
 FAT file system file-entry. More...
 
struct  FATDirectory
 FAT file system directory-entry. More...
 
struct  BootSector
 
struct  BootSector32
 
struct  filetime
 
struct  filedate
 
struct  fattr
 
union  FAT_attribute
 
struct  DEntry_E
 
union  DEntry
 
struct  Buffer
 
struct  Cache
 
struct  dskrwblk
 
struct  dirent
 
struct  dirsecz
 
struct  Kette
 
struct  FATDrive
 FAT drive root entry. More...
 

Macros

#define BufLen   512
 
#define RONLY   0x01
 
#define HIDDEN   0x02
 
#define SYSTEM   0x04
 
#define VOLUME   0x08
 
#define DIRENT   0x10
 
#define ARCHIVE   0x20
 
#define _A_DELETED   0x40
 
#define _A_ILLEGAL   0x80
 
#define IS_LNAME(a)   ((a&0xFF)==0x0F)
 
#define FAT_DEL_CHAR   (char)0xe5
 
#define AddP(p, s)   {(int&)p += s;}
 
#define MK_P(ofs)   ((void*) ((size_t)(ofs)))
 
#define MK_LONG(l, h)   ((DWORD)WORD(l)|((DWORD)WORD(h)<<16))
 
#define spoke(ofs, w)   (*((BYTE*)MK_P(ofs)) = (BYTE)(w))
 
#define wpoke(ofs, w)   (*((WORD*)MK_P(ofs)) = (WORD)(w))
 
#define dpoke(ofs, w)   (*((DWORD*)MK_P(ofs)) = (DWORD)(w))
 
#define speek(ofs)   (*((BYTE*)MK_P(ofs)))
 
#define wpeek(ofs)   (*((WORD*)MK_P(ofs)))
 
#define dpeek(p)   (*((DWORD*)MK_P(p)))
 
#define CACHE_SIZE_LOW   32
 

Macro Definition Documentation

◆ _A_DELETED

#define _A_DELETED   0x40

Definition at line 190 of file fatfs.h.

◆ _A_ILLEGAL

#define _A_ILLEGAL   0x80

Definition at line 191 of file fatfs.h.

◆ AddP

#define AddP (   p,
  s 
)    {(int&)p += s;}

Definition at line 196 of file fatfs.h.

◆ ARCHIVE

#define ARCHIVE   0x20

Definition at line 188 of file fatfs.h.

◆ BufLen

#define BufLen   512

Definition at line 167 of file fatfs.h.

◆ CACHE_SIZE_LOW

#define CACHE_SIZE_LOW   32

Definition at line 243 of file fatfs.h.

◆ DIRENT

#define DIRENT   0x10

Definition at line 187 of file fatfs.h.

◆ dpeek

#define dpeek (   p)    (*((DWORD*)MK_P(p)))

Definition at line 221 of file fatfs.h.

◆ dpoke

#define dpoke (   ofs,
  w 
)    (*((DWORD*)MK_P(ofs)) = (DWORD)(w))

Definition at line 218 of file fatfs.h.

◆ FAT_DEL_CHAR

#define FAT_DEL_CHAR   (char)0xe5

Definition at line 194 of file fatfs.h.

◆ HIDDEN

#define HIDDEN   0x02

Definition at line 184 of file fatfs.h.

◆ IS_LNAME

#define IS_LNAME (   a)    ((a&0xFF)==0x0F)

Definition at line 192 of file fatfs.h.

◆ MK_LONG

#define MK_LONG (   l,
  h 
)    ((DWORD)WORD(l)|((DWORD)WORD(h)<<16))

Definition at line 214 of file fatfs.h.

◆ MK_P

#define MK_P (   ofs)    ((void*) ((size_t)(ofs)))

Definition at line 213 of file fatfs.h.

◆ RONLY

#define RONLY   0x01

Definition at line 183 of file fatfs.h.

◆ speek

#define speek (   ofs)    (*((BYTE*)MK_P(ofs)))

Definition at line 219 of file fatfs.h.

◆ spoke

#define spoke (   ofs,
  w 
)    (*((BYTE*)MK_P(ofs)) = (BYTE)(w))

Definition at line 216 of file fatfs.h.

◆ SYSTEM

#define SYSTEM   0x04

Definition at line 185 of file fatfs.h.

◆ VOLUME

#define VOLUME   0x08

Definition at line 186 of file fatfs.h.

◆ wpeek

#define wpeek (   ofs)    (*((WORD*)MK_P(ofs)))

Definition at line 220 of file fatfs.h.

◆ wpoke

#define wpoke (   ofs,
  w 
)    (*((WORD*)MK_P(ofs)) = (WORD)(w))

Definition at line 217 of file fatfs.h.