2025-09-26 10:57:15 -04:00
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
|
|
#pragma warning disable CS0618 // 'UnmanagedType.AnsiBStr' is obsolete
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.InstallShieldArchiveV3
|
2025-09-26 10:57:15 -04:00
|
|
|
{
|
|
|
|
|
/// <see href="https://github.com/wfr/unshieldv3/blob/master/ISArchiveV3.h"/>
|
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
|
|
|
public class File
|
|
|
|
|
{
|
|
|
|
|
public byte VolumeEnd;
|
|
|
|
|
|
|
|
|
|
public ushort Index;
|
|
|
|
|
|
|
|
|
|
public uint UncompressedSize;
|
|
|
|
|
|
|
|
|
|
public uint CompressedSize;
|
|
|
|
|
|
|
|
|
|
public uint Offset;
|
|
|
|
|
|
|
|
|
|
public uint DateTime;
|
|
|
|
|
|
|
|
|
|
public uint Reserved0;
|
|
|
|
|
|
|
|
|
|
public ushort ChunkSize;
|
|
|
|
|
|
|
|
|
|
[MarshalAs(UnmanagedType.U1)]
|
|
|
|
|
public Attributes Attrib;
|
|
|
|
|
|
|
|
|
|
public byte IsSplit;
|
|
|
|
|
|
|
|
|
|
public byte Reserved1;
|
|
|
|
|
|
|
|
|
|
public byte VolumeStart;
|
|
|
|
|
|
|
|
|
|
[MarshalAs(UnmanagedType.AnsiBStr)]
|
2025-10-31 13:59:28 -04:00
|
|
|
public string Name = string.Empty;
|
2025-09-26 10:57:15 -04:00
|
|
|
}
|
2025-10-30 21:43:38 -04:00
|
|
|
}
|