bool get_process_times(handle process, file_time* create, file_time* exit, file_time* kernel, file_time* user)
This function obtains the times for the process.
The handle of the process whose times are being queried.
The time at which the process was created.
The time at which the process was terminated. If the process has not yet terminated, the contents of this structure are undefined.
The time that the process spent executing in kernel mode.
The time that the process spent executing in user mode.
|The function succeeded.
|The call failed.
See the notes for the class file_time for an explanation of the units that are used.