- Joined
- Jul 18, 2005
- Messages
- 14
- Reaction score
- 0
Is there any decent way to retrieve the size of the ROM?
What I have so far:
Through DISK_IOCTL_GETNAME and DISK_IOCTL_GETINFO I retrieved that the iPAQ ROM is 4mb ( for the h6340 that is). I was also able to retrieve the size of the file store - ROM aswell - ( can be done by using FindFirstFlashCard / FindNextFlashCard or again through the use of DISK_IOCTL_GETNAME and DISK_IOCTL_GETINFO )
I was able to unlock the BINFS directory and GetDiskFreeSpaceEx gave me the total amount of 38781440 bytes.
Do I have to count these 3 values together in order to get the total amount of ROM, or am I missing something?
What I have so far:
Through DISK_IOCTL_GETNAME and DISK_IOCTL_GETINFO I retrieved that the iPAQ ROM is 4mb ( for the h6340 that is). I was also able to retrieve the size of the file store - ROM aswell - ( can be done by using FindFirstFlashCard / FindNextFlashCard or again through the use of DISK_IOCTL_GETNAME and DISK_IOCTL_GETINFO )
I was able to unlock the BINFS directory and GetDiskFreeSpaceEx gave me the total amount of 38781440 bytes.
Do I have to count these 3 values together in order to get the total amount of ROM, or am I missing something?