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

# GetExitCodeThread(3w)

## NAME

**GetExitCodeThread** (KERNEL32.@)

## SYNOPSIS

BOOL GetExitCodeThread\
  (\
   HANDLE  *hthread*,\
   LPDWORD *exitcode*\
  )

## PARAMS

*hthread* **\[In\]**  Handle to thread.

*exitcode* **\[Out\]**  Address to receive termination status.

## DESCRIPTION

Gets termination status of thread.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

Declared in **"winbase.h"**.

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

Debug channel **"thread"**.
