ReactOS 0.4.15-dev-8231-g29a56f3
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.

@ TN_CR
Definition: tkeydef.h:19
@ TN_CRLF
Definition: tkeydef.h:19
@ TN_PASTE
Definition: tkeydef.h:19
@ TN_DIAL
Definition: tkeydef.h:19
@ TN_ESCAPE
Definition: tkeydef.h:19
@ TN_NULL
Definition: tkeydef.h:19
@ TN_SCROLLBACK
Definition: tkeydef.h:19

Function Documentation

◆ operator<()

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

Definition at line 61 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 60 of file tkeydef.cpp.

122 {
123 return ((t1.vk_code == t2.vk_code) && (t1.dwState == t2.dwState));
124}