mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add packet for get device type.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Runtime.InteropServices;
|
||||
using DiscImageChef.CommonTypes.Enums;
|
||||
using DiscImageChef.Decoders.ATA;
|
||||
|
||||
namespace DiscImageChef.Devices.Remote
|
||||
@@ -201,4 +202,17 @@ namespace DiscImageChef.Devices.Remote
|
||||
public uint sense;
|
||||
public uint errno;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct DicPacketCmdGetDeviceType
|
||||
{
|
||||
private readonly DicPacketHeader hdr;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
|
||||
public struct DicPacketResGetDeviceType
|
||||
{
|
||||
private readonly DicPacketHeader hdr;
|
||||
private readonly DeviceType device_type;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user