mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
27 lines
795 B
C#
27 lines
795 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.NewExecutable
|
|
{
|
|
/// <see href="https://web.archive.org/web/20240422070115/http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class InternalRefRelocationRecord
|
|
{
|
|
/// <summary>
|
|
/// Segment number for a fixed segment, or 0FFh for a
|
|
/// movable segment.
|
|
/// </summary>
|
|
public byte SegmentNumber;
|
|
|
|
/// <summary>
|
|
/// Always 0
|
|
/// </summary>
|
|
public byte Reserved;
|
|
|
|
/// <summary>
|
|
/// Offset into segment if fixed segment, or ordinal
|
|
/// number index into Entry Table if movable segment.
|
|
/// </summary>
|
|
public ushort Offset;
|
|
}
|
|
}
|