Summary:
As part of a PC? recovery/'factory default facility'? I'm looking for a DLL which when called needs to be able to:
- Read the partition table of all installed Hard Disk Drives in an?
? ? Intel? based? PC.
- Have the ability to read the partition type of the following partitions:
? ? ? ? Visible? Partition Type? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? 00? ? ? ? ? ? ? ? Empty
? ? ? 01? ? ? ? ? ? ? DOS? 12-bit? FAT
? ? ? ? 04? ? ? ? ? ? ? ? DOS 16-bit FAT (upto 32M)
? ? ? ? 06? ? ? ? ? ? 16-bit FAT (upto 2048M (2Gb)
? ? ? ? 07? ? ? ? ? ? ? Windows NTFS
? ? ? ? 11? ? ? ? ? ? Win95 OSR2 FAT32
? ? ? ? 12 ? ? ? ? ? Win95 OSR2 FAT32, LBA
? ? ? ? 14? ? ? ? ? ? ? Win95 DOS 16-bit FAT
? ? ? ? 15? ? ? ? ? ? ? Extended DOS, LBA
Also type 05 which I believe to be 'Extended'
- Be able to change the value of any one of these 'Visible' partiton types, if selected, to their hidden equivalents, (00,17,20,22,23,27,28,30,31 respectively) and finally, write this ammended partition information back to which ever? hard disk owns the particulat partition.
This process needs to be reversable, ie if a given partition is visible it must be able to be made hidden and vice versa if selected.