I wrote to someone:
You don't know anything about how the SHELLHOOK message gets converted to a shell hook, I suppose, eh? I'm trying to figure how to divine the settings a WH_SHELL hook gets sent, based on what Spy++ tells me about the message. That or I need to basically write my own Spy++ as a ShellProc, which I'd rather not. I also see the headers include an HSHELL_SYSMENU thing that I'm not getting. I suppose I should also find out if hooks are called latest-first or latest-last. Hmmmmm!