I am working on improving my window manager, and I want to tell the window's name and its file name. I already have it all except the file name. I tried ways of GetModuleFileName();, but they aren't working. How do I get the file name of an open window?