using System.Runtime.InteropServices;
namespace BinaryObjectScanner.Models.PortableExecutable
{
///
/// 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.
///
///
[StructLayout(LayoutKind.Sequential)]
public sealed class AcceleratorTableEntry
{
///
/// Describes keyboard accelerator characteristics.
///
public AcceleratorTableFlags Flags;
///
/// An ANSI character value or a virtual-key code that identifies the accelerator key.
///
public ushort Ansi;
///
/// An identifier for the keyboard accelerator. This is the value passed to the window
/// procedure when the user presses the specified key.
///
public ushort Id;
///
/// The number of bytes inserted to ensure that the structure is aligned on a DWORD boundary.
///
public ushort Padding;
}
}