#include <ResourceAccelerator.hpp>
◆ FLAGS
From: https://docs.microsoft.com/en-us/windows/win32/menurc/acceltableentry.
Enumerator |
---|
VIRTKEY | The accelerator key is a virtual-key code. If this flag is not specified, the accelerator key is assumed to specify an ASCII character code.
|
NOINVERT | A menu item on the menu bar is not highlighted when an accelerator is used. This attribute is obsolete and retained only for backward compatibility with resource files designed for 16-bit Windows.
|
SHIFT | The accelerator is activated only if the user presses the SHIFT key. This flag applies only to virtual keys.
|
CONTROL | The accelerator is activated only if the user presses the CTRL key. This flag applies only to virtual keys.
|
ALT | The accelerator is activated only if the user presses the ALT key. This flag applies only to virtual keys.
|
END | The entry is last in an accelerator table.
|
◆ ResourceAccelerator() [1/4]
LIEF::PE::ResourceAccelerator::ResourceAccelerator |
( |
| ) |
|
|
default |
◆ ResourceAccelerator() [2/4]
LIEF::PE::ResourceAccelerator::ResourceAccelerator |
( |
const details::pe_resource_acceltableentry & | | ) |
|
|
explicit |
◆ ResourceAccelerator() [3/4]
◆ ResourceAccelerator() [4/4]
◆ ~ResourceAccelerator()
LIEF::PE::ResourceAccelerator::~ResourceAccelerator |
( |
| ) |
|
|
overridedefault |
◆ accept()
void LIEF::PE::ResourceAccelerator::accept |
( |
Visitor & | visitor | ) |
const |
|
overridevirtual |
◆ add()
◆ ansi()
int16_t LIEF::PE::ResourceAccelerator::ansi |
( |
| ) |
const |
|
inline |
An ANSI character value or a virtual-key code that identifies the accelerator key.
◆ ansi_str()
const char * LIEF::PE::ResourceAccelerator::ansi_str |
( |
| ) |
const |
|
inline |
◆ flags()
int16_t LIEF::PE::ResourceAccelerator::flags |
( |
| ) |
const |
|
inline |
Describe the keyboard accelerator characteristics.
◆ flags_list()
std::vector< FLAGS > LIEF::PE::ResourceAccelerator::flags_list |
( |
| ) |
const |
◆ has()
bool LIEF::PE::ResourceAccelerator::has |
( |
FLAGS | flag | ) |
const |
|
inline |
Whether the entry has the given flag.
◆ id()
uint16_t LIEF::PE::ResourceAccelerator::id |
( |
| ) |
const |
|
inline |
An identifier for the keyboard accelerator.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ padding()
int16_t LIEF::PE::ResourceAccelerator::padding |
( |
| ) |
const |
|
inline |
The number of bytes inserted to ensure that the structure is aligned on a DWORD boundary.
◆ remove()
The documentation for this class was generated from the following file: