Added ATA/ATAPI IDENTIFY DEVICE disk tags.

This commit is contained in:
2015-10-19 00:32:48 +01:00
parent 4f407e3d15
commit e9e55162d9
6 changed files with 48 additions and 3 deletions

View File

@@ -1862,8 +1862,6 @@ namespace DiscImageChef.Decoders
return null;
}
//IdentifyDevice ATAID = new IdentifyDevice();
IntPtr ptr = Marshal.AllocHGlobal(512);
Marshal.Copy(IdentifyDeviceResponse, 0, ptr, 512);
IdentifyDevice ATAID = (IdentifyDevice)Marshal.PtrToStructure(ptr, typeof(IdentifyDevice));