How to Change Lparam before calling CallNextHookEx()?




Hi All,
I am working on Message Hooking.I am trying to change the value of
lParam before calling CallNextHookEx() function.. and its value is
getting changed but the contents remains same.. Where as if I am able to
change wParam. For Eg: if I press any key 'S' and if I want to modify it
to 'B' by using wParam its possible.. Can u now please help me in
modifying this 'S' to 'B' using lParam?


Regards,
~Nash



--
nash
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

.



Relevant Pages

  • How to Change Lparam before calling CallNextHookEx()?
    ... I am using WH_GETMESAGE hhok to capture and modify the character.By ... observe it using lParam. ... so my doubt is here I have modified character 'A' to character 'S' by ...
    (microsoft.public.dotnet.languages.vc)
  • Re: How to Change Lparam before calling CallNextHookEx()?
    ... lParam before calling CallNextHookExfunction.. ... change wParam. ... What hook ID are you using when you install the hook function? ... keyboard monitoring via a WH_KEYBOARD or WH_KEYBOARD_LL hook ...
    (microsoft.public.dotnet.languages.vc)
  • Modifying KBDLLHOOKSTRUCT to relay a different key than what was passed in
    ... Is it possible to modify the KBDLLHOOKSTRUCT structure that you ... that you can send out a different keyboard event than what was ... KBDLLHOOKSTRUCT's vkCode and then recreated it as an lparam to use to ... PKBDLLHOOKSTRUCT dks = lParam; ...
    (microsoft.public.win32.programmer.kernel)

Loading