I'm trying to write a program that will work with WinAmp through the keys on my multimedia keyboard like the person in this post:
http://www.asmcommunity.net/board/showthread.php?threadid=4753
My problem comes in when I want to check the keys that have been pressed. I do not know how to get the scan codes out of lParam in my KeyboardProc when using SetWindowsHookEx. I'd really appreciate it if someone posted something showing how to get one of the items out of lParam so I could see how it's done.
http://www.asmcommunity.net/board/showthread.php?threadid=4753
My problem comes in when I want to check the keys that have been pressed. I do not know how to get the scan codes out of lParam in my KeyboardProc when using SetWindowsHookEx. I'd really appreciate it if someone posted something showing how to get one of the items out of lParam so I could see how it's done.