From ac84a5f1e633f800887f858e9b02361c08073a98 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 21 Aug 2017 04:28:16 +0100 Subject: [PATCH] Added some comments. --- DiscImageChef.Devices/Windows/Structs.cs | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/DiscImageChef.Devices/Windows/Structs.cs b/DiscImageChef.Devices/Windows/Structs.cs index d23d2f172..e637587a7 100644 --- a/DiscImageChef.Devices/Windows/Structs.cs +++ b/DiscImageChef.Devices/Windows/Structs.cs @@ -66,17 +66,53 @@ namespace DiscImageChef.Devices.Windows struct AtaPassThroughDirect { + /// + /// Length in bytes of this structure + /// public ushort Length; + /// + /// Indicates transfer direction and kind of operation + /// public AtaFlags AtaFlags; + /// + /// Indicates IDE port or bus, set by driver + /// public byte PathId; + /// + /// Indicates target device on bus, set by driver + /// public byte TargetId; + /// + /// Indicates logical unit number of device, set by driver + /// public byte Lun; + /// + /// Reserved + /// public byte ReservedAsUchar; + /// + /// Data transfer length in bytes + /// public uint DataTransferLength; + /// + /// Timeout value in seconds + /// public uint TimeOutValue; + /// + /// Reserved + /// public uint ReservedAsUlong; + /// + /// Pointer to data buffer + /// public IntPtr DataBuffer; + /// + /// Previous ATA registers, for LBA48 + /// public AtaTaskFile PreviousTaskFile; + /// + /// ATA registers + /// public AtaTaskFile CurrentTaskFile; }