title: How do I get a HWND from inside a DLL?
body: <p>I have a DLL that I want to play sounds using Direct Sound.  In order to play sounds, I need the HWND of the executable.  I don't have a HWND of the executable that loads the DLL.  How do I get that in the DLL without passing it in from the executable?</p>