Reference

GetThreadTimes(3w)

NAME

GetThreadTimes (KERNEL32.@)

SYNOPSIS

BOOL GetThreadTimes
(
HANDLE thread,
LPFILETIME creationtime,
LPFILETIME exittime,
LPFILETIME kerneltime,
LPFILETIME usertime
)

PARAMS

thread [In] Specifies the thread of interest.

creationtime [Out] When the thread was created.

exittime [Out] When the thread was destroyed.

kerneltime [Out] Time thread spent in kernel mode.

usertime [Out] Time thread spent in user mode.

DESCRIPTION

GetThreadTimes [KERNEL32.@] Obtains timing information.

RETURNS

Success: TRUE

Failure: FALSE

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/kernel32/thread.c".

Debug channel "thread".

History