I've been playing around with RegisterDeviceNotification() myself, and at first I was getting the same results.

My code is just a console app. At first, I created a "message only" window (by...