mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-02-15 13:55:08 +00:00
32 lines
1.2 KiB
C#
32 lines
1.2 KiB
C#
namespace SabreTools.Models.PortableExecutable
|
|
{
|
|
/// <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>
|
|
public AcceleratorTableFlags Flags { get; set; }
|
|
|
|
/// <summary>
|
|
/// An ANSI character value or a virtual-key code that identifies the accelerator key.
|
|
/// </summary>
|
|
public ushort Ansi { get; set; }
|
|
|
|
/// <summary>
|
|
/// An identifier for the keyboard accelerator. This is the value passed to the window
|
|
/// procedure when the user presses the specified key.
|
|
/// </summary>
|
|
public ushort Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// The number of bytes inserted to ensure that the structure is aligned on a DWORD boundary.
|
|
/// </summary>
|
|
public ushort Padding { get; set; }
|
|
}
|
|
}
|