Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 231 of file win32.c.
Referenced by mi_check_modifier(), and read_keyboard_state().
{ short keydata; int code; code = 0; keydata = GetKeyState(VK_SCROLL); if (keydata & 0x0001) { code |= 1; } keydata = GetKeyState(VK_NUMLOCK); if (keydata & 0x0001) { code |= 2; } keydata = GetKeyState(VK_CAPITAL); if (keydata & 0x0001) { code |= 4; } return code; }