C
typedef struct { BYTE * buffer; DWORD firsts; DWORD fat; DWORD root; DWORD data; WORD maxroot; DWORD maxcls; WORD fatsize; BYTE fatcopy; BYTE SecPerClus; BYTE type; BYTE mount; } DISK;
Description
The DISK structure contains information about the device being accessed.
Members
|
Members |
Description |
|
BYTE * buffer; |
Address of the global data buffer used to read and write file information |
|
DWORD firsts; |
Logical block address of the first sector of the FAT partition on the device |
|
DWORD fat; |
Logical block address of the FAT |
|
DWORD root; |
Logical block address of the root directory |
|
DWORD data; |
Logical block address of the data section of the device. |
|
WORD maxroot; |
The maximum number of entries in the root directory. |
|
DWORD maxcls; |
The maximum number of clusters in the partition. |
|
WORD fatsize; |
The number of sectors in the FAT |
|
BYTE fatcopy; |
The number of copies of the FAT in the partition |
|
BYTE SecPerClus; |
The number of sectors per cluster in the data region |
|
BYTE type; | |
|
BYTE mount; |