ReactOS  0.4.12-dev-18-gf469aca
tkeydef.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  optype
 
union  KeyDefType
 
union  KeyDefType_const
 
class  TKeyDef
 

Enumerations

enum  tn_ops {
  TN_ESCAPE, TN_SCROLLBACK, TN_DIAL, TN_PASTE,
  TN_NULL, TN_CR, TN_CRLF
}
 

Functions

bool operator== (const TKeyDef &t1, const TKeyDef &t2)
 
bool operator< (const TKeyDef &t1, const TKeyDef &t2)
 

Enumeration Type Documentation

◆ tn_ops

Enumerator
TN_ESCAPE 
TN_SCROLLBACK 
TN_DIAL 
TN_PASTE 
TN_NULL 
TN_CR 
TN_CRLF 

Definition at line 19 of file tkeydef.h.

Function Documentation

◆ operator<()

bool operator< ( const TKeyDef t1,
const TKeyDef t2 
)

Definition at line 126 of file tkeydef.cpp.

126  {
127  if (t1.vk_code == t2.vk_code) return t1.dwState < t2.dwState;
128  return t1.vk_code < t2.vk_code;
129 }
DWORD dwState
Definition: tkeydef.h:40
DWORD vk_code
Definition: tkeydef.h:39

◆ operator==()

bool operator== ( const TKeyDef t1,
const TKeyDef t2 
)

Definition at line 122 of file tkeydef.cpp.

Referenced by locale::_M_get_impl(), DECLARE_INTERFACE_(), Key::Key(), and unordered_map< _Key, _Tp,,, >::rehash().

122  {
123  return ((t1.vk_code == t2.vk_code) && (t1.dwState == t2.dwState));
124 }
DWORD dwState
Definition: tkeydef.h:40
DWORD vk_code
Definition: tkeydef.h:39