winapi - Low Level keyboard hook c++ -


i tried create application in c++ sets low level keyboard hook , each time user presses key write char of string made.

can explain how can change user input without using keybd_event function changing key before os interprets it.

i tried ths msg , changing wparam didn't work. if can show me code example better

can explain how can change user input without using keybd_event function changing key before os interprets it.

you cannot. have reject key inyour hook , post own key using keybd_event() or sendinput(). , sure check if kbdllhookstruct::flags field has llkhf_injected or llkhf_lower_il_injected flag enabled don't reject own simulated keys.

i tried ths msg , changing wparam didn't work

the msg structure not used wh_keyboard_ll hook.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -