mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add GUID for tape device type for Windows.
This commit is contained in:
@@ -531,7 +531,8 @@ namespace DiscImageChef.Devices
|
|||||||
// I have to search for USB disks, floppies and CD-ROMs as separate device types
|
// I have to search for USB disks, floppies and CD-ROMs as separate device types
|
||||||
foreach (var devGuid in new[]
|
foreach (var devGuid in new[]
|
||||||
{
|
{
|
||||||
Usb.GuidDevinterfaceFloppy, Usb.GuidDevinterfaceCdrom, Usb.GuidDevinterfaceDisk
|
Usb.GuidDevinterfaceFloppy, Usb.GuidDevinterfaceCdrom, Usb.GuidDevinterfaceDisk,
|
||||||
|
Usb.GuidDevinterfaceTape
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
usbDevice = Usb.FindDrivePath(devicePath, devGuid);
|
usbDevice = Usb.FindDrivePath(devicePath, devGuid);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// /***************************************************************************
|
// /***************************************************************************
|
||||||
// The Disc Image Chef
|
// The Disc Image Chef
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
@@ -47,10 +47,11 @@ namespace DiscImageChef.Devices.Windows
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
static partial class Usb
|
static partial class Usb
|
||||||
{
|
{
|
||||||
const int IOCTL_STORAGE_GET_DEVICE_NUMBER = 0x2D1080;
|
private const int IOCTL_STORAGE_GET_DEVICE_NUMBER = 0x2D1080;
|
||||||
internal const string GuidDevinterfaceDisk = "53f56307-b6bf-11d0-94f2-00a0c91efb8b";
|
internal const string GuidDevinterfaceDisk = "53f56307-b6bf-11d0-94f2-00a0c91efb8b";
|
||||||
internal const string GuidDevinterfaceCdrom = "53f56308-b6bf-11d0-94f2-00a0c91efb8b";
|
internal const string GuidDevinterfaceCdrom = "53f56308-b6bf-11d0-94f2-00a0c91efb8b";
|
||||||
internal const string GuidDevinterfaceFloppy = "53f56311-b6bf-11d0-94f2-00a0c91efb8b";
|
internal const string GuidDevinterfaceFloppy = "53f56311-b6bf-11d0-94f2-00a0c91efb8b";
|
||||||
|
internal const string GuidDevinterfaceTape = "53f5630b-b6bf-11d0-94f2-00a0c91efb8b";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get a list of all connected devices
|
/// Get a list of all connected devices
|
||||||
|
|||||||
Reference in New Issue
Block a user