A Keylogger Written in C, using Win32Api. Take a look here for extendded explaination I wrote about the concepts behind it: https://efrat.dev/i-know-what-you-typed-last-summer-introduction-to-keyloggers/