30#define ATA_DEVICE_ATAPI 0x00000001
31#define ATA_DEVICE_LBA 0x00000002
32#define ATA_DEVICE_LBA48 0x00000004
33#define ATA_DEVICE_IS_NEC_CDR260 0x00000008
34#define ATA_DEVICE_FLAG_IO32 0x00000010
PDEVICE_UNIT AtaGetDevice(_In_ UCHAR UnitNumber)
struct _DEVICE_UNIT * PDEVICE_UNIT
struct _DEVICE_UNIT DEVICE_UNIT
Data structure for the ATA device.
BOOLEAN AtaInit(_Out_ PUCHAR DetectedCount)
BOOLEAN AtaReadLogicalSectors(_In_ PDEVICE_UNIT DeviceUnit, _In_ ULONG64 SectorNumber, _In_ ULONG SectorCount, _Out_writes_bytes_all_(SectorCount *DeviceUnit->SectorSize) PVOID Buffer)
#define _Out_writes_bytes_all_(s)
Data structure for the ATA device.