ReactOS  0.4.12-dev-36-g472787f
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.

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