---
name: "GetThreadTimes"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GetThreadTimes"
---

# 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"**.
