Hello Coders,
In my program I need to get the start time of the application window.I want this from HWND handle to that window.
Thank You in anticipation.
What I have tried:
I tried this from HANDLE to the process got from that window, using
hProcess = OpenProcess(PROCESS_ALL_ACCESS | lpdwProcessId);
(where DWORD lpdwProcessID; is from GetWindowThreadProcessId(hwnd, &lpdwProcessId);)
But it gives same Start Time for the same kind of applications(example:- folders, multiple image windows on Windows Photo Viewer),as they have same processID(I am writing this on my true observation).