2022-11-11 16:20:17 -08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
2023-03-07 16:59:14 -05:00
|
|
|
|
namespace BinaryObjectScanner.Models.PortableExecutable
|
2022-11-11 15:41:37 -08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Contains information about formatted text for display as an error message or in a message
|
|
|
|
|
|
/// box in a message table resource.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-message_resource_data"/>
|
2022-12-27 17:12:55 -08:00
|
|
|
|
public sealed class MessageResourceData
|
2022-11-11 15:41:37 -08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The number of MESSAGE_RESOURCE_BLOCK structures.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public uint NumberOfBlocks;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// An array of structures. The array is the size indicated by the NumberOfBlocks member.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public MessageResourceBlock[] Blocks;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Message resource entries
|
|
|
|
|
|
/// </summary>
|
2022-11-11 16:20:17 -08:00
|
|
|
|
public Dictionary<uint, MessageResourceEntry> Entries;
|
2022-11-11 15:41:37 -08:00
|
|
|
|
}
|
|
|
|
|
|
}
|