Changeset 7211 for trunk/src/user32/HOOK.CPP
- Timestamp:
- Oct 26, 2001, 11:10:57 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/HOOK.CPP
r7190 r7211 1 /* $Id: HOOK.CPP,v 1. 29 2001-10-24 12:26:56phaller Exp $ */1 /* $Id: HOOK.CPP,v 1.30 2001-10-26 09:10:12 phaller Exp $ */ 2 2 3 3 /* … … 818 818 } 819 819 } 820 820 821 // this undoc (don't care) bit isn't passed through to this hook 822 DWORD lParam = msg->lParam & ~0x02000000; 823 821 824 return (HOOK_CallHooksA( WH_KEYBOARD, remove ? HC_ACTION : HC_NOREMOVE, 822 LOWORD (msg->wParam), msg->lParam )825 LOWORD (msg->wParam), lParam ) 823 826 ? TRUE : FALSE); 824 827 } … … 845 848 846 849 kbhs.vkCode = msg->wParam; 847 kbhs.scanCode = ( (msg->lParam & 0x0 0ff0000) >> 16);850 kbhs.scanCode = ( (msg->lParam & 0x03ff0000) >> 16); 848 851 849 852 BOOL fKeyUp = (msg->message == WM_KEYUP) ||
Note:
See TracChangeset
for help on using the changeset viewer.