ReactOS 0.4.16-dev-109-gf4cb10f
tkeydef.cpp File Reference
#include "precomp.h"
Include dependency graph for tkeydef.cpp:

Go to the source code of this file.

Functions

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

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.

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