I'm attempting to debug a problem with my Windows installation. The details don't particularly matter, but I'm looking for the answer to the following question:
explorer.exe receives a WM_SETTINGCHANGE message. In WinDbg, I can break at the appropriate WndProc. How do I find out who sent the message? That is: is there any way to trace this back to the process that called
SendMessage(HWND_BROADCAST, WM_SETTINGCHANGE, ...)
?
Windows messages are anonymous. Your calling app has no way to determine where they come from unless the message defines some way to identify the sender (which would be easily faked)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With