Files
BinaryObjectScanner/BinaryObjectScanner.Models/PortableExecutable/MessageResourceEntry.cs

26 lines
933 B
C#
Raw Normal View History

2023-03-07 16:59:14 -05:00
namespace BinaryObjectScanner.Models.PortableExecutable
2022-11-11 15:41:37 -08: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"/>
2022-12-27 17:12:55 -08:00
public sealed class MessageResourceEntry
2022-11-11 15:41:37 -08:00
{
/// <summary>
/// The length, in bytes, of the MESSAGE_RESOURCE_ENTRY structure.
/// </summary>
public ushort Length;
/// <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>
public ushort Flags;
/// <summary>
/// Pointer to an array that contains the error message or message box display text.
/// </summary>
public string Text;
}
}