mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Implemented ATA commands for Windows.
This commit is contained in:
@@ -144,7 +144,8 @@ namespace DiscImageChef.Devices
|
||||
{
|
||||
case Interop.PlatformID.Win32NT:
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return Windows.Command.SendAtaCommand((SafeFileHandle)fd, registers, out errorRegisters,
|
||||
protocol, ref buffer, timeout, out duration, out sense);
|
||||
}
|
||||
case Interop.PlatformID.Linux:
|
||||
{
|
||||
@@ -176,7 +177,8 @@ namespace DiscImageChef.Devices
|
||||
{
|
||||
case Interop.PlatformID.Win32NT:
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return Windows.Command.SendAtaCommand((SafeFileHandle)fd, registers, out errorRegisters,
|
||||
protocol, ref buffer, timeout, out duration, out sense);
|
||||
}
|
||||
case Interop.PlatformID.Linux:
|
||||
{
|
||||
@@ -208,7 +210,8 @@ namespace DiscImageChef.Devices
|
||||
{
|
||||
case Interop.PlatformID.Win32NT:
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return Windows.Command.SendAtaCommand((SafeFileHandle)fd, registers, out errorRegisters,
|
||||
protocol, ref buffer, timeout, out duration, out sense);
|
||||
}
|
||||
case Interop.PlatformID.Linux:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user