mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added support for ATA commands using Windows 2000/XP undocumented
IOCTL that predates Windows 2003 documented one.
This commit is contained in:
@@ -194,5 +194,23 @@ namespace DiscImageChef.Devices.Windows
|
||||
public uint RawPropertiesLength;
|
||||
public byte[] RawDeviceProperties;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
struct IdePassThroughDirect
|
||||
{
|
||||
/// <summary>
|
||||
/// ATA registers
|
||||
/// </summary>
|
||||
public AtaTaskFile CurrentTaskFile;
|
||||
/// <summary>
|
||||
/// Size of data buffer
|
||||
/// </summary>
|
||||
public uint DataBufferSize;
|
||||
/// <summary>
|
||||
/// Data buffer
|
||||
/// </summary>
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 512)]
|
||||
public byte[] DataBuffer;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user