Home |
Function USBDiskWriteSectors |
Function USBDiskWriteSectorsUSBDiskWriteSectors writes sectors to a USB disk device: int USBDiskWriteSectors(RTUDiskData * DeviceData, DWORD Sector, UINT Sectors, const void * Buffer); ParametersDevicePointer to an RTUDiskData structure associated with the desired disk (see USBDiskInitDevice). SectorLogical sector (zero-based) where writing should start. SectorsNumber of sectors to write. BufferPointer to a buffer with the data to write. return valueRTU_SUCCESS or a negative class specific error code or a standard error code on failure. This function is not able to write to CD-ROM or DVD drives.
|