ReactOS  0.4.14-dev-358-gbef841c
FATDrive Struct Reference

FAT drive root entry. More...

#include <fatfs.h>

Inheritance diagram for FATDrive:
Collaboration diagram for FATDrive:

Public Member Functions

 FATDrive (LPCTSTR path)
 
 ~FATDrive ()
 
bool read_sector (DWORD sec, Buffer *buf, int len)
 
DWORD read_FAT (DWORD Clus, bool &ok)
 
void small_cache ()
 
void reset_cache ()
 
bool read_cache (DWORD sec, Buffer **bufptr)
 
int get_cache_buffer ()
 
- Public Member Functions inherited from FATDirectory
 FATDirectory (FATDrive &drive, LPCTSTR root_path)
 
 FATDirectory (FATDrive &drive, Entry *parent, LPCTSTR path, unsigned cluster)
 
 ~FATDirectory ()
 
virtual void read_directory (int scan_flags=0)
 
virtual const voidget_next_path_component (const void *) const
 
virtual Entryfind_entry (const void *)
 
- Public Member Functions inherited from FATEntry
 FATEntry (Entry *parent, unsigned cluster)
 
- Public Member Functions inherited from Entry
virtual ~Entry ()
 
void free_subentries ()
 
void read_directory_base (SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0)
 
Entryread_tree (const void *path, SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0)
 
void sort_directory (SORT_ORDER sortOrder)
 
void smart_scan (SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0)
 
int extract_icon (ICONCACHE_FLAGS flags=ICF_NORMAL)
 
int safe_extract_icon (ICONCACHE_FLAGS flags=ICF_NORMAL)
 
virtual HRESULT GetUIObjectOf (HWND hWnd, REFIID riid, LPVOID *ppvOut)
 
virtual ShellFolder get_shell_folder () const
 
virtual BOOL launch_entry (HWND hwnd, UINT nCmdShow=SW_SHOWNORMAL)
 
virtual HRESULT do_context_menu (HWND hwnd, const POINT &pos, CtxMenuInterfaces &cm_ifs)
 

Public Attributes

HANDLE _hDrive
 
BootSector _boot_sector
 
int _bufl
 
int _bufents
 
int _SClus
 
Cache_FATCache
 
int _CacheCount
 
DWORD_CacheSec
 
int_CacheCnt
 
bool_CacheDty
 
int _Caches
 
bool _cache_empty
 
int _read_ahead
 
- Public Attributes inherited from Entry
Entry_next
 
Entry_down
 
Entry_up
 
bool _expanded
 
bool _scanned
 
int _level
 
WIN32_FIND_DATA _data
 
SFGAOF _shell_attribs
 
LPTSTR _display_name
 
LPTSTR _type_name
 
LPTSTR _content
 
ENTRY_TYPE _etype
 
int _icon_id
 
BY_HANDLE_FILE_INFORMATION _bhfi
 
bool _bhfi_valid
 

Additional Inherited Members

- Protected Member Functions inherited from FATDirectory
bool read_dir ()
 
- Protected Member Functions inherited from FATEntry
 FATEntry ()
 
virtual bool get_path (PTSTR path, size_t path_count) const
 
virtual ShellPath create_absolute_pidl () const
 
- Protected Member Functions inherited from Entry
 Entry (ENTRY_TYPE etype)
 
 Entry (Entry *parent, ENTRY_TYPE etype)
 
 Entry (const Entry &)
 
bool get_path_base (PTSTR path, size_t path_count, ENTRY_TYPE etype) const
 
- Protected Member Functions inherited from Directory
 Directory ()
 
virtual ~Directory ()
 
- Protected Attributes inherited from FATDirectory
FATDrive_drive
 
struct dirsecz_secarr
 
int _cur_bufs
 
int _ents
 
struct dirent_dir
 
struct Kette_alloc
 
- Protected Attributes inherited from FATEntry
DWORD _cluster
 
- Protected Attributes inherited from Directory
void_path
 

Detailed Description

FAT drive root entry.

Definition at line 225 of file fatfs.h.

Constructor & Destructor Documentation

◆ FATDrive()

FATDrive::FATDrive ( LPCTSTR  path)

◆ ~FATDrive()

FATDrive::~FATDrive ( )

Member Function Documentation

◆ get_cache_buffer()

int FATDrive::get_cache_buffer ( )

◆ read_cache()

bool FATDrive::read_cache ( DWORD  sec,
Buffer **  bufptr 
)

◆ read_FAT()

DWORD FATDrive::read_FAT ( DWORD  Clus,
bool ok 
)

◆ read_sector()

bool FATDrive::read_sector ( DWORD  sec,
Buffer buf,
int  len 
)

◆ reset_cache()

void FATDrive::reset_cache ( )

◆ small_cache()

void FATDrive::small_cache ( )

Member Data Documentation

◆ _boot_sector

BootSector FATDrive::_boot_sector

Definition at line 238 of file fatfs.h.

◆ _bufents

int FATDrive::_bufents

Definition at line 240 of file fatfs.h.

◆ _bufl

int FATDrive::_bufl

Definition at line 239 of file fatfs.h.

◆ _cache_empty

bool FATDrive::_cache_empty

Definition at line 250 of file fatfs.h.

◆ _CacheCnt

int* FATDrive::_CacheCnt

Definition at line 247 of file fatfs.h.

◆ _CacheCount

int FATDrive::_CacheCount

Definition at line 245 of file fatfs.h.

◆ _CacheDty

bool* FATDrive::_CacheDty

Definition at line 248 of file fatfs.h.

◆ _Caches

int FATDrive::_Caches

Definition at line 249 of file fatfs.h.

◆ _CacheSec

DWORD* FATDrive::_CacheSec

Definition at line 246 of file fatfs.h.

◆ _FATCache

Cache* FATDrive::_FATCache

Definition at line 244 of file fatfs.h.

◆ _hDrive

HANDLE FATDrive::_hDrive

Definition at line 237 of file fatfs.h.

◆ _read_ahead

int FATDrive::_read_ahead

Definition at line 251 of file fatfs.h.

◆ _SClus

int FATDrive::_SClus

Definition at line 241 of file fatfs.h.


The documentation for this struct was generated from the following file: