I want to set some kind of a hook to another app's window to capture all WM messages, so I tried SetWindowLong but it didn't work.
I called it with the window's handle but it always returned zero...