Home |
Function USBDiskReadSectors |
Function USBDiskReadSectorsUSBDiskReadSectors reads sectors from a USB disk device: int USBDiskReadSectors(RTUDiskData * DeviceData, DWORD Sector, UINT Sectors, void * Buffer); ParametersDevicePointer to an RTUDiskData structure associated with the desired disk (see USBDiskInitDevice). SectorLogical sector (zero-based) where reading should start. SectorsNumber of sectors to read. BufferPointer to a buffer to receive the read data. return valueRTU_SUCCESS or a negative class specific error code or a standard error code on failure. On CD-ROM and DVD drives, this function returns the 2048 byte CD-ROM Table of Content sector when sector number 0xFFFFFFFE is specified and exactly one sector is read.
|