This file defines initialization code for the file management data of PwnOS.
| FilesInit.asm | This file defines initialization code for the file management data of PwnOS. |
| Functions | |
| InitFiles | This procedure initializes the Core file management data. |
| InitNTFSPartition | This procedure initializes the data for an NTFS partition. |
| InitExtendedPartition | This procedure initializes the data for an extended partition. |
This procedure initializes the data for an NTFS partition.
| nDrive | number of the ATA drive (from 0 to 3) |
| pParent | address of the parent ATADEVICEINFO or PARTITIONINFO structure |
| nPartitionTimes4 | number of this partition within the parent partition or drive |
| FirstSector | first sector of this partition on the drive |
| nSectors | number of sectors in this partition |
| Flags | miscellaneous flags, e.g. PARTITIONINFO_FLAG_BOOTABLE |
This procedure initializes the data for an extended partition.
| nDrive | number of the ATA drive (from 0 to 3) |
| pParent | address of the parent ATADEVICEINFO or PARTITIONINFO structure |
| nPartitionTimes4 | number of this partition within the parent partition or drive |
| FirstSector | first sector of this partition on the drive |
| nSectors | number of sectors in this partition |
| Flags | miscellaneous flags, e.g. PARTITIONINFO_FLAG_BOOTABLE |