2022-11-04 09:40:29 -07:00
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
|
|
|
|
namespace BurnOutSharp.Models.NewExecutable
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <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"/>
|
|
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
2022-12-27 17:12:55 -08:00
|
|
|
|
public sealed class ModuleReferenceTableEntry
|
2022-11-04 09:40:29 -07:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Offset within Imported Names Table to referenced module name string.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public ushort Offset;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|