Different SD size by IOCTL_DISK_GET_LENGTH_INFO
Hardware & Devices
2
Posts
2
Posters
0
Views
1
Watching
-
Same SD card when used by USB card reader IOCTL_DISK_GET_LENGTH_INFO reports 979968 sectors, but when used in Texas Instruments PCI Integrated FlashMedia Controller IOCTL_DISK_GET_LENGTH_INFO reports 979776 sectors. Why they are so different?
yech wrote:
Same SD card when used by USB card reader IOCTL_DISK_GET_LENGTH_INFO reports 979968 sectors
IOCTL_DISK_GET_LENGTH_INFO[^] does not return the number of sectors it is returning the length in bytes of the object. Best Wishes, -David Delaune