28 LARGE_INTEGER date, adjust;
29 date.HighPart = ft.dwHighDateTime;
30 date.LowPart = ft.dwLowDateTime;
33 adjust.QuadPart = 11644473600000 * 10000;
36 date.QuadPart -= adjust.QuadPart;
39 return date.QuadPart / 10000000;
44 HANDLE hProcess = OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE, processID);
49 FILETIME creationTime = { 0 };
50 FILETIME exitTime = { 0 };
51 FILETIME kernelTime = { 0 };
52 FILETIME userTime = { 0 };
54 BOOL isOk = GetProcessTimes(
56 &creationTime, &exitTime, &kernelTime, &userTime
58 CloseHandle(hProcess);