Home |
Function USBDiskGetSize |
Function USBDiskGetSizeUSBDiskGetSize determines the sector size and the number of sectors on a disk: int USBDiskGetSize(RTUDiskData * DeviceData, DWORD * TotalSectors, DWORD * SectorSize); ParametersDevicePointer to an RTUDiskData structure associated with the desired disk (see USBDiskInitDevice). TotalSectorsPointer to a DWORD value to receive the total number of sectors on the disk. SectorSizePointer to a DWORD value to receive the sector size of the disk. return valueRTU_SUCCESS or a negative class specific error code or a standard error code on failure.
|