Files
SabreTools.Models/PortableExecutable/AcceleratorTableEntry.cs

32 lines
1.2 KiB
C#
Raw Normal View History

namespace SabreTools.Models.PortableExecutable
2023-09-04 00:11:04 -04:00
{
/// <summary>
/// Describes the data in an individual accelerator table resource. The structure definition
/// provided here is for explanation only; it is not present in any standard header file.
/// </summary>
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/acceltableentry"/>
public sealed class AcceleratorTableEntry
{
/// <summary>
/// Describes keyboard accelerator characteristics.
/// </summary>
2023-09-10 21:24:10 -04:00
public AcceleratorTableFlags Flags { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// An ANSI character value or a virtual-key code that identifies the accelerator key.
/// </summary>
2023-09-10 21:24:10 -04:00
public ushort Ansi { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// An identifier for the keyboard accelerator. This is the value passed to the window
/// procedure when the user presses the specified key.
/// </summary>
2023-09-10 21:24:10 -04:00
public ushort Id { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// The number of bytes inserted to ensure that the structure is aligned on a DWORD boundary.
/// </summary>
2023-09-10 21:24:10 -04:00
public ushort Padding { get; set; }
2023-09-04 00:11:04 -04:00
}
}