2020-02-27 12:31:25 +00:00
|
|
|
// Aaru Data Preservation Suite
|
2018-08-29 13:09:04 +02:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// Filename : Unsupported.cs
|
|
|
|
|
// Author(s) : Michael Drüing <michael@drueing.de>
|
|
|
|
|
//
|
|
|
|
|
// Component : Disk image plugins.
|
|
|
|
|
//
|
|
|
|
|
// --[ Description ] ----------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// Contains features unsupported by d2f disk images.
|
|
|
|
|
//
|
|
|
|
|
// --[ License ] --------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// This library is free software; you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU Lesser General Public License as
|
|
|
|
|
// published by the Free Software Foundation; either version 2.1 of the
|
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
|
//
|
|
|
|
|
// This library is distributed in the hope that it will be useful, but
|
|
|
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
// Lesser General Public License for more details.
|
|
|
|
|
//
|
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
//
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2024-12-19 10:45:18 +00:00
|
|
|
// Copyright © 2018-2025 Michael Drüing
|
|
|
|
|
// Copyright © 2011-2025 Natalia Portillo
|
2018-08-29 13:09:04 +02:00
|
|
|
// ****************************************************************************/
|
|
|
|
|
|
2023-10-05 01:05:23 +01:00
|
|
|
using System.Diagnostics.CodeAnalysis;
|
2022-03-07 07:36:44 +00:00
|
|
|
using Aaru.CommonTypes.Enums;
|
|
|
|
|
|
2023-10-06 01:16:28 +01:00
|
|
|
namespace Aaru.Images;
|
2022-11-15 15:58:43 +00:00
|
|
|
|
2023-10-05 01:05:23 +01:00
|
|
|
[SuppressMessage("ReSharper", "UnusedType.Global")]
|
2022-03-06 13:29:38 +00:00
|
|
|
public sealed partial class WCDiskImage
|
2018-08-29 13:09:04 +02:00
|
|
|
{
|
2023-10-03 23:34:59 +01:00
|
|
|
#region IMediaImage Members
|
|
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
/// <inheritdoc />
|
|
|
|
|
public ErrorNumber ReadMediaTag(MediaTagType tag, out byte[] buffer)
|
2018-08-29 13:09:04 +02:00
|
|
|
{
|
2022-03-06 13:29:38 +00:00
|
|
|
buffer = null;
|
2021-09-18 15:01:31 +01:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
return ErrorNumber.NotSupported;
|
|
|
|
|
}
|
2018-08-29 13:09:04 +02:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
/// <inheritdoc />
|
2025-10-23 03:07:43 +01:00
|
|
|
public ErrorNumber ReadSectorTag(ulong sectorAddress, bool negative, SectorTagType tag, out byte[] buffer)
|
2022-03-06 13:29:38 +00:00
|
|
|
{
|
|
|
|
|
buffer = null;
|
2021-09-20 20:52:18 +01:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
return ErrorNumber.NotSupported;
|
|
|
|
|
}
|
2018-08-29 13:09:04 +02:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
/// <inheritdoc />
|
2025-10-23 03:07:43 +01:00
|
|
|
public ErrorNumber ReadSectorsTag(ulong sectorAddress, bool negative, uint length, SectorTagType tag,
|
|
|
|
|
out byte[] buffer)
|
2022-03-06 13:29:38 +00:00
|
|
|
{
|
|
|
|
|
buffer = null;
|
2021-09-20 20:52:18 +01:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
return ErrorNumber.NotSupported;
|
|
|
|
|
}
|
2018-08-29 13:09:04 +02:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
/// <inheritdoc />
|
2025-10-23 03:07:43 +01:00
|
|
|
public ErrorNumber ReadSectorLong(ulong sectorAddress, bool negative, out byte[] buffer,
|
|
|
|
|
out SectorStatus sectorStatus)
|
2022-03-06 13:29:38 +00:00
|
|
|
{
|
2025-10-22 14:28:58 +01:00
|
|
|
buffer = null;
|
|
|
|
|
sectorStatus = SectorStatus.NotDumped;
|
2021-09-20 14:22:22 +01:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
return ErrorNumber.NotSupported;
|
|
|
|
|
}
|
2018-08-29 13:09:04 +02:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
/// <inheritdoc />
|
2025-10-23 03:07:43 +01:00
|
|
|
public ErrorNumber ReadSectorsLong(ulong sectorAddress, bool negative, uint length, out byte[] buffer,
|
2025-10-22 14:28:58 +01:00
|
|
|
out SectorStatus[] sectorStatus)
|
2022-03-06 13:29:38 +00:00
|
|
|
{
|
2025-10-22 14:28:58 +01:00
|
|
|
buffer = null;
|
|
|
|
|
sectorStatus = null;
|
2021-09-20 14:22:22 +01:00
|
|
|
|
2022-03-06 13:29:38 +00:00
|
|
|
return ErrorNumber.NotSupported;
|
2018-08-29 13:09:04 +02:00
|
|
|
}
|
2023-10-03 23:34:59 +01:00
|
|
|
|
|
|
|
|
#endregion
|
2018-08-29 13:09:04 +02:00
|
|
|
}
|