using System.Runtime.InteropServices; namespace BurnOutSharp.Models.NewExecutable { /// /// The resource table follows the segment table and contains entries for /// each resource in the executable file. The resource table consists of /// an alignment shift count, followed by a table of resource records. The /// resource records define the type ID for a set of resources. Each /// resource record contains a table of resource entries of the defined /// type. The resource entry defines the resource ID or name ID for the /// resource. It also defines the location and size of the resource. The /// following describes the contents of each of these structures: /// /// [StructLayout(LayoutKind.Sequential)] public class ResourceTable { /// /// Alignment shift count for resource data. /// public ushort AlignmentShiftCount; /// /// A table of resource type information blocks follows. /// public ResourceTypeInformationEntry[] ResourceTypes; /// /// Resource type and name strings are stored at the end of the /// resource table. /// public ResourceTypeAndNameString[] TypeAndNameStrings; } }