Files
SabreTools.Models/PortableExecutable/MessageResourceEntry.cs

26 lines
964 B
C#
Raw Normal View History

2023-09-04 00:12:49 -04:00
namespace SabreTools.Models.PortableExecutable
2023-09-04 00:11:04 -04:00
{
/// <summary>
/// Contains the error message or message box display text for a message table resource.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-message_resource_entry"/>
public sealed class MessageResourceEntry
{
/// <summary>
/// The length, in bytes, of the MESSAGE_RESOURCE_ENTRY structure.
/// </summary>
2023-09-10 21:24:10 -04:00
public ushort Length { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// Indicates that the string is encoded in Unicode, if equal to the value 0x0001.
/// Indicates that the string is encoded in ANSI, if equal to the value 0x0000.
/// </summary>
2023-09-10 21:24:10 -04:00
public ushort Flags { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// Pointer to an array that contains the error message or message box display text.
/// </summary>
2023-09-10 21:24:10 -04:00
public string? Text { get; set; }
2023-09-04 00:11:04 -04:00
}
}