I'm trying to check if a window is still alive (not destroyed or closed), but as pointed out here: http://stackoverflow.com/questions/2344233/validate-hwnd-using-win32-api
I can't trust IsWindow() in this case, because HWNDs can be reused by the system.
I can still get the HINSTANCE, process and thread ids and associated exe name that belongs to the given HWND.
So is any of these a reliable way to check if a window is still alive?