I am suspecting there is some byte alignment issue with the MOUSEHOOKSTRUCT. The documentation is very lean and does not mention anything like that, though.

Thoughts?