mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added support for SecureDigital / MultiMediaCard on Windows.
This commit is contained in:
@@ -248,6 +248,7 @@ namespace DiscImageChef.Devices.Windows
|
||||
public short wIndex;
|
||||
public short wLength;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
struct USB_DESCRIPTOR_REQUEST
|
||||
{
|
||||
@@ -255,5 +256,34 @@ namespace DiscImageChef.Devices.Windows
|
||||
public USB_SETUP_PACKET SetupPacket;
|
||||
//public byte[] Data;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
struct SffdiskQueryDeviceProtocolData
|
||||
{
|
||||
public ushort size;
|
||||
public ushort reserved;
|
||||
public Guid protocolGuid;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
struct SffdiskDeviceCommandData
|
||||
{
|
||||
public ushort size;
|
||||
public ushort reserved;
|
||||
public SffdiskDcmd command;
|
||||
public ushort protocolArgumentSize;
|
||||
public uint deviceDataBufferSize;
|
||||
public uint information;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
struct SdCmdDescriptor
|
||||
{
|
||||
public byte commandCode;
|
||||
public SdCommandClass cmdClass;
|
||||
public SdTransferDirection transferDirection;
|
||||
public SdTransferType transferType;
|
||||
public SdResponseType responseType;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user