using System.Runtime.InteropServices; namespace BurnOutSharp.Models.NewExecutable { /// /// A table of resources for this type follows. The following is /// the format of each resource (8 bytes each): /// /// [StructLayout(LayoutKind.Sequential)] public class ResourceTypeResourceEntry { /// /// File offset to the contents of the resource data, /// relative to beginning of file. The offset is in terms /// of the alignment shift count value specified at /// beginning of the resource table. /// public ushort Offset; /// /// Length of the resource in the file (in bytes). /// public ushort Length; /// /// Flag word. /// public ResourceTypeResourceFlag FlagWord; /// /// Resource ID. This is an integer type if the high-order /// bit is set (8000h), otherwise it is the offset to the /// resource string, the offset is relative to the /// beginning of the resource table. /// public ushort ResourceID; /// /// Reserved. /// public uint Reserved; } }