mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Corrected kernel32.dll entry points.
This commit is contained in:
@@ -50,7 +50,7 @@ namespace DiscImageChef.Devices.Windows
|
|||||||
[MarshalAs(UnmanagedType.U4)] FileAttributes flagsAndAttributes,
|
[MarshalAs(UnmanagedType.U4)] FileAttributes flagsAndAttributes,
|
||||||
IntPtr templateFile);
|
IntPtr templateFile);
|
||||||
|
|
||||||
[DllImport("Kernel32.dll", SetLastError = true, EntryPoint = "ioctl", CharSet = CharSet.Auto)]
|
[DllImport("Kernel32.dll", SetLastError = true, EntryPoint = "DeviceIoControl", CharSet = CharSet.Auto)]
|
||||||
internal static extern bool DeviceIoControlScsi(
|
internal static extern bool DeviceIoControlScsi(
|
||||||
SafeFileHandle hDevice,
|
SafeFileHandle hDevice,
|
||||||
WindowsIoctl IoControlCode,
|
WindowsIoctl IoControlCode,
|
||||||
@@ -62,7 +62,7 @@ namespace DiscImageChef.Devices.Windows
|
|||||||
IntPtr Overlapped
|
IntPtr Overlapped
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport("Kernel32.dll", SetLastError = true, EntryPoint = "ioctl", CharSet = CharSet.Auto)]
|
[DllImport("Kernel32.dll", SetLastError = true, EntryPoint = "DeviceIoControl", CharSet = CharSet.Auto)]
|
||||||
internal static extern bool DeviceIoControlAta(
|
internal static extern bool DeviceIoControlAta(
|
||||||
SafeFileHandle hDevice,
|
SafeFileHandle hDevice,
|
||||||
WindowsIoctl IoControlCode,
|
WindowsIoctl IoControlCode,
|
||||||
|
|||||||
Reference in New Issue
Block a user