2024-04-23 13:30:43 -04:00
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
|
|
|
|
namespace SabreTools.Models.NewExecutable
|
2023-09-04 00:11:04 -04:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The module-reference table follows the resident-name table. Each entry
|
|
|
|
|
|
/// contains an offset for the module-name string within the imported-
|
|
|
|
|
|
/// names table; each entry is 2 bytes long.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <see href="http://bytepointer.com/resources/win16_ne_exe_format_win3.0.htm"/>
|
2024-04-23 13:30:43 -04:00
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
2023-09-04 00:11:04 -04:00
|
|
|
|
public sealed class ModuleReferenceTableEntry
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Offset within Imported Names Table to referenced module name string.
|
|
|
|
|
|
/// </summary>
|
2024-04-23 13:30:43 -04:00
|
|
|
|
public ushort Offset;
|
2023-09-04 00:11:04 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|