// ntifs.h
LARGE_INTEGER PsGetProcessExitTime();
View the official Windows Driver Kit DDI referenceNo description available.
The PsGetProcessExitTime routine returns the exit time for the current process.
PsGetProcessExitTime returns the exit time for the current process, in system time format.
System time is a count of 100-nanosecond intervals since January 1, 1601. System time is typically updated approximately every ten milliseconds. This value is computed for the GMT time zone. To adjust this value for the local time zone, use ExSystemTimeToLocalTime.
For more information about converting time values, see Data Conversions.