mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-20 05:03:11 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.PortableExecutable.Resource.Entries
|
|
{
|
|
/// <summary>
|
|
/// Contains information about message strings with identifiers in the range indicated
|
|
/// by the LowId and HighId members.
|
|
/// </summary>
|
|
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-message_resource_block"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class MessageResourceBlock
|
|
{
|
|
/// <summary>
|
|
/// The lowest message identifier contained within this structure.
|
|
/// </summary>
|
|
public uint LowId;
|
|
|
|
/// <summary>
|
|
/// The highest message identifier contained within this structure.
|
|
/// </summary>
|
|
public uint HighId;
|
|
|
|
/// <summary>
|
|
/// The offset, in bytes, from the beginning of the MESSAGE_RESOURCE_DATA structure to the
|
|
/// MESSAGE_RESOURCE_ENTRY structures in this MESSAGE_RESOURCE_BLOCK. The MESSAGE_RESOURCE_ENTRY
|
|
/// structures contain the message strings.
|
|
/// </summary>
|
|
public uint OffsetToEntries;
|
|
}
|
|
}
|