mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-11 05:35:15 +00:00
27 lines
749 B
C#
27 lines
749 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace BinaryObjectScanner.Models.NewExecutable
|
|
{
|
|
/// <see href="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>
|
|
/// 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;
|
|
}
|
|
}
|