//
// hook() -
//
LRESULT CALLBACK
hook(int nCode, WPARAM wParam, LPARAM lParam)
{
csError.Format(L"vkcode:%d,scancode:%d",((KBDLLHOOKSTRUCT*)lParam)->vkCode,((KBDLLHOOKSTRUCT*)lParam)->scanCode);
RecordErrMsg(csError);
switch((((KBDLLHOOKSTRUCT*)lParam)->vkCode))
{
...
}
return CallNextHookExMine(gInst, nCode, wParam, lParam);
}
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2008
(38)
-
▼
March
(12)
- Sample Software Testing Standards and Procedures
- How to get scan code and virtual code of hardkey?
- Virtual-Key Codes for Windows CE 5.0
- How to hide application at startup? VC++
- How to minimize application as system tray icon?
- How to make a cellphone like keybaord?
- SetTimer() inside a thread - use SetTimer API meth...
- Keybd_event in Compact Framework
- Virtual Key Codes
- Keyboard Events Simulation using keybd_event() fun...
- Windows CE Keyboard Hook (Error 31)
- Windows CE Keyboard Hook
-
▼
March
(12)
No comments:
Post a Comment