I need to find the number of sectors on a drive(LBA). I have used the DeviceIocontrol and the IOCTL_DISK_GET_DRIVE_GEOMETRY, then accessed the data members, but these seem to return the CHS capacity. my 14 GB drive returns cylinders =1024 head = 255 Sector =63 bytes per sector =512. This results in 1024*255*63*512/1mil which is about 8.4 gigs, the chs limit. This would indicate that the drive has 16514064 sectors, but I don't think that this is correct. Does anyone have an idea of how to do this?