mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
ATA pass through needs buffer position to be relative to structure so use accordingly.
This commit is contained in:
@@ -66,9 +66,9 @@ namespace DiscImageChef.Devices.Windows
|
||||
internal static extern bool DeviceIoControlAta(
|
||||
SafeFileHandle hDevice,
|
||||
WindowsIoctl IoControlCode,
|
||||
ref AtaPassThroughDirect InBuffer,
|
||||
ref AtaPassThroughDirectWithBuffer InBuffer,
|
||||
uint nInBufferSize,
|
||||
ref AtaPassThroughDirect OutBuffer,
|
||||
ref AtaPassThroughDirectWithBuffer OutBuffer,
|
||||
uint nOutBufferSize,
|
||||
ref uint pBytesReturned,
|
||||
IntPtr Overlapped
|
||||
|
||||
Reference in New Issue
Block a user