I have HWND of the window, and I need the process file name (.exe) of
I know how to get PID from the HWND (GetWindowThreadProcessId), but
what to do next?
There are some limitations:
1) The solution should not use Psapi.dll
2) The solution should not use Process32First and Process32Next
(simply because this solution is already known).